@layer reset, tokens, base, layout, components, pages, utilities;

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

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

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

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

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

  button {
    cursor: pointer;
    background: none;
    border: 0;
  }

  a {
    color: inherit;
  }

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

@layer tokens {
  :root {
    --glaze: #eef2f4;
    --paper: #ffffff;
    --mist: #d5dde3;
    --ink: #1c1320;
    --ink-soft: #4a4150;
    --wine: #9a0f21;
    --wine-deep: #6e0a17;
    --pomegranate: #c41e3a;
    --gold: #c9a227;
    --gold-deep: #8c7a12;
    --navy: #0033a0;
    --navy-deep: #0a1c4a;
    --ring: 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent);
    --wrap: 1120px;
    --header: 4.75rem;
    --display: "Outfit", "Avenir Next", sans-serif;
    --serif: "Fraunces", "Palatino Linotype", serif;
    --body: "Source Sans 3", "Segoe UI", sans-serif;
    --radius: 1.15rem;
    --shadow: 0 18px 40px color-mix(in srgb, var(--ink) 8%, transparent);
    --space: clamp(3rem, 5.5vw, 4.75rem);
  }
}

@layer base {
  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background:
      radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 32%),
      radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--wine) 10%, transparent), transparent 28%),
      var(--glaze);
    min-height: 100vh;
  }

  h1,
  h2,
  h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  }

  h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  }

  h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  p + p,
  p + ul,
  ul + p {
    margin-top: 1rem;
  }

  a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
  }

  a:hover {
    color: var(--wine);
  }

  .brand:hover,
  .btn:hover,
  .site-footer a:hover {
    color: inherit;
  }

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

  ::selection {
    background: color-mix(in srgb, var(--gold) 55%, white);
    color: var(--ink);
  }
}

@layer layout {
  .skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--ink);
    color: white;
    padding: 0.6rem 1rem;
  }

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

  .wrap {
    width: min(calc(100% - clamp(1.5rem, 4vw, 2.5rem)), var(--wrap));
    margin-inline: auto;
  }

  .section {
    padding: var(--space) 0;
  }

  .page-hero + .section {
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
  }

  .section-glaze {
    background: color-mix(in srgb, white 72%, var(--glaze));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--glaze) 88%, white);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  }

  .site-header.is-scrolled {
    box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 7%, transparent);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: var(--header);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    min-width: 0;
  }

  .brand img {
    width: 3.4rem;
    height: auto;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .brand-name {
    font-family: var(--display);
    font-weight: 650;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .brand-mark {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gold-deep);
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.05rem;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    text-decoration: none;
    font-family: var(--display);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
  }

  .nav-link.is-active,
  .nav-link[aria-current="page"] {
    color: var(--wine);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.12rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }

  .nav-item:hover .nav-link::after,
  .nav-link.is-active::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .subnav {
    position: absolute;
    top: calc(100% - 0.2rem);
    left: 0;
    min-width: 13rem;
    padding: 0.55rem;
    background: var(--paper);
    box-shadow: var(--shadow);
    border: 1px solid var(--mist);
    border-radius: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: 160ms ease;
  }

  .nav-item:hover .subnav,
  .nav-item:focus-within .subnav,
  .nav-item.is-open .subnav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .subnav a {
    display: block;
    padding: 0.5rem 0.7rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.92rem;
  }

  .subnav a:hover,
  .subnav a[aria-current="page"] {
    background: var(--glaze);
    color: var(--wine);
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .header-cart {
    font-family: var(--display);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-cart span {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.2rem;
    border-radius: 999px;
    background: var(--wine);
    color: white;
    font-size: 0.72rem;
  }

  .feed {
    display: grid;
    gap: 0.85rem;
  }

  .nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--mist);
    border-radius: 999px;
    place-items: center;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 1.05rem;
    height: 1.5px;
    background: var(--ink);
    position: relative;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bar::before {
    top: -5px;
  }

  .nav-toggle-bar::after {
    top: 5px;
  }

  .site-footer {
    background:
      radial-gradient(circle at 80% 120%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 40%),
      var(--navy-deep);
    color: #f3efe8;
    padding-top: 3.5rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr;
    gap: 2.25rem 1.75rem;
    align-items: start;
  }

  .footer-brand img {
    width: 5.5rem;
    height: auto;
  }

  .footer-brand p,
  .footer-links a,
  .footer-base {
    color: color-mix(in srgb, white 82%, var(--gold));
  }

  .footer-mantra {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    color: white !important;
    margin: 0.85rem 0 0.55rem;
  }

  .footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
  }

  .footer-links {
    display: grid;
    gap: 0.4rem;
  }

  .footer-links a {
    text-decoration: none;
  }

  .footer-links a:hover,
  .site-footer a:hover {
    color: var(--gold);
  }

  .footer-qr {
    margin-top: 1.2rem;
    width: max-content;
    background: white;
    padding: 0.5rem;
    border-radius: 0.7rem;
  }

  .footer-qr figcaption {
    color: var(--ink);
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.3rem;
  }

  .footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    margin-top: 2.25rem;
    border-top: 1px solid color-mix(in srgb, white 16%, transparent);
    font-size: 0.86rem;
  }
}

@layer components {
  .eyebrow {
    font-family: var(--display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.65rem;
  }

  .eyebrow.gold,
  .band-ink .eyebrow {
    color: var(--gold);
  }

  .mantra {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: var(--wine);
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
  }

  .lede {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 40rem;
  }

  .pull {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--wine);
    margin: 1.15rem 0;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  }

  .btn:hover {
    transform: translateY(-1px);
    color: inherit;
  }

  .btn-wine {
    background: var(--wine);
    color: white;
  }

  .btn-wine:hover {
    background: var(--wine-deep);
    color: white;
  }

  .btn-gold {
    background: var(--gold);
    color: var(--ink);
  }

  .btn-gold:hover {
    background: color-mix(in srgb, var(--gold) 82%, white);
    color: var(--ink);
  }

  .btn-ghost,
  .btn-ghost-light {
    background: transparent;
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  }

  .btn-ghost-light {
    border-color: color-mix(in srgb, white 40%, transparent);
    color: white;
  }

  .text-link {
    font-family: var(--display);
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.12rem;
  }

  .text-link:hover {
    color: var(--wine);
  }

  .section-head {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.6rem;
    max-width: 36rem;
  }

  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    max-width: none;
    width: 100%;
  }

  .section-head-tight {
    margin-top: 2.4rem;
  }

  .hero {
    position: relative;
    padding: clamp(1.75rem, 4vw, 3.25rem) 0 0;
    overflow: hidden;
  }

  .hero-copy h1 {
    margin-bottom: 0;
  }

  .page-hero h1 {
    margin: 0 0 0.75rem;
  }

  .hero-grid,
  .split,
  .cta-grid,
  .story-lead,
  .featured-post {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
  }

  .two-col h2,
  .panel h2,
  .form-card h2,
  .callout h2 {
    margin-bottom: 0.7rem;
  }

  .hero-frame {
    justify-self: end;
    width: min(100%, 22.5rem);
    background: var(--paper);
    padding: 0.55rem;
    border-radius: 1.4rem 1.4rem 2.2rem 1.4rem;
    box-shadow: var(--shadow);
    position: relative;
  }

  .hero-frame::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 2px solid color-mix(in srgb, var(--gold) 70%, white);
    border-radius: 50%;
    z-index: -1;
    clip-path: inset(12% 8% 18% 40%);
  }

  .hero-frame img {
    width: 100%;
    border-radius: 1.1rem 1.1rem 2rem 1.1rem;
  }

  .hero-frame figcaption,
  .cta-qr figcaption {
    font-family: var(--serif);
    font-style: italic;
    padding: 0.55rem 0.35rem 0.15rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
  }

  .thread {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 0.35rem;
  }

  .thread path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 8 14;
  }

  .band-ink {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--gold) 80%, white) 0 6px, transparent 6px),
      var(--navy-deep);
    color: #f6f1ea;
    padding: var(--space) 0;
  }

  .band-ink .split {
    align-items: start;
  }

  .band-ink .section-title {
    max-width: 8ch;
  }

  .band-ink .section-title,
  .band-ink h2 {
    color: white;
  }

  .band-ink p {
    color: color-mix(in srgb, white 82%, var(--gold));
  }

  .mission-grid,
  .involve-grid,
  .pillar-grid,
  .people-grid,
  .post-grid,
  .product-grid {
    display: grid;
    gap: 1.25rem;
  }

  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mission-card,
  .involve-card,
  .pillar-grid article,
  .person-card,
  .post-card,
  .product-card,
  .panel,
  .form-card,
  .callout {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.5rem 1.45rem;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 40%, transparent);
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
  }

  .mission-card h3,
  .involve-card h3 {
    margin-bottom: 0.55rem;
  }

  .focus-path {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.35rem;
    position: relative;
  }

  .focus-path::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 0.42rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .focus-path li {
    position: relative;
    padding: 1.7rem 0 0;
  }

  .focus-path li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 6px color-mix(in srgb, white 72%, var(--glaze));
  }

  .focus-path h3 {
    margin-bottom: 0.4rem;
  }

  .focus-audience {
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.45rem;
  }

  .involve-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .involve-card {
    text-decoration: none;
    transition: transform 180ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .involve-card:hover {
    transform: translateY(-4px);
    color: inherit;
  }

  .involve-card span {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 1.1rem;
  }

  .logo-garden {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: stretch;
  }

  .logo-garden li {
    flex: 1 1 9.5rem;
    max-width: 13.5rem;
  }

  .logo-garden a,
  .logo-garden-compact a {
    display: grid;
    place-items: center;
    min-height: 5rem;
    height: 100%;
    padding: 0.85rem 1rem;
    background: white;
    border-radius: 0.9rem;
    border: 1px solid var(--mist);
  }

  .logo-garden img {
    max-height: 2.6rem;
    width: auto;
    object-fit: contain;
  }

  .logo-garden-compact {
    margin-top: 1rem;
  }

  .logo-garden-compact li {
    max-width: none;
  }

  .people-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .person-card {
    text-align: center;
    padding: 1.6rem 1.1rem 1.4rem;
  }

  .person-card img {
    width: 7.75rem;
    height: 7.75rem;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 0.9rem;
    border: 3px solid color-mix(in srgb, var(--gold) 70%, white);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--wine) 8%, transparent);
  }

  .person-card h2 {
    font-size: 1.08rem;
    margin-bottom: 0.3rem;
  }

  .person-card p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .person-org {
    color: var(--navy);
    font-size: 0.92rem;
    margin-top: 0.3rem;
  }

  .timeline {
    display: grid;
    gap: 0;
    border-left: 2px solid var(--gold);
    padding-left: 1.35rem;
  }

  .timeline li {
    padding: 0 0 1.5rem;
    position: relative;
  }

  .timeline li:last-child {
    padding-bottom: 0;
  }

  .timeline h3 {
    margin: 0.15rem 0 0.4rem;
  }

  .timeline li::before {
    content: "";
    position: absolute;
    left: -1.72rem;
    top: 0.35rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--wine);
    border: 2px solid var(--gold);
  }

  .timeline-year {
    font-family: var(--display);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.08em;
  }

  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .post-card h3 {
    margin-bottom: 0.5rem;
  }

  .post-card time,
  .article-wrap time,
  .product-sku {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.55rem;
  }

  .post-card h3 a,
  .featured-post h2 a {
    text-decoration: none;
  }

  .cta-band {
    background:
      radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 36%),
      var(--wine-deep);
    color: white;
    padding: var(--space) 0;
  }

  .cta-band h2,
  .cta-band p {
    color: #fff7f2;
  }

  .cta-band .lede,
  .cta-grid p {
    max-width: 38rem;
  }

  .cta-qr {
    justify-self: end;
    background: white;
    color: var(--ink);
    padding: 0.85rem;
    border-radius: 1.1rem;
    width: min(100%, 14.5rem);
  }

  .page-hero {
    padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 0;
  }

  .form-card,
  .panel {
    align-self: start;
  }

  .form-card {
    padding: 1.65rem 1.5rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .form-card p,
  .form-card .form-row {
    margin-bottom: 0.85rem;
  }

  label {
    display: block;
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
  }

  input,
  select,
  textarea {
    width: 100%;
    border: 1px solid var(--mist);
    border-radius: 0.7rem;
    padding: 0.7rem 0.8rem;
    background: #fbfcfd;
  }

  input:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--gold) 70%, white);
    border-color: var(--gold);
  }

  .field-error,
  .form-error {
    color: var(--wine);
    font-size: 0.85rem;
  }

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

  .flash {
    padding: 0.9rem 0;
    background: color-mix(in srgb, var(--gold) 22%, white);
    border-bottom: 1px solid var(--gold);
  }

  .callout {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 2rem;
    align-items: center;
  }

  .callout h2,
  .callout p {
    grid-column: 1;
  }

  .callout .btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
  }

  .check-list {
    list-style: disc;
  }

  .check-list,
  .steps,
  .prose ul {
    padding-left: 1.2rem;
    display: grid;
    gap: 0.6rem;
  }

  .steps {
    list-style: decimal;
    margin: 1rem 0 1.4rem;
  }

  .fineprint {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
  }

  .product-media {
    background: var(--glaze);
    border-radius: 0.9rem;
    min-height: 11rem;
    display: grid;
    place-items: center;
    margin: -0.15rem -0.15rem 1rem;
    padding: 1rem;
  }

  .product-media img {
    max-height: 10rem;
    width: auto;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
  }

  .product-body h2 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
  }

  .product-price {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0.5rem 0 0.9rem;
  }

  .product-body .btn {
    margin-top: auto;
    align-self: flex-start;
  }

  .product-grid + .fineprint {
    margin-top: 1.5rem;
  }

  .featured-post {
    align-items: start;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 40%, transparent);
  }

  .featured-post img {
    width: min(100%, 14rem);
    justify-self: center;
  }

  .featured-post .btn {
    margin-top: 1.1rem;
  }

  .prose,
  .prose-wide,
  .article-wrap {
    max-width: 42rem;
  }

  .prose-wide {
    max-width: 52rem;
  }

  .article-wrap {
    padding-top: 2.5rem;
  }

  .article-wrap h1 {
    margin: 0.35rem 0 1.2rem;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  }

  .story-lead figure img {
    border-radius: 1.2rem;
    width: 100%;
  }

  .story-lead {
    align-items: start;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.75rem;
  }
}

@layer pages {
  .page-hero-latam .mantra {
    color: var(--navy);
  }

  .invite {
    position: relative;
    padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(2.75rem, 6vw, 4.5rem);
    overflow: hidden;
  }

  .invite::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 42px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C200,10 400,90 600,40 S1000,10 1200,55 L1200,80 L0,80 Z' fill='%23eef2f4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  .invite-inner {
    max-width: 40rem;
    position: relative;
    z-index: 1;
  }

  .invite h1 {
    color: inherit;
    font-size: clamp(2.4rem, 5.4vw, 4.1rem);
    line-height: 1.12;
  }

  .invite h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
  }

  .invite a:not(.btn) {
    color: inherit;
    text-decoration: none;
  }

  .invite a:not(.btn):hover {
    color: var(--gold);
  }

  .invite-kicker {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 0.65rem;
  }

  .invite-lede {
    margin-top: 1.1rem;
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 34rem;
  }

  .invite + .section {
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
  }

  #give,
  #offer,
  #partner,
  #write,
  #seat,
  #who,
  #calendar {
    scroll-margin-top: calc(var(--header) + 0.75rem);
  }

  .invite .thread {
    margin-top: 1.45rem;
    max-width: 18rem;
    height: 32px;
  }

  .invite-navy {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--gold) 85%, white) 0 5px, transparent 5px),
      radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 34%),
      var(--navy-deep);
    color: #f6f1ea;
  }

  .invite-wine {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--gold) 85%, white) 0 5px, transparent 5px),
      radial-gradient(circle at 12% 80%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 36%),
      var(--wine-deep);
    color: #fff7f2;
  }

  .invite-ink {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--gold) 85%, white) 0 5px, transparent 5px),
      radial-gradient(circle at 70% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 32%),
      #140c16;
    color: #f6f1ea;
  }

  .invite-paper {
    background:
      linear-gradient(90deg, var(--wine) 0 5px, transparent 5px),
      radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 28%),
      color-mix(in srgb, white 55%, var(--glaze));
    color: var(--ink);
  }

  .invite-paper h1 em {
    color: var(--wine);
  }

  .invite-paper .invite-kicker {
    color: var(--wine);
  }

  .invite-paper .thread path {
    stroke: var(--wine);
  }

  .invite-paper::after {
    display: none;
  }

  .invite-navy .invite-lede,
  .invite-wine .invite-lede,
  .invite-ink .invite-lede {
    color: color-mix(in srgb, white 82%, var(--gold));
  }

  .shero-word {
    font-family: var(--display);
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 0.9;
    margin: 0.2rem 0 0.15rem;
  }

  .shero-say {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1rem;
  }

  .feel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .feel-grid article {
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
    border-radius: var(--radius);
    padding: 1.55rem 1.4rem 1.45rem;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 40%, transparent);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .feel-grid article:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--ink) 7%, transparent);
  }

  .feel-label {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-deep);
    margin-bottom: 0.55rem;
  }

  .feel-grid h3 {
    margin-bottom: 0.55rem;
  }

  .face-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
  }

  .face-row li {
    text-align: center;
    width: 6.5rem;
  }

  .face-row img {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 0.45rem;
    border: 3px solid color-mix(in srgb, var(--gold) 70%, white);
  }

  .face-row p {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .letter-card {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, white), var(--paper) 2.4rem);
    border-radius: var(--radius);
    padding: 1.9rem 1.55rem 1.6rem;
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 6%, transparent);
    position: relative;
  }

  .letter-card::before {
    content: "";
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    top: 0.7rem;
    height: 2px;
    background: var(--gold);
    border-radius: 99px;
  }

  .letter-card h2 {
    margin: 0.15rem 0 0.85rem;
    font-size: 1.4rem;
  }

  .letter-card p,
  .letter-card .form-row {
    margin-bottom: 0.85rem;
  }

  .letter-card .btn {
    margin-top: 0.2rem;
  }

  .letter-card .fineprint {
    margin-top: 0.9rem;
  }

  .join-path {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
  }

  .join-path li {
    display: grid;
    gap: 0.15rem;
    padding-left: 1.1rem;
    border-left: 2px solid var(--gold);
  }

  .join-path span {
    color: var(--ink-soft);
    font-size: 0.95rem;
  }

  .donate-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
  }

  .gift-picks,
  .prompt-picks {
    display: grid;
    gap: 0.7rem;
    margin: 1.25rem 0 1rem;
  }

  .gift-picks {
    grid-template-columns: repeat(3, 1fr);
  }

  .gift-pick,
  .prompt-pick {
    text-align: left;
    border: 1px solid var(--mist);
    background: var(--paper);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
  }

  .gift-pick strong {
    display: block;
    font-family: var(--display);
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }

  .gift-pick span,
  .prompt-pick {
    font-size: 0.9rem;
    color: var(--ink-soft);
  }

  .gift-pick:hover,
  .prompt-pick:hover,
  .gift-pick.is-on {
    border-color: var(--gold);
    transform: translateY(-2px);
  }

  .gift-pick.is-on {
    background: color-mix(in srgb, var(--gold) 14%, white);
    color: var(--ink);
  }

  .gift-pick.is-on span {
    color: var(--ink-soft);
  }

  .feed-note {
    margin-bottom: 0;
  }

  .feed .letter-card::before {
    left: 1.15rem;
    right: 1.15rem;
  }

  .month-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
  }

  .month-cal {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.4rem;
    table-layout: fixed;
    margin: 0.35rem -0.4rem 1.75rem;
  }

  .month-cal th {
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 600;
    padding: 0 0.2rem 0.35rem;
    text-align: left;
  }

  .month-cal th abbr {
    text-decoration: none;
  }

  .month-cal td {
    vertical-align: top;
    height: 6.5rem;
    padding: 0.45rem 0.5rem 0.5rem;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
    border-radius: 0.85rem;
  }

  .month-cal time {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    font-family: var(--display);
    font-weight: 650;
    font-size: 0.88rem;
    letter-spacing: -0.03em;
  }

  .month-cal td.is-muted {
    background: transparent;
    border-color: transparent;
    color: color-mix(in srgb, var(--ink-soft) 55%, white);
  }

  .month-cal td.is-today {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent);
  }

  .month-cal td.is-today time {
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
  }

  .month-cal td.has-event {
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 50%, transparent);
  }

  .month-cal td.is-past.has-event {
    opacity: 0.72;
  }

  .month-cal ul {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0;
    list-style: none;
  }

  .month-cal a {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1.25;
    color: var(--wine);
    font-family: var(--display);
    font-weight: 600;
  }

  .month-cal a:hover {
    color: var(--navy);
  }

  .event-pip {
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.3rem;
    border-radius: 999px;
    background: var(--gold);
    flex: 0 0 auto;
  }

  .cal-empty {
    margin: 0.5rem 0 0;
  }

  .event-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .event-card {
    display: grid;
    grid-template-columns: 4.6rem 1fr;
    gap: 1.1rem 1.25rem;
    align-items: start;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--mist) 80%, white);
    border-radius: var(--radius);
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 40%, transparent);
  }

  .event-card.is-past {
    opacity: 0.78;
  }

  .event-when {
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--navy-deep);
    color: #f6f1ea;
    border-radius: 0.9rem;
    padding: 0.55rem 0.2rem 0.6rem;
    min-height: 4.4rem;
  }

  .event-day {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .event-mon {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-size: 0.92rem;
  }

  .event-card h3 {
    margin: 0.1rem 0 0.35rem;
  }

  .event-card h3 a {
    text-decoration: none;
    color: inherit;
  }

  .event-card h3 a:hover {
    color: var(--wine);
  }

  .event-meta {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
  }

  .event-upcoming h3 a {
    text-decoration: none;
    color: inherit;
  }

  .event-upcoming h3 a:hover {
    color: var(--wine);
  }

  .event-upcoming .hero-actions {
    margin-top: 1.5rem;
  }
}

@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 761px) {
  .header-tools {
    order: 3;
  }

  .site-nav {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .donate-layout .letter-card,
  .two-col .letter-card {
    position: sticky;
    top: calc(var(--header) + 1.15rem);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cta-grid,
  .two-col,
  .story-lead,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .mission-grid,
  .involve-grid,
  .focus-path,
  .people-grid,
  .post-grid,
  .product-grid,
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-frame,
  .cta-qr {
    justify-self: start;
  }

  .band-ink .section-title {
    max-width: none;
  }

  .focus-path::before {
    display: none;
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .callout .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.5rem;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .feel-grid,
  .donate-layout,
  .gift-picks {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header) 1rem auto;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: 1rem;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list,
  .subnav {
    display: grid;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding: 0;
  }

  .subnav {
    display: none;
    padding-left: 0.8rem;
  }

  .nav-item.is-open .subnav {
    display: grid;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    margin-top: 0.4rem;
  }

  .hero-grid,
  .split,
  .cta-grid,
  .two-col,
  .story-lead,
  .featured-post,
  .footer-grid,
  .mission-grid,
  .involve-grid,
  .focus-path,
  .people-grid,
  .post-grid,
  .product-grid,
  .pillar-grid,
  .form-row,
  .footer-base {
    grid-template-columns: 1fr;
  }

  .logo-garden li {
    max-width: none;
  }

  .footer-base {
    display: grid;
  }

  .brand-mark {
    display: none;
  }

  .invite h1 {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }

  .shero-word {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .face-row {
    justify-content: center;
  }

  .month-nav {
    justify-content: flex-start;
  }

  .month-cal {
    border-spacing: 0.18rem;
    margin-inline: -0.18rem;
  }

  .month-cal td {
    height: 3.15rem;
    padding: 0.2rem 0.15rem 0.25rem;
  }

  .month-cal .event-name {
    display: none;
  }

  .month-cal a {
    justify-content: center;
  }

  .event-pip {
    margin-top: 0.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
