/* ==========================================================================
   Christopher Hysell — Editorial Rebuild
   Typography: Newsreader (headlines/serif) + Inter (body/sans)
   Palette: warm ivory / charcoal / stone — no color accent, pure editorial
   ========================================================================== */

:root {
  --ivory: #f7f5f0;
  --ivory-deep: #efebe3;
  --charcoal: #1a1918;
  --charcoal-soft: #2b2926;
  --stone: #857a6e;
  --stone-light: #a89e91;
  --hairline: #ded6c8;
  --hairline-dark: #3c3a36;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@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;
  }
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: 84px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.9rem 1.4rem;
  z-index: 999;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  padding: 1rem 0;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--charcoal);
}

.wordmark span {
  font-style: italic;
  font-weight: 400;
  color: var(--stone);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.main-nav ul {
  display: flex;
  gap: 2.4rem;
}

.main-nav a,
.main-nav .nav-link-button {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.main-nav a::after,
.main-nav .nav-link-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--charcoal);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .nav-link-button:hover::after,
.main-nav .nav-link-button:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    pointer-events: none;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .main-nav ul a,
  .main-nav ul .nav-link-button {
    font-size: 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 14, 13, 0.78) 0%,
    rgba(15, 14, 13, 0.32) 42%,
    rgba(15, 14, 13, 0.12) 65%,
    rgba(15, 14, 13, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  padding-top: 8rem;
}

.hero-eyebrow {
  color: var(--ivory-deep);
  opacity: 0.85;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  color: var(--ivory);
  margin-top: 1.1rem;
  max-width: 16ch;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ivory-deep);
}

.hero-sub {
  margin-top: 1.6rem;
  max-width: 42ch;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ivory-deep);
  line-height: 1.7;
}

.hero-meta {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: none;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-light {
  color: var(--ivory);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--ivory);
  color: var(--charcoal);
}

.btn-dark {
  color: var(--charcoal);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--charcoal);
  color: var(--ivory);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  right: var(--gutter);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ivory-deep);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  background: var(--ivory-deep);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@media (max-width: 640px) {
  .hero-scroll-cue { display: none; }
}

/* ---------- Section shell ---------- */
.section {
  padding: clamp(5rem, 12vh, 9rem) 0;
}

.section-dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.section-dark .eyebrow {
  color: var(--stone-light);
}

.section-divider {
  height: 1px;
  background: var(--hairline);
  border: none;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 30% center;
}

.about-media-frame {
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(247, 245, 240, 0.5);
  pointer-events: none;
  z-index: 1;
}

.about-media-wrap {
  position: relative;
}

.about-heading {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  margin-top: 0.9rem;
}

.about-lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal-soft);
  margin-top: 1.8rem;
  line-height: 1.5;
  max-width: 34ch;
}

.about-copy {
  margin-top: 1.6rem;
  color: var(--charcoal-soft);
  font-size: 1rem;
  max-width: 56ch;
}

.about-copy + .about-copy {
  margin-top: 1.2rem;
}

.about-facts {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.4rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.8rem;
}

.about-fact dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.about-fact dd {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

/* ---------- Philosophy ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.philosophy-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.4;
  color: var(--ivory);
}

.philosophy-copy p {
  color: var(--stone-light);
  max-width: 58ch;
}

.philosophy-copy p + p {
  margin-top: 1.3rem;
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Section intro ---------- */
.section-intro {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-intro h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-top: 0.8rem;
}

.section-intro p {
  margin-top: 1.1rem;
  color: var(--stone);
  font-size: 1.02rem;
  max-width: 56ch;
}

.section-dark .section-intro p {
  color: var(--stone-light);
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.portfolio-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(26, 25, 24, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.portfolio-card-play svg {
  width: 14px;
  height: 14px;
  fill: var(--charcoal);
  transform: translateX(1px);
}

.portfolio-card:hover .portfolio-card-play {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--charcoal);
}

.portfolio-follow {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.portfolio-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(155deg, var(--ivory-deep), #e2dccf 60%, var(--ivory-deep));
  border: 1px solid var(--hairline);
}

.portfolio-card:not(.has-thumb)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(133, 122, 110, 0.07) 0px,
    rgba(133, 122, 110, 0.07) 1px,
    transparent 1px,
    transparent 14px
  );
}

.portfolio-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-card-thumb {
  transform: scale(1.04);
}

.portfolio-card.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 13, 0.75) 0%, rgba(15, 14, 13, 0.05) 45%, transparent 65%);
}

.portfolio-card.has-thumb .portfolio-card-name,
.portfolio-card.has-thumb .portfolio-card-tag {
  color: var(--ivory);
  position: relative;
  z-index: 1;
}

.portfolio-card.has-thumb .portfolio-card-tag {
  border-color: rgba(247, 245, 240, 0.6);
}

.portfolio-card.has-thumb .portfolio-card-play {
  border-color: rgba(247, 245, 240, 0.7);
  z-index: 1;
}

.portfolio-card.has-thumb .portfolio-card-play svg {
  fill: var(--ivory);
}

.portfolio-card-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.portfolio-card-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--charcoal);
}

.portfolio-card-tag {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--stone-light);
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}

.portfolio-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--stone);
  font-style: italic;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 2.8rem);
}

.testimonial-card {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 1.6rem;
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ivory);
}

.testimonial-attribution {
  margin-top: 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-light);
}

@media (max-width: 860px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--hairline);
  max-width: 78ch;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  list-style: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--charcoal);
}

.faq-question-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-question-icon::before,
.faq-question-icon::after {
  content: "";
  position: absolute;
  background: var(--charcoal);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.faq-question-icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq-question-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item[open] .faq-question-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.section-dark .faq-list {
  border-top-color: var(--hairline-dark);
}

.section-dark .faq-item {
  border-bottom-color: var(--hairline-dark);
}

.section-dark .faq-question {
  color: var(--ivory);
}

.section-dark .faq-question-icon::before,
.section-dark .faq-question-icon::after {
  background: var(--ivory);
}

.section-dark .faq-answer {
  color: var(--stone-light);
}

.faq-answer {
  padding: 0 0 1.7rem;
  color: var(--stone);
  max-width: 68ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact-detail-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-detail dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-detail dd {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-top: 0.35rem;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.social-row {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
}

.social-row a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--charcoal-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  padding-bottom: 2px;
}

.social-row a:hover,
.social-row a:focus-visible {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.contact-card {
  background: var(--ivory-deep);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hairline);
}

.contact-card h3 {
  font-size: 1.6rem;
}

.contact-card p {
  margin-top: 0.9rem;
  color: var(--stone);
  max-width: 40ch;
}

.contact-card .btn {
  margin-top: 2rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
  font-family: var(--sans);
}

.btn-block:hover,
.btn-block:focus-visible {
  background: transparent;
  color: var(--charcoal);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact modal ---------- */
dialog.contact-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: none;
  padding: 0;
  width: min(560px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ivory);
  color: var(--charcoal);
}

dialog.contact-modal::backdrop {
  background: rgba(15, 14, 13, 0.6);
  backdrop-filter: blur(2px);
}

.modal-inner {
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--charcoal);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--charcoal);
  color: var(--ivory);
}

.modal-inner h3 {
  font-size: 1.7rem;
  padding-right: 2rem;
}

.modal-inner .eyebrow {
  margin-bottom: 0.6rem;
}

.modal-call-line {
  margin: 1.3rem 0 1.7rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.modal-call-eyebrow {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.modal-call-phone {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  color: var(--charcoal-soft);
}

.modal-call-phone a {
  font-weight: 500;
  color: var(--charcoal);
  background-image: linear-gradient(
    100deg,
    var(--charcoal) 42%,
    var(--stone-light) 50%,
    var(--charcoal) 58%
  );
  background-size: 260% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 15% { background-position: 200% 0; }
  85%, 100% { background-position: -200% 0; }
}

.contact-form {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.form-row input,
.form-row textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 0.2rem;
  border: none;
  border-bottom: 1px solid var(--hairline-dark);
  background: transparent;
  color: var(--charcoal);
  resize: none;
  transition: border-color 0.3s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--charcoal);
}

.form-row input:invalid:not(:placeholder-shown),
.form-row textarea:invalid:not(:placeholder-shown) {
  border-color: #a4433a;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--charcoal);
}

.form-consent label {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--stone);
  text-transform: none;
  letter-spacing: normal;
}

.form-consent label a {
  color: var(--charcoal-soft);
  text-decoration: underline;
  text-decoration-color: var(--hairline-dark);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.85rem;
  margin-top: -0.3rem;
  min-height: 1.2em;
}

.form-status.is-success {
  color: #3f6b4f;
}

.form-status.is-error {
  color: #a4433a;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--ivory-deep);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}

.footer-brand .wordmark {
  color: var(--ivory);
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--stone-light);
  max-width: 32ch;
}

.footer-social {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social a {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--stone-light);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--ivory);
  border-color: var(--ivory);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-light);
  font-weight: 500;
}

.footer-col ul,
.footer-col address {
  margin-top: 1.2rem;
  font-style: normal;
}

.footer-col li + li {
  margin-top: 0.7rem;
}

.footer-col a,
.footer-col .link-button {
  font-size: 0.88rem;
  color: var(--ivory-deep);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible,
.footer-col .link-button:hover,
.footer-col .link-button:focus-visible {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: var(--stone);
}

.footer-eho {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--stone-light);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer-eho svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.footer-divider {
  margin-top: clamp(3rem, 6vw, 4rem);
  border: none;
  border-top: 1px solid var(--hairline-dark);
}

.footer-bottom {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--stone);
}

.footer-legal-text {
  margin-top: 1.6rem;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 90ch;
}

.footer-bottom a {
  color: var(--stone-light);
}

.footer-bottom a:hover {
  color: var(--ivory);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* ---------- Content / legal pages ---------- */
.page-hero {
  padding: clamp(9rem, 16vh, 11rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}

.page-hero .eyebrow {
  display: block;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  margin-top: 0.8rem;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--stone);
  max-width: 56ch;
}

.page-content {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.page-content .container {
  max-width: 760px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  color: var(--charcoal-soft);
  max-width: 68ch;
}

.page-content p + p {
  margin-top: 1.1rem;
}

.page-content ul {
  margin-top: 1.1rem;
  padding-left: 1.3rem;
  list-style: disc;
  color: var(--charcoal-soft);
  max-width: 68ch;
}

.page-content ul li + li {
  margin-top: 0.5rem;
}

.page-content a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--hairline-dark);
}

.page-content a:hover,
.page-content a:focus-visible {
  text-decoration-color: var(--charcoal);
}

.page-updated {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--stone);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7rem, 16vh, 9rem) var(--gutter) 4rem;
}

.error-content {
  text-align: center;
  max-width: 46rem;
}

.error-code {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--stone);
}

.error-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-top: 0.9rem;
}

.error-sub {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--charcoal-soft);
  max-width: 42ch;
  margin-inline: auto;
}

.error-copy {
  margin-top: 1.2rem;
  color: var(--stone);
  max-width: 44ch;
  margin-inline: auto;
}

.error-actions {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
