/* =============================================================
   Naomi Malouf — Educator & learning experience designer
   Single-page portfolio. No frameworks, no trackers, no build step.

   Palette and type are lifted from the original site's computed
   styles, not approximated. Reference values noted inline.
   ============================================================= */

/* ---- Design tokens ------------------------------------------------ */
:root {
  /* Colour — the original is near-monochrome with one warm accent */
  --ink:        #000000;   /* body copy, headings          */
  --ink-hero:   #2a2a2a;   /* hero headline + subhead      */
  --ink-soft:   rgba(0, 0, 0, 0.6);
  --ink-faint:  #a1a1a1;   /* footer headings              */
  --ink-grey:   #9ba0a3;   /* contact value text           */
  --accent:     #aa784d;   /* "EMAIL /" "PHONE /" labels   */
  --accent-deep:#8a5f3a;   /* darkened for hover + AA text */
  --required:   #ff2825;   /* required-field asterisk      */

  --paper:      #ffffff;   /* .main-wrap background        */
  --banner-bg:  #020202;   /* page-title banner sections   */
  --dark-bg:    #080000;   /* qualifications, learning styles */
  --dark-text:  #d5d5d5;   /* body copy on the dark bands  */
  --near-white: #fbfbfc;   /* the "Learners ..." band      */
  --wash:       rgba(0, 0, 0, 0.05);  /* body bg, hovers, blockquote */
  --rule:       rgba(0, 0, 0, 0.12);
  --rule-firm:  rgba(0, 0, 0, 0.4);   /* form borders      */

  /* Type — Quicksand throughout, Playfair Display for quotes only */
  --font:       "Quicksand", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-quote: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Fluid scale anchored to the original's fixed sizes:
     hero 80px · hero sub 32px · h2 40px · body 16px · UI 12px */
  --step-ui:   0.75rem;                                    /* 12px */
  --step-body: 1rem;                                       /* 16px */
  --step-sub:  clamp(1.375rem, 1.05rem + 1.4vw, 2rem);     /* →32px */
  --step-h2:   clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);    /* →40px */
  --step-h1:   clamp(2.75rem, 1.6rem + 5vw, 5rem);         /* →80px */
  --step-quote:clamp(1.5rem, 1.05rem + 2vw, 2.375rem);     /* →38px */

  /* Rhythm — the original runs a single 1120px column for every section,
     landing at x=73 in a 1265px viewport. */
  --wrap:      1120px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h:  88px;   /* fixed header, 48px nav + 20px padding each side */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 500;          /* the theme's body weight */
  line-height: 1.75;         /* 16px / 28px */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 400;          /* the original's headings are regular, not bold */
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.75rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--ink); }

cite { font-style: italic; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

/* ---- Layout helpers ----------------------------------------------- */
/* One column width for every section, matching the original. */
.wrap,
.narrow {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section-alt { background: var(--wash); }
.section-near-white { background: var(--near-white); }

/* ---- Page-title banners -------------------------------------------
   The original gives each page a near-black band with the title at
   80px white and a bracketed subtitle beneath.
   ------------------------------------------------------------------ */
.section-banner {
  background: var(--banner-bg);
  color: #fff;
  /* The banner is the first element on inner pages, and the header is
     fixed and transparent above it — so pad past the header. */
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}
.banner-title {
  font-size: var(--step-h1);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.banner-sub {
  font-size: var(--step-sub);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.8px;
  color: var(--dark-text);
  margin: 0.6rem 0 0;
}

/* ---- Dark content bands -------------------------------------------- */
.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section-dark .section-title { color: #fff; }
.section-dark .section-title::after { background: rgba(255, 255, 255, 0.18); }
.section-dark .sub-title { color: #fff; }
.section-dark .prose-lead { color: var(--dark-text); }
.section-dark a { color: #e0b98f; }
.section-dark a:hover { color: #fff; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-kicker {
  font-size: var(--step-ui);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

/* Section headings carry a hairline rule to their right, as on the
   original, where a divider element sat beside each heading. */
.section-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--step-h2);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}

.section-sub {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin: -1rem 0 0;
}

.sub-title {
  font-size: var(--step-sub);
  font-weight: 400;
  margin: clamp(2.5rem, 5vw, 3.75rem) 0 1.5rem;
}

.prose-lead {
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}

/* The original justifies its body copy. */
.section-story p,
.section-whoami p,
.prose-justify { text-align: justify; hyphens: auto; }

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--rule);
  padding: 0.2em 0.6em;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---- Buttons ------------------------------------------------------
   Original: transparent fill, 1px solid #000, uppercase Quicksand 700
   at 16px, 0.03em tracking, 14px/30px padding, square corners.
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}
.btn:hover { background-color: var(--wash); color: var(--ink); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-block { width: 100%; }

/* ---- Header ------------------------------------------------------- */
/* Fixed and transparent, overlaying the hero photo — the original's
   `header-overlay-on` behaviour. Turns solid white once scrolled past. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding-block: 20px;
  transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.site-header.is-scrolled {
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* the original has no logo; nav sits right */
  gap: 1rem;
  min-height: 48px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
/* Original nav item: Quicksand 700, 12px, uppercase, 0.05em tracking,
   12px/20px padding, 1px transparent border that turns solid when current. */
.primary-nav a {
  display: block;
  padding: 12px 20px;
  border: 1px solid transparent;
  color: #fff;                 /* white over the hero photo */
  text-decoration: none;
  font-size: var(--step-ui);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 300ms ease, border-color 300ms ease, color 260ms var(--ease);
}
.primary-nav a:hover { background: rgba(255, 255, 255, 0.14); }
.primary-nav a.is-current { border-color: #fff; }

/* Once the header goes solid, the nav flips to dark on white. */
.is-scrolled .primary-nav a { color: var(--ink); }
.is-scrolled .primary-nav a:hover { background: var(--wash); }
.is-scrolled .primary-nav a.is-current { border-color: var(--ink); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 200ms ease-in-out, opacity 200ms ease-in-out;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------------------
   Original: name at 80px/92px, role at 32px/36.8px with 1.8px tracking,
   both in #2a2a2a over the portrait.
   ------------------------------------------------------------------ */
/* Full-bleed photo with the copy overlaid, exactly as the original:
   873px tall, background sized to cover from 50% 50%. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(873px, 100vh);
  padding: var(--header-h) 0 0;
  overflow: hidden;
}

/* The portrait, held as an <img> so it keeps its alt text. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  aspect-ratio: auto;
  border-radius: 0;
}

/* The original's scrim, so white nav type stays legible on a light photo. */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.hero h1 {
  font-size: var(--step-h1);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink-hero);
  margin-bottom: 0.35em;
  overflow-wrap: break-word;
}

.hero-role {
  display: block;
  font-size: var(--step-sub);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 1.8px;
  color: var(--ink-hero);
  margin: 0;
}

/* The title block that follows the hero on the original home page. */
.section-intro { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.intro-title {
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.intro-rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

/* ---- Pull quote ---------------------------------------------------
   The one place the original reaches for a serif: Playfair Display
   at 38px/59px on the 5%-black wash.
   ------------------------------------------------------------------ */
.pull-quote {
  margin-top: 2.5rem;
  padding: 1.5em 2.5em;
  background: var(--wash);
  font-family: var(--font-quote);
  font-size: var(--step-quote);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  text-align: left;
}
.pull-quote strong { font-weight: 700; }

/* ---- Stats -------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.stat-row li { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-size: var(--step-sub);
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: var(--step-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ---- Services ------------------------------------------------------
   A plain asterisk-marked list on white, as the original renders it —
   no cards, no boxes.
   ------------------------------------------------------------------ */
.service-list {
  display: grid;
  gap: 0.55rem;
}
.service-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.75;
}
.service-list li::before {
  content: "*";
  color: var(--ink);
}

/* ---- Qualifications -------------------------------------------------
   One line each: bold qualification, then the institution and year in a
   smaller, lighter tone — on the dark band.
   ------------------------------------------------------------------ */
.qual-list { display: grid; gap: 0.55rem; }
.qual-list li {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.85;
  color: var(--dark-text);
}
.qual-org {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #9d9d9d;
  padding-left: 1.25rem;
}
.qual-year { font-variant-numeric: tabular-nums; }

/* ---- Publications -------------------------------------------------- */
.pubs { display: grid; gap: 2.5rem; }

.pub-year {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 1.75rem;
  align-items: start;
}
.pub-year h4 {
  font-size: var(--step-sub);
  font-weight: 400;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  position: sticky;
  top: 6rem;
}
.pub-year ul {
  display: grid;
  gap: 1.25rem;
  border-left: 1px solid var(--rule);
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
}
.pub-year li {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pub-year li cite { color: var(--ink); }
.role {
  font-weight: 700;
  color: var(--ink);
}

/* ---- Learning styles ----------------------------------------------- */
/* Three plain columns on the dark band — the original has no cards. */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.style-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.style-card h4 {
  font-size: var(--step-sub);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}
.style-kind {
  display: block;
  font-size: var(--step-body);
  font-weight: 400;
  color: var(--dark-text);
  margin-top: 0.2rem;
}
.style-lead {
  font-weight: 700;
  color: var(--dark-text);
  margin: 1rem 0 0;
}
.style-eg {
  margin: 0.9rem 0 0;
  font-size: var(--step-body);
  line-height: 1.75;
  color: var(--dark-text);
}
.style-eg strong { color: #fff; }
.style-q {
  margin: 0.9rem 0 0;
  font-size: var(--step-body);
  line-height: 1.75;
  color: var(--dark-text);
}
.style-credit {
  margin: 1.25rem 0 0;
  font-size: var(--step-ui);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #8f8f8f;
}

/* ---- Contact ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.signature {
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.5rem;
}

/* The original right-aligns the "contact me" button on the home page. */
.cta-right {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
/* "EMAIL / naomi@malouf.id.au" — label in the warm accent, value in grey. */
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5ch;
  font-size: var(--step-body);
  font-weight: 700;
}
.contact-label {
  color: var(--accent);
  text-transform: uppercase;
}
.contact-label::after { content: " /"; }
.contact-list a {
  color: var(--ink-grey);
  text-decoration: none;
}
.contact-list a:hover { color: var(--ink); text-decoration: underline; }

/* Form — square, hairline borders, uppercase 12px labels. */
.contact-form { max-width: 420px; }

.form-note {
  font-size: var(--step-ui);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--step-ui);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.req { color: var(--required); }

.field input,
.field textarea {
  width: 100%;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-firm);
  border-radius: 0;
  transition: background-color 300ms ease, border-color 300ms ease;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(0, 0, 0, 0.4); }
.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  background-color: var(--wash);
  border-color: var(--ink);
  outline: none;
}

/* ---- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--wash);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
/* Footer headings on the original: Quicksand 700, 12px, uppercase, #a1a1a1 */
.footer-brand {
  font-size: var(--step-ui);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.footer-role { font-weight: 500; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 1.5rem;
}
.footer-nav a {
  display: inline-block;
  padding: 0.6rem 0.25rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--step-ui);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--ink); }

.copyright {
  margin: 0;
  font-size: var(--step-ui);
  font-weight: 500;
  color: var(--ink-faint);
}

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 960px) {
  /* Narrow screens crop the photo hard at 50% centre, putting the face
     behind the copy. Bias right so the subject stays clear of the text. */
  .hero { min-height: min(720px, 90vh); }
  .hero-media img { object-position: 78% 30%; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { max-width: none; }
}

@media (max-width: 700px) {
  .hero { min-height: min(620px, 88vh); }
  .hero-media img { object-position: 72% 22%; }
  /* A soft white floor keeps the dark hero type readable over the photo. */
  .hero-copy {
    background: linear-gradient(to right,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.78) 65%,
      rgba(255, 255, 255, 0) 100%);
    padding: 1.5rem 1.25rem 1.75rem;
    width: min(var(--wrap), 100%);
    margin-inline: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-toggle-bar { background: #fff; }           /* white over the hero */
  .is-scrolled .nav-toggle-bar,
  .nav-open .nav-toggle-bar { background: var(--ink); }
  .nav-open .site-header { background: var(--paper); }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.8);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav-open .primary-nav { display: block; }
  .nav-open { overflow: hidden; }

  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--rule); }
  .primary-nav a {
    padding: 1.1rem 0;
    border: 0;
    font-size: 0.8125rem;
    color: var(--ink);          /* inside the white drawer, not over the photo */
  }
  .primary-nav a:hover { background: var(--wash); }
  .primary-nav a.is-current { color: var(--accent-deep); border: 0; }
}

@media (max-width: 620px) {
  .section-title { flex-wrap: wrap; }
  .section-title::after { flex-basis: 100%; }

  .pub-year { grid-template-columns: 1fr; gap: 0.75rem; }
  .pub-year h4 { position: static; }
  .pub-year ul { border-left: 0; padding-left: 0; }

  .qual-list li { grid-template-columns: 1fr; }
  .qual-year { grid-row: auto; grid-column: 1; margin-top: 0.25rem; }

  .pull-quote { padding: 1.5em 1.35em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-story p, .section-whoami p, .prose-justify { text-align: left; }
}

/* =============================================================
   Motion & print
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .nav-toggle, .hero-actions, .contact-form, .skip-link { display: none; }
  body { color: #000; font-size: 11pt; background: #fff; }
  .section { padding-block: 1.5rem; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .style-card, .service-grid li { break-inside: avoid; }
}
