/* ========================================================================
   Tenaglia & Associates — refined minimalism, deco bones
   Palette: Navy #1B2845 · Bronze #A8804A · Cream #F4EFE5 · Ink #141414 · Stone #D4CFC4
   Type:    Fraunces (display) · DM Sans (text)
   ======================================================================== */

:root {
  /* palette */
  --navy: #1b2845;
  --navy-deep: #0e1730;
  --bronze: #a8804a;
  --bronze-soft: #c9a06d;
  --cream: #f4efe5;
  --cream-warm: #ece4d3;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --stone: #d4cfc4;
  --stone-soft: #e7e3da;
  --paper: #fbf8f2;
  --white: #ffffff;

  /* type */
  --f-display: "Fraunces", "Times New Roman", Georgia, serif;
  --f-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid type scale */
  --t-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --t-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  --t-base: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  --t-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --t-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --t-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --t-3xl: clamp(2.75rem, 2rem + 3.5vw, 4.5rem);
  --t-hero: clamp(3rem, 2.2rem + 4.5vw, 5.75rem);
  --t-stat: clamp(4rem, 3rem + 6vw, 7.5rem);

  /* spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;
  --s-40: 160px;

  /* layout */
  --shell: 1240px;
  --gutter: clamp(24px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 144px);

  /* lines & borders */
  --hair: 1px solid rgba(20, 20, 20, 0.1);
  --hair-light: 1px solid rgba(20, 20, 20, 0.07);
  --hair-cream: 1px solid rgba(168, 128, 74, 0.25);
  --hair-on-navy: 1px solid rgba(244, 239, 229, 0.18);
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  font-feature-settings: "ss01", "kern";
}

::selection {
  background: var(--navy);
  color: var(--cream);
}

p {
  text-wrap: pretty;
}

/* ---------- Common: eyebrow, section heads, buttons, links ---------- */
.eyebrow {
  font-family: var(--f-text);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 var(--s-6);
}
.eyebrow--bronze {
  color: var(--bronze);
}
.eyebrow--center {
  text-align: center;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-2xl);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.section__title em {
  font-style: italic;
  color: var(--bronze);
  font-weight: 400;
}
.section__lede {
  margin-top: var(--s-5);
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-text);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27, 40, 69, 0.25);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn--lg {
  padding: 18px 30px;
  font-size: var(--t-base);
}

.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-text);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 4px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.link--arrow:hover {
  gap: 14px;
  color: var(--bronze);
}

/* ============================== 01 NAVBAR ============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: var(--hair-light);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav--scrolled {
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04), 0 8px 24px -16px rgba(20, 20, 20, 0.12);
}
.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
}
.nav__logo .logo--horizontal {
  height: 38px;
  width: auto;
  display: block;
}
.nav__logo .logo--mono {
  display: none;
  height: 36px;
  width: auto;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__links a {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:hover {
  color: var(--bronze);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav__portal {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.nav__portal:hover {
  color: var(--bronze);
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) var(--gutter) var(--s-8);
  border-top: var(--hair-light);
  background: var(--paper);
}
.nav__mobile a {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  color: var(--navy);
  padding: 6px 0;
  border-bottom: var(--hair-light);
}
.nav__mobile .btn {
  align-self: flex-start;
  margin-top: var(--s-3);
  color: var(--cream);
  font-family: var(--f-text);
  border: 1px solid var(--navy);
}

@media (max-width: 920px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
    justify-self: end;
  }
  .nav__inner {
    grid-template-columns: 1fr auto;
  }
  .nav--open .nav__mobile {
    display: flex;
  }
  .nav--open .nav__toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav--open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav--open .nav__toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .nav__logo .logo--horizontal {
    display: none;
  }
  .nav__logo .logo--mono {
    display: block;
  }
}

/* ============================== 02 HERO ============================== */
.hero {
  position: relative;
  background: var(--cream);
  padding: clamp(80px, 14vw, 180px) var(--gutter) clamp(80px, 12vw, 160px);
  overflow: hidden;
}
.hero::before {
  /* Subtle vertical center line — symmetry/deco vertical proportion */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(168, 128, 74, 0.18) 18%,
    rgba(168, 128, 74, 0.18) 82%,
    transparent 100%
  );
  pointer-events: none;
}
.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
  margin: 0 auto;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
}
.hero__sub {
  margin: var(--s-8) auto 0;
  max-width: 56ch;
  font-size: var(--t-lg);
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero__cta {
  margin-top: var(--s-10);
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__rule {
  margin: clamp(60px, 8vw, 100px) auto 0;
  width: 8px;
  height: 8px;
  background: var(--bronze);
  transform: rotate(45deg);
  position: relative;
}
.hero__rule::before,
.hero__rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(60px, 12vw, 140px);
  height: 1px;
  background: var(--bronze);
  opacity: 0.45;
}
.hero__rule::before {
  right: calc(100% + 14px);
}
.hero__rule::after {
  left: calc(100% + 14px);
}

/* ============================== 03 CREDIBILITY ============================== */
.cred {
  background: var(--cream);
  padding: 0 var(--gutter) clamp(60px, 8vw, 110px);
}
.cred__grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  text-align: center;
}
.cred__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.cred__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-stat);
  line-height: 0.95;
  color: var(--bronze);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.cred__num em {
  font-style: italic;
}
.cred__num span {
  font-size: 0.55em;
  margin-left: 0.05em;
}
.cred__label {
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.cred__divider {
  width: 1px;
  height: 64px;
  background: rgba(168, 128, 74, 0.4);
}
@media (max-width: 720px) {
  .cred__grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
  .cred__divider {
    width: 64px;
    height: 1px;
    justify-self: center;
  }
}

/* ============================== 04 SERVICES ============================== */
.services {
  background: var(--paper);
  padding: var(--section-y) var(--gutter);
}
.services > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--hair);
  border-left: var(--hair);
}
.card {
  padding: clamp(28px, 3vw, 44px);
  background: var(--paper);
  border-right: var(--hair);
  border-bottom: var(--hair);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background-color 0.3s ease;
  min-height: 320px;
}
.card:hover {
  background: var(--cream);
}
.card__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-lg);
  color: var(--bronze);
  font-weight: 400;
}
.card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.card__body {
  font-size: var(--t-base);
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}
.card__link {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-3);
  transition: gap 0.25s ease, color 0.2s ease;
}
.card__link:hover {
  gap: 12px;
  color: var(--bronze);
}
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
}

/* ============================== 05 ABOUT PREVIEW ============================== */
.about {
  background: var(--paper);
  padding: var(--section-y) var(--gutter);
}
.about__grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__text p {
  margin-top: var(--s-6);
  font-size: var(--t-base);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}
.about__text .link--arrow {
  margin-top: var(--s-8);
}
.about__photo {
  position: relative;
}
.about__photo-inner {
  background: var(--cream);
  border: 1px solid rgba(168, 128, 74, 0.25);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  position: relative;
}
.about__photo-inner::before {
  /* inner deco frame */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(168, 128, 74, 0.22);
  pointer-events: none;
}
.about__logo {
  width: 85%;
  max-width: 420px;
  height: auto;
  position: relative;
  z-index: 1;
}
.about__est {
  position: absolute;
  bottom: clamp(22px, 3vw, 40px);
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.4em;
  color: var(--bronze);
  font-weight: 500;
}
@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__photo-inner {
    aspect-ratio: 5 / 4;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================== 06 PROCESS ============================== */
.process {
  background: var(--navy);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
}
.process > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.process .section__title {
  color: var(--cream);
}
.process .section__title em {
  color: var(--bronze-soft);
}
.process .eyebrow {
  color: var(--bronze-soft);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--s-8);
  counter-reset: step;
}
.step {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  border-left: var(--hair-on-navy);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.step:first-child {
  border-left: none;
  padding-left: 0;
}
.step__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-2xl);
  color: var(--bronze);
  line-height: 1;
}
.step__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.step p {
  font-size: var(--t-base);
  color: rgba(244, 239, 229, 0.72);
  line-height: 1.55;
}
@media (max-width: 980px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-8) 0;
  }
  .step:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .process__steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-left: none;
    padding-left: 0;
    border-top: var(--hair-on-navy);
    padding-top: var(--s-8);
  }
  .step:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ============================== 07 WHY ============================== */
.why {
  background: var(--paper);
  padding: var(--section-y) var(--gutter);
}
.why > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 56px);
  margin-top: var(--s-12);
}
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
.why__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 2px solid var(--bronze);
  max-width: 38ch;
}
.why__h {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.why__col p {
  font-size: var(--t-base);
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
}

/* ============================== 08 LOCATIONS ============================== */
.locations {
  background: var(--cream);
  padding: var(--section-y) var(--gutter);
}
.locations > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.loc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: var(--s-12);
}
.loc__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.loc--soon {
  background: transparent;
  border: 1px dashed rgba(168, 128, 74, 0.45);
}
.loc--soon .loc__city,
.loc--soon .loc__meta dd {
  color: var(--ink-soft);
}
.loc {
  background: var(--paper);
  padding: clamp(36px, 4vw, 56px);
  border: 1px solid rgba(168, 128, 74, 0.2);
  display: flex;
  flex-direction: column;
}
.loc__city {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-2xl);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.loc__sub {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.loc__line {
  height: 1px;
  background: var(--bronze);
  opacity: 0.5;
  margin: var(--s-8) 0;
  width: 56px;
}
.loc__meta {
  display: grid;
  grid-template-columns: 96px 1fr;
  row-gap: var(--s-5);
  column-gap: var(--s-6);
  font-size: var(--t-sm);
}
.loc__meta dt {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--t-xs);
  color: var(--ink-soft);
  font-weight: 500;
  padding-top: 2px;
}
.loc__meta dd {
  color: var(--ink);
  line-height: 1.5;
}
@media (max-width: 980px) {
  .loc__grid--3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .loc__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================== 09 TESTIMONIALS ============================== */
.testi {
  background: var(--paper);
  padding: var(--section-y) var(--gutter);
  border-top: var(--hair-light);
  border-bottom: var(--hair-light);
}
.testi__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testi__quote {
  margin-top: var(--s-8);
  position: relative;
}
.testi__quote p {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.3;
  color: var(--navy);
  text-wrap: balance;
}
.testi__mark {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--bronze);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.05em;
}
.testi__quote footer {
  margin-top: var(--s-8);
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================== 10 EVENTS ============================== */
.events {
  background: var(--paper);
  padding: var(--section-y) var(--gutter);
}
.events > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.events__list {
  margin-top: var(--s-10);
  border-top: var(--hair);
}
.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: var(--hair);
  transition: background-color 0.25s ease, padding 0.25s ease;
}
.event:hover {
  background: linear-gradient(to right, var(--cream) 0%, transparent 70%);
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}
.event__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.event__mo {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-xl);
  color: var(--bronze);
  line-height: 1;
}
.event__day {
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: var(--s-2);
}
.event__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.event__body p {
  margin-top: var(--s-2);
  font-size: var(--t-base);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 60ch;
}
.event__link {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-xl);
  color: var(--bronze);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.event__link:hover {
  transform: translateX(6px);
}
@media (max-width: 640px) {
  .event {
    grid-template-columns: 1fr auto;
  }
  .event__date {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: var(--s-3);
    align-items: baseline;
  }
}

/* ============================== 11 FINAL CTA ============================== */
.cta {
  background: var(--navy);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(168, 128, 74, 0.4) 50%,
    transparent
  );
}
.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--t-3xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
  margin-top: var(--s-6);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.cta__title em {
  font-style: italic;
  color: var(--bronze-soft);
}
.cta__sub {
  margin: var(--s-8) auto 0;
  max-width: 50ch;
  font-size: var(--t-lg);
  color: rgba(244, 239, 229, 0.78);
  line-height: 1.5;
}
.cta__actions {
  margin-top: var(--s-10);
}
.cta__inner .btn--primary {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--navy);
  font-weight: 600;
}
.cta__inner .btn--primary:hover {
  background: var(--bronze-soft);
  border-color: var(--bronze-soft);
}
.cta__alt {
  margin-top: var(--s-8);
  font-size: var(--t-sm);
  color: rgba(244, 239, 229, 0.65);
  letter-spacing: 0.04em;
}
.cta__alt a {
  color: var(--bronze-soft);
  border-bottom: 1px solid rgba(201, 160, 109, 0.4);
  padding-bottom: 1px;
}
.cta__alt a:hover {
  color: var(--cream);
}

/* ============================== 12 FOOTER ============================== */
.footer {
  background: var(--cream);
  color: var(--navy);
  padding: clamp(60px, 8vw, 100px) var(--gutter) clamp(28px, 4vw, 44px);
}
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.logo--footer {
  height: 56px;
  width: auto;
}
.footer__about {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 42ch;
}
.footer__social {
  margin-top: var(--s-4);
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(168, 128, 74, 0.4);
  border-radius: 2px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--cream);
  background: var(--bronze);
  border-color: var(--bronze);
}
.footer__social-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer__slogan {
  margin-top: var(--s-5);
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-base);
  color: var(--bronze);
  letter-spacing: 0.01em;
  opacity: 0.95;
}
.footer__disclosures {
  max-width: var(--shell);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-top: var(--s-8);
  border-top: 1px solid rgba(168, 128, 74, 0.25);
}
.footer__disc-h {
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: var(--s-5);
}
.footer__disc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) clamp(24px, 3vw, 48px);
}
.footer__disc-grid p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.85;
}
.footer__disc-grid strong {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 760px) {
  .footer__disc-grid { grid-template-columns: 1fr; }
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer__h {
  font-family: var(--f-text);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.footer__col a,
.footer__col p {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: var(--bronze);
}
.footer__rule {
  max-width: var(--shell);
  margin: clamp(50px, 6vw, 80px) auto var(--s-8);
  height: 1px;
  background: rgba(168, 128, 74, 0.3);
}
.footer__base {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  font-size: var(--t-xs);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.footer__legal {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: var(--t-xs);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.footer__legal a:hover {
  color: var(--bronze);
}
@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-8) var(--s-6);
  }
}

/* ---------- Reveal animations (subtle, JS-driven) ----------
   Only applied when JS is available (html.js). Without JS, content is fully visible.
*/
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================== SERVICES MORE LINK ============================== */
.services__more {
  max-width: var(--shell);
  margin: var(--s-10) auto 0;
  text-align: right;
}

/* ============================== PAGE HERO (inner pages) ============================== */
.page-hero {
  background: var(--cream);
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 120px)) var(--gutter) clamp(56px, 7vw, 96px);
  border-bottom: var(--hair-light);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: var(--nav-h) 0 0 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 128, 74, 0.18) 30%, rgba(168, 128, 74, 0.18) 70%, transparent 100%);
  pointer-events: none;
}
.page-hero__inner {
  max-width: var(--shell);
  margin: 0 auto;
  position: relative;
}
.page-hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: var(--s-4);
  max-width: 22ch;
}
.page-hero__title em {
  font-style: italic;
  color: var(--bronze);
  font-weight: 400;
}
.page-hero__sub {
  margin-top: var(--s-6);
  font-size: var(--t-lg);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 58ch;
}
.page-hero__rule {
  width: 100%;
  height: 1px;
  background: rgba(168, 128, 74, 0.25);
  margin-top: clamp(40px, 5vw, 64px);
}

/* Split page hero: copy left, editorial figure right */
.page-hero--split { padding-bottom: 0; }
.page-hero--split::before { display: none; }
.page-hero__split {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.page-hero--split .page-hero__inner { padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero__figure {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}
.page-hero__figure img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.25);
}
@media (max-width: 900px) {
  .page-hero__split { grid-template-columns: 1fr; gap: var(--s-10); }
  .page-hero__figure { justify-content: center; }
  .page-hero__figure img { max-width: 100%; }
}

/* ============================== FIRM STORY (about) ============================== */
.story {
  padding: var(--section-y) var(--gutter);
}
.story__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.story__copy { max-width: 58ch; }
.story__copy .prose { margin: 0; }
.story__copy .prose p { font-size: var(--t-base); line-height: 1.7; }
.story__slogan {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(168, 128, 74, 0.3);
  font-family: var(--f-display);
  font-size: var(--t-lg);
  color: var(--bronze);
  letter-spacing: 0.01em;
}
.story__figure {
  margin: 0;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.story__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.3);
}
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; gap: var(--s-10); }
  .story__figure { position: static; max-width: 520px; margin: 0 auto; }
}

/* ============================== PROSE / LONG-FORM ============================== */
.prose {
  max-width: 68ch;
  margin: 0 auto;
}
.prose p {
  font-size: var(--t-lg);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.prose p:last-child { margin-bottom: 0; }

/* ============================== SERVICE BLOCKS ============================== */
.svcblock {
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  border-bottom: var(--hair-light);
}
.svcblock:nth-child(even) {
  background: var(--cream);
}
.svcblock__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.svcblock__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 1;
  color: var(--bronze);
  letter-spacing: -0.02em;
}
.svcblock__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.svcblock__lede {
  margin-top: var(--s-5);
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
}
.svcblock__list {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-8);
}
.svcblock__list li {
  position: relative;
  padding-left: var(--s-5);
  font-size: var(--t-base);
  color: var(--ink);
  line-height: 1.5;
}
.svcblock__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--bronze);
}
@media (max-width: 860px) {
  .svcblock__inner { grid-template-columns: 1fr; }
  .svcblock__list { grid-template-columns: 1fr; }
}

/* ============================== TEAM / BIOS ============================== */
.team {
  padding: var(--section-y) var(--gutter);
}
.team__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}
.bio {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.bio--reverse { grid-template-columns: 1fr 0.4fr; }
.bio--reverse .bio__photo { order: 2; }
.bio__photo {
  background: var(--cream);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(168, 128, 74, 0.22);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bio__photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(168, 128, 74, 0.18);
  pointer-events: none;
  z-index: 2;
}
.bio__photo--has-image::after {
  border-color: rgba(244, 239, 229, 0.55);
  inset: 10px;
}
.bio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.bio__monogram {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(88px, 10vw, 140px);
  line-height: 1;
  color: var(--bronze);
  opacity: 0.45;
  letter-spacing: -0.02em;
}
.bio__role {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.bio__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-top: var(--s-3);
}
.bio__body {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-5);
}
.bio__body p {
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
}
.bio__creds {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(168, 128, 74, 0.25);
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.bio__links {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
}
.bio__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bronze);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 128, 74, 0.35);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.bio__link:hover,
.bio__link:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.bio__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .bio, .bio--reverse { grid-template-columns: 1fr; }
  .bio--reverse .bio__photo { order: 0; }
  .bio__photo { max-width: 360px; aspect-ratio: 4 / 5; }
}

/* ============================== VALUES ============================== */
.values {
  background: var(--navy);
  color: var(--paper);
  padding: var(--section-y) var(--gutter);
}
.values > * {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.values .section__title { color: var(--paper); }
.values .eyebrow--bronze { color: var(--bronze); }
.values__grid {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
}
.value__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 4.4vw, 64px);
  color: var(--bronze);
  line-height: 1;
}
.value__h {
  margin-top: var(--s-4);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--paper);
  letter-spacing: -0.01em;
}
.value__p {
  margin-top: var(--s-3);
  font-size: var(--t-base);
  line-height: 1.6;
  color: rgba(244, 239, 229, 0.78);
}
@media (max-width: 860px) {
  .values__grid { grid-template-columns: 1fr; }
}

/* ============================== EVENT CARDS (events page) ============================== */
.events-page {
  padding: var(--section-y) var(--gutter);
}
.events-page__inner {
  max-width: var(--shell);
  margin: 0 auto;
}
.events-page__group + .events-page__group {
  margin-top: clamp(56px, 7vw, 88px);
}
.events-page__h {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
  letter-spacing: -0.01em;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(168, 128, 74, 0.25);
  margin-bottom: var(--s-8);
}
.events-page__h em { color: var(--bronze); font-style: italic; }
.eventcard {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding: var(--s-8) 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}
.eventcard:last-child { border-bottom: none; }
.eventcard__date {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
  line-height: 1;
}
.eventcard__mo {
  display: block;
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--bronze);
  font-weight: 500;
  font-family: var(--f-text);
  margin-bottom: var(--s-2);
}
.eventcard__day {
  font-size: clamp(40px, 4vw, 56px);
}
.eventcard__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.eventcard__meta {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 500;
}
.eventcard__body {
  margin-top: var(--s-3);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
}
.eventcard__cta {
  align-self: center;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .eventcard {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .eventcard__cta { justify-self: start; }
}

/* ============================== CONTACT (form + sidebar) ============================== */
.contact-page {
  padding: var(--section-y) var(--gutter);
}
.contact-page__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 5vw, 96px);
  align-items: start;
}
@media (max-width: 980px) {
  .contact-page__inner { grid-template-columns: 1fr; }
}
.cform {
  display: grid;
  gap: var(--s-6);
}
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}
@media (max-width: 640px) {
  .cform__row { grid-template-columns: 1fr; }
}
.cform__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cform__label {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.cform__input,
.cform__select,
.cform__textarea {
  font-family: var(--f-text);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(20, 20, 20, 0.12);
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.cform__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
.cform__input:focus,
.cform__select:focus,
.cform__textarea:focus {
  border-color: var(--bronze);
}
.cform__submit {
  justify-self: start;
  margin-top: var(--s-2);
}
.cform__legal {
  font-size: var(--t-xs);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.csidebar {
  display: grid;
  gap: var(--s-8);
}
.csidebar__block {
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(168, 128, 74, 0.25);
}
.csidebar__block:last-child { border-bottom: none; padding-bottom: 0; }
.csidebar__eyebrow {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.csidebar__h {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.csidebar__p {
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
}
.csidebar__p a {
  color: var(--bronze);
  border-bottom: 1px solid rgba(168, 128, 74, 0.4);
}
.csidebar__p a:hover { color: var(--navy); border-color: var(--navy); }

/* Calendly inline widget */
.calendly-embed {
  margin-top: var(--s-6);
  background: var(--cream);
  border: 1px dashed rgba(168, 128, 74, 0.5);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendly-embed--live {
  background: var(--cream);
  border: 1px solid rgba(168, 128, 74, 0.25);
  padding: 0;
  min-height: 720px;
  display: block;
  text-align: left;
  overflow: hidden;
}
.calendly-embed--live .calendly-inline-widget,
.calendly-embed iframe {
  width: 100% !important;
  min-height: 720px;
  border: 0;
}


/* ============================== CONTACT FORM — MULTI-SELECT CHECKBOXES ============================== */
.cform__checks {
  border: 0;
  margin: 0 0 var(--s-7);
  padding: 0;
}
.cform__checks .cform__label {
  display: block;
  margin-bottom: var(--s-3);
}
.cform__hint {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.82em;
  margin-left: 0.35em;
}
.cform__check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
@media (max-width: 640px) {
  .cform__check-grid { grid-template-columns: 1fr; }
}
.cform__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px solid rgba(168, 128, 74, 0.25);
  border-radius: 2px;
  cursor: pointer;
  font-size: var(--t-base);
  color: var(--ink);
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cform__check:hover { border-color: var(--bronze); }
.cform__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border: 1.5px solid var(--bronze);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}
.cform__check input[type="checkbox"]:checked {
  background: var(--bronze);
  border-color: var(--bronze);
}
.cform__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cform__check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}
.cform__check:has(input:checked) {
  border-color: var(--bronze);
  background: rgba(168, 128, 74, 0.06);
}
.cform__error {
  margin: 10px 0 0;
  font-size: var(--t-sm);
  color: #a83c2a;
  font-style: italic;
}
.cform__status {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: var(--t-sm);
  line-height: 1.5;
  border: 1px solid transparent;
}
.cform__status--ok {
  color: #2c5b3a;
  background: rgba(46, 125, 75, 0.08);
  border-color: rgba(46, 125, 75, 0.25);
}
.cform__status--err {
  color: #8a2f22;
  background: rgba(168, 60, 42, 0.06);
  border-color: rgba(168, 60, 42, 0.3);
}

/* ============================== MOBILE HEADING SAFETY PADDING ============================== */
/* Belt-and-suspenders: even if any wrapper drops gutter padding, headings keep breathing room. */
@media (max-width: 560px) {
  .page-hero,
  .page-hero__inner {
    padding-left: max(var(--gutter), 20px);
    padding-right: max(var(--gutter), 20px);
  }
  .page-hero__inner { padding-left: 0; padding-right: 0; }
  .section__title,
  .svcblock__title,
  .svcblock__lede {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 420px) {
  :root { --gutter: 20px; }
}

/* ============================== RESOURCES PAGES ============================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: var(--s-8);
}
.resource-card {
  background: var(--paper);
  border: 1px solid rgba(168, 128, 74, 0.25);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-top: 2px solid var(--bronze);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -20px rgba(20, 34, 58, 0.18);
}
.resource-card__eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0;
}
.resource-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
.resource-card__body {
  color: var(--ink-soft);
  font-size: var(--t-base);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.resource-card__cta {
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-top: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resource-card__cta::after { content: "→"; color: var(--bronze); }
.resource-card[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
  border-top-color: rgba(168, 128, 74, 0.5);
}
.resource-card[aria-disabled="true"] .resource-card__cta {
  color: var(--ink-soft);
}
.resource-card[aria-disabled="true"] .resource-card__cta::after { content: "Coming soon"; font-style: italic; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Federal hero buttons for the estimated-tax page */
.fed-pay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: var(--s-6);
}
.fed-pay__btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.fed-pay__btn:hover { background: #0c172a; transform: translateY(-1px); }
.fed-pay__btn-label {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 239, 226, 0.7);
}
.fed-pay__btn-title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  line-height: 1.2;
}
.fed-pay__btn-url {
  font-family: var(--f-sans);
  font-size: 11px;
  color: rgba(245, 239, 226, 0.55);
  margin-top: 4px;
  word-break: break-all;
}

/* State selector list */
.state-list {
  margin-top: var(--s-6);
}
.state-search {
  width: 100%;
  max-width: 520px;
  font-family: var(--f-sans);
  font-size: var(--t-base);
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid rgba(168, 128, 74, 0.35);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.state-search:focus-visible {
  outline: none;
  border-color: var(--bronze);
}
.state-group {
  margin-top: var(--s-6);
}
.state-group__h {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(168, 128, 74, 0.25);
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 24px;
}
.state-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(20, 34, 58, 0.1);
  font-size: var(--t-base);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
  gap: 12px;
}
.state-row:hover { color: var(--bronze); }
.state-row__name { font-family: var(--f-display); }
.state-row__meta { font-family: var(--f-sans); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; }
.state-row--none {
  color: var(--ink-soft);
  cursor: default;
  pointer-events: none;
}
.state-row--none .state-row__meta { font-style: italic; }
.state-empty {
  margin-top: var(--s-6);
  padding: 18px 22px;
  background: var(--cream);
  border: 1px dashed rgba(168, 128, 74, 0.4);
  color: var(--ink-soft);
  font-style: italic;
  font-size: var(--t-sm);
}
.state-empty[hidden] { display: none; }

/* Page-level info panels for resources */
.res-note {
  margin-top: var(--s-8);
  padding: clamp(22px, 3vw, 32px);
  background: var(--cream);
  border-left: 3px solid var(--bronze);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 80ch;
}
.res-note strong { color: var(--navy); }
