/* Direct layout port from the approved Stitch screens. */
:root {
  --st-primary: #35171b;
  --st-cta: #a9513b;
  --st-gold: #b78b4b;
  --st-rose: #d9a29b;
  --st-parchment: #f3ebdd;
  --st-ivory: #fcf8f1;
  --st-surface: #fff8f7;
  --st-sand: #d8c5aa;
  --st-charcoal: #26201d;
  --st-muted: #504445;
  --st-line: rgba(53, 23, 27, .22);
  --st-max: 1440px;
  --st-pad: clamp(20px, 4.45vw, 64px);
}
[hidden] { display: none !important; }

body.stitch-page { background: var(--st-surface); color: var(--st-charcoal); }
body.stitch-page .public-main { min-height: 70vh; }

/* Approved top navigation */
.public-header,
.public-header.scrolled {
  background: rgba(255, 248, 247, .94);
  border-bottom: 1px solid var(--st-sand);
  box-shadow: none;
  color: var(--st-primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 80;
}
.public-header-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(230px, 1fr) auto minmax(80px, 1fr);
  margin: 0 auto;
  max-width: var(--st-max);
  min-height: 80px;
  padding: 16px var(--st-pad);
  width: 100%;
}
.public-header .wordmark { align-items: center; display: inline-flex; gap: 10px; width: fit-content; }
.public-header .wordmark img { height: 32px; object-fit: contain; width: 32px; }
.public-header .wordmark-name { font: italic 500 26px/1 "EB Garamond", serif; letter-spacing: -.02em; }
.public-nav { align-items: center; display: flex; gap: clamp(18px, 1.8vw, 28px); }
.public-nav a {
  border-bottom: 1px solid transparent;
  color: var(--st-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 8px 0 6px;
  text-transform: uppercase;
}
.public-nav a:hover,
.public-nav a.active { border-color: var(--st-gold); color: var(--st-primary); }
.header-actions { align-items: center; display: flex; gap: 12px; justify-content: flex-end; }
.bag-button { align-items: center; display: inline-flex; gap: 6px; padding: 10px; }
.bag-button .bag-icon { border: 1.5px solid currentColor; display: block; height: 17px; position: relative; width: 16px; }
.bag-button .bag-icon::before { border: 1.5px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; content: ""; height: 6px; left: 3px; position: absolute; top: -6px; width: 8px; }
.bag-button b { align-items: center; background: var(--st-gold); border: 0; border-radius: 50%; color: white; display: flex; font-size: 8px; height: 17px; justify-content: center; margin: 0; width: 17px; }
.menu-button { height: 40px; padding: 10px; width: 40px; }
.menu-button span { background: currentColor; display: block; height: 1px; margin: 5px 0; width: 20px; }

/* Shared Stitch primitives */
.stitch-page h1,
.stitch-page h2,
.stitch-page h3 { color: var(--st-primary); font-family: "EB Garamond", serif; font-weight: 500; }
.stitch-page .eyebrow { color: var(--st-gold); font-size: 10px; letter-spacing: .18em; margin-bottom: 16px; }
.stitch-page .button { font-size: 10px; min-height: 52px; padding: 0 30px; }
.stitch-page .button-primary { background: #7c5458; }
.stitch-page .button-primary:hover { background: var(--st-primary); }
.stitch-page .button-outline { border-color: var(--st-gold); color: var(--st-primary); }
.stitch-page .button-outline:hover { background: var(--st-ivory); color: var(--st-primary); }

/* Home */
.stitch-home-hero {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  max-width: var(--st-max);
  min-height: calc(90vh - 80px);
  padding: 120px var(--st-pad);
  position: relative;
}
.stitch-home-copy { align-items: flex-start; display: flex; flex-direction: column; gap: 24px; grid-column: 1 / span 5; position: relative; z-index: 2; }
.stitch-home-copy .eyebrow { margin: 0; }
.stitch-home-copy h1 { font-size: clamp(58px, 5.1vw, 74px); letter-spacing: -.01em; line-height: 1.02; margin: 0; }
.stitch-home-copy > p:not(.eyebrow) { color: var(--st-muted); font-size: 17px; line-height: 1.65; margin: 0; max-width: 470px; }
.stitch-home-copy .hero-actions { gap: 16px; margin-top: 8px; }
.stitch-home-image { grid-column: 7 / span 6; height: min(80vh, 820px); min-height: 600px; position: relative; }
.stitch-home-image::before {
  background-image: linear-gradient(90deg, rgba(183,139,75,.035) 1px, transparent 1px), linear-gradient(rgba(183,139,75,.035) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}
.stitch-home-image img { height: 100%; object-fit: cover; width: 100%; }
.stitch-home-image span { border-bottom: 1px solid var(--st-gold); border-left: 1px solid var(--st-gold); bottom: -24px; height: 120px; left: -24px; position: absolute; width: 120px; }
.stitch-home-hero::after { background: var(--st-sand); content: ""; height: 1px; left: 0; position: absolute; top: 20%; width: 8%; }
.home-grant-feature { background: var(--st-primary); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); margin: 0 auto; max-width: var(--st-max); min-height: 720px; overflow: hidden; }
.home-grant-portrait { margin: 0; min-height: 720px; overflow: hidden; position: relative; }
.home-grant-portrait::after { background: linear-gradient(180deg,transparent 55%,rgba(39,13,17,.5)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.home-grant-portrait img { height: 100%; object-fit: cover; width: 100%; }
.home-grant-portrait figcaption { bottom: 42px; color: var(--st-ivory); left: 42px; position: absolute; z-index: 2; }
.home-grant-portrait figcaption span,
.home-grant-portrait figcaption strong { display: block; }
.home-grant-portrait figcaption span { color: var(--st-gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; margin-bottom: 6px; text-transform: uppercase; }
.home-grant-portrait figcaption strong { font: italic 500 33px "EB Garamond",serif; }
.home-grant-copy { align-self: center; color: var(--st-ivory); padding: 70px clamp(42px,6vw,88px); }
.home-grant-copy .eyebrow { color: var(--st-gold); margin-top: 45px; }
.home-grant-status { align-items: center; color: rgba(252,248,241,.74); display: flex; font-size: 9px; font-weight: 800; gap: 10px; letter-spacing: .15em; margin: 0; text-transform: uppercase; }
.home-grant-status > span { background: var(--st-gold); border-radius: 50%; box-shadow: 0 0 0 5px rgba(183,139,75,.12); height: 8px; width: 8px; }
.home-grant-status.is-open > span { background: #92a78a; box-shadow: 0 0 0 5px rgba(146,167,138,.14); }
.home-grant-copy h2 { color: var(--st-ivory); font-size: clamp(52px,5vw,70px); letter-spacing: -.03em; line-height: .98; margin: 0 0 28px; }
.home-grant-copy > p:not(.eyebrow,.home-grant-status,.home-grant-trust) { color: rgba(252,248,241,.7); font-size: 15px; line-height: 1.8; margin: 0; max-width: 610px; }
.home-grant-facts { border-bottom: 1px solid rgba(216,197,170,.25); border-top: 1px solid rgba(216,197,170,.25); display: grid; grid-template-columns: repeat(3,1fr); margin: 38px 0; }
.home-grant-facts p { border-right: 1px solid rgba(216,197,170,.2); margin: 0; padding: 22px 16px 22px 0; }
.home-grant-facts p:not(:first-child) { padding-left: 16px; }
.home-grant-facts p:last-child { border-right: 0; }
.home-grant-facts strong,
.home-grant-facts span { display: block; }
.home-grant-facts strong { color: var(--st-gold); font: 500 30px "EB Garamond",serif; }
.home-grant-facts span { color: rgba(252,248,241,.6); font-size: 8px; font-weight: 800; letter-spacing: .1em; margin-top: 5px; text-transform: uppercase; }
.home-grant-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px 28px; }
.home-grant-actions .button { background: var(--st-gold); color: var(--st-primary); gap: 28px; }
.home-grant-actions .button:hover { background: var(--st-ivory); color: var(--st-primary); }
.home-grant-actions .button span { font-size: 18px; }
.home-grant-story-link { border-bottom: 1px solid rgba(252,248,241,.45); color: var(--st-ivory); font-size: 9px; font-weight: 800; letter-spacing: .12em; padding: 10px 0 8px; text-transform: uppercase; }
.home-grant-story-link:hover { border-color: var(--st-gold); color: var(--st-gold); }
.home-grant-trust { color: rgba(252,248,241,.5); font-size: 9px; letter-spacing: .04em; margin: 22px 0 0; }
.home-grant-trust span { color: #a8bda0; margin-right: 5px; }
.stitch-hope-story {
  align-items: center;
  background: #fbf1f1;
  border-bottom: 1px solid var(--st-sand);
  border-top: 1px solid var(--st-sand);
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 5fr 6fr;
  padding: 120px max(var(--st-pad), calc((100vw - 1312px) / 2));
}
.stitch-hope-image { height: 500px; overflow: hidden; }
.stitch-hope-image img { height: 100%; object-fit: cover; width: 100%; }
.stitch-hope-copy { max-width: 600px; }
.stitch-hope-copy .eyebrow { align-items: center; display: flex; gap: 16px; }
.stitch-hope-copy .eyebrow > span { background: var(--st-rose); height: 1px; width: 48px; }
.stitch-hope-copy h2 { font-size: clamp(40px, 4vw, 52px); line-height: 1.12; margin: 0 0 28px; }
.stitch-hope-copy > p { color: var(--st-muted); line-height: 1.75; margin: 0 0 28px; max-width: 540px; }
.stitch-hope-copy .text-link { color: var(--st-primary); display: inline-block; }

/* Footer */
.footer {
  background: var(--st-primary);
  border-top: 1px solid var(--st-gold);
  color: var(--st-ivory);
  display: grid;
  gap: 70px 24px;
  grid-template-columns: 5fr 7fr;
  padding: 100px max(var(--st-pad), calc((100vw - 1312px) / 2)) 32px;
}
.footer-brand > a { font: 500 clamp(36px, 4vw, 50px)/1 "EB Garamond", serif; }
.footer-brand p { color: rgba(252,248,241,.72); line-height: 1.75; max-width: 420px; }
.footer-links { display: flex; gap: clamp(60px, 8vw, 120px); justify-content: flex-end; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links .eyebrow { color: var(--st-gold); margin-bottom: 8px; }
.footer-links a { color: rgba(252,248,241,.8); font: 400 16px/1.5 "Manrope", sans-serif; }
.footer-links a:hover { color: var(--st-gold); }
.footer-note { border-top: 1px solid rgba(183,139,75,.35); color: rgba(252,248,241,.55); display: flex; font-size: 9px; grid-column: 1 / -1; justify-content: space-between; letter-spacing: .12em; padding-top: 28px; text-transform: uppercase; }

/* About */
.about-page { background: var(--st-parchment); }
.stitch-about { margin: 0 auto; max-width: var(--st-max); padding: 120px var(--st-pad); }
.about-hero { align-items: center; border-bottom: 1px solid var(--st-sand); display: grid; gap: 24px; grid-template-columns: repeat(12, 1fr); padding: 0 0 120px; }
.about-hero > div { grid-column: 2 / span 5; }
.about-hero h1 { font-size: clamp(48px, 5vw, 66px); font-style: italic; line-height: 1.08; margin: 0 0 28px; }
.about-hero p { color: var(--st-muted); font-size: 18px; line-height: 1.6; max-width: 430px; }
.about-hero figure { aspect-ratio: 3/4; background: var(--st-ivory); border: 1px solid var(--st-sand); grid-column: 7 / span 5; margin: 0; padding: 8px; }
.about-hero img { height: 100%; object-fit: cover; width: 100%; }
.about-story { display: grid; gap: 24px; grid-template-columns: repeat(12,1fr); padding: 120px 0; }
.about-story > .eyebrow { grid-column: 1 / span 4; position: sticky; top: 120px; }
.about-story > div { grid-column: 5 / span 6; }
.about-story h2,
.about-pillars h2 { font-size: 34px; margin: 0 0 28px; }
.about-story .prose { color: var(--st-muted); font-size: 16px; line-height: 1.8; }
.about-quote { align-items: center; display: flex; flex-direction: column; min-height: 430px; padding: 100px 20px; position: relative; text-align: center; }
.about-quote::before { border-left: 1px solid rgba(216,197,170,.45); border-right: 1px solid rgba(216,197,170,.45); content: ""; height: 100%; left: calc(50% - 100px); position: absolute; top: 0; width: 200px; }
.about-quote blockquote { color: var(--st-primary); font: italic 500 clamp(38px, 4.5vw, 54px)/1.18 "EB Garamond", serif; margin: auto; max-width: 850px; position: relative; }
.about-quote span { background: var(--st-gold); height: 1px; margin-top: 30px; width: 48px; }
.about-pillars { align-items: center; border-bottom: 1px solid var(--st-sand); display: grid; gap: 24px; grid-template-columns: repeat(12,1fr); padding: 0 0 120px; }
.about-pillars figure { aspect-ratio: 4/5; grid-column: 1 / span 5; margin: 0; }
.about-pillars img { height: 100%; object-fit: cover; width: 100%; }
.about-pillars > div { grid-column: 7 / span 5; }
.about-pillars > div > p:not(.eyebrow) { color: var(--st-muted); line-height: 1.8; }
.about-connect { padding: 110px 0 0; text-align: center; }
.about-connect > div { display: flex; gap: 30px; justify-content: center; }
.about-connect a { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Wear Hope */
.wearhope-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 0 var(--st-pad); }
.wearhope-hero { align-items: center; background: var(--st-primary); display: flex; flex-direction: column; min-height: 740px; overflow: hidden; padding: 120px 20px; position: relative; text-align: center; }
.wearhope-hero::after { background: linear-gradient(rgba(53,23,27,.68),rgba(53,23,27,.82)); content: ""; inset: 0; position: absolute; }
.wearhope-hero-image { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.wearhope-hero > *:not(.wearhope-hero-image) { position: relative; z-index: 2; }
.wearhope-hero h1 { color: var(--st-ivory); font-size: clamp(50px, 6vw, 70px); line-height: 1.06; margin: 0; max-width: 1100px; }
.wearhope-hero > p:not(.eyebrow) { color: rgba(252,248,241,.82); font: italic 500 clamp(28px, 3.7vw, 46px)/1.2 "EB Garamond",serif; margin: 28px auto 36px; max-width: 850px; }
.wearhope-paths { border-top: 1px solid var(--st-gold); display: grid; grid-template-columns: 1fr 1fr; padding: 120px 0; }
.wearhope-paths a { align-items: center; border-bottom: 1px solid var(--st-sand); display: grid; gap: 20px; grid-template-columns: 45px 1fr auto; min-height: 160px; padding: 28px 35px; }
.wearhope-paths a:nth-child(odd) { border-right: 1px solid var(--st-sand); }
.wearhope-paths span { color: var(--st-gold); font: 500 18px "EB Garamond",serif; }
.wearhope-paths h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0; text-transform: uppercase; }
.wearhope-paths b { color: var(--st-gold); font-size: 28px; font-weight: 400; }
.wearhope-page .campaign-one-liner { margin-left: calc(var(--st-pad) * -1); margin-right: calc(var(--st-pad) * -1); }
.wearhope-funds { border-top: 1px solid var(--st-gold); }
.wearhope-funds article { min-height: 560px; }
.wearhope-funds small { border-top: 1px solid var(--st-sand); display: block; margin-top: 35px; padding-top: 18px; }
.wearhope-page .event-card { margin-left: calc(var(--st-pad) * -1); margin-right: calc(var(--st-pad) * -1); }

/* Shop */
.shop-page .shop-intro,
.shop-page .shop-toolbar,
.shop-page .shop-page-grid,
.shop-page .patron-banner { margin-left: auto; margin-right: auto; max-width: var(--st-max); }
.shop-page .shop-intro { background: transparent; border-bottom: 1px solid var(--st-sand); padding: 120px var(--st-pad) 34px; }
.shop-page .shop-intro h1 { font-size: clamp(44px, 4vw, 52px); letter-spacing: 0; line-height: 1.1; margin-bottom: 24px; }
.shop-page .shop-intro > p:last-child { color: var(--st-muted); font-size: 17px; line-height: 1.7; max-width: 680px; opacity: 1; }
.shop-page .shop-toolbar { border-bottom: 1px solid var(--st-sand); padding: 30px var(--st-pad); }
.shop-toolbar > div { align-items: center; }
.shop-toolbar > div > span,
.shop-toolbar > label { color: #827474; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.shop-toolbar button { border: 1px solid var(--st-sand); border-radius: 20px; padding: 8px 18px; }
.shop-toolbar button.active { background: var(--st-ivory); border-color: var(--st-gold); color: var(--st-gold); }
.shop-toolbar select { border: 0; border-bottom: 1px solid var(--st-sand); min-height: 38px; padding: 6px 26px 6px 8px; width: auto; }
.shop-page-grid { gap: 80px 24px; padding: 70px var(--st-pad) 120px; }
.shop-card-image { background: var(--st-sand); border: 1px solid var(--st-sand); border-radius: 2px; }
.shop-card-image > a { display: block; height: 100%; }
.quick-add { background: var(--st-ivory); border: 0; bottom: 16px; color: var(--st-primary); cursor: pointer; font-size: 10px; font-weight: 800; left: 16px; letter-spacing: .12em; opacity: 0; padding: 15px; position: absolute; right: 16px; text-transform: uppercase; transform: translateY(15px); transition: .3s ease; }
.shop-card:hover .quick-add { opacity: 1; transform: none; }
.shop-card-meta { align-items: start; border: 0; margin-top: 16px; padding: 0; }
.shop-card-meta h3 { font-size: 25px; margin-bottom: 5px; }
.shop-card-meta .product-category { color: var(--st-muted); font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.shop-card-meta .price { font: 500 20px "EB Garamond",serif; white-space: nowrap; }

/* Product */
.product-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 120px var(--st-pad); }
.stitch-product-detail { display: grid; gap: clamp(40px, 6vw, 90px); grid-template-columns: 7fr 4fr; }
.stitch-product-gallery { display: grid; gap: 18px; grid-template-columns: 95px 1fr; }
.product-thumbnails { display: flex; flex-direction: column; gap: 14px; }
.product-thumbnails button { aspect-ratio: 4/5; background: transparent; border: 1px solid var(--st-sand); cursor: pointer; opacity: .58; padding: 0; }
.product-thumbnails button.active { border-color: var(--st-gold); opacity: 1; }
.product-thumbnails img { height: 100%; object-fit: cover; width: 100%; }
.product-main-image { aspect-ratio: 4/5; background: var(--st-sand); overflow: hidden; }
.product-main-image img { height: 100%; object-fit: cover; width: 100%; }
.stitch-product-detail .product-info { align-self: start; padding: 0; position: sticky; top: 118px; }
.stitch-product-detail .product-info h1 { font-size: clamp(43px, 4vw, 54px); line-height: 1.08; margin: 0 0 10px; }
.stitch-product-detail .product-category { color: #827474; margin-bottom: 24px; }
.stitch-product-detail .detail-price { font: 500 28px "EB Garamond",serif; margin-bottom: 26px; }
.stitch-product-detail .lead { color: var(--st-muted); line-height: 1.75; }
.stitch-product-detail fieldset { border: 0; border-top: 1px solid var(--st-sand); margin: 35px 0 24px; padding: 24px 0 0; }
.stitch-product-detail .option-row { display: grid; grid-template-columns: repeat(4,1fr); }
.stitch-product-detail .option-row button { border: 1px solid var(--st-sand); margin-left: -1px; min-height: 48px; }
.stitch-product-detail .option-row button.active { border-color: var(--st-gold); position: relative; }
.stitch-product-detail .button + .button { margin-top: 10px; }
.product-accordions { border-top: 1px solid var(--st-sand); margin-top: 32px; }
.product-accordions details { border-bottom: 1px solid var(--st-sand); padding: 18px 0; }
.product-accordions summary { cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-accordions p { color: var(--st-muted); line-height: 1.7; }
.complete-look { border-top: 1px solid var(--st-sand); margin-top: 120px; padding-top: 70px; }
.complete-look > div:first-child { margin-bottom: 34px; }
.complete-look h2 { font-size: 48px; margin: 0; }
.complete-look-grid { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
.complete-look-grid img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.complete-look-grid h3 { font-size: 24px; margin: 16px 0 4px; }
.complete-look-grid p { color: var(--st-muted); margin: 0; }

/* Gallery */
.gallery-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 100px var(--st-pad) 120px; }
.gallery-page .simple-title { background: transparent; padding: 0 0 70px; text-align: center; }
.gallery-page .simple-title h1 { font-size: 66px; margin-bottom: 22px; }
.gallery-page .simple-title > p:last-of-type { margin-left: auto; margin-right: auto; }
.gallery-page .filter-row { border: 0; justify-content: center; margin-top: 32px; padding: 0; }
.gallery-page .gallery-grid { column-count: 3; column-gap: 24px; padding: 0; }
.gallery-page .gallery-grid figure { margin-bottom: 24px; overflow: hidden; position: relative; }
.gallery-page .gallery-grid img { aspect-ratio: auto; min-height: 360px; object-fit: cover; transition: transform .7s ease; }
.gallery-page .gallery-grid figure:nth-child(2) img { height: 600px; }
.gallery-page .gallery-grid figure:nth-child(4) img { height: 500px; }
.gallery-page .gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-page .gallery-grid figcaption { background: linear-gradient(transparent, rgba(24,2,5,.86)); border: 0; bottom: 0; color: var(--st-ivory); left: 0; opacity: 0; padding: 80px 22px 20px; position: absolute; right: 0; transition: opacity .3s ease; }
.gallery-page .gallery-grid figure:hover figcaption { opacity: 1; }
.gallery-page .gallery-grid figcaption strong,
.gallery-page .gallery-grid figcaption span { display: block; }
.gallery-page .gallery-grid figcaption strong { font: 500 25px "EB Garamond",serif; letter-spacing: 0; text-transform: none; }
.gallery-page .gallery-grid figcaption span { color: rgba(252,248,241,.8); letter-spacing: 0; margin-top: 6px; text-transform: none; }

/* Contact, Patron, Grant */
.contact-page .public-main,
.grant-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 120px var(--st-pad); }
.contact-intro { display: grid; gap: clamp(50px,8vw,120px); grid-template-columns: 5fr 6fr; }
.contact-intro > div > h1,
.grant-intro > div > h1 { font-size: clamp(52px,5vw,68px); line-height: 1.06; margin: 0 0 30px; }
.contact-intro > div > p:not(.eyebrow),
.grant-intro > div > p:not(.eyebrow) { color: var(--st-muted); font-size: 17px; line-height: 1.75; }
.contact-intro > div > img { height: 330px; margin-top: 45px; object-fit: cover; width: 100%; }
.atelier-details { border-top: 1px solid var(--st-gold); margin-top: 45px; padding-top: 24px; }
.atelier-details h2 { font-size: 28px; margin: 0 0 18px; }
.atelier-details p { color: var(--st-muted); line-height: 1.6; }
.atelier-details span { color: #827474; display: block; font-size: 9px; font-weight: 800; letter-spacing: .14em; margin-bottom: 3px; text-transform: uppercase; }
.stitch-form { background: var(--st-ivory); border: 1px solid var(--st-sand); padding: clamp(28px,4.5vw,64px); }
.stitch-form label { color: var(--st-primary); }
.stitch-form input,
.stitch-form textarea,
.stitch-form select { background: transparent; border: 0; border-bottom: 1px solid var(--st-sand); padding-left: 0; padding-right: 0; }
.stitch-form .button { margin-top: 22px; }
.patron-page { background: var(--st-primary); }
.patron-page .public-header { background: rgba(53,23,27,.96); border-color: rgba(183,139,75,.45); color: var(--st-ivory); }
.patron-page .public-nav a { color: rgba(252,248,241,.72); }
.patron-page .public-nav a.active { color: var(--st-ivory); }
.patron-page .public-main { background: var(--st-primary); padding: 90px var(--st-pad); }
.patron-intro { display: grid; gap: clamp(50px,7vw,100px); grid-template-columns: 1fr 1fr; margin: 0 auto; max-width: 1312px; }
.patron-intro figure { margin: 0; min-height: 760px; }
.patron-intro figure img { height: 100%; object-fit: cover; width: 100%; }
.patron-intro > div { align-self: center; color: var(--st-ivory); }
.patron-intro h1 { color: var(--st-gold); font-size: 64px; margin: 0 0 24px; }
.patron-intro > div > p:not(.eyebrow) { color: rgba(252,248,241,.72); line-height: 1.75; }
.patron-intro .stitch-form { background: transparent; border: 0; margin-top: 35px; padding: 0; }
.patron-intro .stitch-form label { color: var(--st-ivory); }
.patron-intro .stitch-form input,
.patron-intro .stitch-form textarea { border-color: rgba(216,197,170,.55); color: white; }
.patron-intro .stitch-form .button { background: var(--st-gold); color: var(--st-primary); }
.grant-page .public-main { max-width: none; padding-bottom: 130px; }
.grant-welcome,
.grant-form-shell,
.grant-closed { margin-left: auto; margin-right: auto; max-width: 1312px; }
.grant-welcome { align-items: stretch; display: grid; gap: clamp(50px,7vw,105px); grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); min-height: 680px; }
.grant-welcome-copy { align-self: center; padding: 35px 0; }
.grant-cycle-badge { align-items: center; color: #8c442f; display: inline-flex; font-size: 9px; font-weight: 800; gap: 9px; letter-spacing: .15em; margin: 0 0 54px; text-transform: uppercase; }
.grant-cycle-badge span { background: #6c846c; border: 4px solid #dce4d9; border-radius: 50%; height: 13px; width: 13px; }
.grant-welcome-copy h1 { color: var(--st-primary); font-size: clamp(58px,5.6vw,82px); letter-spacing: -.035em; line-height: .98; margin: 15px 0 30px; max-width: 720px; }
.grant-welcome-copy > p:not(.eyebrow,.grant-cycle-badge,.grant-save-note) { color: var(--st-muted); font-size: 17px; line-height: 1.8; max-width: 650px; }
.grant-start { gap: 34px; margin-top: 25px; min-width: 245px; }
.grant-start span { font-size: 17px; }
.grant-save-note { align-items: center; color: #827474; display: flex; font-size: 10px; gap: 8px; letter-spacing: .04em; margin-top: 17px; }
.grant-save-note span { color: #60765f; }
.grant-overview { background: var(--st-parchment); border-top: 3px solid var(--st-gold); padding: clamp(40px,5vw,65px); }
.grant-overview h2 { color: var(--st-primary); font-size: 43px; margin: 12px 0 12px; }
.grant-overview > p:not(.eyebrow) { color: var(--st-muted); font-size: 13px; line-height: 1.7; }
.grant-overview-list { list-style: none; margin: 35px 0; padding: 0; }
.grant-overview-list li { align-items: center; border-bottom: 1px solid var(--st-sand); display: grid; gap: 19px; grid-template-columns: 38px 1fr; padding: 17px 0; }
.grant-overview-list li:first-child { border-top: 1px solid var(--st-sand); }
.grant-overview-list li > span { color: var(--st-gold); font: 500 20px "EB Garamond",serif; }
.grant-overview-list strong,
.grant-overview-list small { display: block; }
.grant-overview-list strong { color: var(--st-primary); font: 500 20px "EB Garamond",serif; }
.grant-overview-list small { color: #827474; font-size: 10px; margin-top: 3px; }
.grant-privacy { border-left: 2px solid var(--st-gold); padding: 5px 0 5px 18px; }
.grant-privacy strong { color: var(--st-primary); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.grant-privacy p { color: #827474; font-size: 11px; line-height: 1.65; margin: 7px 0 0; }
.grant-closed { padding: 70px 0; text-align: center; }
.grant-closed > h1 { color: var(--st-primary); font-size: clamp(54px,6vw,76px); margin: 12px 0 55px; }
.grant-closed .closed-card { border: 1px solid var(--st-sand); margin: 0 auto; max-width: 740px; }

.grant-form-shell { background: var(--st-ivory); border: 1px solid var(--st-sand); display: grid; grid-template-columns: 270px minmax(0,1fr); min-height: 760px; overflow: hidden; }
.grant-form-sidebar { background: var(--st-primary); color: var(--st-ivory); display: flex; flex-direction: column; padding: 35px 25px 28px; }
.grant-form-brand { align-items: center; border-bottom: 1px solid rgba(252,248,241,.17); display: flex; gap: 12px; padding: 0 5px 28px; }
.grant-form-brand img { border: 1px solid var(--st-gold); border-radius: 50%; height: 38px; object-fit: cover; width: 38px; }
.grant-form-brand span { color: var(--st-gold); font: 500 25px "EB Garamond",serif; }
.grant-step-count { color: rgba(252,248,241,.56); font-size: 8px; font-weight: 800; letter-spacing: .18em; margin: 32px 8px 20px; text-transform: uppercase; }
.grant-step-nav { display: flex; flex-direction: column; }
.grant-step-link { align-items: center; background: transparent; border: 0; border-left: 1px solid rgba(252,248,241,.16); color: rgba(252,248,241,.46); cursor: pointer; display: grid; gap: 13px; grid-template-columns: 31px 1fr; min-height: 59px; padding: 0 13px; text-align: left; }
.grant-step-link span { align-items: center; border: 1px solid rgba(252,248,241,.25); border-radius: 50%; display: flex; font-size: 8px; height: 27px; justify-content: center; letter-spacing: 0; width: 27px; }
.grant-step-link strong { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.grant-step-link.active { background: rgba(252,248,241,.08); border-left-color: var(--st-gold); color: white; }
.grant-step-link.active span { background: var(--st-gold); border-color: var(--st-gold); color: var(--st-primary); }
.grant-step-link.complete { color: rgba(252,248,241,.76); }
.grant-step-link.complete span { border-color: var(--st-gold); color: var(--st-gold); }
.grant-step-link:disabled { cursor: default; opacity: .55; }
.grant-sidebar-footer { border-top: 1px solid rgba(252,248,241,.17); margin-top: auto; padding: 23px 6px 0; }
.grant-sidebar-footer p { color: rgba(252,248,241,.55); font-size: 8px; letter-spacing: .08em; margin: 0 0 10px; }
.grant-sidebar-footer button { background: transparent; border: 0; color: var(--st-gold); cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .13em; padding: 0; text-transform: uppercase; }

.grant-form-main { padding: clamp(42px,6vw,78px) clamp(30px,6.3vw,86px); }
.grant-step-panel { display: none; }
.grant-step-panel.active { display: block; }
.grant-step-panel > header { border-bottom: 1px solid var(--st-sand); margin-bottom: 35px; padding-bottom: 27px; }
.grant-step-panel > header h2 { color: var(--st-primary); font-size: clamp(42px,4.2vw,56px); line-height: 1.02; margin: 10px 0 12px; }
.grant-step-panel > header > p:last-child { color: var(--st-muted); font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.grant-fields { display: grid; gap: 5px; }
.grant-fields label { color: var(--st-primary); }
.grant-fields label small { color: #8b7c75; float: right; font-size: 8px; font-weight: 600; letter-spacing: .04em; }
.grant-fields input,
.grant-fields textarea,
.grant-fields select { background: #fffaf3; border: 1px solid var(--st-sand); font-size: 13px; letter-spacing: 0; outline: none; padding: 13px 14px; text-transform: none; transition: border-color .2s,box-shadow .2s; }
.grant-fields input:focus,
.grant-fields textarea:focus,
.grant-fields select:focus { border-color: var(--st-gold); box-shadow: 0 0 0 2px rgba(183,139,75,.12); }
.grant-fields fieldset { border: 0; border-top: 1px solid var(--st-sand); margin: 25px 0 10px; padding: 27px 0 0; }
.grant-fields legend { color: var(--st-primary); font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 0 14px 0 0; text-transform: uppercase; }
.grant-name-grid { display: grid; gap: 16px; grid-template-columns: .45fr 1fr 1fr; }
.grant-address-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr 1.15fr; }
.grant-upload-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.grant-upload { background: var(--st-parchment); border: 1px dashed #cbb999; min-height: 155px; padding: 23px; }
.grant-upload > span,
.grant-upload > small { display: block; float: none !important; }
.grant-upload > span { font-size: 10px; }
.grant-upload > small { line-height: 1.55; margin: 8px 0 13px; text-transform: none; }
.grant-upload input { background: transparent; border: 0; font-size: 10px; margin: 0; min-height: 0; padding: 0; }
.grant-upload input::file-selector-button { background: var(--st-primary); border: 0; color: white; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .1em; margin-right: 10px; padding: 10px 12px; text-transform: uppercase; }
.grant-radio-grid { display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); margin-top: 17px; }
.grant-radio-grid.two { grid-template-columns: repeat(2,1fr); }
.grant-radio-grid label { align-items: center; background: #fffaf3; border: 1px solid var(--st-sand); cursor: pointer; display: flex; gap: 10px; margin: 0; padding: 16px; }
.grant-radio-grid input { accent-color: var(--st-primary); box-shadow: none; height: 17px; margin: 0; min-height: 0; padding: 0; width: 17px; }
.grant-radio-grid span { font-size: 10px; }
.grant-step-actions { align-items: center; border-top: 1px solid var(--st-sand); display: flex; justify-content: space-between; margin-top: 48px; padding-top: 28px; }
.grant-step-actions .button { gap: 20px; }
.grant-step-actions .button-outline { color: var(--st-primary); }
.grant-review { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; }
.grant-review-section { background: var(--st-parchment); border-top: 2px solid var(--st-gold); padding: 23px; }
.grant-review-section h3 { color: var(--st-primary); font-size: 25px; margin: 0 0 16px; }
.grant-review-section p { border-top: 1px solid var(--st-sand); margin: 0; padding: 11px 0; }
.grant-review-section span,
.grant-review-section strong { display: block; }
.grant-review-section span { color: #827474; font-size: 8px; font-weight: 800; letter-spacing: .11em; margin-bottom: 4px; text-transform: uppercase; }
.grant-review-section strong { color: var(--st-charcoal); font-size: 11px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.grant-consent { border-bottom: 1px solid var(--st-sand); border-top: 1px solid var(--st-sand); margin-top: 28px; padding: 12px 0; }
.grant-consent label { align-items: flex-start; display: flex; gap: 13px; line-height: 1.65; margin: 15px 0; text-transform: none; }
.grant-consent input { accent-color: var(--st-primary); flex: 0 0 18px; height: 18px; margin: 1px 0 0; min-height: 0; padding: 0; width: 18px; }
.grant-consent span { color: var(--st-charcoal); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.grant-file-note { color: #827474; font-size: 10px; line-height: 1.7; }

/* Checkout */
.checkout-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 0 var(--st-pad); }
.checkout-progress { align-items: center; display: flex; justify-content: center; margin: 0 auto; max-width: 780px; padding: 45px 20px 0; }
.checkout-progress span { align-items: center; border: 1px solid var(--st-sand); border-radius: 50%; color: #827474; display: flex; font-size: 10px; height: 28px; justify-content: center; width: 28px; }
.checkout-progress span.active { background: var(--st-primary); border-color: var(--st-primary); color: white; }
.checkout-progress b { color: var(--st-muted); font-size: 9px; letter-spacing: .12em; margin-left: 8px; text-transform: uppercase; }
.checkout-progress i { background: var(--st-sand); height: 1px; margin: 0 20px; width: 70px; }
.checkout-page .checkout { gap: clamp(50px,7vw,100px); grid-template-columns: 7fr 4fr; padding: 80px 0 120px; }
.checkout-heading h1 { font-size: 56px; margin: 0 0 50px; }
.checkout-page .checkout form > section { margin-bottom: 55px; }
.checkout-page .checkout form h2 { border-bottom: 1px solid var(--st-sand); border-top: 0; font-size: 42px; margin: 0 0 25px; padding: 0 0 12px; }
.checkout-page input,
.checkout-page textarea,
.checkout-page select { background: var(--st-ivory); border-color: var(--st-sand); }
.checkout-page .payment-options { grid-template-columns: 1fr 1fr; }
.checkout-page .payment-options label { background: var(--st-ivory); min-height: 92px; }
.checkout-page .payment-options strong { font: 500 20px "EB Garamond",serif; }
.secure-note { color: #827474; font-size: 9px; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.checkout-page .order-summary { background: var(--st-ivory); border: 1px solid var(--st-sand); padding: 34px; top: 112px; }
.checkout-page .order-summary > .eyebrow { border-bottom: 1px solid var(--st-sand); color: var(--st-primary); font: 500 32px "EB Garamond",serif; letter-spacing: 0; padding-bottom: 16px; text-transform: none; }
.checkout-hope-note { background: var(--st-primary); color: var(--st-ivory); margin: 30px -34px -34px; padding: 24px 34px; }
.checkout-hope-note strong,
.checkout-hope-note span { display: block; }
.checkout-hope-note strong { color: var(--st-gold); font: 500 25px "EB Garamond",serif; }
.checkout-hope-note span { font-size: 11px; margin-top: 5px; }

/* Confirmation */
.confirmation-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 120px var(--st-pad); }
.confirmation { background: transparent; display: grid; gap: 90px; grid-template-columns: 7fr 5fr; min-height: 0; padding: 0; text-align: left; }
.confirmation-main h1 { font-size: clamp(52px,5vw,66px); line-height: 1.08; margin: 0 0 28px; }
.confirmation-main > p:not(.eyebrow) { color: var(--st-muted); line-height: 1.75; margin: 0 0 36px; max-width: 620px; }
.confirmation-meta { border-bottom: 1px solid var(--st-sand); border-top: 1px solid var(--st-sand); display: grid; grid-template-columns: repeat(3,1fr); }
.confirmation-meta p { margin: 0; padding: 22px 15px 22px 0; }
.confirmation-meta span,
.confirmation-meta strong { display: block; }
.confirmation-meta span { color: #827474; font-size: 9px; font-weight: 800; letter-spacing: .13em; margin-bottom: 8px; text-transform: uppercase; }
.confirmation-meta strong { color: var(--st-primary); font: 500 20px "EB Garamond",serif; }
.confirmation-note { background: var(--st-primary); color: var(--st-ivory); padding: 55px; }
.confirmation-note blockquote { font: italic 500 34px/1.2 "EB Garamond",serif; margin: 0 0 25px; }
.confirmation-note > p:not(.eyebrow) { color: rgba(252,248,241,.7); line-height: 1.7; }
.confirmation-note img { height: 340px; margin-top: 35px; object-fit: cover; width: 100%; }

/* Journal */
.journal-page .public-main { margin: 0 auto; max-width: var(--st-max); padding: 100px var(--st-pad) 120px; }
.journal-page .simple-title { background: transparent; padding: 0 0 80px; text-align: center; }
.journal-page .simple-title h1 { font-size: 66px; margin-bottom: 18px; }
.journal-page .simple-title > p:last-child { margin-left: auto; margin-right: auto; }
.journal-page .journal-grid { gap: 24px; padding: 0; }
.journal-page .journal-card { border: 1px solid var(--st-sand); }
.journal-page .journal-card.featured { grid-template-columns: 2fr 1fr; }
.journal-page .journal-card > div { padding: 36px; }

/* Cart drawer tracks the dedicated Stitch bag screen. */
.cart-drawer { background: var(--st-ivory); border-left: 1px solid var(--st-sand); box-shadow: -10px 0 50px rgba(53,23,27,.12); }
.drawer-title { border-bottom-color: var(--st-sand); }
.drawer-title h2 { color: var(--st-primary); font-size: 42px; }

@media (max-width: 980px) {
  .public-header-inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .public-header .wordmark img { height: 28px; width: 28px; }
  .public-header .wordmark-name { font-size: 22px; }
  .public-nav { background: var(--st-surface); border-bottom: 1px solid var(--st-sand); display: none; left: 0; padding: 86px 20px 28px; position: absolute; right: 0; top: 0; z-index: -1; }
  .public-nav.is-open { display: flex; }
  .public-nav a { color: var(--st-primary); min-height: 40px; }
  .header-actions { grid-column: 2; }
  .menu-button { display: block; }
  .stitch-home-hero { grid-template-columns: 1fr; padding-bottom: 80px; padding-top: 45px; }
  .stitch-home-copy { grid-column: 1; grid-row: 2; margin-top: 30px; }
  .stitch-home-image { grid-column: 1; grid-row: 1; height: 62vh; min-height: 480px; }
  .stitch-home-hero::after { display: none; }
  .home-grant-feature { grid-template-columns: 1fr; }
  .home-grant-portrait { min-height: 560px; }
  .home-grant-copy { padding-bottom: 90px; padding-top: 90px; }
  .stitch-hope-story { grid-template-columns: 1fr; padding-bottom: 80px; padding-top: 80px; }
  .stitch-hope-image { height: 480px; }
  .about-hero > div { grid-column: 1 / span 6; }
  .about-hero figure { grid-column: 7 / span 6; }
  .about-story > .eyebrow { grid-column: 1 / span 4; }
  .about-story > div { grid-column: 5 / span 8; }
  .about-pillars figure { grid-column: 1 / span 6; }
  .about-pillars > div { grid-column: 7 / span 6; }
  .stitch-product-detail { grid-template-columns: 1fr; }
  .stitch-product-detail .product-info { position: static; }
  .contact-intro,
  .patron-intro { grid-template-columns: 1fr; }
  .patron-intro figure { min-height: 600px; }
  .grant-welcome { gap: 45px; grid-template-columns: 1fr; }
  .grant-form-shell { grid-template-columns: 220px minmax(0,1fr); }
  .grant-form-sidebar { padding-left: 18px; padding-right: 18px; }
  .grant-form-main { padding-left: 40px; padding-right: 40px; }
  .grant-name-grid { grid-template-columns: .55fr 1fr 1fr; }
  .checkout-page .checkout { grid-template-columns: 1fr; }
  .checkout-page .order-summary { grid-row: 1; position: static; }
  .confirmation { gap: 50px; grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .stitch-home-hero { min-height: 0; padding-left: 20px; padding-right: 20px; }
  .stitch-home-image { height: 58vh; min-height: 430px; }
  .stitch-home-image span { bottom: -12px; height: 80px; left: -10px; width: 80px; }
  .stitch-home-copy h1 { font-size: 48px; }
  .stitch-home-copy .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .stitch-home-copy .button { width: 100%; }
  .home-grant-portrait { min-height: 400px; }
  .home-grant-portrait figcaption { bottom: 25px; left: 25px; }
  .home-grant-copy { padding: 60px 20px; }
  .home-grant-copy .eyebrow { margin-top: 38px; }
  .home-grant-copy h2 { font-size: 48px; }
  .home-grant-facts p { padding: 19px 8px 19px 0; }
  .home-grant-facts p:not(:first-child) { padding-left: 8px; }
  .home-grant-facts strong { font-size: 26px; }
  .home-grant-facts span { font-size: 7px; letter-spacing: .06em; }
  .home-grant-actions { align-items: stretch; flex-direction: column; }
  .home-grant-actions .button { width: 100%; }
  .home-grant-story-link { align-self: flex-start; }
  .stitch-hope-story { padding: 70px 20px; }
  .stitch-hope-image { height: 410px; }
  .stitch-hope-copy h2 { font-size: 38px; }
  .footer { gap: 45px; grid-template-columns: 1fr; padding: 70px 20px 28px; }
  .footer-links { justify-content: flex-start; }
  .footer-note { align-items: flex-start; flex-direction: column; gap: 8px; grid-column: 1; }
  .stitch-about { padding: 70px 20px; }
  .about-hero { grid-template-columns: 1fr; padding-bottom: 70px; }
  .about-hero figure { grid-column: 1; grid-row: 1; }
  .about-hero > div { grid-column: 1; grid-row: 2; }
  .about-story { grid-template-columns: 1fr; padding: 70px 0; }
  .about-story > .eyebrow,
  .about-story > div { grid-column: 1; position: static; }
  .about-quote { min-height: 380px; padding: 70px 0; }
  .about-pillars { grid-template-columns: 1fr; padding-bottom: 70px; }
  .about-pillars figure,
  .about-pillars > div { grid-column: 1; }
  .about-connect > div { align-items: center; flex-direction: column; gap: 14px; }
  .about-connect > div span { display: none; }
  .wearhope-page .public-main { padding-left: 20px; padding-right: 20px; }
  .wearhope-hero { min-height: 620px; padding: 90px 0; }
  .wearhope-hero h1 { font-size: 45px; }
  .wearhope-paths { grid-template-columns: 1fr; padding: 70px 0; }
  .wearhope-paths a:nth-child(odd) { border-right: 0; }
  .wearhope-page .campaign-one-liner,
  .wearhope-page .event-card { margin-left: -20px; margin-right: -20px; }
  .shop-page .shop-intro { padding-top: 80px; }
  .shop-page-grid { gap: 55px; grid-template-columns: 1fr; }
  .quick-add { opacity: 1; transform: none; }
  .product-page .public-main { padding: 70px 20px; }
  .stitch-product-gallery { grid-template-columns: 1fr; }
  .product-thumbnails { flex-direction: row; grid-row: 2; overflow-x: auto; }
  .product-thumbnails button { flex: 0 0 74px; }
  .complete-look { margin-top: 80px; }
  .complete-look-grid { grid-template-columns: 1fr; }
  .gallery-page .public-main { padding: 70px 20px; }
  .gallery-page .gallery-grid { column-count: 1; }
  .gallery-page .gallery-grid figcaption { opacity: 1; }
  .contact-page .public-main,
  .grant-page .public-main { padding: 75px 20px; }
  .patron-page .public-main { padding: 55px 20px; }
  .patron-intro figure { min-height: 480px; }
  .patron-intro h1 { font-size: 50px; }
  .grant-page .public-main { padding: 55px 20px 80px; }
  .grant-welcome { grid-template-columns: 1fr; min-height: 0; }
  .grant-welcome-copy { padding: 10px 0; }
  .grant-cycle-badge { margin-bottom: 36px; }
  .grant-welcome-copy h1 { font-size: 52px; }
  .grant-overview { padding: 35px 26px; }
  .grant-form-shell { grid-template-columns: 1fr; overflow: visible; }
  .grant-form-sidebar { padding: 23px 20px 18px; }
  .grant-form-brand { padding-bottom: 18px; }
  .grant-step-count { margin: 20px 0 12px; }
  .grant-step-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: hidden; }
  .grant-step-link { border-bottom: 2px solid rgba(252,248,241,.15); border-left: 0; display: flex; gap: 0; justify-content: center; min-height: 44px; padding: 0; }
  .grant-step-link.active { border-bottom-color: var(--st-gold); border-left: 0; }
  .grant-step-link span { border: 0; height: auto; width: auto; }
  .grant-step-link.active span { background: transparent; color: var(--st-gold); }
  .grant-step-link strong { display: none; }
  .grant-sidebar-footer { align-items: center; display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; }
  .grant-sidebar-footer p { margin: 0; }
  .grant-form-main { padding: 38px 22px; }
  .grant-step-panel > header h2 { font-size: 40px; }
  .grant-name-grid,
  .grant-address-grid,
  .grant-upload-grid,
  .grant-radio-grid,
  .grant-radio-grid.two,
  .grant-review { grid-template-columns: 1fr; }
  .grant-upload { min-height: 0; }
  .grant-step-actions { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
  .grant-step-actions > span:empty { display: none; }
  .grant-step-actions .button { width: 100%; }
  .grant-closed { padding-top: 20px; }
  .checkout-progress b { display: none; }
  .checkout-progress i { margin: 0 10px; width: 45px; }
  .checkout-page .public-main { padding: 0 20px; }
  .checkout-page .checkout { padding-top: 55px; }
  .checkout-page .payment-options { grid-template-columns: 1fr; }
  .confirmation-page .public-main { padding: 75px 20px; }
  .confirmation-meta { grid-template-columns: 1fr; }
  .confirmation-note { padding: 35px 28px; }
  .journal-page .public-main { padding: 70px 20px; }
  .journal-page .journal-card.featured { grid-template-columns: 1fr; }
}

/* Operations screens */
.admin-login-page { background: var(--st-surface); color: var(--st-charcoal); }
.admin-login-page .admin-login { background: var(--st-surface); color: var(--st-charcoal); display: grid; grid-template-columns: 1fr 1fr; margin: 0 auto; max-width: var(--st-max); min-height: 100vh; }
.admin-login-canvas { align-items: center; display: flex; justify-content: center; padding: 100px var(--st-pad); position: relative; }
.admin-login-brand { align-items: center; display: flex; gap: 14px; left: var(--st-pad); position: absolute; top: var(--st-pad); }
.admin-login-brand img { height: 42px; object-fit: contain; width: 42px; }
.admin-login-brand span { color: var(--st-primary); font: 500 24px "EB Garamond",serif; }
.admin-login-card { background: #fbf1f1; border: 1px solid #d4c2c3; max-width: 450px; padding: 40px; width: 100%; }
.admin-login-card header { margin-bottom: 34px; text-align: center; }
.admin-login-card h1 { color: var(--st-primary); font: 500 34px "EB Garamond",serif; margin: 0 0 8px; }
.admin-login-card header p { color: var(--st-muted); margin: 0; }
.admin-login-card label { color: var(--st-gold); }
.admin-login-card input { background: transparent; border: 0; border-bottom: 1px solid var(--st-sand); padding-left: 0; padding-right: 0; }
.admin-login-card .remember-device { align-items: center; color: var(--st-muted); display: flex; font-size: 11px; letter-spacing: 0; margin: 24px 0; text-transform: none; }
.admin-login-card .remember-device input { height: 16px; margin: 0 9px 0 0; min-height: 0; width: 16px; }
.admin-login-card .button { background: var(--st-primary); }
.admin-login-card .button span { font-size: 19px; margin-left: 8px; }
.admin-security-note { bottom: var(--st-pad); color: #827474; font-size: 9px; letter-spacing: .12em; position: absolute; text-align: center; text-transform: uppercase; }
.admin-login-image { border-left: 1px solid #d4c2c3; margin: 0; min-width: 0; overflow: hidden; position: relative; }
.admin-login-image::after { background: rgba(53,23,27,.08); content: ""; inset: 0; position: absolute; }
.admin-login-image img { height: 100%; object-fit: cover; width: 100%; }

.admin-shell { background: var(--st-surface); grid-template-columns: 288px 1fr; }
.admin-nav { background: var(--st-primary); padding: 34px 24px; width: 288px; }
.admin-brand { color: var(--st-ivory); font-size: 33px; padding-bottom: 30px; }
.admin-brand span { color: var(--st-gold); }
.admin-nav nav a { border-left: 1px solid transparent; font-size: 10px; letter-spacing: .05em; padding: 12px 14px; }
.admin-main { background: var(--st-surface); padding: 38px clamp(30px,4vw,64px) 100px; }
.admin-top { border-color: var(--st-sand); margin-bottom: 34px; }
.admin-top h1 { font-size: clamp(44px,4vw,58px); }
.role-badge { background: var(--st-parchment); color: var(--st-primary); }
.stat-grid article,
.admin-card,
.admin-table-card,
.settings-editor,
.theme-manager,
.role-matrix,
.report-controls { background: var(--st-ivory); border-color: var(--st-sand); }
.stat-grid strong { font-size: 42px; }
.admin-table-row { border-color: rgba(216,197,170,.65); }
.page-editor-intro { align-items: center; background: var(--st-primary); color: var(--st-ivory); display: flex; gap: 30px; justify-content: space-between; margin-bottom: 20px; padding: 34px; }
.page-editor-intro h2 { color: var(--st-ivory); font: 500 38px "EB Garamond",serif; margin: 5px 0 10px; }
.page-editor-intro p:not(.eyebrow) { color: rgba(252,248,241,.68); font-size: 11px; line-height: 1.7; margin: 0; max-width: 720px; }
.page-editor-intro .button { color: var(--st-ivory); flex: 0 0 auto; }
.page-editor-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 8px; }
.page-editor-tabs a { background: var(--st-ivory); border: 1px solid var(--st-sand); color: var(--st-muted); flex: 0 0 auto; font-size: 8px; font-weight: 800; letter-spacing: .1em; padding: 11px 14px; text-transform: uppercase; }
.page-editor-tabs a.active { background: var(--st-primary); border-color: var(--st-primary); color: white; }
.page-editor-note { background: #efe3d0; border-left: 3px solid var(--st-gold); color: var(--st-muted); font-size: 10px; line-height: 1.65; margin-bottom: 20px; padding: 14px 18px; }
.page-editor-blocks { display: grid; gap: 20px; }
.page-editor-block { background: var(--st-ivory); border: 1px solid var(--st-sand); padding: 28px; }
.page-editor-block > header { align-items: center; border-bottom: 1px solid var(--st-sand); display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; }
.page-editor-block > header .eyebrow { margin: 0 0 5px; }
.page-editor-block > header h3 { color: var(--st-primary); font: 500 29px "EB Garamond",serif; margin: 0; }
.page-editor-block > header > span { color: #8a7c72; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-editor-image { align-items: start; background: var(--st-parchment); display: grid; gap: 24px; grid-template-columns: 240px 1fr; margin-bottom: 24px; padding: 20px; }
.page-editor-image > img { aspect-ratio: 4/3; height: 100%; object-fit: cover; width: 100%; }
.page-editor-image label:first-child { margin-top: 0; }
.page-editor-image small { color: #827474; display: block; font-size: 9px; line-height: 1.6; margin-top: -8px; }
.page-editor-fields { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.page-editor-fields label:has(textarea) { grid-column: 1 / -1; }
.page-editor-actions { border-top: 1px solid var(--st-sand); display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 22px; }
.grant-admin-records { display: grid; gap: 20px; }
.grant-admin-card { padding: 30px; }
.grant-admin-heading { align-items: flex-start; border-bottom: 1px solid var(--st-sand); display: flex; gap: 20px; justify-content: space-between; padding-bottom: 20px; }
.grant-admin-heading h3 { color: var(--st-primary); font: 500 32px "EB Garamond",serif; margin: 4px 0 8px; }
.grant-admin-heading p:last-child { color: #827474; font-size: 10px; margin: 0; }
.grant-admin-status { background: var(--st-parchment); color: var(--st-primary); font-size: 8px; font-weight: 800; letter-spacing: .12em; padding: 9px 12px; text-transform: uppercase; }
.grant-admin-groups { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; padding: 22px 0; }
.grant-admin-groups section { background: #fbf4e9; border-top: 2px solid var(--st-gold); padding: 20px; }
.grant-admin-groups h4 { color: var(--st-primary); font: 500 23px "EB Garamond",serif; margin: 0 0 12px; }
.grant-admin-groups p { border-top: 1px solid var(--st-sand); display: grid; gap: 15px; grid-template-columns: 120px 1fr; margin: 0; padding: 10px 0; }
.grant-admin-groups span { color: #827474; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.grant-admin-groups strong { font-size: 10px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.grant-admin-files { align-items: center; background: var(--st-primary); color: white; display: flex; flex-wrap: wrap; gap: 9px 20px; padding: 18px 20px; }
.grant-admin-files strong { color: var(--st-gold); font-size: 9px; letter-spacing: .12em; margin-right: auto; text-transform: uppercase; }
.grant-admin-files a { color: white; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.grant-admin-action { align-items: end; display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.grant-admin-action label { margin: 0; min-width: 190px; }
.grant-admin-action select { margin-bottom: 0; }

@media (max-width: 980px) {
  .admin-login-page .admin-login { grid-template-columns: 1fr; }
  .admin-login-image { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; width: 100%; }
  .page-editor-fields { grid-template-columns: 1fr; }
  .page-editor-fields label:has(textarea) { grid-column: 1; }
  .grant-admin-groups { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .admin-login-canvas { min-height: 100vh; padding: 120px 20px 90px; }
  .admin-login-brand { left: 20px; top: 28px; }
  .admin-login-card { padding: 30px 22px; }
  .admin-security-note { bottom: 24px; left: 20px; right: 20px; }
  .page-editor-intro { align-items: stretch; flex-direction: column; }
  .page-editor-intro .button { width: 100%; }
  .page-editor-block { padding: 22px 18px; }
  .page-editor-image { grid-template-columns: 1fr; }
  .grant-admin-heading,
  .grant-admin-action { align-items: stretch; flex-direction: column; }
  .grant-admin-groups p { gap: 4px; grid-template-columns: 1fr; }
  .grant-admin-action .button { width: 100%; }
}
