/* ==========================================================================
   JhunsakerLaw.com — Jared Dennis Hunsaker, Esq.
   Static stylesheet. No build step required.
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --navy: #0B2239;
  --navy-ink: #13263B;      /* sampled from logo */
  --deep-blue: #163B59;
  --slate: #40566B;
  --ivory: #F7F5EF;
  --paper: #FFFFFF;
  --stone: #D9D5CC;
  --stone-soft: #ECE9E2;
  --earth: #8B7653;
  --earth-light: #C9B48E;

  --text: #1A2B3C;
  --text-muted: #4A5B6C;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(11, 34, 57, .06), 0 8px 28px rgba(11, 34, 57, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 2200px) { :root { --container: 1400px; } body { font-size: 1.125rem; } }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--earth);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--earth-light); }
@media (max-width: 400px) { .eyebrow { letter-spacing: .14em; gap: 10px; font-size: .72rem; } .eyebrow::before { width: 20px; } }

.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro { font-size: 1.15rem; color: var(--text-muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--deep-blue); color: #fff; box-shadow: 0 6px 20px rgba(11, 34, 57, .18); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(11, 34, 57, .35); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(11, 34, 57, .04); }
.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .74rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 239, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--stone); box-shadow: 0 2px 18px rgba(11, 34, 57, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand-mark { height: 50px; width: auto; }
.brand-word { height: 34px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav ul { display: flex; gap: 30px; }
.primary-nav ul a {
  font-size: .9rem; font-weight: 500; color: var(--navy); text-decoration: none;
  padding: 6px 0; position: relative;
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--earth); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .brand-mark { height: 42px; }
  .brand-word { height: 28px; }
  .primary-nav ul { gap: 22px; }
  .primary-nav { gap: 24px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: var(--navy);
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    /* header's backdrop-filter makes it the containing block, so size explicitly */
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 120px;
    background: var(--ivory);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    overflow-y: auto;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; font-family: var(--serif); font-size: 1.75rem; padding: 14px 0; border-bottom: 1px solid var(--stone); }
  .primary-nav ul a::after { display: none; }
  .nav-cta { margin-top: 28px; min-height: 54px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .brand-mark { display: none; }
  .brand-word { height: auto; width: min(64vw, 250px); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: .45em;
}
.hero-accent { display: block; font-style: italic; color: var(--deep-blue); }
.hero-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; }
.hero-tags {
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate);
  padding: 16px 0; margin: 8px 0 30px; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone);
  display: inline-block;
}
.hero-tags span { color: var(--earth); margin: 0 .5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--navy); text-decoration: none;
}
.hero-phone svg { color: var(--earth); }
.hero-phone:hover span { text-decoration: underline; text-decoration-thickness: 1px; }

.hero-media { margin: 0; position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--earth-light); border-radius: var(--radius); z-index: 0;
}
.hero-media picture { display: block; position: relative; z-index: 1; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(11, 34, 57, .35); }
.hero-media img { width: 100%; aspect-ratio: 1198 / 1044; object-fit: cover; animation: hero-in 1.6s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.06); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::before { inset: 14px -10px -14px 14px; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: 60% 50%; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .hero-tags { letter-spacing: .14em; font-size: .7rem; }
}

/* ---------- About ---------- */
.section-about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.about-heading h2 { max-width: 12ch; }
.lede { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.4; color: var(--navy); }
.credentials { margin-top: 32px; border-top: 1px solid var(--stone); }
.credentials li { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--stone); font-size: .98rem; }
.cred-label { width: 110px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--earth); padding-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--navy); }
.stat { padding: 32px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--stone); }
.stat-figure { font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: var(--navy); margin-bottom: 14px; }
.stat-label { font-size: .92rem; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-heading h2 { max-width: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--stone); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 8px; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--stone); }
}

/* ---------- Practice areas ---------- */
.practice-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.group-title {
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--earth); padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--navy);
}
.group-title-spaced { margin-top: 44px; }
.practice-list > div { padding: 20px 0; border-bottom: 1px solid var(--stone); transition: padding-left .3s var(--ease); }
.practice-list > div:hover { padding-left: 8px; }
.practice-list dt { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.practice-list dd { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }

.practice-other {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 44px);
  background: var(--paper); border: 1px solid var(--stone); border-left: 3px solid var(--earth); border-radius: var(--radius);
}
.practice-other h3 { font-size: 1.85rem; margin-bottom: .3em; }
.practice-other p { margin: 0; color: var(--text-muted); max-width: 640px; }
.practice-other .btn { flex-shrink: 0; }

@media (max-width: 1000px) { .practice-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .practice-groups { grid-template-columns: 1fr; }
  .practice-other { flex-direction: column; align-items: flex-start; }
  .practice-other .btn { width: 100%; }
}

/* ---------- Dark "build" section ---------- */
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .82); overflow: hidden; }
.section-dark h2 { color: #fff; }
.build-watermark { position: absolute; right: -6%; bottom: -8%; width: min(760px, 70vw); opacity: .05; pointer-events: none; }
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; position: relative; }
.build-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.build-copy p:not(.eyebrow) { font-size: 1.12rem; max-width: 540px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); border-left: 1px solid rgba(255, 255, 255, .16); }
.industry-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  aspect-ratio: 1; padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  transition: background-color .3s var(--ease);
}
.industry-grid li:hover { background: rgba(255, 255, 255, .04); }
.industry-grid svg { width: 36px; height: 36px; fill: none; stroke: var(--earth-light); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .build-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid li { aspect-ratio: auto; padding: 26px 8px; }
}

/* ---------- Experience timeline ---------- */
.section-experience { background: var(--ivory); }
.timeline { position: relative; max-width: 960px; }
.timeline::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: var(--stone); }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 0 48px; padding: 0 0 40px; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: 175px; top: 10px; width: 11px; height: 11px;
  background: var(--ivory); border: 1.5px solid var(--earth); border-radius: 50%;
}
.tl-item:first-child::before { background: var(--earth); }
.tl-date { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding-top: 4px; margin: 0; padding-right: 24px; }
.tl-body { padding-left: 0; }
.tl-body h3 { font-size: 1.65rem; margin-bottom: .3em; }
.tl-role { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--earth); margin-top: 6px; letter-spacing: 0; line-height: 1.45; }
.tl-body p { color: var(--text-muted); margin: 0; max-width: 640px; }
@media (max-width: 700px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 32px; }
  .tl-item::before { left: 0; top: 6px; }
  .tl-date { margin-bottom: 6px; padding-top: 0; }
}

/* ---------- Why ---------- */
.section-why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  padding: 36px 30px 32px; background: var(--ivory); border: 1px solid var(--stone-soft); border-top: 2px solid var(--navy); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--earth); margin-bottom: 26px; }
.why-card h3 { font-size: 1.85rem; }
.why-card p:last-child { margin: 0; color: var(--text-muted); font-size: .98rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Utah ---------- */
.section-utah { background: linear-gradient(180deg, var(--ivory) 0%, var(--stone-soft) 100%); }
.utah-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.utah-logo img { width: 100%; max-width: 560px; margin: 0 auto; }
.utah-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.utah-copy p:last-child { color: var(--text-muted); font-size: 1.1rem; margin: 0; }
@media (max-width: 900px) {
  .utah-grid { grid-template-columns: 1fr; }
  .utah-logo { order: 2; }
  .utah-logo img { max-width: 420px; }
}

/* ---------- Contact ---------- */
.section-contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-info > p:not(.eyebrow) { font-size: 1.1rem; color: var(--text-muted); }
.contact-card { margin: 32px 0; border-top: 1px solid var(--navy); }
.contact-name { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); padding: 20px 0 16px; margin: 0; border-bottom: 1px solid var(--stone); }
.contact-name span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--earth); margin-top: 4px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--stone); }
.contact-line[hidden] { display: none; }
.contact-line svg { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--earth); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-line a { color: var(--navy); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-form-wrap { background: var(--ivory); border: 1px solid var(--stone); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-title { font-size: 1.85rem; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--earth); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1px solid #B9B4A9; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep-blue); box-shadow: 0 0 0 3px rgba(22, 59, 89, .15); }
.field [aria-invalid="true"] { border-color: #9B2C2C; }
.form-note, .form-mode { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.form-mode:empty { display: none; }
.form-status { font-size: .92rem; margin: 14px 0 0; min-height: 1.4em; }
.form-status.is-error { color: #9B2C2C; }
.form-status.is-success { color: #276749; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--navy); text-decoration: none; }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta-inner { text-align: center; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); display: flex; flex-direction: column; align-items: center; }
.footer-cta-mark { width: 180px; opacity: .9; margin-bottom: 28px; }
.footer-cta h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: .2em; }
.footer-cta-sub { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--earth-light); }
.footer-cta-links { font-family: var(--serif); font-size: 1.35rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 30px; }
.footer-cta-links a { overflow-wrap: anywhere; }

.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 100%; max-width: 300px; }
.footer-heading { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--earth-light); margin-bottom: 16px; }
.footer-col, .footer-col address, .footer-col p { font-size: .95rem; line-height: 1.9; }
.footer-links li[hidden] { display: none; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 32px; padding-bottom: 40px; }
.footer-legal p { font-size: .8rem; line-height: 1.7; color: rgba(255, 255, 255, .6); max-width: 900px; }
.footer-meta { margin-top: 20px; margin-bottom: 0; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
    color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .18); }
  .mobile-bar svg { width: 18px; height: 18px; fill: none; stroke: var(--earth-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bar a:first-child svg { fill: var(--earth-light); stroke: none; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Simple inner pages (privacy policy, 404) ---------- */
.page { padding: clamp(56px, 8vw, 104px) 0; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page h2 { font-size: 1.7rem; margin-top: 1.8em; }
.page p, .page li { color: var(--text-muted); }
.page ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .contact-form-wrap, .footer-cta, .hero-media { display: none !important; }
  body { background: #fff; padding: 0; }
  .js .reveal { opacity: 1; transform: none; }
  .section { padding: 24px 0; }
}
