/* Ftry Family Salon — ftrysalon.com
   ---------------------------------------------------------------------------
   Salon noir. A near-black warm ground, bone-white type, and exactly one
   accent — the orange lifted straight off the logo (#F58220). The accent is
   rationed: a hairline, a rule, the primary button, the section numerals.
   Nothing else gets to be orange, which is why the orange lands.

   Mobile-first throughout. Most visitors arrive from the Instagram bio on a
   phone, one-handed, deciding in about four seconds whether to tap WhatsApp.
   Everything above the fold and the whole sticky bar serves that one tap.
   ------------------------------------------------------------------------- */

/* --- Typefaces. Self-hosted; the page makes zero third-party requests. ----- */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('/assets/fonts/bodoni-moda-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: 'Bodoni Moda';
  src: url('/assets/fonts/bodoni-moda-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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';
  src: url('/assets/fonts/schibsted-grotesk-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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';
  src: url('/assets/fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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 {
  --night: #141210;
  --night-raised: #1c1917;
  --night-deep: #0d0b0a;
  --bone: #f4efe9;
  --bone-dim: #a29a92;
  /* 4.56:1 on --night and 4.79:1 on --night-deep. It carries small labels at
     --step--1, which is normal-size text, so it has to clear 4.5 — the darker
     #6f6862 this started as measured 3.41 and failed. */
  --bone-faint: #847c75;
  --orange: #f58220;
  --orange-lift: #ff9a45;
  --line: rgba(244, 239, 233, 0.11);
  --line-strong: rgba(244, 239, 233, 0.2);
  /* Borders that are the only thing outlining an interactive control. At 0.20
     the ghost button read 1.76:1 against --night; 0.36 clears the 3:1 bar WCAG
     sets for non-text UI boundaries. */
  --line-control: rgba(244, 239, 233, 0.36);

  --display: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid scale, 360px → 1280px viewport. */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.19vw, 1.11rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.34vw, 1.42rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.63vw, 1.9rem);
  --step-3: clamp(1.95rem, 1.7rem + 1.1vw, 2.65rem);
  --step-4: clamp(2.5rem, 2rem + 2.2vw, 3.9rem);

  --gutter: clamp(1.35rem, 5vw, 2.75rem);
  --measure: 34rem;
  /* Outer width: the gutters live inside it now, so this is ~66rem of content
     at desktop, matching what the old border-box min() produced. */
  --shell: 71.5rem;

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  /* Height of the sticky action bar, so content can clear it. */
  --bar: calc(4.35rem + env(safe-area-inset-bottom, 0px));
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchors must not land under the sticky header rule. */
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Room for the sticky bar on phones. */
  padding-bottom: var(--bar);
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Atmosphere ----------------------------------------------------------- */

/* A warm overhead wash, like the light over a styling chair. Painted on a
   pseudo-element so it never intercepts a tap. */
body::before {
  content: '';
  position: fixed;
  inset: -30% 0 auto;
  height: 88vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 46% at 50% 22%, rgba(245, 130, 32, 0.16), transparent 68%),
    radial-gradient(88% 60% at 78% 6%, rgba(255, 154, 69, 0.07), transparent 70%);
}

/* Fine grain. Keeps the large flat fields from reading as flat digital black.
   Inline SVG turbulence — no image request, no external origin. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* Plain max-width + padding rather than `min(100% - var(--gutter) * 2, …)`:
   nested math inside min() is the fragile part, and this form also lets the
   gutter absorb the landscape notch on iOS in the same declaration. */
.shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* --- Shared type patterns ------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.eyebrow::before {
  content: attr(data-index);
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin-block: 1.1rem 0;
  text-wrap: balance;
}

.lede {
  color: var(--bone-dim);
  max-width: var(--measure);
  margin-top: 0.9rem;
  text-wrap: pretty;
}

.section {
  padding-block: clamp(3.4rem, 9vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.7rem 1.1rem;
  background: var(--orange);
  color: var(--night-deep);
  font-weight: 700;
  border-radius: 0.4rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  /* 48px floor: every CTA is a comfortable thumb target. */
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn--primary {
  background: var(--orange);
  color: #1a0e03;
  /* A grounding shadow, not a coloured halo — the fill is already the loudest
     thing on the page and does not need a glow to be found. */
  box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.45);
}

.btn--ghost {
  border-color: var(--line-control);
  color: var(--bone);
  background: rgba(244, 239, 233, 0.03);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--orange-lift);
    transform: translateY(-2px);
  }

  .btn--ghost:hover {
    border-color: var(--bone-dim);
    background: rgba(244, 239, 233, 0.07);
    transform: translateY(-2px);
  }
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

/* --- Masthead + hero ------------------------------------------------------ */

.hero {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(3rem, 8vw, 5.5rem);
}

.masthead {
  width: min(19rem, 62%);
}

.hero__title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-top: clamp(2rem, 6vw, 3.2rem);
  text-wrap: balance;
  max-width: 15ch;
}

.hero__title em {
  font-style: italic;
  color: var(--orange);
}

.hero__lede {
  margin-top: 1.25rem;
  max-width: 30rem;
  color: var(--bone-dim);
  font-size: var(--step-1);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Side by side even on a 390px screen: two decisive taps, not a stack that
   reads as a list of options. */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.85rem;
}

.hero__actions .btn {
  padding-inline: clamp(1.1rem, 4.5vw, 1.6rem);
}

/* Hours pill. Static text — the page ships no JavaScript, so it states the
   standing hours rather than pretending to know the current time. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 233, 0.03);
  font-size: var(--step--1);
  color: var(--bone-dim);
}

/* A clock, not a live green "open now" dot — the page is static, so it states
   the standing hours and must not imply it knows the current time. */
.status svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--orange);
  flex: none;
}

.status b {
  color: var(--bone);
  font-weight: 600;
}

/* --- Proof strip ---------------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.75rem, 8vw, 4rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.proof__item {
  background: var(--night);
  padding: 1.1rem 1.15rem;
}

.proof__value {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof__value svg {
  width: 0.85em;
  height: 0.85em;
  color: var(--orange);
}

.proof__label {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  color: var(--bone-dim);
  line-height: 1.35;
}

/* --- Signature treatments ------------------------------------------------- */

.signatures {
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.signature {
  background: var(--night);
  padding: clamp(1.5rem, 5vw, 2.25rem) 0;
  display: grid;
  gap: 0.6rem;
  transition: background-color 0.3s var(--ease);
}

.signature__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.signature__head svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--orange);
  flex: none;
}

.signature h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.signature p {
  color: var(--bone-dim);
  max-width: var(--measure);
  text-wrap: pretty;
}

/* Sits above the title, as a category label — not beside it, where it competed
   with the heading for the same optical line. */
.signature__meta {
  font-size: var(--step--1);
  color: var(--bone-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  order: -1;
}

/* --- The menu ------------------------------------------------------------- */

.menu {
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
}

.menu__group h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
}

.menu__group h3 svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.menu__group ul {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.35rem;
}

.menu__group li {
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-size: var(--step-0);
}

.menu__group li:last-child {
  border-bottom: 0;
}

.menu__group li span {
  color: var(--bone-faint);
  font-size: var(--step--1);
}

.menu__note {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.9rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
  background: rgba(244, 239, 233, 0.02);
}

.menu__note p {
  color: var(--bone-dim);
  max-width: var(--measure);
  text-wrap: pretty;
}

/* --- Reasons -------------------------------------------------------------- */

.reasons {
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
  display: grid;
  gap: 1.75rem;
}

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.reason svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--orange);
  margin-top: 0.15rem;
}

.reason h3 {
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.reason p {
  margin-top: 0.25rem;
  color: var(--bone-dim);
  font-size: var(--step--1);
  line-height: 1.55;
  text-wrap: pretty;
}

/* --- Visit ---------------------------------------------------------------- */

.visit {
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
  display: grid;
  gap: 2.25rem;
}

.visit__block h3 {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 0.7rem;
}

.visit address {
  font-style: normal;
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 24rem;
  text-wrap: pretty;
}

.hours {
  display: grid;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 24rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line);
}


.hours__note {
  margin-top: 0.7rem;
  max-width: 24rem;
  font-size: var(--step--1);
  color: var(--bone-faint);
  text-wrap: pretty;
}

.hours dt {
  color: var(--bone-dim);
}

.hours dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.contact-list {
  display: grid;
  gap: 0.15rem;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}

.contact-list a svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--orange);
  flex: none;
}

.contact-list a span {
  color: var(--bone-faint);
  font-size: var(--step--1);
  margin-left: auto;
}

@media (hover: hover) {
  .contact-list a:hover {
    color: var(--orange-lift);
  }
}

/* --- Social --------------------------------------------------------------- */

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-control);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social a svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (hover: hover) {
  .social a:hover {
    border-color: var(--orange);
    color: var(--orange-lift);
    transform: translateY(-2px);
  }
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--night-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  margin-top: clamp(3rem, 8vw, 5rem);
  position: relative;
  z-index: 2;
}

.footer__inner {
  display: grid;
  gap: 1.25rem;
}

.footer__mark {
  width: 8.5rem;
  opacity: 0.85;
}

.footer p {
  color: var(--bone-faint);
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: var(--measure);
}

/* Inline in a sentence, but still a phone number someone will tap. */
.footer a {
  display: inline-block;
  padding-block: 0.55rem;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line-strong);
}

@media (hover: hover) {
  .footer a:hover {
    color: var(--orange-lift);
    border-color: var(--orange);
  }
}

/* --- Sticky action bar ---------------------------------------------------- */

.actionbar {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding-top: 0.6rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  /* Fixed to the viewport, so it clears the landscape notch itself. */
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: rgba(13, 11, 10, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line);
}

.actionbar .btn--ghost {
  background: rgba(244, 239, 233, 0.06);
  padding-inline: 1.15rem;
}

/* --- Responsive ----------------------------------------------------------- */

@media (min-width: 40rem) {
  .proof {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu__note {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }

  .visit {
    /* The address is the longest single string on the page; give its column
       the extra room rather than letting it wrap every three words. */
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
  }
}

@media (min-width: 60rem) {
  body {
    /* Desktop has no sticky bar, so it needs no clearance. */
    padding-bottom: 0;
  }

  .actionbar {
    display: none;
  }

  /* Desktop gets a second column so the fold is not half empty: the proof
     figures move up beside the headline instead of sitting under it. The lead
     is wrapped rather than spanning rows — a spanning grid item stretches the
     rows it crosses, which tore a dead gap under the masthead. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    column-gap: clamp(3rem, 6vw, 5rem);
    align-items: end;
  }

  .hero .proof {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero .proof__item {
    padding: 1.3rem 1.5rem;
  }

  .section {
    display: grid;
    /* A narrow rail for the numbered label, and the rest to content. Wider
       than ~14rem and the two-column blocks inside the content column start
       wrapping their own lines. */
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 0 3rem;
  }

  .section > .eyebrow {
    grid-column: 1;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .section > .eyebrow::after {
    display: none;
  }

  .section__head {
    grid-column: 2;
  }

  .section > :not(.eyebrow):not(.section__head) {
    grid-column: 2;
  }

  .section-title {
    margin-top: 0;
  }

}

/* --- Motion --------------------------------------------------------------- */

/* Motion is deliberately confined to one moment: a single staggered entrance
   in the hero on load. Nothing below the fold animates.

   Scroll-driven reveals (`animation-timeline: view()`) were tried here and
   removed. Their failure mode is that content sits at opacity 0 when the
   timeline does not resolve — which is exactly what happened in headless
   Chromium, leaving every section below the hero blank. On a page whose whole
   job is to be found and read, invisible content is not a risk worth one
   flourish. `backwards` below is safe by construction: the animation starts
   immediately, so nothing waits on an event that might never come. */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

.hero .reveal {
  animation: rise 0.8s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 90ms + 60ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero .reveal {
    animation: none;
  }

  .btn,
  .social a,
  .contact-list a {
    transition: none;
  }
}

/* --- Print ---------------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  body::before,
  body::after,
  .actionbar,
  .skip-link {
    display: none;
  }

  .masthead,
  .footer__mark {
    filter: invert(1);
  }

  .section {
    border-color: #bbb;
    page-break-inside: avoid;
  }
}
