/* KMC.Studio — responsive static website. No framework or external fonts. */
:root {
  color-scheme: dark;
  --bg: #050d14;
  --surface: #09141e;
  --surface-hover: #10202d;
  --text: #f5f7fb;
  --body: #c5cfd8;
  --muted: #94a6b6;
  --line: #274150;
  --accent: #00cce8;
  --available: #2be0b7;
  --max-width: 1320px;
  --gutter: clamp(22px, 5.4vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; background: var(--bg); }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a, button { -webkit-tap-highlight-color: #00cce820; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
[hidden] { display: none !important; }
.container { width: min(var(--max-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 20; background: var(--text); color: var(--bg); padding: 14px 20px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 5; min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.brand { width: 223px; flex: 0 0 auto; padding-block: 13px; }
.brand img { width: 100%; }
.navigation { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.navigation a { min-height: 48px; display: flex; align-items: center; position: relative; color: #e5ebef; }
.navigation a:hover { color: var(--accent); }
.navigation a[aria-current="page"], .navigation a[aria-current="location"] { color: var(--accent); }
.home-top { position: relative; isolation: isolate; background: #040c14; overflow: hidden; }
.home-top::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#02090d18,#040b12a1 65%,#040b1266), url('assets/stars.webp') top left / auto 260px repeat-x, radial-gradient(ellipse at 72% 58%,#072c45,transparent 68%); }
.hero { position: relative; display: grid; grid-template-columns: 44% 56%; align-items: center; min-height: 560px; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; bottom: 0; left: calc(-1 * var(--gutter)); width: calc(58% + var(--gutter)); height: 154px; background: url('assets/ground.webp') center bottom / cover no-repeat; -webkit-mask-image: linear-gradient(0deg,#000b,transparent); mask-image: linear-gradient(0deg,#000b,transparent); opacity: .78; }
.hero-copy { position: relative; z-index: 3; padding-block: 76px 95px; }
h1 { margin: 0; font-weight: 400; letter-spacing: -.047em; }
.hero h1 { font-size: clamp(40px,4.25vw,62px); line-height: 1.17; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-intro { margin: 25px 0 32px; color: #d4dce4; font-size: clamp(16px,1.55vw,21px); line-height: 1.55; max-width: 32em; }
.primary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 27px; padding: 14px 25px; border: 1px solid #00bdeb; border-radius: 7px; background: linear-gradient(180deg,#0b345b,#062038); color: #f4faff; font-size: 16px; box-shadow: 0 0 24px #00bdef21,inset 0 1px 0 #73ceff0d; transition: background .18s,border-color .18s,box-shadow .18s; }
.primary:hover { background: #103a58; border-color: #7de8ff; box-shadow: 0 0 26px #00bdef35; }
.arrow { width: 21px; height: 21px; flex: 0 0 auto; color: #c8e4ee; }
.hero-art { position: relative; z-index: 1; align-self: end; width: calc(100% + var(--gutter) + 45px); margin: 0 calc(-1 * var(--gutter)) 0 -45px; }
.hero-art img { width: 100%; height: auto; }
.hero-art::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#040c14a8,transparent 5%,transparent 96%,#040c1400),linear-gradient(180deg,#040c1477,transparent 6%,transparent 96%,#07101a44); }
.project-strip { position: relative; isolation: isolate; background: var(--bg); padding-block: 30px 32px; }
/* Continue the hero atmosphere through the projects without a section seam. */
.project-strip::before { content: ''; position: absolute; z-index: -1; inset: -90px 0 auto; height: 210px; pointer-events: none; background: radial-gradient(ellipse at 65% 45%, #00cce80c, transparent 68%); }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quick-card { position: relative; min-width: 0; display: flex; align-items: center; gap: 18px; min-height: 100px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(125deg,#10202b50,#050b1280); transition: border-color .18s,background .18s; }
a.quick-card:hover, .quick-card:focus-within { border-color: #558498; background: #101f2b; }
.quick-main { display: flex; align-items: center; gap: 15px; min-width: 0; flex: 1; }
.quick-main:focus-visible { outline-offset: 4px; }
.app-icon { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.quick-name { display: block; font-size: 17px; line-height: 1.25; font-weight: 400; }
.quick-copy { min-width: 0; }
.status { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; line-height: 1.5; margin-top: 6px; }
.status::before { content: ''; background: currentColor; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status.available { color: var(--available); }
.quick-card > .arrow { margin-left: auto; }
.store-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; position: relative; width: 120px; padding: 2px 0; flex-shrink: 0; }
.store-link img { width: 120px; height: 40px; object-fit: contain; }
/* An unavailable Apple asset falls back to plain text, never to a fabricated badge. */
.store-fallback { display: none; font-size: 13px; line-height: 1.25; text-align: left; text-decoration: underline; text-underline-offset: 4px; padding: 5px 0; }
.store-link.unavailable .store-fallback { display: block; }
.store-link.unavailable img { display: none; }
.site-footer { display: flex; align-items: center; min-height: 89px; padding-block: 24px; gap: 26px; border-top: 1px solid #6b859633; }
.footer-brand { width: 166px; flex-shrink: 0; }
.copyright { margin: 0; color: #a3b1bc; font-size: 11px; line-height: 1.5; }
.footer-links { margin-left: auto; display: flex; gap: 27px; color: #d1d9de; font-size: 12px; }
.footer-links a { display: flex; min-height: 44px; align-items: center; }
.footer-links a:hover { color: var(--accent); }
.projects-page { background: radial-gradient(ellipse at 92% 16%,#0b273c77,transparent 47%), var(--bg); }
.projects-main { padding-bottom: 28px; }
.projects-heading { padding-top: 38px; padding-bottom: 30px; position: relative; z-index: 2; }
.back-link { display: inline-flex; gap: 7px; align-items: center; min-height: 38px; color: #a4b9c6; font-size: 12px; margin-bottom: 14px; }
.back-link:hover { color: var(--accent); }
.projects-heading h1 { font-size: clamp(44px,4.6vw,64px); line-height: 1.08; }
.projects-heading h1 span { color: var(--accent); }
.projects-heading p { color: #cbd4dc; font-size: 20px; line-height: 1.5; margin: 13px 0 0; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-card { position: relative; border: 1px solid #274a5e; border-radius: 12px; background: linear-gradient(120deg,#0c1a25,#050e16); scroll-margin-top: 30px; }
.project-card:target { outline: 2px solid #02c5e577; outline-offset: 4px; }
.feature-project { grid-column: 1 / -1; min-height: 334px; isolation: isolate; }
.feature-copy { position: relative; z-index: 2; padding: 34px 36px; width: 57%; }
.project-heading { display: flex; gap: 21px; align-items: center; }
.project-heading .app-icon { width: 73px; height: 73px; border-radius: 16px; }
.project-heading h2 { font-size: 30px; font-weight: 400; line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.project-heading .status { font-size: 14px; margin-top: 9px; }
.project-description { margin: 24px 0; color: #cbd4dc; font-size: 17px; line-height: 1.55; max-width: 48ch; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.project-actions .store-link { width: 144px; min-height: 48px; }
.project-actions .store-link img { width: 144px; height: 48px; }
.project-actions .store-fallback { font-size: 15px; }
.text-link { color: var(--accent); display: inline-flex; gap: 12px; align-items: center; min-height: 48px; font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.premium-note { font-size: 11px; color: #9db0be; line-height: 1.5; margin: 18px 0 0; }
.feature-art { position: absolute; z-index: 1; width: 53%; right: 0; bottom: 0; -webkit-mask-image: linear-gradient(90deg,transparent,#000 16%),linear-gradient(0deg,#000 91%,transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg,transparent,#000 16%),linear-gradient(0deg,#000 91%,transparent); mask-composite: intersect; }
.feature-art img { width: 100%; }
.dev-project { min-height: 270px; overflow: hidden; }
.dev-project .project-heading { gap: 17px; align-items: center; }
.dev-project .app-icon { width: 57px; height: 57px; border-radius: 13px; }
.dev-project h2 { font-size: 25px; }
.dev-project .status { font-size: 13px; }
.dev-copy { position: relative; z-index: 3; padding: 31px 0 28px 30px; width: 61%; }
.dev-copy .project-description { font-size: 16px; line-height: 1.6; margin-top: 23px; max-width: 25ch; }
.keyfall-project { background: radial-gradient(ellipse at 98% 50%,#0f3d61,transparent 68%),#07121d; }
/* This star photograph is not a seamless tile. Fade its single image before its lower edge. */
.keyfall-project::before { content: ''; position: absolute; inset: 0; background: url('assets/stars.webp') top right / auto 260px no-repeat; -webkit-mask-image: linear-gradient(#000,transparent 260px); mask-image: linear-gradient(#000,transparent 260px); opacity: .28; pointer-events: none; }
.keyfall-art { position: absolute; right: 17px; bottom: -5px; height: 96%; width: auto; max-width: 37%; object-fit: contain; object-position: bottom right; }
.wristdesk-project { background: #08141e; }
.wristdesk-art { position: absolute; bottom: 0; right: 0; height: 100%; width: 58%; object-fit: cover; object-position: 67% center; -webkit-mask-image: linear-gradient(90deg,transparent,#000 30%); mask-image: linear-gradient(90deg,transparent,#000 30%); }
.wristdesk-project .dev-copy { width: 61%; }
.legal-main { min-height: calc(100svh - 180px); padding-block: 34px 65px; max-width: 880px; }
.legal-main h1 { font-size: clamp(38px,5vw,55px); margin-bottom: 24px; }
.legal-main h2 { font-size: 22px; font-weight: 500; margin-top: 32px; }
.legal-main p, .legal-main li { color: var(--body); font-size: 16px; line-height: 1.7; }
.legal-main a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.legal-note { border-left: 2px solid var(--accent); background: #0d2130; padding: 16px 22px; margin: 25px 0; }
.legal-main .placeholder { color: #e8c984; }
/* Tablet: maintain the artwork at full width rather than shrinking a desktop screenshot. */
@media (max-width: 1090px) and (min-width: 901px) {
  .hero { min-height: 460px; }
  .hero h1 { font-size: 41px; }
  .hero-copy { padding-block: 65px 80px; }
  .hero-art { width: calc(100% + var(--gutter) + 10px); margin-left: -10px; }
  .quick-grid { gap: 14px; }
  .quick-card { padding: 17px; }
  .quick-name { font-size: 15px; }
  .quick-card .app-icon { width: 45px; height: 45px; }
  .quick-main { gap: 12px; }
  .feature-copy { padding: 28px; }
  .project-heading h2 { font-size: 25px; }
  .project-heading .app-icon { width: 57px; height: 57px; }
  .dev-copy { padding-left: 23px; }
  .dev-project h2 { font-size: 22px; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .brand { width: 176px; }
  .navigation { gap: 24px; font-size: 15px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::before { display: none; }
  .hero-copy { padding-block: 48px 30px; }
  .hero h1 { font-size: clamp(36px,6.5vw,54px); }
  .hero-intro { font-size: 18px; margin: 23px 0 25px; }
  .hero-art { width: calc(100% + var(--gutter) * 2); margin: 0 calc(-1 * var(--gutter)); align-self: center; }
  .hero-art::before { background: linear-gradient(#040c1499,transparent 6%,transparent 98%,#07121b66); }
  .quick-grid { grid-template-columns: 1fr; gap: 14px; }
  .quick-card { min-height: 96px; }
  .feature-copy { width: 100%; padding: 30px; }
  .feature-project { overflow: hidden; }
  .feature-art { position: relative; width: 100%; -webkit-mask-image: linear-gradient(180deg,transparent,#000 7%); mask-image: linear-gradient(180deg,transparent,#000 7%); margin-top: -10px; }
  .feature-art img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 45%; }
  .feature-copy .project-description { max-width: 55ch; }
  .feature-copy .premium-note { margin-bottom: 4px; }
  .project-grid { gap: 18px; }
  .dev-copy { width: 69%; padding: 26px 0 20px 22px; }
  .dev-project .project-heading { gap: 12px; }
  .dev-project h2 { font-size: 23px; }
  .dev-project .app-icon { width: 46px; height: 46px; }
  .dev-copy .project-description { font-size: 15px; max-width: 20ch; }
  .keyfall-art { max-width: 33%; height: 83%; right: 0; }
  .wristdesk-project .dev-copy { width: 70%; }
  .wristdesk-art { width: 48%; opacity: .7; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; }
  .site-header { min-height: 75px; gap: 18px; }
  .brand { width: 168px; }
  .navigation a { min-height: 46px; }
  .hero-copy { padding: 42px 0 29px; }
  .hero h1 { font-size: clamp(31px,5.35vw + 15px,43px); line-height: 1.18; letter-spacing: -.05em; }
  .hero-intro { font-size: 15.5px; line-height: 1.65; margin: 23px 0 25px; }
  .primary { min-height: 50px; padding: 12px 21px; gap: 24px; font-size: 15px; border-radius: 7px; }
  .hero-art { padding: 0; }
  .project-strip { padding-block: 18px 21px; }
  .quick-grid { grid-template-columns: 1fr; gap: 11px; }
  .quick-card { min-height: 85px; padding: 16px; gap: 14px; border-radius: 9px; }
  .quick-main { gap: 13px; }
  .app-icon { width: 47px; height: 47px; border-radius: 10px; }
  .quick-name { font-size: 16px; line-height: 1.25; }
  .quick-copy { padding-right: 8px; }
  .quick-card .arrow { width: 18px; height: 18px; }
  .quick-main .arrow { margin-left: auto; }
  .status { font-size: 11.5px; margin-top: 5px; }
  .site-footer { min-height: 0; padding: 22px 0; flex-wrap: wrap; gap: 11px 16px; }
  .footer-brand { width: 137px; }
  .footer-links { gap: 18px; font-size: 11px; }
  .copyright { width: 100%; font-size: 10px; margin-top: 1px; order: 3; }
  .projects-heading { padding-top: 23px; padding-bottom: 27px; }
  .back-link { font-size: 12px; margin-bottom: 12px; }
  .projects-heading h1 { font-size: 42px; letter-spacing: -.04em; }
  .projects-heading p { font-size: 15px; margin-top: 13px; max-width: 26em; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-copy { padding: 23px 20px 18px; }
  .project-heading { gap: 13px; }
  .project-heading .app-icon { width: 53px; height: 53px; border-radius: 12px; }
  .project-heading h2 { font-size: 23px; line-height: 1.15; }
  .project-heading .status { font-size: 11.5px; margin-top: 7px; }
  .project-description { margin: 21px 0; font-size: 14px; line-height: 1.65; }
  .project-actions { gap: 21px; }
  .project-actions .store-link, .project-actions .store-link img { width: 135px; }
  .project-actions .store-link img { height: 45px; }
  .project-actions .store-link { min-height: 49px; }
  .text-link { font-size: 14px; gap: 9px; }
  .premium-note { font-size: 10px; margin-top: 13px; }
  .feature-art { margin-top: -7px; }
  .feature-art img { height: auto; object-fit: contain; }
  .dev-project { min-height: 247px; }
  .dev-copy, .wristdesk-project .dev-copy { width: 62%; padding: 24px 0 24px 18px; }
  .dev-project .project-heading { gap: 11px; align-items: flex-start; }
  .dev-project h2 { font-size: 21px; }
  .dev-project .app-icon { width: 40px; height: 40px; border-radius: 9px; }
  .dev-project .status { font-size: 11px; margin-top: 6px; gap: 5px; }
  .dev-copy .project-description { font-size: 14px; line-height: 1.55; margin-top: 24px; max-width: 17ch; }
  .keyfall-art { height: 93%; width: auto; max-width: 35%; right: 6px; bottom: 0; }
  .wristdesk-art { height: 95%; width: 53%; opacity: 1; object-position: 67% center; -webkit-mask-image: linear-gradient(90deg,transparent,#000 22%); mask-image: linear-gradient(90deg,transparent,#000 22%); }
  .wristdesk-project { min-height: 230px; }
  .wristdesk-project .project-description { max-width: 15ch; }
  .projects-main { padding-bottom: 25px; }
  .legal-main { padding-block: 24px 42px; }
  .legal-main h1 { font-size: 35px; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .legal-main p { font-size: 15px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .brand { width: 148px; }
  .site-header { gap: 12px; }
  .hero h1 { font-size: 31px; }
  .hero-intro { font-size: 15px; max-width: 270px; }
  .quick-name { font-size: 14.5px; }
  .project-heading h2 { font-size: 21px; }
  .dev-project h2 { font-size: 19px; }
  .dev-copy .project-description { font-size: 13px; }
  .footer-brand { width: 124px; }
  .footer-links { gap: 14px; font-size: 10.5px; }
  .dev-project .app-icon { width: 34px; height: 34px; }
  .dev-project .status { font-size: 10px; }
  .project-actions { gap: 17px; }
  .text-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
/* The cinematic scene is a separate image, not a screenshot of the website.
   All headings, navigation, cards and calls to action remain real HTML. */
main[tabindex="-1"]:focus { outline: none; }
.home-top::before {
  height: 360px;
  background: url('assets/stars.webp') top left / auto 260px repeat-x;
  -webkit-mask-image: linear-gradient(#000b,transparent);
  mask-image: linear-gradient(#000b,transparent);
}
@media (min-width:901px) {
  .hero { min-height: 0; height: clamp(340px,34.33vw,620px); }
  .hero::before { display: none; }
  .hero-copy { padding-block: 30px; }
  .hero-art { position: absolute; inset: 0; z-index: -1; height: 100%; width: calc(100% + var(--gutter) * 2); margin: 0 calc(-1 * var(--gutter)); }
  .hero-art picture { display: block; height: 100%; }
  .hero-art img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
  .hero-art::before { background: linear-gradient(180deg,#040c1433,transparent 8%); }
}
@media (max-width:900px) {
  .hero-art picture { display: block; }
}
.project-heading > div { min-width: 0; flex: 1; }
.home-top::before { background-size: auto 360px; }
@media (max-width:600px) {
  #parks-title { max-width: 13ch; }
  .home-top::before { opacity: .48; }
}

/* Resolution correction: keep original art, resolve source density in srcset. */
.hero-copy .primary { margin-top: 34px; }
.hero-art img, .feature-art img, .keyfall-art, .wristdesk-art,
.brand img, .footer-brand img, .app-icon { image-rendering: auto; }
.brand img, .footer-brand img { transform: none; filter: none; }
/* The approved WristDesk concept is only 351 x 218px: contain, never cover-stretch. */
.wristdesk-art { width: min(53%, 285px); height: auto; max-height: 92%; object-fit: contain; object-position: right bottom; }
@media (max-width: 900px) {
  .wristdesk-art { width: min(45%, 220px); height: auto; max-height: 88%; }
}
@media (max-width: 600px) {
  .hero-copy .primary { margin-top: 27px; }
  .wristdesk-art { width: 52%; height: auto; max-height: 87%; bottom: 6px; }
}
/* Fade only the background edge of the small concept image, not its controls. */
.wristdesk-art {
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 24%),linear-gradient(180deg,transparent,#000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg,transparent,#000 24%),linear-gradient(180deg,transparent,#000 18%);
  mask-composite: intersect;
}

/* Mobile correction, 2026-09-15. No extra viewport/safe-area spacer:
   browser chrome remains outside the document. All original image files stay intact. */
html, body { margin: 0; padding: 0; }
.page-view { display: flow-root; margin: 0; padding: 0; }
.home-top { margin-block-start: 0; padding-block-start: 0; }
.skip-link { transform: none; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; padding: 14px 20px; overflow: visible; }
@media (max-width: 900px) {
  .home-top { background: var(--bg); }
  .home-top::before {
    height: 100%; opacity: .24;
    background: url('assets/stars.webp') top center / auto 260px no-repeat,
      radial-gradient(ellipse at 80% 75%, #0b2035 0%, #06101b 34%, var(--bg) 70%);
    /* Fade the short star image before it ends above the mobile device scene. */
    -webkit-mask-image: linear-gradient(#000,transparent 260px);
    mask-image: linear-gradient(#000,transparent 260px);
  }
  .hero-copy { padding-block: 36px 22px; }
  .hero-art { margin-block-start: 0; line-height: 0; }
  .hero-art::before { display: none; }
  .hero-art picture {
    display: block;
    -webkit-mask-image: url('assets/hero-mobile-mask.svg');
    mask-image: url('assets/hero-mobile-mask.svg');
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    mask-mode: alpha;
  }
  .hero-art img { display: block; width: 100%; height: auto; }
}
@media (max-width: 600px) {
  .site-header { min-height: 68px; padding-block: 0; }
  .brand { padding-block: 8px; }
  .hero-copy { padding-block: 31px 21px; }
  .hero-copy .primary { margin-block-start: 26px; }
}

/* Shared header controls for every page, independent of page typography. */
.language-toggle {
  width: 38px;
  height: 36px;
  margin-left: -12px;
  padding: 0;
  border: 1px solid #315064;
  border-radius: 999px;
  background: rgba(7, 19, 29, .7);
  color: #e7eef3;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 600;
  transition: color .18s, border-color .18s, background .18s, box-shadow .18s;
}
.language-toggle:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(11, 43, 64, .9);
  box-shadow: 0 0 18px rgba(0, 204, 232, .14);
}
.language-toggle:active { transform: translateY(1px); }

/* Shared accessible mobile navigation for every page. */
.site-menu-toggle { display: none; }
@media (max-width: 720px) {
  .site-header { position: relative; }
  .site-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #edf5f8;
    cursor: pointer;
  }
  .site-menu-toggle span:not(.sr-only) {
    width: 23px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .site-menu-toggle[aria-expanded='true'] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .site-menu-toggle[aria-expanded='true'] span:nth-of-type(3) { opacity: 0; }
  .site-menu-toggle[aria-expanded='true'] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-header > .navigation {
    position: absolute;
    z-index: 40;
    top: calc(100% - 4px);
    right: 0;
    width: min(290px, calc(100vw - var(--gutter) * 2));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(47,86,108,.9);
    border-radius: 10px;
    background: rgba(4,14,22,.97);
    box-shadow: 0 18px 45px rgba(0,0,0,.48);
    font-size: 15px;
  }
  .site-header > .navigation.is-open { display: flex; }
  .site-header > .navigation a,
  .site-header > .navigation .language-toggle {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 6px;
  }
  .site-header > .navigation a:hover,
  .site-header > .navigation .language-toggle:hover {
    background: rgba(17,46,63,.7);
  }
  .site-header > .navigation .language-toggle { border: 0; margin: 0; }
}
