/* ==========================================================================
   Netax Oy — netax.fi
   Fonts are self-hosted (see fonts/). Subset: latin + latin-ext.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/newsreader-300-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/newsreader-300-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/newsreader-300-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/newsreader-300-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --ink: #26311e;
  --soft: #5b6652;
  --soft-alt: #4f5b47;
  --green: #2d4628;
  --petrol: #10707f;
  --petrol-light: #7fd1dc;
  --petrol-pale: #9fdfe9;
  --selection: #bfe6ec;
  --page: #fffefb;
  --warm: #faf9f1;
  --row-hover: #f7f5ea;
  --pale-green: #f1f6e7;
  --line: #dce3d1;
  --line-green: #cfd9be;
  --line-dark: rgba(255, 255, 255, .22);
  --quote-ink: #f4f8ec;
  --quote-ink-alt: #e8efdd;
  --quote-meta: #b9c7ae;

  --serif: Newsreader, Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- Base ----------------------------------------------------------------- */

* { box-sizing: border-box }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100% }
picture { display: block }

a {
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-color: rgba(38, 49, 30, .32);
}
a:hover { color: var(--petrol); text-decoration-color: var(--petrol) }

:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px }
::selection { background: var(--selection); color: var(--ink) }

h1, h2, h3 { margin: 0 }

h1 {
  max-width: 22em;
  font: 300 clamp(2.7rem, 5.6vw, 5rem)/1.02 var(--serif);
  letter-spacing: -.026em;
  text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 300; color: var(--petrol) }

h2 {
  font: 300 clamp(2.05rem, 3.5vw, 3.05rem)/1.07 var(--serif);
  letter-spacing: -.022em;
  text-wrap: balance;
}

.container {
  width: min(calc(100% - clamp(32px, 6vw, 64px)), 1240px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--petrol);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --- Buttons and link affordances ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--petrol); color: #fff }

.btn-lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: .92rem;
  font-weight: 600;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: underline;
}
.link-arrow .arrow { font-size: 1.1rem }

/* --- Skip link ------------------------------------------------------------ */

.skip {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; color: #fff }

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 254, 251, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Logo. Geometry is arithmetic — see README "Logo". Do not round these. */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark { width: 37px; height: auto; flex: none }
.logo-rows { fill: var(--ink) }
.logo-total { fill: var(--petrol) }
.logo-words { display: flex; flex-direction: column; gap: 5px }
.logo-name { font: 700 26px/1 var(--sans); letter-spacing: .02em }
.logo-sub {
  /* letter-spacing adds one gap after the final letter; cancel it */
  margin-right: -.184em;
  font: 600 10px/1 var(--sans);
  letter-spacing: .184em;
  color: var(--soft);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 .86rem var(--sans);
  cursor: pointer;
}
.menu-bars { display: grid; gap: 4px }
.menu-bars span { display: block; width: 22px; height: 2px; background: var(--ink) }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: .88rem;
  font-weight: 600;
}
.nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--petrol) }
.nav a.btn { padding: 12px 22px; border-bottom: 0 }
.nav a.btn:hover { border-bottom: 0 }

/* --- 2. Hero -------------------------------------------------------------- */

.hero { padding: clamp(46px, 6.5vw, 86px) 0 clamp(46px, 6vw, 78px) }

.hero-rule {
  display: block;
  width: 52px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--petrol);
}

.hero-lead {
  max-width: 34em;
  margin: 30px 0 0;
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  flex-wrap: wrap;
}

/* --- 3. Trust strip ------------------------------------------------------- */

.trust { border-block: 1px solid var(--line); background: var(--warm) }

.trust-list {
  margin-block: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.trust-list li {
  padding: 19px 24px 19px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .81rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petrol);
}

/* --- 4. Meadow band ------------------------------------------------------- */

.meadow { position: relative; background: var(--green) }

.meadow img {
  width: 100%;
  height: clamp(320px, 42vw, 500px);
  object-fit: cover;
  object-position: 50% 44%;
}

.meadow-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(28, 46, 24, .34) 0%,
    rgba(28, 46, 24, .06) 34%,
    rgba(24, 40, 21, .82) 100%);
}

.meadow-caption {
  position: absolute;
  inset: auto 0 0;
  padding-bottom: clamp(26px, 3.4vw, 42px);
  color: #fff;
}
.meadow-caption p {
  margin: 0;
  font: 300 clamp(2.1rem, 4.4vw, 3.7rem)/1.02 var(--serif);
  letter-spacing: -.024em;
  /* load-bearing: the scrim alone does not guarantee white-on-photo contrast */
  text-shadow: 0 2px 20px rgba(18, 32, 15, .45);
}
.meadow-caption strong { font-weight: 300; color: var(--petrol-pale) }

.meadow-tags {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding: 16px 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 2.4vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
}

/* --- 5. "Kun kirjanpito toimii" ------------------------------------------- */

.statement {
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}
.statement-body {
  padding-top: 6px;
  color: var(--soft);
  font-size: 1.04rem;
  line-height: 1.7;
}
.statement-body p { margin: 0 0 18px; text-wrap: pretty }
.statement-body p:last-child { margin-bottom: 0 }

/* --- 6. "Hei, olen Anne" -------------------------------------------------- */

.anne { padding-bottom: clamp(64px, 8vw, 104px) }
.anne-inner { padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line) }

/* flex, not grid: an auto-fit grid left a dead track beside the photo at mid widths */
.anne-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: flex-start;
}

.anne-figure { flex: 0 1 300px; max-width: 420px; margin: 0 }
.anne-figure img {
  width: 100%;
  height: auto; /* required, or the height attribute overrides aspect-ratio */
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 2px;
  background: var(--pale-green);
}
.anne-figure figcaption {
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.anne-name { font: 400 1.18rem/1.2 var(--serif) }
.anne-org {
  color: var(--soft);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.anne-copy { flex: 1 1 460px; min-width: 0 }
.anne-copy h2 { max-width: 19em }
.anne-text {
  margin-top: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 18px;
  font: 300 clamp(1.14rem, 1.6vw, 1.36rem)/1.52 var(--serif);
  color: var(--ink);
}
.anne-text p { margin: 0; text-wrap: pretty }

.anne-contact {
  margin-top: clamp(26px, 3.4vw, 38px);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.anne-contact-label {
  color: var(--soft);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.anne-contact-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: .95rem;
  font-weight: 600;
}

/* --- 7. Services ---------------------------------------------------------- */

.services { background: var(--page); border-top: 1px solid var(--line) }
.services-inner { padding: clamp(60px, 7.5vw, 100px) 0 }

.services-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 54px);
}
.services-intro { margin: 0; color: var(--soft); line-height: 1.7; text-wrap: pretty }

.services-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line) }

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 0;
  padding: clamp(20px, 2.6vw, 26px) clamp(0px, 1.4vw, 18px);
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.service:hover { background: var(--row-hover) }

.service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 6px clamp(20px, 3.6vw, 52px);
  align-items: baseline;
}
.service-title { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 26px) }
.service-num {
  flex: none;
  width: 1.9em;
  color: var(--soft);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.service h3 {
  font: 400 clamp(1.28rem, 1.9vw, 1.6rem)/1.2 var(--serif);
  letter-spacing: -.012em;
}
.service-desc {
  margin: 0;
  color: var(--soft);
  font-size: .98rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* 07 is the only service that needs its own conversation, so it is the only
   one with its own CTA. */
.service--highlight {
  gap: 14px 0;
  padding: clamp(22px, 2.8vw, 30px) clamp(0px, 1.4vw, 18px);
  background: var(--row-hover);
  transition: none;
}
.service--highlight .service-num { color: var(--petrol) }
.service-link { justify-self: start; margin-left: clamp(0px, 3.9vw, 52px) }

.services-foot {
  margin-top: clamp(30px, 3.6vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 34px;
  flex-wrap: wrap;
}
.services-note { margin: 0; max-width: 36em; color: var(--soft); text-wrap: pretty }

/* --- 8. Remote working ---------------------------------------------------- */

.remote { background: var(--pale-green); border-block: 1px solid var(--line) }
.remote-inner { padding: clamp(60px, 7.5vw, 100px) 0 }

.remote-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.remote-copy { margin-top: clamp(24px, 3vw, 34px); color: var(--soft-alt); line-height: 1.7 }
.remote-copy p { margin: 0 0 16px; text-wrap: pretty }
.remote-copy p:last-child { margin-bottom: 0 }

.remote-figure { margin: 0; max-width: 540px }
.remote-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 2px;
  background: var(--green);
}
.remote-figure figcaption {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-green);
}
.figure-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.figure-title {
  display: block;
  font: 400 clamp(1.2rem, 1.7vw, 1.5rem)/1.24 var(--serif);
  letter-spacing: -.012em;
}
.figure-sub {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: .92rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.remote-modes {
  margin: clamp(38px, 4.6vw, 58px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0;
  border-top: 1px solid var(--line-green);
}
.remote-modes li { padding: 22px 26px 0 0 }
.remote-modes strong { display: block; font: 400 1.3rem/1.2 var(--serif) }
.remote-modes span { display: block; margin-top: 6px; color: var(--soft); font-size: .88rem }

/* --- 9. Testimonials ------------------------------------------------------ */

.quotes { background: var(--green); color: #fff }
.quotes-inner { padding: clamp(62px, 8vw, 104px) 0 }

.quotes-head { max-width: 38em; margin-bottom: clamp(34px, 4.4vw, 52px) }
.quotes-head .eyebrow { color: var(--petrol-light) }

.quotes-list { border-top: 1px solid var(--line-dark) }

.quote {
  margin: 0;
  padding: clamp(28px, 3.6vw, 42px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--line-dark);
}
.quote:last-child { border-bottom: 0 }
.quote figcaption { display: flex; flex-direction: column; gap: 5px }
.quote-name { font-size: .98rem; font-weight: 600 }
.quote-role { color: var(--quote-meta); font-size: .82rem }

.quote blockquote {
  grid-column: span 2;
  margin: 0;
  font: 300 clamp(1.1rem, 1.5vw, 1.32rem)/1.52 var(--serif);
  color: var(--quote-ink-alt);
  text-wrap: pretty;
}
.quote blockquote p { margin: 0 }
.quote blockquote p + p { margin-top: 16px }

/* the strongest quote, set larger on purpose */
.quote--lead blockquote {
  font: 300 clamp(1.28rem, 2vw, 1.72rem)/1.44 var(--serif);
  color: var(--quote-ink);
}

/* --- 10. Contact ---------------------------------------------------------- */

.contact {
  padding: clamp(62px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(34px, 5.5vw, 84px);
  align-items: start;
}
.contact h2 { margin-bottom: 28px }
.contact-lead {
  max-width: 34em;
  margin: 0 0 20px;
  font-size: 1.12rem;
  line-height: 1.62;
  text-wrap: pretty;
}
.contact-note {
  max-width: 36em;
  margin: 0 0 16px;
  color: var(--soft);
  line-height: 1.7;
  text-wrap: pretty;
}
.contact-note:last-child { margin-bottom: 0 }

.contact-card {
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: 2px;
  background: var(--green);
  color: #fff;
}
.contact-card .eyebrow {
  margin-bottom: clamp(30px, 4vw, 48px);
  color: var(--petrol-light);
  font-size: .7rem;
}
.contact-card h3 {
  font: 400 clamp(1.7rem, 2.4vw, 2.1rem)/1.12 var(--serif);
  letter-spacing: -.018em;
}
.contact-card-org { margin: 6px 0 26px; color: rgba(255, 255, 255, .72); font-size: .95rem }

.contact-card-links {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-block: 1px solid rgba(255, 255, 255, .2);
  font-size: 1.02rem;
  font-weight: 600;
}
.contact-card-links a {
  width: max-content;
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .4);
}
.contact-card-links a:hover { color: var(--petrol-light); text-decoration-color: var(--petrol-light) }

.btn-email {
  width: 100%;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 2px;
  background: #fff;
  color: var(--green);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.btn-email:hover { background: var(--petrol); color: #fff }

.contact-card-fineprint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  line-height: 1.55;
}

/* --- 11. Footer ----------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); background: var(--warm) }

.footer-grid {
  padding: clamp(38px, 4.6vw, 54px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(26px, 3.4vw, 44px);
  align-items: end;
  font-size: .86rem;
}

.footer-logo { display: flex; align-items: center; gap: 13.9px }
.footer-logo .logo-mark { width: 34px }
.footer-logo .logo-words { gap: 4px }
.footer-logo .logo-name { font-size: 24px }
.footer-logo .logo-sub { margin-right: -.1606em; font-size: 9.5px; letter-spacing: .1606em }

.footer-tagline { margin: 14px 0 0; color: var(--soft); text-wrap: pretty }

.footer-contact { display: flex; flex-direction: column; gap: 5px; color: var(--soft) }
.footer-contact a { width: max-content }

.footer-top { justify-self: start; font-weight: 600 }

/* --- 404 ------------------------------------------------------------------ */

.error-page {
  padding: clamp(64px, 9vw, 128px) 0 clamp(80px, 12vw, 180px);
}

/* --- Mobile nav ----------------------------------------------------------- */

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px clamp(16px, 3vw, 32px) 22px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(38, 49, 30, .1);
  }
  .nav[data-open="1"] { display: flex }
  .nav a { padding: 15px 2px; border-bottom: 1px solid var(--line) }
  .nav a.btn { margin-top: 14px; padding: 12px 22px; border-bottom: 0; justify-content: center }
  .menu-btn { display: inline-flex }
}

@media (min-width: 901px) {
  .nav { display: flex }
}

/* --- Reduced motion ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  * { transition-duration: .01ms !important }
}
