/* Vefgreining — site styles. No framework, no build step. */
:root{
  /* Blue is the default theme; light and dark are the alternatives (html[data-theme]). */
  --paper:#0B3B7A; --paper-2:#11468D; --ink:#F4F8FF; --ink-2:#C3D4EE; --rule:#2E62A6;
  --brand:#9ED0FF; --line:#8CC8FF; --flag:#FFD25A; --flag-ink:#FFD25A; --grid:#1B4D8F;
  --focus:#FFD25A; --err:#FFB4AB;
  --sans:"Bricolage Grotesque",ui-sans-serif,system-ui,sans-serif;
  --serif:"Source Serif 4",Georgia,serif;
  --wrap:72rem; --gutter:clamp(1rem,4vw,2.5rem);
  color-scheme:dark;
}
:root[data-theme="light"]{
  --paper:#FAFBFC; --paper-2:#F0F3F6; --ink:#15233B; --ink-2:#4A5A6E; --rule:#DCE2E8;
  --brand:#006AC3; --line:#2F7BE0; --flag:#C98A10; --flag-ink:#7A5200; --grid:#E6EBF0; --focus:#1F5BA6; --err:#B3261E;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --paper:#0F1722; --paper-2:#172231; --ink:#E7EDF3; --ink-2:#A3B2C2; --rule:#2A3747;
  --brand:#7FB0F0; --line:#6EA8FF; --flag:#E5B04A; --flag-ink:#E5B04A; --grid:#1D2939; --focus:#7FB0F0; --err:#FF8A80;
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1.0625rem;line-height:1.55;
  font-optical-sizing:auto;font-variant-numeric:tabular-nums lining-nums}
img{max-width:100%;height:auto}
a{color:var(--brand);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:-999px;top:.5rem;background:var(--ink);color:var(--paper);padding:.5rem .8rem;z-index:10}
.skip:focus{left:.5rem}
h1,h2,h3{font-weight:700;line-height:1.08;letter-spacing:-.015em;margin:0}
p{margin:0 0 1em}

/* Header */
.site-head{border-bottom:1px solid var(--rule)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.25rem}
.brand{display:flex;align-items:center;text-decoration:none;flex:none}
.logo{display:block;height:2.6rem;width:auto}
/* The light-text logo suits the blue and dark themes; the original logo shows on light */
.logo-light{display:none}
:root[data-theme="light"] .logo-light{display:block}
:root[data-theme="light"] .logo-dark{display:none}
@media (max-width:420px){.logo{height:2.2rem}}
.nav{display:flex;gap:1.6rem;align-items:center;margin-left:auto}
.tools{display:flex;align-items:center;gap:.4rem;margin-left:1.25rem}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;height:2.4rem;min-width:2.4rem;padding:0 .7rem;border:1px solid var(--rule);border-radius:8px;
  background:transparent;color:var(--ink);font:inherit;font-size:.92rem;font-weight:600;text-decoration:none;cursor:pointer}
.lang-switch:hover{border-color:var(--ink);text-decoration:none}
.lang-switch .short{display:none}
/* Theme picker: three buttons, the current one pressed */
.themes{display:inline-flex;border:1px solid var(--rule);border-radius:8px;padding:2px;gap:2px}
.themes button{display:inline-flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;border:0;border-radius:6px;background:transparent;color:var(--ink-2);cursor:pointer;padding:0}
.themes button:hover{color:var(--ink)}
.themes button[aria-pressed="true"]{background:var(--paper-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule)}
.themes svg{width:1.1rem;height:1.1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themes .swatch{fill:#2F7BE0;stroke:none}
.themes .theme-name{display:none}
.lang-note{margin-left:.6em;padding-left:.6em;border-left:1px solid var(--rule);font-style:italic}
.nav a{color:var(--ink);text-decoration:none;font-size:.98rem;white-space:nowrap}
.nav a:hover,.nav a[aria-current]{color:var(--brand);text-decoration:underline}
.nav-toggle{display:none;background:none;border:1px solid var(--rule);color:var(--ink);font:inherit;font-size:.92rem;height:2.4rem;padding:0 .8rem;border-radius:8px;cursor:pointer}
@media (max-width:900px){.lang-switch .long{display:none}.lang-switch .short{display:inline}.nav{gap:1.2rem}}
@media (max-width:1000px){
  .nav-toggle{display:block}
  .tools{margin-left:auto}
  .nav{display:none;position:absolute;left:0;right:0;top:4.25rem;background:var(--paper);flex-direction:column;align-items:flex-start;
    gap:0;border-bottom:1px solid var(--rule);padding:.5rem var(--gutter) 1rem;z-index:5}
  .nav.open{display:flex}
  .nav a{padding:.55rem 0;font-size:1.1rem}
  .nav .themes{margin-top:.6rem}
  .nav .themes button{width:auto;padding:0 .7rem;gap:.4rem;font:inherit;font-size:.95rem}
  .nav .themes .theme-name{display:inline}
  .site-head{position:relative}
}

/* Hero */
.hero{padding-block:clamp(2.5rem,7vw,5rem) clamp(2rem,5vw,3.5rem)}
.hero h1{font-size:clamp(2.4rem,7.2vw,5.4rem);font-weight:800;max-width:14ch;letter-spacing:-.03em;font-stretch:92%}
.hero .lede{font-size:clamp(1.1rem,2vw,1.3rem);color:var(--ink-2);max-width:40ch;margin-top:1.25rem}
.hero .actions{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;align-items:center;margin-top:1.75rem}
.btn{display:inline-block;background:var(--brand);color:var(--paper);text-decoration:none;font-weight:600;padding:.8rem 1.3rem;border-radius:8px;border:0;font:inherit;font-weight:600;cursor:pointer}
.btn:hover{filter:brightness(1.08);text-decoration:none}
.chart{margin:clamp(2rem,5vw,3.25rem) 0 0;position:relative}
.chart .flag .num{display:none;fill:var(--flag-ink);font:700 34px var(--sans)}
.chart-steps{margin:.75rem 0 0;padding-left:1.4em;color:var(--ink);font-weight:600;font-size:.98rem;display:none;gap:.2rem}
.chart-steps li::marker{color:var(--flag-ink)}
@media (max-width:700px){
  .chart-steps{display:grid}
  .chart .flag .label,.chart .flag .lead{display:none}
  .chart .flag .num{display:inline}
  .chart .flag circle{r:10;stroke-width:4}
  .chart .trend{stroke-width:5}
  .chart .axis{font-size:30px}
}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.chart .gridline{stroke:var(--grid);stroke-width:1}
.chart .axis{fill:var(--ink-2);font:400 12px var(--sans)}
.chart .area{fill:var(--line);opacity:.08}
.chart .trend{fill:none;stroke:var(--line);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.chart .flag line{stroke:var(--flag);stroke-width:1.25;stroke-dasharray:3 3}
.chart .flag circle{fill:var(--paper);stroke:var(--flag);stroke-width:2.5}
.chart .flag text{fill:var(--flag-ink);font:600 13px var(--sans)}
.chart .flag .n{fill:var(--ink-2);font-weight:400}
.chart-caption{font-size:.85rem;color:var(--ink-2);margin-top:.5rem}
@media (prefers-reduced-motion:no-preference){
  .js .chart .trend{stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:draw 2.4s cubic-bezier(.45,.05,.3,1) .2s forwards}
  .js .chart .area{opacity:0;animation:fadein-area .8s ease 2.3s forwards}
  .js .chart .flag{opacity:0;animation:fadein .35s ease forwards;animation-delay:var(--d)}
}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes fadein{to{opacity:1}}
@keyframes fadein-area{to{opacity:.08}}

/* Sections */
.section{padding-block:clamp(3rem,8vw,5.5rem);border-top:1px solid var(--rule)}
.section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;margin-bottom:clamp(1.75rem,4vw,2.75rem);max-width:46rem}
.section-head h2{font-size:clamp(1.8rem,4.2vw,2.8rem);letter-spacing:-.025em}
.section-head p{color:var(--ink-2);margin:0;max-width:56ch}

/* Clients */
.clients{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 0;font-size:clamp(1.15rem,2.4vw,1.6rem);font-weight:600;letter-spacing:-.01em;max-width:62rem}
.clients li{white-space:nowrap}
.clients li:not(:last-child)::after{content:"/";color:var(--rule);font-weight:300;margin-inline:.55em}
.clients a{color:var(--ink);text-decoration:none}
.clients a:hover{color:var(--brand);text-decoration:underline}
.clients-note{margin-top:1.5rem;color:var(--ink-2);max-width:60ch}

/* Services */
.services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(2rem,5vw,4rem)}
.service{padding-block:1.4rem 1.6rem;border-top:2px solid var(--ink)}
.service h3{font-size:1.4rem;letter-spacing:-.015em;margin-bottom:.5rem}
.service p{color:var(--ink-2);margin:0;max-width:44ch}
.service h3 a{color:var(--ink);text-decoration:none}
.service h3 a:hover{color:var(--brand);text-decoration:underline}
.service .service-more{margin-top:.6rem}
.glyph{width:100%;max-width:9rem;height:2.5rem;display:block;margin-bottom:1rem;overflow:visible}
.glyph *{fill:none;stroke:var(--line);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.glyph .soft{stroke:var(--rule)}
.glyph .bar{fill:var(--line);stroke:none}
.glyph .node{fill:var(--paper)}
.glyph .dot{fill:var(--flag);stroke:none}
.glyph .ring{stroke:var(--flag);stroke-width:1.5;opacity:0}
.glyph .draw{stroke-dasharray:1 1}
.glyph .grow-y,.glyph .grow-x,.glyph .pop,.glyph .ring{transform-box:fill-box}
.glyph .grow-y{transform-origin:50% 100%}
.glyph .grow-x{transform-origin:0 50%}
.glyph .pop,.glyph .ring{transform-origin:center}
@media (prefers-reduced-motion:no-preference){
  /* Plays once when the icon scrolls into view, and again on hover */
  .js .play .glyph .draw{animation:g-draw 1.1s cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--i,0) * 90ms)}
  .js .play .glyph .grow-y{animation:g-grow-y .6s cubic-bezier(.3,1.4,.5,1) both;animation-delay:calc(var(--i,0) * 70ms)}
  .js .play .glyph .grow-x{animation:g-grow-x .8s cubic-bezier(.3,1.2,.5,1) both;animation-delay:calc(var(--i,0) * 110ms)}
  .js .play .glyph .pop{animation:g-pop .45s cubic-bezier(.3,1.6,.5,1) both;animation-delay:calc(var(--i,0) * 90ms + 250ms)}
  .js .play .glyph .ring{animation:g-ring 2.8s ease-out 1.4s infinite}
  .js .service:hover .glyph .draw{animation-name:g-draw-h}
  .js .service:hover .glyph .grow-y{animation-name:g-grow-y-h}
  .js .service:hover .glyph .grow-x{animation-name:g-grow-x-h}
  .js .service:hover .glyph .pop{animation-name:g-pop-h}
}
@keyframes g-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes g-draw-h{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes g-grow-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes g-grow-y-h{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes g-grow-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes g-grow-x-h{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes g-pop{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes g-pop-h{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes g-ring{0%{transform:scale(1);opacity:.8}70%,100%{transform:scale(2.8);opacity:0}}

/* Service subpages */
.service-page header{margin-bottom:2.25rem}
.service-page .hero-glyph{border:0;padding:0;margin:1.5rem 0 .25rem}
.service-page .hero-glyph .glyph{max-width:14rem;height:3.9rem}
.service-page .lede{font-size:1.2rem;color:var(--ink-2);max-width:48ch;margin:1rem 0 0}
.cta{max-width:40rem;margin-top:3rem;padding:1.5rem 1.6rem;background:var(--paper-2);border-radius:12px}
.cta h2{font-size:1.45rem;margin-bottom:.5rem}
.cta p:last-child{margin:0}
.others{margin-top:clamp(3rem,7vw,4.5rem)}
.others h2{font-size:1.6rem;margin-bottom:1rem}
.others .services{list-style:none;margin:0;padding:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.others .service h3{font-size:1.15rem}
.others .service p{font-size:.95rem}
@media (max-width:900px){.others .services{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){.services{grid-template-columns:minmax(0,1fr)}}

/* Case */
.case{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.case img{border-radius:10px;display:block;width:100%}
.case h3{font-size:clamp(1.5rem,3vw,2rem);margin-bottom:.75rem}
.case p{color:var(--ink-2);max-width:48ch}
@media (max-width:760px){.case{grid-template-columns:minmax(0,1fr)}}

/* Figures */
.figures{width:100%;border-collapse:collapse;max-width:52rem}
.figures th,.figures td{text-align:left;padding:.85rem 0;border-bottom:1px solid var(--rule);vertical-align:baseline}
.figures td{text-align:right;font-weight:700;font-size:clamp(1.3rem,3vw,1.9rem);letter-spacing:-.02em;white-space:nowrap;padding-left:1rem}
.figures th{font-weight:400;color:var(--ink-2);font-size:1.02rem}
.figures tr:first-child th,.figures tr:first-child td{border-top:2px solid var(--ink)}
.figures-note{font-size:.85rem;color:var(--ink-2);margin-top:.8rem}

/* Posts list */
.posts{list-style:none;margin:0;padding:0;display:grid;gap:0}
.post-item{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:1.25rem 1.75rem;padding-block:1.4rem;border-top:1px solid var(--rule);align-items:start}
.post-item:last-child{border-bottom:1px solid var(--rule)}
.post-item .thumb{aspect-ratio:2/1;width:100%;object-fit:cover;border-radius:6px;background:var(--paper-2);display:block}
.post-item h3{font-size:1.3rem;letter-spacing:-.01em;margin-bottom:.35rem}
.post-item h3 a{color:var(--ink);text-decoration:none}
.post-item h3 a:hover{color:var(--brand);text-decoration:underline}
.post-item p{color:var(--ink-2);margin:0;max-width:62ch}
.meta{font-size:.88rem;color:var(--ink-2);margin-bottom:.35rem}
.meta .cats{margin-left:.6em;padding-left:.6em;border-left:1px solid var(--rule)}
@media (max-width:560px){.post-item{grid-template-columns:minmax(0,1fr)}.post-item .thumb{max-width:16rem}}
.more{margin-top:1.75rem}

/* About & contact */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(2rem,6vw,5rem)}
.about-photo{width:9rem;height:9rem;border-radius:50%;background:var(--paper-2);object-fit:cover;object-position:top;display:block;margin-bottom:1.25rem}
.about h3{font-size:1.45rem;margin-bottom:.15rem}
.about .role{color:var(--ink-2);margin-bottom:1.25rem}
.about p{max-width:52ch}
.reach{list-style:none;padding:0;margin:1.5rem 0 0;display:grid;gap:.4rem;font-size:1.1rem}
.reach a{color:var(--ink);font-weight:600}
.social{list-style:none;padding:0;margin:1.5rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.95rem}
.form{display:grid;gap:1rem}
.form .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
@media (max-width:560px){.form .row{grid-template-columns:minmax(0,1fr)}}
.form label{display:block;font-size:.95rem;font-weight:600}
.form label input,.form label textarea{margin-top:.35rem}
.form .opt{font-weight:400;color:var(--ink-2)}
.form input,.form textarea{font:inherit;font-size:1rem;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:.7rem .8rem;width:100%}
.form input:focus,.form textarea:focus{outline:2px solid var(--focus);outline-offset:0;border-color:transparent}
.form textarea{min-height:9rem;resize:vertical}
.form .hp{position:absolute;left:-9999px}
.form-status{min-height:1.5em;margin:0;font-weight:600}
.form-status.ok{color:var(--brand)}
.form-status.err{color:var(--err)}

@media (max-width:820px){.contact{grid-template-columns:minmax(0,1fr)}}

/* Footer */
.site-foot{border-top:1px solid var(--rule);padding-block:2rem 2.5rem;font-size:.9rem;color:var(--ink-2)}
.site-foot .wrap{display:flex;flex-wrap:wrap;gap:.75rem 2rem;justify-content:space-between}
.foot-links{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}
.site-foot a{color:var(--ink-2)}
.linklike{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:.18em;cursor:pointer}

/* Article */
.article{padding-block:clamp(2.5rem,6vw,4rem) clamp(3rem,7vw,5rem)}
.article header{max-width:44rem;margin-bottom:2rem}
.article h1{font-size:clamp(2rem,5vw,3.3rem);letter-spacing:-.025em;margin-top:.5rem}
.crumb{font-size:.92rem}
.prose{font-family:var(--serif);font-size:1.15rem;line-height:1.68;max-width:40rem}
.prose h2,.prose h3,.prose h4{font-family:var(--sans);margin:2rem 0 .75rem;line-height:1.2}
.prose h2{font-size:1.6rem}.prose h3{font-size:1.3rem}.prose h4{font-size:1.1rem}
.prose ul,.prose ol{padding-left:1.4em;margin:0 0 1.2em}
.prose li{margin-bottom:.35em}
.prose img{border-radius:6px;display:block;margin:1.5rem 0}
.prose .alignleft{float:left;margin:.4rem 1.5rem 1rem 0;max-width:45%}
.prose .alignright{float:right;margin:.4rem 0 1rem 1.5rem;max-width:45%}
.prose .aligncenter{margin-inline:auto}
.prose::after{content:"";display:table;clear:both}
.prose blockquote{margin:1.5rem 0;padding-left:1.25rem;border-left:3px solid var(--line);color:var(--ink-2)}
.prose table{border-collapse:collapse;font-family:var(--sans);font-size:.95rem;margin:1.5rem 0;width:100%}
.prose td,.prose th{border-bottom:1px solid var(--rule);padding:.5rem .6rem .5rem 0;text-align:left}
.prose figure{margin:1.5rem 0}
.prose figcaption{font-family:var(--sans);font-size:.85rem;color:var(--ink-2)}
@media (max-width:560px){.prose .alignleft,.prose .alignright{float:none;margin:1.25rem 0;max-width:100%}}
.embed{margin:2rem 0;border:1px solid var(--rule);border-radius:10px;overflow:hidden;background:#fff}
.embed iframe{display:block;width:100%;border:0}
.embed-wide{max-width:var(--wrap)}
.embed-note{font-size:.9rem;color:var(--ink-2)}
.article-foot{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--rule);max-width:40rem;display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between}

/* Consent */
.consent{position:fixed;left:1rem;right:1rem;bottom:1rem;max-width:34rem;margin-left:auto;background:var(--paper);color:var(--ink);
  border:1px solid var(--rule);border-radius:12px;padding:1.1rem 1.25rem;box-shadow:0 10px 30px rgba(10,20,40,.18);z-index:20;font-size:.95rem}
.consent[hidden]{display:none}
.consent p{margin:0 0 .9rem}
.consent .btns{display:flex;flex-wrap:wrap;gap:.6rem}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--rule)}
.btn-ghost:hover{border-color:var(--ink)}
.consent .btn{padding:.6rem 1rem}

.notfound{padding-block:5rem}
.notfound h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:1rem}
.article header .lede{margin:1rem 0 0;font-size:1.15rem;color:var(--ink-2);max-width:56ch}

/* English home: Ukraine dashboard feature. A deliberate single look in both themes, in the dashboard's own navy and the flag's yellow. */
:root{--ua-bg:#062A63;--ua-ink:#F2F6FF;--ua-muted:#B9C8E6;--ua-yellow:#FFD500;--ua-rule:#25477F}
.ua{background:var(--ua-bg);color:var(--ua-ink);border-bottom:4px solid var(--ua-yellow);padding-block:clamp(2.5rem,6vw,4.5rem)}
.ua-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.ua-status{display:inline-flex;align-items:center;gap:.55rem;font-size:.92rem;font-weight:600;color:var(--ua-yellow);margin:0 0 1rem}
.live-dot{width:.6rem;height:.6rem;border-radius:50%;background:var(--ua-yellow);flex:none;box-shadow:0 0 0 0 rgba(255,213,0,.6)}
@media (prefers-reduced-motion:no-preference){.live-dot{animation:live 2.2s ease-out infinite}}
@keyframes live{0%{box-shadow:0 0 0 0 rgba(255,213,0,.55)}70%,100%{box-shadow:0 0 0 .7rem rgba(255,213,0,0)}}
.ua h1{font-size:clamp(2.1rem,5.6vw,4rem);font-weight:800;letter-spacing:-.03em;font-stretch:92%;max-width:16ch;text-wrap:balance}
.ua-lede{font-size:clamp(1.05rem,1.8vw,1.2rem);color:var(--ua-muted);max-width:52ch;margin:1.1rem 0 0}
.ua-topics{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 0;font-weight:600;font-size:1rem;max-width:40rem}
.ua-topics li:not(:last-child)::after{content:"/";color:var(--ua-rule);font-weight:300;margin-inline:.5em}
.ua-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:1.75rem}
.btn-ua{background:var(--ua-yellow);color:var(--ua-bg)}
.ua-link{color:var(--ua-ink)}
.ua a:focus-visible{outline-color:var(--ua-yellow)}
.ua-meta{font-size:.92rem;color:var(--ua-muted);margin:1.25rem 0 0;max-width:52ch}
.ua-map img{display:block;width:100%;height:auto}
@media (max-width:760px){.ua-inner{grid-template-columns:minmax(0,1fr)}.ua-map{order:-1;max-width:20rem}}
.hero-second{padding-top:clamp(2.5rem,6vw,4rem)}
.hero-intro{color:var(--ink-2);font-size:1.05rem;max-width:46ch;margin:0 0 1rem}
.hero .hero-title{font-size:clamp(2.4rem,7.2vw,5.4rem);font-weight:800;max-width:14ch;letter-spacing:-.03em;font-stretch:92%}
.hero-second .hero-title{font-size:clamp(2rem,5.5vw,4rem)}
.notice{margin:0 0 2rem;padding:1rem 1.2rem;border-left:4px solid var(--ua-yellow);background:var(--paper-2);border-radius:0 8px 8px 0;font-family:var(--sans);font-size:1.02rem}
.notice p{margin:0}

/* Drawn Ukrainian flag in the menu */
.flag-ua{width:1.35em;height:.9em;border-radius:2px;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.nav-ua{display:inline-flex;align-items:center;gap:.45em}
/* English home: short about block under the dashboard */
.about-grid{display:grid;grid-template-columns:9rem minmax(0,44rem);gap:clamp(1.25rem,4vw,2.5rem);align-items:start}
.about-grid .about-photo{margin:0}
.about-grid h2{font-size:clamp(1.6rem,3.6vw,2.3rem);margin-bottom:.75rem}
.about-lede{font-size:1.15rem;max-width:52ch}
.about-grid p{color:var(--ink-2);max-width:56ch}
.about-grid .about-lede{color:var(--ink)}
.work-links{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 0}
.work-links li:not(:last-child)::after{content:"/";color:var(--rule);margin-inline:.5em}
@media (max-width:560px){.about-grid{grid-template-columns:minmax(0,1fr)}}

/* Sticky header: stays at the top while scrolling; anchor jumps land below it */
.site-head{position:sticky;top:env(safe-area-inset-top,0px);z-index:15;background:var(--paper)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:16;background:var(--paper)}
html{scroll-padding-top:5.5rem}

/* Contact: email button instead of a form */
.mail-box{background:var(--paper-2);border:1px solid var(--rule);border-radius:12px;padding:1.5rem 1.6rem;align-self:start}
.mail-box h3{font-size:1.35rem;margin-bottom:.5rem}
.mail-box p{color:var(--ink-2);max-width:46ch}
.mail-box .btn{margin-top:.25rem}
.mail-note{font-size:.92rem;margin:1rem 0 0}
.mail-addr{color:var(--ink);font-weight:600;user-select:all;overflow-wrap:anywhere}
