@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --color-primary: #35171b;
  --color-secondary: #d8c5aa;
  --color-accent: #d9a29b;
  --color-background: #f3ebdd;
  --color-surface: #fcf8f1;
  --color-text: #26201d;
  --color-button: #a9513b;
  --color-gold: #b78b4b;
  --line: rgba(53, 23, 27, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "Manrope", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  align-items: center;
  border-bottom: 1px solid rgba(252, 248, 241, 0.32);
  color: var(--color-surface);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 24px clamp(20px, 4.4vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}
.wordmark { font: 500 clamp(21px, 2vw, 28px)/1 "EB Garamond", serif; letter-spacing: .02em; }
.wordmark span { font: 700 9px/1 "Manrope", sans-serif; letter-spacing: .22em; margin-left: 4px; vertical-align: super; }
.desktop-nav { display: flex; gap: clamp(22px, 2.3vw, 38px); }
.desktop-nav a, .bag-link { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { background: currentColor; bottom: -7px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.bag-link { justify-self: end; }
.bag-link span { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; height: 21px; justify-content: center; margin-left: 7px; width: 21px; }

.hero { background: var(--color-primary); color: var(--color-surface); display: grid; grid-template-columns: minmax(0, .86fr) minmax(450px, 1.14fr); min-height: min(920px, 100vh); overflow: hidden; position: relative; }
.hero-copy { align-self: center; padding: 150px clamp(32px, 7vw, 112px) 90px clamp(32px, 6.4vw, 92px); position: relative; z-index: 2; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .21em; margin: 0 0 25px; text-transform: uppercase; }
.hero h1 { font: 500 clamp(70px, 7.3vw, 112px)/.84 "EB Garamond", serif; letter-spacing: -.045em; margin: 0; }
.hero h1 em, .collection h2 em, .manifesto-text em { color: var(--color-accent); font-weight: 400; }
.hero-intro { color: rgba(252, 248, 241, .76); font-size: 15px; line-height: 1.8; margin: 45px 0 0; max-width: 430px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 10px; font-weight: 800; justify-content: center; letter-spacing: .16em; min-height: 50px; padding: 0 28px; text-transform: uppercase; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--color-button); color: white; }
.button-primary:hover { background: #874130; }
.button-light { border-color: rgba(252, 248, 241, .55); color: var(--color-surface); }
.button-light:hover { background: var(--color-surface); color: var(--color-primary); }
.text-link { border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding-bottom: 5px; text-transform: uppercase; }
.text-link span { margin-left: 8px; }
.hero-image-wrap { min-height: 720px; overflow: hidden; position: relative; }
.hero-image { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero-image-wrap::after { background: linear-gradient(90deg, rgba(53,23,27,.18), transparent 25%); content: ""; inset: 0; position: absolute; }
.image-note { align-items: center; background: rgba(53, 23, 27, .88); bottom: 0; display: flex; font-size: 9px; gap: 12px; left: 0; letter-spacing: .16em; margin: 0; padding: 18px 25px; position: absolute; text-transform: uppercase; z-index: 2; }
.image-note span { color: var(--color-accent); }
.hero-thread { border: 1px solid rgba(183,139,75,.45); height: 160px; left: 46%; position: absolute; top: 26%; transform: rotate(45deg); width: 160px; z-index: 3; }

.hope-strip { align-items: end; background: var(--color-button); color: white; display: grid; gap: 40px; grid-template-columns: .35fr 1.2fr .7fr auto; padding: 65px clamp(24px, 5vw, 72px); }
.hope-strip .eyebrow { align-self: start; color: rgba(255,255,255,.7); margin: 8px 0 0; }
.hope-strip h2 { font: 500 clamp(42px, 4.6vw, 70px)/.96 "EB Garamond", serif; letter-spacing: -.025em; margin: 0; }
.hope-strip > p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; margin: 0; max-width: 340px; }

.collection { padding: 130px clamp(24px, 5vw, 72px); }
.section-heading { align-items: end; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 40px; padding-bottom: 34px; }
.section-heading .eyebrow { color: var(--color-button); }
.section-heading h2 { color: var(--color-primary); font: 500 clamp(48px, 5vw, 76px)/.98 "EB Garamond", serif; letter-spacing: -.03em; margin: 0; }
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.product-image-wrap { aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; position: relative; }
.product-image-wrap img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); width: 100%; }
.product-card:hover img { transform: scale(1.035); }
.product-index { background: var(--color-surface); bottom: 0; color: var(--color-primary); font: 500 15px "EB Garamond", serif; left: 0; padding: 12px 16px; position: absolute; }
.product-meta { align-items: start; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 18px; padding-top: 17px; }
.product-category { color: var(--color-button); font-size: 9px; font-weight: 800; letter-spacing: .16em; margin: 0 0 8px; text-transform: uppercase; }
.product-meta h3 { color: var(--color-primary); font: 500 23px/1.1 "EB Garamond", serif; margin: 0; }
.price { font-size: 11px; font-weight: 700; letter-spacing: .04em; margin: 4px 0 0; }
.manifesto { background: var(--color-surface); border-top: 1px solid var(--line); padding: 120px clamp(24px, 12vw, 180px); text-align: center; }
.manifesto .eyebrow { color: var(--color-gold); }
.manifesto-text { color: var(--color-primary); font: 500 clamp(48px, 6.2vw, 94px)/1.03 "EB Garamond", serif; letter-spacing: -.035em; margin: 0 auto; max-width: 1200px; }

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

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 20px; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 670px; padding: 145px 24px 72px; }
  .hero h1 { font-size: clamp(62px, 20vw, 88px); }
  .hero-image-wrap { min-height: 620px; }
  .hero-thread { height: 110px; left: auto; right: -36px; top: 34%; width: 110px; }
  .hope-strip { align-items: start; grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* PHP shared-hosting integration */
.public-header { transition: background .25s ease, padding .25s ease, box-shadow .25s ease; }
.public-header.scrolled { background: rgba(53,23,27,.98); box-shadow: 0 6px 30px rgba(20,8,10,.15); padding-bottom: 16px; padding-top: 16px; position: fixed; }
.site-notice { background: #e6d5b7; border-left: 4px solid var(--color-gold); left: 50%; max-width: 680px; padding: 15px 20px; position: fixed; top: 90px; transform: translateX(-50%); width: calc(100% - 32px); z-index: 100; }
.site-notice.error, .admin-notice.error { background: #f0d9d5; border-color: var(--color-button); }
.site-notice.success { background: #dce8dd; border-color: #4f725d; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.drawer-open { overflow: hidden; }
.cart-remove { background: transparent; border: 0; color: var(--color-button); cursor: pointer; font: 28px/1 "EB Garamond",serif; height: 32px; width: 32px; }
.summary-item { grid-template-columns: 1fr auto; }
.summary-total { border-top: 1px solid var(--color-primary); display: flex; font: 500 24px "EB Garamond",serif; justify-content: space-between; margin-top: 22px; padding-top: 22px; }
.bank-details { background: #efe2cf; margin: 15px 0 25px; padding: 20px; }
.bank-details article { border-bottom: 1px solid var(--line); padding: 10px 0; }
.bank-details p { margin: 4px 0; }
.closed-card { background: var(--color-surface); padding: clamp(30px,5vw,60px); }
.choice-row label { align-items: center; border: 1px solid var(--line); display: flex; gap: 10px; margin: 0; padding: 14px; }
.choice-row input { height: 18px; margin: 0; min-height: 0; width: 18px; }
.settings-editor { margin-bottom: 24px; }
.settings-editor fieldset { border: 1px solid #dfcfbc; margin: 24px 0; padding: 20px; }
.settings-editor legend { color: var(--color-primary); font: 500 24px "EB Garamond",serif; padding: 0 10px; }
.admin-login-page { background: var(--color-primary); }
.admin-login > div { align-items: flex-start; padding: 10vw; text-align: left; }
.admin-login > form { align-self: center; background: var(--color-surface); color: var(--color-text); margin: 7vw; padding: clamp(28px,5vw,55px); }
.admin-login > div .wordmark { color: white; margin-bottom: 80px; }
.admin-login > div p:last-child { color: rgba(255,255,255,.74); max-width: 520px; }
.admin-top > div:last-child { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
.admin-top > div:last-child form { margin: 0; }
.link-button { background: transparent; border: 0; color: var(--color-button); cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; letter-spacing: .1em; padding: 6px; text-transform: uppercase; }
.link-button.danger { color: #8f2f2f; }
.admin-table-row form { margin: 0; }
.admin-table-row form select { margin: 0 0 6px; min-height: 38px; padding: 8px; }
.copy-field { font-size: 9px; margin-top: 8px; min-height: 34px; padding: 7px; }
.admin-media-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); }
.admin-media-grid article { background: #fffaf3; border: 1px solid #dfcfbc; padding: 14px; }
.admin-media-grid img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.admin-media-grid h3 { color: var(--color-primary); font: 500 24px "EB Garamond",serif; margin: 14px 0 4px; }
.mini-images { display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); margin-top: 24px; }
.mini-images img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.mini-images form { margin: 0; }
.private-records { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); }
.private-records .admin-card { min-width: 0; }
.private-records h3 { color: var(--color-primary); font: 500 28px "EB Garamond",serif; margin-top: 0; }
.private-records p { line-height: 1.7; overflow-wrap: anywhere; }
.report-controls > form { align-items: end; display: flex; flex-wrap: wrap; gap: 14px; width: 100%; }
.report-controls > form label { min-width: 180px; }
.theme-preview { background: var(--preview-background,var(--color-accent)); color: var(--preview-text,var(--color-text)); }
.theme-preview > div { background: var(--preview-primary,var(--color-primary)); }
.theme-preview h3 { color: var(--preview-accent,var(--color-accent)); }
.theme-preview button { background: var(--preview-button,var(--color-button)); }

@media (max-width: 980px) {
  .admin-login > form { margin: 30px; }
  .admin-media-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .admin-login > div { min-height: 420px; padding: 60px 25px; }
  .admin-login > form { margin: 20px; }
  .admin-media-grid, .private-records { grid-template-columns: 1fr; }
  .admin-top > div:last-child { align-items: flex-end; flex-direction: column; }
}

/* Shared public experience */
.public-header {
  align-items: center; background: rgba(53, 23, 27, .94); border-bottom: 1px solid rgba(252, 248, 241, .22);
  color: var(--color-surface); display: grid; grid-template-columns: 1fr auto 1fr; left: 0;
  padding: 22px clamp(20px, 4.4vw, 64px); position: absolute; right: 0; top: 0; z-index: 40;
}
.public-nav { display: flex; gap: clamp(18px, 2.1vw, 34px); }
.public-nav a, .bag-button, .menu-button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bag-button { justify-self: end; }
.bag-button span { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; height: 22px; justify-content: center; margin-left: 7px; width: 22px; }
.menu-button { display: none; }
.public-main { min-height: 75vh; }
.footer { background: var(--color-primary); color: var(--color-surface); display: grid; gap: 60px; grid-template-columns: 1.6fr 1fr 1fr; padding: 80px clamp(24px, 6vw, 86px) 35px; }
.footer > div:first-child p { color: rgba(252,248,241,.62); line-height: 1.8; max-width: 350px; }
.footer > div:not(:first-child) { display: flex; flex-direction: column; gap: 13px; }
.footer > div:not(:first-child) a { font: 500 20px "EB Garamond", serif; }
.footer .eyebrow { color: var(--color-gold); margin-bottom: 10px; }
.footer-note { border-top: 1px solid rgba(252,248,241,.18); color: rgba(252,248,241,.55); font-size: 10px; grid-column: 1 / -1; letter-spacing: .12em; margin: 30px 0 0; padding-top: 30px; text-transform: uppercase; }

.page-hero { background: var(--color-surface); display: grid; grid-template-columns: .95fr 1.05fr; min-height: 760px; padding-top: 70px; }
.page-hero.dark { background: var(--color-primary); color: var(--color-surface); }
.page-hero-copy { align-self: center; padding: 100px clamp(30px, 7vw, 110px); }
.page-hero h1, .simple-title h1, .shop-intro h1, .form-page h1, .confirmation h1, .article h1, .not-found h1 { font: 500 clamp(62px, 7vw, 108px)/.9 "EB Garamond", serif; letter-spacing: -.04em; margin: 0 0 35px; }
.page-hero h1 em, .shop-intro h1 em, .confirmation h1 em { color: var(--color-accent); font-weight: 400; }
.page-hero .lead, .simple-title > p:last-child, .shop-intro > p:last-child { color: inherit; line-height: 1.85; max-width: 570px; opacity: .76; }
.page-hero > img { height: 100%; min-height: 690px; object-fit: cover; width: 100%; }
.cta-grid { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.cta-grid a { border: 1px solid rgba(252,248,241,.3); font-size: 9px; font-weight: 800; letter-spacing: .13em; min-height: 58px; padding: 20px; text-transform: uppercase; }
.campaign-one-liner { background: var(--color-button); color: white; padding: 80px clamp(30px, 11vw, 170px); text-align: center; }
.campaign-one-liner p { font: 500 clamp(34px, 4vw, 58px)/1.12 "EB Garamond", serif; margin: 0 auto; max-width: 1200px; }
.funds { display: grid; grid-template-columns: 1fr 1fr; }
.funds article { min-height: 520px; padding: 90px clamp(30px, 7vw, 100px); position: relative; }
.funds article:first-child { background: var(--color-surface); }
.funds article:last-child { background: #e7c7c1; }
.funds article > span { color: var(--color-gold); font: 500 18px "EB Garamond", serif; }
.funds h2, .event-card h2, .founder-teaser h2, .patron-lookbook h2 { color: var(--color-primary); font: 500 clamp(46px, 5vw, 76px)/1 "EB Garamond", serif; margin: 18px 0 30px; }
.funds article > p:last-child { line-height: 1.9; max-width: 540px; }
.event-card { background: var(--color-primary); color: var(--color-surface); padding: 100px clamp(30px, 8vw, 120px); }
.event-card h2 { color: inherit; max-width: 800px; }
.event-card > div { border-bottom: 1px solid rgba(252,248,241,.22); border-top: 1px solid rgba(252,248,241,.22); display: grid; grid-template-columns: repeat(3, 1fr); margin: 50px 0; }
.event-card > div p { font: 500 28px "EB Garamond", serif; margin: 0; padding: 30px; }
.event-card small { color: var(--color-gold); display: block; font: 800 9px "Manrope", sans-serif; letter-spacing: .16em; margin-bottom: 10px; text-transform: uppercase; }
.story-layout { display: grid; gap: 80px; grid-template-columns: .5fr 1fr; padding: 120px clamp(30px, 9vw, 140px); }
.story-layout aside { position: sticky; top: 40px; align-self: start; }
.story-layout aside h2 { font: 500 64px "EB Garamond", serif; margin: 0; }
.prose { font-size: 17px; line-height: 2; max-width: 780px; }
.prose p { margin: 0 0 26px; }
.prose blockquote { border-bottom: 1px solid var(--color-gold); border-top: 1px solid var(--color-gold); color: var(--color-primary); font: italic 500 clamp(34px, 4vw, 55px)/1.15 "EB Garamond", serif; margin: 60px 0; padding: 45px 0; }
.prose a { border-bottom: 1px solid; }

/* Shop, product, cart, checkout */
.shop-intro, .simple-title { background: var(--color-surface); padding: 170px clamp(25px, 7vw, 104px) 90px; }
.shop-intro h1, .simple-title h1 { color: var(--color-primary); }
.patron-banner { background: var(--color-primary); color: var(--color-surface); font-size: 11px; letter-spacing: .08em; padding: 15px clamp(25px, 7vw, 104px); text-align: center; }
.patron-banner span { color: var(--color-gold); font-weight: 800; margin-right: 12px; text-transform: uppercase; }
.shop-toolbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 26px clamp(24px, 5vw, 72px); }
.shop-toolbar > div, .filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-toolbar button, .filter-row button { background: transparent; border: 0; border-bottom: 1px solid transparent; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 10px 5px; text-transform: uppercase; }
.shop-toolbar button.active, .filter-row button.active { border-color: var(--color-button); color: var(--color-button); }
.shop-toolbar label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-toolbar select { background: transparent; border: 0; margin-left: 10px; }
.shop-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(3, 1fr); }
.shop-page-grid { padding: 50px clamp(24px, 5vw, 72px) 120px; }
.shop-card-image { aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; position: relative; }
.shop-card-image img { height: 100%; object-fit: cover; transition: transform .65s ease; width: 100%; }
.shop-card:hover img { transform: scale(1.03); }
.sold-out { background: var(--color-primary); color: white; font-size: 9px; font-weight: 800; left: 0; letter-spacing: .15em; padding: 11px 15px; position: absolute; text-transform: uppercase; top: 0; }
.shop-card-meta { align-items: start; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; }
.shop-card-meta h3 { color: var(--color-primary); font: 500 25px "EB Garamond", serif; margin: 0 0 8px; }
.shop-card-meta > button { background: transparent; border: 1px solid var(--color-primary); cursor: pointer; font: 500 24px "EB Garamond", serif; height: 42px; width: 42px; }
.shop-card-meta > button:disabled { cursor: not-allowed; opacity: .35; }
.price small { color: var(--color-button); margin-left: 8px; text-transform: uppercase; }
.product-detail { display: grid; grid-template-columns: 1.2fr .8fr; padding-top: 70px; }
.product-gallery { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; }
.product-gallery img { height: 100%; min-height: 780px; object-fit: cover; width: 100%; }
.product-info { align-self: start; padding: 85px clamp(30px, 5vw, 76px); position: sticky; top: 0; }
.product-info h1 { color: var(--color-primary); font: 500 clamp(54px, 5.6vw, 84px)/.95 "EB Garamond", serif; margin: 12px 0 20px; }
.detail-price { font-size: 18px; font-weight: 700; }
.detail-price small { color: var(--color-button); display: block; font-size: 9px; letter-spacing: .13em; margin-top: 8px; text-transform: uppercase; }
.product-info .lead { line-height: 1.8; margin: 35px 0; }
.product-info fieldset { border: 0; margin: 30px 0; padding: 0; }
.product-info legend { font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 14px; text-transform: uppercase; }
.option-row, .choice-row { display: flex; gap: 8px; }
.option-row button, .choice-row button { background: transparent; border: 1px solid var(--line); cursor: pointer; min-height: 46px; padding: 0 20px; }
.option-row button.active, .choice-row button.active { background: var(--color-primary); color: white; }
.wide { width: 100%; }
.stock-note { color: rgba(38,32,29,.62); font-size: 11px; margin: 16px 0 30px; text-align: center; }
.product-info details { border-top: 1px solid var(--line); padding: 20px 0; }
.product-info summary { cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-info details p { line-height: 1.7; }
.drawer-backdrop { background: rgba(23,9,11,.58); border: 0; inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .3s; z-index: 70; }
.drawer-backdrop.visible { opacity: 1; pointer-events: auto; }
.cart-drawer { background: var(--color-surface); display: flex; flex-direction: column; height: 100vh; max-width: 550px; overflow-y: auto; padding: 35px; position: fixed; right: 0; top: 0; transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.7,.2,1); width: 100%; z-index: 80; }
.cart-drawer.open { transform: translateX(0); }
.drawer-title { align-items: start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 25px; }
.drawer-title h2 { color: var(--color-primary); font: 500 46px "EB Garamond", serif; margin: 0; }
.drawer-title button { background: none; border: 0; cursor: pointer; font: 400 38px "EB Garamond", serif; }
.cart-items { flex: 1; }
.cart-item { border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 105px 1fr auto; padding: 24px 0; }
.cart-item img { height: 135px; object-fit: cover; width: 105px; }
.cart-item h3 { font: 500 23px "EB Garamond", serif; margin: 0 0 8px; }
.cart-item p { font-size: 11px; }
.quantity { align-items: center; border: 1px solid var(--line); display: inline-flex; margin-top: 8px; }
.quantity button { background: none; border: 0; cursor: pointer; height: 30px; width: 30px; }
.quantity span { font-size: 11px; min-width: 26px; text-align: center; }
.cart-summary { margin-top: auto; padding-top: 24px; }
.cart-summary > p:first-child { display: flex; font: 500 25px "EB Garamond", serif; justify-content: space-between; }
.soft-copy { color: rgba(38,32,29,.65); font-size: 11px; line-height: 1.7; }
.empty-state { margin: auto; max-width: 380px; padding: 40px 0; text-align: center; }
.big-serif { color: var(--color-primary); font: 500 44px "EB Garamond", serif; }
.checkout { display: grid; gap: 80px; grid-template-columns: 1fr 430px; padding: 150px clamp(25px, 8vw, 120px) 100px; }
.checkout form h1 { color: var(--color-primary); font: 500 clamp(55px, 6vw, 82px)/.95 "EB Garamond", serif; margin: 0 0 60px; }
.checkout form h2 { border-top: 1px solid var(--line); font: 500 28px "EB Garamond", serif; margin: 40px 0 24px; padding-top: 24px; }
label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; margin: 18px 0; text-transform: uppercase; }
input, textarea, select { background: rgba(252,248,241,.65); border: 1px solid var(--line); border-radius: 0; color: var(--color-text); display: block; margin-top: 8px; min-height: 50px; padding: 13px 14px; width: 100%; }
textarea { resize: vertical; }
.form-two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.payment-options { display: grid; gap: 10px; }
.payment-options label { align-items: start; border: 1px solid var(--line); display: flex; gap: 12px; margin: 0; padding: 20px; }
.payment-options label.active { border-color: var(--color-button); }
.payment-options input, .check input { height: 18px; margin: 0; min-height: 0; padding: 0; width: 18px; }
.payment-options small { display: block; font-size: 10px; font-weight: 400; line-height: 1.6; margin-top: 5px; text-transform: none; }
.bank-accounts { background: var(--color-surface); border: 1px solid var(--color-gold); margin: 16px 0; padding: 10px 18px; }
.bank-accounts p { border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
.bank-accounts p:last-child { border-bottom: 0; }
.bank-accounts strong, .bank-accounts span, .bank-accounts small { display: block; }
.bank-accounts span { font: 500 19px "EB Garamond", serif; margin-top: 5px; }
.bank-accounts small { color: rgba(38,32,29,.62); margin-top: 5px; }
.check { align-items: start; display: flex; gap: 10px; line-height: 1.6; text-transform: none; }
.form-status { font-size: 12px; line-height: 1.6; }
.order-summary { align-self: start; background: var(--color-surface); padding: 32px; position: sticky; top: 30px; }
.summary-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 65px 1fr auto; padding: 16px 0; }
.summary-item img { height: 82px; object-fit: cover; width: 65px; }
.summary-item strong, .summary-item small { display: block; }
.summary-item small { color: rgba(38,32,29,.58); margin-top: 6px; }
.summary-item > span { font-size: 11px; font-weight: 700; }
.summary-total { display: flex; font: 500 25px "EB Garamond", serif; justify-content: space-between; }
.order-summary > p:last-child { color: var(--color-button); font: italic 500 20px "EB Garamond", serif; line-height: 1.35; }
.confirmation { background: var(--color-surface); min-height: 100vh; padding: 150px 24px 100px; text-align: center; }
.confirmation > p:not(.eyebrow, .success-mark) { line-height: 1.8; margin: 0 auto 45px; max-width: 660px; }
.success-mark { align-items: center; border: 1px solid var(--color-gold); border-radius: 50%; color: var(--color-gold); display: flex; font-size: 30px; height: 70px; justify-content: center; margin: 0 auto 25px; width: 70px; }
.wear-hope-receipt { background: var(--color-primary); border: 1px solid var(--color-gold); color: var(--color-surface); margin: 50px auto; max-width: 720px; padding: 65px 50px; }
.wear-hope-receipt > span { font: 500 24px "EB Garamond", serif; }
.wear-hope-receipt h2 { color: var(--color-accent); font: 500 82px/.9 "EB Garamond", serif; margin: 25px 0; }
.wear-hope-receipt p { font: 500 28px/1.25 "EB Garamond", serif; }
.wear-hope-receipt small { color: var(--color-gold); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.confirmation .hero-actions { justify-content: center; }
.button-outline { background: transparent; border-color: currentColor; }

/* Gallery, forms, journal */
.filter-row { border-bottom: 1px solid var(--line); padding: 20px clamp(25px, 7vw, 104px); }
.gallery-grid { column-count: 3; column-gap: 18px; padding: 50px clamp(25px, 5vw, 72px) 110px; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 26px; }
.gallery-grid figure:nth-child(3n + 1) img { aspect-ratio: 3/4; }
.gallery-grid figure:nth-child(3n + 2) img { aspect-ratio: 1/1; }
.gallery-grid img { object-fit: cover; width: 100%; }
.gallery-grid figcaption { border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .12em; padding: 12px 0; text-transform: uppercase; }
.form-page { display: grid; gap: clamp(50px, 9vw, 130px); grid-template-columns: .8fr 1fr; min-height: 900px; padding: 170px clamp(25px, 8vw, 120px) 100px; }
.form-page > div { align-self: start; position: sticky; top: 40px; }
.form-page h1 { color: var(--color-primary); }
.form-page .lead { line-height: 1.9; max-width: 540px; }
.form-page form { background: var(--color-surface); padding: clamp(25px, 4vw, 55px); }
.privacy-note { border-left: 2px solid var(--color-gold); font-size: 12px; line-height: 1.7; margin-top: 35px; padding: 15px 20px; }
.honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.patron-lookbook { background: var(--color-surface); padding: 110px clamp(25px, 7vw, 100px); }
.patron-lookbook h2 { max-width: 920px; }
.patron-lookbook > div { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.patron-lookbook img { aspect-ratio: 3/4; height: 100%; object-fit: cover; width: 100%; }
.journal-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding: 50px clamp(25px, 7vw, 104px) 110px; }
.journal-card { background: var(--color-surface); }
.journal-card.featured { display: grid; grid-column: 1 / -1; grid-template-columns: 1.3fr .7fr; }
.journal-card img { aspect-ratio: 16/10; height: 100%; object-fit: cover; width: 100%; }
.journal-card > div { padding: 35px; }
.journal-card h2 { color: var(--color-primary); font: 500 clamp(32px, 3.6vw, 54px)/1 "EB Garamond", serif; margin: 18px 0; }
.article header { background: var(--color-surface); padding: 170px clamp(25px, 12vw, 180px) 90px; text-align: center; }
.article header p:last-child { line-height: 1.8; margin: 0 auto; max-width: 620px; }
.article-hero { height: min(75vh, 800px); object-fit: cover; width: 100%; }
.article .prose { margin: 90px auto; padding: 0 24px; }
.dropcap::first-letter { color: var(--color-button); float: left; font: 500 110px/.7 "EB Garamond", serif; margin: 12px 12px 0 0; }
.article h2 { color: var(--color-primary); font: 500 46px "EB Garamond", serif; margin-top: 55px; }
.not-found { min-height: 75vh; padding: 180px 24px; text-align: center; }
.not-found h1 { color: var(--color-primary); margin-left: auto; margin-right: auto; max-width: 900px; }

/* Admin */
.admin-login { background: var(--color-primary); color: var(--color-surface); display: grid; grid-template-columns: 1fr .8fr; min-height: 100vh; }
.admin-login > section { align-self: center; padding: 90px clamp(28px, 8vw, 120px); }
.admin-login h1 { font: 500 clamp(66px, 8vw, 112px)/.9 "EB Garamond", serif; letter-spacing: -.04em; margin: 20px 0 35px; }
.admin-login section > p:not(.eyebrow) { color: rgba(252,248,241,.72); line-height: 1.9; margin-bottom: 40px; max-width: 560px; }
.admin-login > div { align-items: center; background: var(--color-button); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.admin-login > div span { font: 500 48px "EB Garamond", serif; }
.admin-login > div strong { color: var(--color-primary); font-size: 10px; letter-spacing: .26em; margin: 15px 0; text-transform: uppercase; }
.admin-login > div small { border-top: 1px solid rgba(255,255,255,.3); font-size: 9px; letter-spacing: .18em; padding-top: 20px; text-transform: uppercase; }
.admin-shell { background: #f5eee4; display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; }
.admin-nav { background: var(--color-primary); color: var(--color-surface); display: flex; flex-direction: column; max-height: 100vh; overflow-y: auto; padding: 34px 22px 25px; position: sticky; top: 0; }
.admin-brand { border-bottom: 1px solid rgba(252,248,241,.17); font: 500 28px "EB Garamond", serif; margin-bottom: 28px; padding: 0 8px 28px; }
.admin-brand span { color: var(--color-gold); display: block; font: 800 8px "Manrope", sans-serif; letter-spacing: .2em; margin-top: 6px; text-transform: uppercase; }
.admin-nav > .eyebrow { color: var(--color-gold); margin-left: 8px; }
.admin-nav nav { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.admin-nav nav a { border-left: 2px solid transparent; color: rgba(252,248,241,.68); font-size: 11px; font-weight: 700; padding: 11px 13px; }
.admin-nav nav a:hover, .admin-nav nav a.active { background: rgba(252,248,241,.08); border-color: var(--color-gold); color: white; }
.role-preview { border-top: 1px solid rgba(252,248,241,.17); margin-top: 20px; padding-top: 20px; }
.role-preview label { color: var(--color-gold); margin: 0; }
.role-preview select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: white; font-size: 11px; }
.role-preview option { color: #222; }
.role-preview small { color: rgba(252,248,241,.48); display: block; font-size: 9px; line-height: 1.55; margin-top: 10px; }
.admin-main { min-width: 0; padding: 34px clamp(24px, 4vw, 58px) 80px; }
.admin-top { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 38px; padding-bottom: 25px; }
.admin-top .eyebrow { color: var(--color-button); margin-bottom: 10px; }
.admin-top h1 { color: var(--color-primary); font: 500 clamp(42px, 4.5vw, 64px)/1 "EB Garamond", serif; margin: 0; }
.admin-top > div:last-child { align-items: end; display: flex; flex-direction: column; gap: 8px; }
.admin-top a { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.role-badge { background: var(--color-primary); color: white; font-size: 9px; font-weight: 800; letter-spacing: .12em; padding: 9px 12px; text-transform: uppercase; }
.admin-notice { background: #e6d5b7; border-left: 3px solid var(--color-gold); margin-bottom: 24px; padding: 14px 18px; }
.stat-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.stat-grid article, .admin-card, .admin-table-card, .settings-editor, .theme-manager, .role-matrix, .report-controls { background: #fffaf3; border: 1px solid #dfcfbc; padding: 25px; }
.stat-grid p { color: #71645d; font-size: 9px; font-weight: 800; letter-spacing: .13em; margin: 0 0 18px; text-transform: uppercase; }
.stat-grid strong { color: var(--color-primary); display: block; font: 500 36px "EB Garamond", serif; }
.stat-grid small { color: #8a7c72; font-size: 10px; }
.admin-columns { display: grid; gap: 20px; grid-template-columns: 1.5fr .5fr; }
.admin-card h2, .settings-editor h2, .theme-manager h2, .role-matrix h2 { color: var(--color-primary); font: 500 38px/1.05 "EB Garamond", serif; }
.admin-card p:not(.eyebrow) { line-height: 1.7; }
.admin-actions { align-items: center; display: flex; justify-content: space-between; margin-bottom: 20px; }
.admin-actions > div { display: flex; gap: 10px; }
.admin-actions input, .admin-actions select { background: #fffaf3; margin: 0; min-width: 220px; }
.admin-actions .button { cursor: pointer; width: auto; }
.privacy-banner { background: #f0d9d5; border-left: 3px solid var(--color-button); font-size: 11px; line-height: 1.6; margin-bottom: 20px; padding: 16px 20px; }
.admin-card-title { align-items: center; display: flex; justify-content: space-between; margin-bottom: 15px; }
.admin-card-title h2 { color: var(--color-primary); font: 500 32px "EB Garamond", serif; margin: 0; }
.admin-card-title span { color: #84776e; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.admin-table { border-top: 1px solid var(--line); }
.admin-table-head, .admin-table-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 2fr 1fr .7fr .65fr; min-width: 650px; }
.admin-table-head { color: #84776e; font-size: 8px; font-weight: 800; letter-spacing: .14em; padding: 13px 8px; text-transform: uppercase; }
.admin-table-row { border-top: 1px solid #eadfce; font-size: 11px; padding: 15px 8px; }
.admin-table-row > span:first-child strong, .admin-table-row > span:first-child small { display: block; }
.admin-table-row > span:first-child strong { color: var(--color-primary); font: 500 19px "EB Garamond", serif; }
.admin-table-row > span:first-child small { color: #85786e; margin-top: 4px; }
.admin-table-row button { background: transparent; border: 0; color: var(--color-button); cursor: pointer; font-size: 9px; font-weight: 800; padding: 10px; text-transform: uppercase; }
.status-dot { background: var(--color-gold); border-radius: 50%; display: inline-block; height: 7px; margin-right: 8px; width: 7px; }
.status-dot.paid, .status-dot.active, .status-dot.converted, .status-dot.published { background: #4f725d; }
.status-dot.pending-payment, .status-dot.reviewing, .status-dot.unread { background: var(--color-button); }
.settings-editor { display: grid; gap: 70px; grid-template-columns: .6fr 1fr; }
.settings-editor form, .theme-manager form { max-width: 700px; }
.admin-form-actions, .matrix-title { align-items: center; display: flex; gap: 12px; justify-content: flex-end; margin-top: 30px; }
.admin-form-actions .button { cursor: pointer; width: auto; }
.theme-manager { display: grid; gap: 60px; grid-template-columns: 1fr 1fr; }
.theme-manager form > label { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 1fr 50px 130px; margin: 0; padding: 12px 0; }
.theme-manager input { margin: 0; min-height: 42px; }
.theme-manager input[type="color"] { padding: 3px; }
.contrast-ok { color: #3b694e; font-size: 10px; }
.theme-preview { background: #e7c7c1; padding: 25px; }
.theme-preview > div { background: var(--color-primary); color: white; margin-top: 25px; padding: 55px 35px; }
.theme-preview h3 { color: var(--color-accent); font: 500 50px/1 "EB Garamond", serif; }
.theme-preview button { background: var(--color-button); border: 0; color: white; font-size: 9px; font-weight: 800; padding: 15px 20px; text-transform: uppercase; }
.matrix-title { justify-content: space-between; margin: 0 0 25px; }
.matrix-title h2 { margin: 0; }
.matrix > div { align-items: center; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr repeat(3, .55fr); padding: 14px; }
.matrix > div:first-child { color: #84776e; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.matrix input { height: 18px; margin: auto; min-height: 0; width: 18px; }
.matrix small { background: #f0d9d5; color: var(--color-button); font-size: 7px; margin-left: 9px; padding: 4px 6px; text-transform: uppercase; }
.report-controls { align-items: end; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr) auto; margin-bottom: 20px; }
.report-controls label { margin: 0; }
.report-controls input { margin-bottom: 0; }

@media (max-width: 980px) {
  .admin-login { grid-template-columns: 1fr; }
  .admin-login > div { min-height: 320px; }
  .public-header { grid-template-columns: 1fr auto auto; padding: 18px 20px; }
  .menu-button { display: block; }
  .public-nav { background: var(--color-primary); display: none; flex-direction: column; left: 0; padding: 95px 25px 35px; position: absolute; right: 0; top: 0; z-index: -1; }
  .public-nav.is-open { display: flex; }
  .public-nav a { min-height: 44px; padding: 12px 0; }
  .page-hero, .product-detail, .checkout, .form-page, .story-layout { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 140px 24px 70px; }
  .page-hero > img { max-height: 720px; min-height: 520px; }
  .funds { grid-template-columns: 1fr; }
  .event-card > div { grid-template-columns: 1fr; }
  .event-card > div p { border-bottom: 1px solid rgba(252,248,241,.15); }
  .story-layout aside, .form-page > div { position: static; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .product-gallery img { min-height: 560px; }
  .product-info { position: static; }
  .checkout { padding-top: 125px; }
  .order-summary { grid-row: 1; position: static; }
  .gallery-grid { column-count: 2; }
  .journal-card.featured { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { max-height: none; position: static; }
  .admin-nav nav { display: grid; grid-template-columns: repeat(3, 1fr); }
  .role-preview { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-columns, .settings-editor, .theme-manager { grid-template-columns: 1fr; }
  .admin-table { overflow-x: auto; }
  .report-controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .footer { grid-template-columns: 1fr; padding: 60px 24px 30px; }
  .footer-note { grid-column: 1; }
  .page-hero h1, .simple-title h1, .shop-intro h1, .form-page h1, .confirmation h1, .article h1 { font-size: 55px; }
  .cta-grid, .shop-grid, .patron-lookbook > div, .journal-grid, .form-two { grid-template-columns: 1fr; }
  .shop-toolbar, .admin-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery img { min-height: 480px; }
  .gallery-grid { column-count: 1; padding-left: 18px; padding-right: 18px; }
  .wear-hope-receipt { padding: 45px 20px; }
  .wear-hope-receipt h2 { font-size: 58px; }
  .admin-main { padding: 22px 16px 60px; }
  .admin-nav nav { grid-template-columns: 1fr 1fr; }
  .admin-top { align-items: flex-start; }
  .admin-top h1 { font-size: 40px; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-actions > div { flex-direction: column; width: 100%; }
  .admin-actions input, .admin-actions select { min-width: 0; width: 100%; }
  .report-controls { grid-template-columns: 1fr; }
  .theme-manager form > label { grid-template-columns: 1fr 45px 105px; }
  .cart-drawer { padding: 24px 18px; }
  .cart-item { grid-template-columns: 82px 1fr; }
  .cart-item img { height: 108px; width: 82px; }
  .cart-item > strong { grid-column: 2; }
}

/* Final shared-host overrides */
.public-header.scrolled { background: rgba(53,23,27,.98); box-shadow: 0 6px 30px rgba(20,8,10,.15); padding-bottom: 16px; padding-top: 16px; position: fixed; }
.admin-login > div { align-items: flex-start; padding: 10vw; text-align: left; }
.admin-login > form { align-self: center; background: var(--color-surface); color: var(--color-text); margin: 7vw; padding: clamp(28px,5vw,55px); }
.admin-login > div .wordmark { color: white; margin-bottom: 80px; }
.admin-login > div p:last-child { color: rgba(255,255,255,.74); max-width: 520px; }
.admin-top > div:last-child { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 980px) { .admin-login > form { margin: 30px; } }
@media (max-width: 620px) {
  .admin-login > div { min-height: 420px; padding: 60px 25px; }
  .admin-login > form { margin: 20px; }
  .admin-top > div:last-child { align-items: flex-end; flex-direction: column; }
}
