/* ============================================================
   29:Eleven Consulting — linen & gold design system
   ============================================================ */

:root {
  /* Brand palette */
  --linen: #f7f3ea;
  --linen-2: #f1eadb;
  --linen-3: #eae1ce;
  --paper: #fffdf9;
  --ink: #2c2a26;
  --charcoal: #56524d;
  --charcoal-soft: #6f6a63;
  --gold: #a97f2b;
  --gold-light: #c09a45;
  --gold-pale: #ddc689;
  --espresso: #221f1b;
  --espresso-2: #2b2722;
  --line: rgba(169, 127, 43, 0.26);
  --line-soft: rgba(86, 82, 77, 0.16);
  --line-dark: rgba(221, 198, 137, 0.24);

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.5rem, 2.4vw, 2.125rem);
  --text-2xl: clamp(1.85rem, 3.2vw, 2.6rem);
  --text-hero: clamp(2.25rem, 4.4vw, 3.55rem);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1180px;
  --radius: 3px;
}

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

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

body {
  margin: 0;
  background-color: var(--linen);
  /* subtle woven linen texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  color: var(--charcoal);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Jost", "Inter", sans-serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

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

.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-6);
}

.serif-em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.005em;
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.72;
  color: var(--charcoal);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Jost", sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #8e6a1f, var(--gold-light) 55%, #8e6a1f);
  color: #fffaf0;
  box-shadow: 0 8px 22px rgba(169, 127, 43, 0.22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(169, 127, 43, 0.3);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--gold);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(169, 127, 43, 0.07);
  transform: translateY(-2px);
}

.btn--on-dark {
  border-color: var(--line-dark);
  color: var(--gold-pale);
  background: transparent;
}

.btn--on-dark:hover {
  border-color: var(--gold-pale);
  background: rgba(221, 198, 137, 0.08);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(169, 127, 43, 0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 84px;
}

.brand {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  width: 226px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav a {
  font-family: "Jost", sans-serif;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.nav a.is-active {
  color: var(--gold);
  border-color: var(--gold);
}

.nav__phone {
  font-family: "Jost", sans-serif;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav__phone:hover {
  color: var(--ink);
}

@media (max-width: 880px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.85rem;
    min-height: 0;
    row-gap: 0.6rem;
  }
  .brand {
    order: 1;
  }
  .brand img {
    width: 168px;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(169, 127, 43, 0.14);
  }
  .nav a {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .nav__phone {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(169, 127, 43, 0.1) 0,
      transparent 45%
    ),
    linear-gradient(165deg, var(--linen) 0%, var(--linen-2) 100%);
  border-bottom: 1px solid rgba(169, 127, 43, 0.16);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero h1 {
  font-size: var(--text-hero);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.hero__mark {
  justify-self: center;
  width: min(300px, 76%);
}

.hero__mark img {
  width: 100%;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__mark {
    order: -1;
    width: min(136px, 38%);
    justify-self: start;
  }
}

/* ---------- Stat strip ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.stat {
  background: var(--paper);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
}

.stat__value {
  font-family: "Jost", sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--charcoal);
  line-height: 1.55;
}

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

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
}

.section--linen2 {
  background: var(--linen-2);
  border-block: 1px solid var(--line-soft);
}

.section--dark {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(169, 127, 43, 0.16) 0,
      transparent 48%
    ),
    var(--espresso);
  color: #ded8cc;
}

.section--dark h2,
.section--dark h3 {
  color: #fffdf7;
}

.section--dark .eyebrow {
  color: var(--gold-pale);
}

.section--dark .lede,
.section--dark p {
  color: #b9b2a6;
}

.section--dark .serif-em {
  color: var(--gold-pale);
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

/* ---------- Split editorial block ---------- */
.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.split h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
}

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

/* ---------- Principle list ---------- */
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.principle {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-4);
}

.principle__num {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 0.4rem;
}

.principle h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.45rem;
}

.principle p {
  font-size: var(--text-base);
  color: var(--charcoal);
  max-width: 58ch;
}

/* ---------- Solution cards ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 20px 44px rgba(44, 42, 38, 0.12);
}

.solution-card__logo {
  background: #fff;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.5rem)
    clamp(1.35rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--line-soft);
}

.solution-card__logo img {
  height: 44px;
  width: auto;
}

.solution-card__body {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.solution-card__body h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.005em;
}

.solution-card__body p {
  color: var(--charcoal);
}

.solution-card__tag {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.solution-card__link {
  margin-top: auto;
  font-family: "Jost", sans-serif;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.solution-card__link:hover {
  color: var(--gold);
}

/* ---------- Product sections (solutions page) ---------- */
.product {
  padding-block: var(--section-pad);
}

.product--paper {
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
}

/* Linen textured band used to separate the two solution sections */
.linen-band {
  position: relative;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(169, 127, 43, 0.08) 0,
      transparent 62%
    ),
    linear-gradient(180deg, var(--linen-2) 0%, var(--linen-3) 50%, var(--linen-2) 100%);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
  overflow: hidden;
}

.linen-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23t)' opacity='0.32'/%3E%3C/svg%3E");
}

.linen-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.linen-band__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(169, 127, 43, 0.42) 50%,
    transparent 100%
  );
}

.linen-band img {
  width: 54px;
  height: auto;
  opacity: 0.85;
  flex: none;
}

.product--dark {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(169, 127, 43, 0.17) 0,
      transparent 46%
    ),
    var(--espresso);
  color: #ded8cc;
}

.product--dark h2,
.product--dark h3 {
  color: #fffdf7;
}

.product--dark .eyebrow {
  color: var(--gold-pale);
}

.product--dark .lede,
.product--dark p {
  color: #b9b2a6;
}

.product__logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.65rem;
  margin-bottom: var(--space-8);
}

.product__logo img {
  height: 50px;
  width: auto;
}

.product h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 30ch;
}

.product__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
}

.product--dark .product__head {
  border-bottom-color: var(--line-dark);
}

@media (max-width: 900px) {
  .product__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.product__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

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

.product__actions {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.feature {
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-soft);
}

.product--dark .feature,
.section--dark .feature {
  border-top-color: var(--line-dark);
}

.feature h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.55rem;
}

.feature p {
  color: var(--charcoal);
}

.product--dark .feature p,
.section--dark .feature p {
  color: #bcb5a9;
}

/* ---------- Pull quote ---------- */
.quote {
  border-left: 2px solid var(--gold);
  padding: var(--space-2) 0 var(--space-2) clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 56ch;
}

.quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--gold);
}

.product--dark .quote {
  border-left-color: var(--gold-pale);
}

.product--dark .quote p {
  color: var(--gold-pale);
}

.quote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.product--dark .quote cite {
  color: #a29a8d;
}

/* ---------- Verse band ---------- */
.verse {
  background: var(--linen-2);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.verse img {
  width: 68px;
  margin: 0 auto var(--space-6);
}

.verse p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 50ch;
  margin: 0 auto;
}

.verse cite {
  display: block;
  margin-top: var(--space-4);
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(169, 127, 43, 0.18) 0,
      transparent 48%
    ),
    var(--espresso);
  padding-block: var(--section-pad);
  text-align: center;
}

.cta-band .eyebrow {
  color: var(--gold-pale);
}

.cta-band h2 {
  color: #fffdf7;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.cta-band .lede {
  margin-inline: auto;
  text-align: center;
  color: #b9b2a6;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-12);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

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

.contact-detail {
  padding-block: var(--space-6);
  border-top: 1px solid var(--line-soft);
}

.contact-detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.contact-detail__label {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-detail__value {
  font-family: "Jost", sans-serif;
  font-size: var(--text-lg);
  color: var(--ink);
  text-decoration: none;
}

a.contact-detail__value:hover {
  color: var(--gold);
}

.form {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 18px 40px rgba(44, 42, 38, 0.07);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--space-4);
}

.field label {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.field input,
.field textarea {
  font-family: "Inter", sans-serif;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--linen);
  border: 1px solid rgba(86, 82, 77, 0.2);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 128px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a49d92;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 127, 43, 0.14);
}

.field--invalid input,
.field--invalid textarea {
  border-color: #b5502f;
}

.field__error {
  font-size: var(--text-xs);
  color: #a8462a;
  display: none;
}

.field--invalid .field__error {
  display: block;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.form__note {
  font-size: var(--text-xs);
  color: var(--charcoal-soft);
  max-width: 32ch;
  line-height: 1.5;
}

.form__status {
  margin-top: var(--space-6);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: rgba(169, 127, 43, 0.08);
  color: var(--ink);
  font-size: var(--text-sm);
  display: none;
}

.form__status.is-visible {
  display: block;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-8);
  color: #b9b2a6;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--space-12);
}

@media (max-width: 820px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer img {
  width: 228px;
  margin-bottom: var(--space-6);
}

.site-footer p {
  font-size: var(--text-sm);
  color: #a8a196;
  max-width: 40ch;
}

.footer-col h4 {
  font-family: "Jost", sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  font-size: var(--text-sm);
  color: #ded8cc;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-pale);
}

.site-footer__bottom {
  border-top: 1px solid rgba(221, 198, 137, 0.18);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #8d867b;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
  z-index: 100;
  background: var(--gold);
  color: #fffaf0;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

/* Sticky-header-aware anchor offset */
[id] {
  scroll-margin-top: 104px;
}

/* Line breaks that only apply on wider screens */
@media (max-width: 700px) {
  br.wide-only {
    display: none;
  }
}
