/* ==========================================================================
   Digital Media Mart — Core Stylesheet
   Hand-crafted design system. One file, mobile-first, easy to edit.

   Contents
   1.  Design tokens (colors, type, spacing)
   2.  Reset & base elements
   3.  Layout helpers (container, grid, section rhythm)
   4.  Typography scale
   5.  Buttons & links
   6.  Header / navigation / dropdown / mobile menu
   7.  Footer
   8.  Reusable components (eyebrow, cards, badges, media, etc.)
   9.  Page sections (hero, process, FAQ, CTA bands, forms, map)
   10. Motion & reveal-on-scroll
   11. Responsive breakpoints
   12. Reduced-motion & print
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
  /* Brand palette — warm paper + deep ink + a single confident accent.
     To rebrand: change --accent and --ink below. */
  --paper:        #F7F5F1;   /* page background (warm off-white) */
  --paper-2:      #FBFAF8;   /* raised surfaces on paper */
  --ink:          #16181D;   /* primary text / dark sections */
  --ink-2:        #1E222A;   /* slightly lifted ink for dark panels */
  --ink-soft:     #3A3F49;   /* secondary text on light */
  --muted:        #6B7280;   /* captions, meta */
  --line:         #E4E0D8;   /* hairline borders on paper */
  --line-dark:    #2C313B;   /* hairline borders on ink */

  --accent:       #E4572E;   /* primary accent — warm vermilion */
  --accent-2:     #F08A5D;   /* lighter accent for gradients/hover */
  --accent-ink:   #B23C1C;   /* accent text on light for contrast */
  --sand:         #EFE9DF;   /* soft tonal block */
  --teal:         #0F5257;   /* deep support tone (rare, for contrast) */

  --white:        #FFFFFF;

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-800: clamp(2.6rem, 6.2vw, 4.6rem);   /* hero display */
  --fs-700: clamp(2.1rem, 4.6vw, 3.3rem);   /* page H1 */
  --fs-600: clamp(1.7rem, 3.2vw, 2.4rem);   /* section H2 */
  --fs-500: clamp(1.3rem, 2.1vw, 1.6rem);   /* H3 */
  --fs-400: 1.125rem;                        /* lead */
  --fs-300: 1rem;                            /* body */
  --fs-200: 0.9rem;                          /* small */
  --fs-100: 0.78rem;                         /* eyebrow / meta */

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;

  /* Structure */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.05), 0 2px 8px rgba(22, 24, 29, 0.04);
  --shadow-md: 0 10px 30px rgba(22, 24, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(22, 24, 29, 0.14);

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* 3. LAYOUT ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-6); }
.section--tight { padding-block: var(--sp-5); }
.section--flush-top { padding-top: 0; }

@media (min-width: 900px) {
  .section { padding-block: var(--sp-7); }
}

.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--sp-4); }
}

.split {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-6); }
  .split--reverse .split__media { order: -1; }
}

/* 4. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.display { font-size: var(--fs-800); letter-spacing: -0.035em; }
h1, .h1 { font-size: var(--fs-700); }
h2, .h2 { font-size: var(--fs-600); }
h3, .h3 { font-size: var(--fs-500); letter-spacing: -0.01em; }
h4, .h4 { font-size: 1.05rem; letter-spacing: 0; }

p { color: var(--ink-soft); }
p + p { margin-top: var(--sp-2); }

.lead {
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 62ch; margin-bottom: var(--sp-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-2); }

.text-accent { color: var(--accent-ink); }
.measure { max-width: 60ch; }

/* 5. BUTTONS =============================================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--white); }
.btn--accent:hover { background: var(--accent-2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent; box-shadow: none; }

.btn--on-dark { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--ghost-on-dark {
  --btn-bg: transparent; --btn-fg: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost-on-dark:hover { border-color: var(--white); box-shadow: none; }

.btn .btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn-row--center { justify-content: center; }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* 6. HEADER / NAV ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(22,24,29,0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  height: var(--header-h);
}

/* Text logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-size: 1.16rem;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand__mark::after { transform: translateY(60%); }
.brand__name .brand__accent { color: var(--accent-ink); }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

/* Desktop nav list */
.nav__menu { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { background: rgba(22,24,29,0.05); }
.nav__link[aria-current="page"] { color: var(--accent-ink); }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.18s var(--ease);
}
.nav__dropdown a:hover { background: var(--sand); }
.nav__dropdown .dd__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
}
.nav__dropdown .dd__desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.nav__dropdown .dd__icon {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--sand);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.nav__caret { transition: transform 0.2s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__actions { display: none; align-items: center; gap: 0.75rem; }

/* Hamburger */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  z-index: 90;
  padding: var(--sp-3) 0 var(--sp-5);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-panel a { display: block; }
.mobile-panel .m-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-panel .m-link[aria-current="page"] { color: var(--accent-ink); }
.m-group__label {
  font-family: var(--font-head);
  font-size: var(--fs-100);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.25rem 0 0.35rem;
}
.mobile-panel .m-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  padding: 0.6rem 0 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--line);
}
.mobile-panel .m-sub:hover { border-left-color: var(--accent); color: var(--ink); }
.mobile-panel .btn { width: 100%; margin-top: var(--sp-3); }
body.nav-open { overflow: hidden; }

/* 7. FOOTER =============================================================== */
.site-footer {
  background: var(--ink);
  color: #C9CDD6;
  padding-block: var(--sp-6) var(--sp-4);
  margin-top: var(--sp-4);
}
.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer-brand .brand { color: var(--white); }
.footer-brand .brand__mark { background: var(--accent); }
.footer-brand .brand__sub { color: #9AA0AC; }
.footer-brand p { color: #9AA0AC; margin-top: var(--sp-2); max-width: 34ch; font-size: 0.95rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  font-family: var(--font-head);
}
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #B7BCC6; transition: color 0.2s var(--ease); font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }

.footer-contact address { font-style: normal; color: #B7BCC6; font-size: 0.95rem; line-height: 1.7; }
.footer-contact a { color: #B7BCC6; }
.footer-contact a:hover { color: var(--white); }
.footer-contact .fc-line { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; }
.footer-contact .fc-line svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-2); }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--sp-3); }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #B7BCC6;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-2px); }

.footer-bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8A909C;
}
.footer-bottom a { color: #8A909C; }
.footer-bottom a:hover { color: var(--white); }

/* 8. REUSABLE COMPONENTS =================================================== */
.on-ink { background: var(--ink); color: #D5D8DE; }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--white); }
.on-ink p { color: #B4B9C3; }
.on-ink .eyebrow { color: var(--accent-2); }
.on-ink .eyebrow::before { background: var(--accent-2); }

.on-sand { background: var(--sand); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: var(--fs-200);
  font-weight: 500;
  color: var(--ink-soft);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Card */
.card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8D2C7; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--accent-ink);
  display: grid; place-items: center;
  margin-bottom: var(--sp-3);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.card:hover .card__icon { background: var(--accent); color: var(--white); }
.card__link { margin-top: var(--sp-3); }

/* Service card variant with top number */
.card--service .card__num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Feature list with check marks */
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23B23C1C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list.on-ink-list li { color: #C5C9D2; border-color: var(--line-dark); }

/* Stat / value strip */
.stat-strip {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.on-ink .stat__num { color: var(--white); }
.stat__label { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }
.on-ink .stat__label { color: #9AA0AC; }

/* Media frame — for SVG/image placeholders */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(22,24,29,0.85);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Floating info card over media */
.float-card {
  position: absolute;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  max-width: 250px;
}
.float-card--br { right: -10px; bottom: 22px; }
.float-card--tl { left: -10px; top: 22px; }
.float-card .fc-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.float-card strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); display: block; }
.float-card span { font-size: 0.8rem; color: var(--muted); }

/* Logo/word marquee-ish tag row */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-row .pill { background: transparent; }

/* 9. PAGE SECTIONS ======================================================== */

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--sp-6); }
}
.hero h1 { margin-top: var(--sp-2); }
.hero .lead { margin-top: var(--sp-3); max-width: 46ch; }
.hero .btn-row { margin-top: var(--sp-4); }
.hero__meta {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.hero__meta .hm {
  display: flex; flex-direction: column;
}
.hero__meta .hm strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.hero__meta .hm span { font-size: 0.82rem; color: var(--muted); }

/* Decorative background grid for light heroes */
.bg-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(22,24,29,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,24,29,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.page-hero .breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-size: var(--fs-200); color: var(--muted);
  margin-bottom: var(--sp-3);
}
.page-hero .breadcrumb a:hover { color: var(--accent-ink); }
.page-hero .breadcrumb span[aria-current] { color: var(--ink-soft); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: var(--sp-3); max-width: 60ch; }
.page-hero__grid { display: grid; gap: var(--sp-5); align-items: end; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: 1.3fr 0.7fr; }
}

/* Process steps */
.process { counter-reset: step; }
.process-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.process-step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}
.process-step h3 { margin: var(--sp-2) 0 0.5rem; font-size: 1.15rem; }
.process-step p { font-size: 0.92rem; }

/* Alternating value rows */
.value-row { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 800px) { .value-row { grid-template-columns: repeat(3, 1fr); } }

/* FAQ (accordion) */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: var(--sp-3) 3rem var(--sp-3) 0;
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23E4572E' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq__q[aria-expanded="true"]::after { transform: rotate(135deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__a-inner { padding: 0 3rem var(--sp-3) 0; }
.faq__a p { font-size: 0.98rem; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  background: var(--ink);
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -12%; top: -40%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(228,87,46,0.55), transparent 62%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: var(--sp-3); }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; align-items: center; gap: var(--sp-5); }
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C5C9D2; margin-top: 0.6rem; max-width: 46ch; }

/* Contact / forms */
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
}
.field .req { color: var(--accent-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9AA0AC; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228,87,46,0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  padding-right: 2.6rem;
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: var(--sp-2); }
.form-status {
  display: none;
  margin-top: var(--sp-3);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.form-status.is-visible { display: block; }

/* Contact info cards */
.contact-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 0; }
.contact-detail .cd-ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--accent-ink);
  display: grid; place-items: center;
}
.contact-detail h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-detail a, .contact-detail p { color: var(--ink-soft); font-size: 0.98rem; }
.contact-detail a:hover { color: var(--accent-ink); }

/* Map (no API key — styled static placeholder that links out) */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #E8EDE6;
  aspect-ratio: 16 / 9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.9); }
.map-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, #dfe7dc, transparent 60%),
    repeating-linear-gradient(0deg, #E3E9E0 0 22px, #E8EDE6 22px 44px),
    repeating-linear-gradient(90deg, #E3E9E0 0 22px, #E8EDE6 22px 44px);
  text-align: center;
  padding: var(--sp-4);
}
.map-pin {
  width: 54px; height: 54px; border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  margin: 0 auto var(--sp-3);
}
.map-pin span { transform: rotate(45deg); color: #fff; }

/* Two-column prose for legal/long text */
.prose p { margin-bottom: var(--sp-2); }
.prose h2 { margin: var(--sp-4) 0 var(--sp-2); }
.prose h3 { margin: var(--sp-3) 0 0.5rem; }
.prose ul { margin: var(--sp-2) 0; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; color: var(--ink-soft); }
.prose ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent-ink); }

/* Divider label */
.divider {
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--muted); font-size: var(--fs-100);
  letter-spacing: 0.16em; text-transform: uppercase;
  font-family: var(--font-head);
}
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* 10. MOTION ============================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* Utility */
.u-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }
.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;
}

/* 11. RESPONSIVE — reveal desktop nav ===================================== */
@media (min-width: 1000px) {
  .nav__menu { display: flex; align-items: center; gap: var(--sp-2); }
  .nav__actions { display: flex; }
  .nav__toggle { display: none; }
  .mobile-panel { display: none; }
}

@media (max-width: 999px) {
  .nav__actions--mobile { display: flex; }
}

/* 12. REDUCED MOTION & PRINT ============================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .mobile-panel, .nav__toggle { display: none !important; }
  body { color: #000; background: #fff; }
}
