@import url('https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Caveat:wght@600;700&display=swap');

:root{
  --paper:#eeece4;
  --ink:#14140f;
  --ink-soft:#514f45;
  --rule:#c7c4b7;
  --gold:#ab7f1f;
  --gold-deep:#7d5c14;
  --jet-blue:#2f4a63;
  --surface:#e2ded0;
  --surface-2:#ffffff;
  --stamp-red:#8c2f24;
  --shadow: rgba(20,20,15,0.16);
  --emblem-tile: url("/assets/emblem-light.png");
  --emblem-opacity: 0.05;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#100f0d;
    --ink:#efece2;
    --ink-soft:#a9a496;
    --rule:#322f27;
    --gold:#d9ab3f;
    --gold-deep:#f0c565;
    --jet-blue:#89aecb;
    --surface:#1a1815;
    --surface-2:#201d19;
    --stamp-red:#c65a49;
    --shadow: rgba(0,0,0,0.5);
    --emblem-tile: url("/assets/emblem-dark.png");
    --emblem-opacity: 0.055;
  }
}
:root[data-theme="dark"]{
  --paper:#100f0d;
  --ink:#efece2;
  --ink-soft:#a9a496;
  --rule:#322f27;
  --gold:#d9ab3f;
  --gold-deep:#f0c565;
  --jet-blue:#89aecb;
  --surface:#1a1815;
  --surface-2:#201d19;
  --stamp-red:#c65a49;
  --shadow: rgba(0,0,0,0.5);
  --emblem-tile: url("/assets/emblem-dark.png");
  --emblem-opacity: 0.055;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  position:relative;
  margin:0;
}
::selection{ background:var(--gold); color:var(--paper); }

/* floating emblem backdrop: two offset copies of the seal, tiled and staggered */
.emblem-field{
  position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}
.emblem-field::before, .emblem-field::after{
  content:""; position:absolute; inset:-110px;
  background-image:var(--emblem-tile);
  background-repeat:repeat;
  background-size:220px 220px;
  opacity:var(--emblem-opacity);
}
.emblem-field::after{ background-position:110px 110px; }
@media (prefers-reduced-motion: no-preference){
  .emblem-field::before{ animation: drift-a 140s linear infinite; }
  .emblem-field::after{ animation: drift-b 170s linear infinite; }
}
@keyframes drift-a{ from{ transform:translate(0,0); } to{ transform:translate(-220px,-220px); } }
@keyframes drift-b{ from{ transform:translate(0,0); } to{ transform:translate(220px,-220px); } }

nav, main, footer{ position:relative; z-index:1; }

.display{ font-family:'Anton', 'Arial Narrow', sans-serif; font-weight:400; letter-spacing:0.01em; text-wrap:balance; }
.hand{ font-family:'Caveat', cursive; font-weight:700; }
.eyebrow{ font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--ink-soft); }

a{ color:var(--jet-blue); }
img{ display:block; max-width:100%; }

.wrap{ max-width:1120px; margin:0 auto; padding:0 clamp(18px,4vw,48px); }

/* ---------- NAV ---------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--rule);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px clamp(18px,4vw,48px);
  max-width:1120px; margin:0 auto;
}
.nav-mark{ display:flex; align-items:center; gap:10px; }
.nav-badge{
  width:38px; height:38px; border-radius:50%;
  background:var(--ink); border:1px solid var(--rule);
  display:flex; align-items:center; justify-content:center;
  color:var(--paper); font-family:'Anton',sans-serif; font-size:0.62rem; letter-spacing:0.02em;
  overflow:hidden; flex-shrink:0;
}
.nav-mark-text{ font-family:'Anton',sans-serif; font-size:1.05rem; letter-spacing:0.02em; }
.nav-links{ display:flex; align-items:center; gap:clamp(14px,2vw,28px); font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase; }
.nav-links a{ color:var(--ink); text-decoration:none; padding:6px 2px; border-bottom:1px solid transparent; }
.nav-links a:hover, .nav-links a:focus-visible{ border-bottom-color:var(--gold); color:var(--gold-deep); outline:none; }
.nav-links .cta{
  color:var(--paper); background:var(--ink); padding:9px 16px; border-radius:2px; border:1px solid var(--ink);
}
.nav-links .cta:hover{ background:var(--gold-deep); border-color:var(--gold-deep); color:var(--paper); }
.nav-hide-sm{ display:none; }
@media (min-width:720px){ .nav-hide-sm{ display:flex; } }

/* ---------- HERO ---------- */
.hero{
  padding:clamp(40px,7vw,84px) 0 clamp(32px,5vw,56px);
  border-bottom:1px solid var(--rule);
}
.hero-grid{
  display:grid; grid-template-columns:1fr; gap:clamp(28px,4vw,40px); align-items:center;
}
@media (min-width:880px){ .hero-grid{ grid-template-columns:1.1fr 0.9fr; } }

.hero-eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.hero-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); }

.hero h1{
  margin:0 0 14px;
  font-size:clamp(3rem, 9vw, 5.6rem);
  line-height:0.92;
  color:var(--ink);
}
.hero h1 .gold{ color:var(--gold-deep); }

.hero-sub{
  max-width:46ch; font-size:1.02rem; color:var(--ink-soft); margin:0 0 26px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.btn{
  font-family:'IBM Plex Mono',monospace; font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase;
  padding:13px 22px; border-radius:2px; text-decoration:none; cursor:pointer; border:1px solid var(--ink);
  display:inline-flex; align-items:center; gap:8px;
}
.btn-solid{ background:var(--ink); color:var(--paper); }
.btn-solid:hover{ background:var(--gold-deep); border-color:var(--gold-deep); }
.btn-outline{ background:transparent; color:var(--ink); }
.btn-outline:hover{ border-color:var(--gold-deep); color:var(--gold-deep); }

.hero-stat{ margin-top:30px; display:flex; gap:28px; flex-wrap:wrap; }
.hero-stat div .num{ font-family:'Anton',sans-serif; font-size:1.6rem; color:var(--ink); }
.hero-stat div .lbl{ font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-soft); }

/* proof-sheet artwork frame */
.proof{
  position:relative;
  background:var(--surface-2);
  border:1px solid var(--rule);
  padding:22px 22px 18px;
  box-shadow:0 18px 34px -18px var(--shadow);
  transform:rotate(1.1deg);
}
.proof img{ width:100%; height:auto; filter:none; }
.proof-tape{
  position:absolute; top:-14px; left:28px; width:64px; height:26px;
  background:color-mix(in srgb, var(--gold) 55%, transparent);
  border:1px solid color-mix(in srgb, var(--gold-deep) 60%, transparent);
  transform:rotate(-4deg);
  opacity:0.85;
}
.proof-tag{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:14px; padding-top:12px; border-top:1px dashed var(--rule);
  font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-soft);
}
.proof-tag .pending{ color:var(--stamp-red); border:1px solid var(--stamp-red); padding:2px 7px; border-radius:2px; }
.proof--mini{ padding:14px 14px 12px; transform:rotate(-1deg); max-width:280px; }
.proof--mini .proof-tape{ width:46px; height:19px; left:20px; top:-11px; }
.proof--mini .proof-tag{ margin-top:10px; padding-top:9px; font-size:0.62rem; }

/* hero mascot */
.hero-mascot{ display:flex; justify-content:center; align-items:flex-end; padding:0 10px; }
.hero-mascot img{
  width:100%; max-width:400px;
  filter:drop-shadow(0 22px 26px var(--shadow));
  transform:rotate(-2deg);
}
@media (prefers-reduced-motion: no-preference){
  .hero-mascot img{ animation:mascot-float 6s ease-in-out infinite; }
}
@keyframes mascot-float{
  0%,100%{ transform:rotate(-2deg) translateY(0); }
  50%{ transform:rotate(-1deg) translateY(-10px); }
}

/* ---------- SECTION SHELL ---------- */
section{ padding:clamp(48px,7vw,84px) 0; border-bottom:1px solid var(--rule); }
.sec-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:clamp(26px,4vw,40px); flex-wrap:wrap; }
.sec-head h2{ margin:0; font-size:clamp(1.9rem,3.6vw,2.6rem); }
.sec-head .count{ font-size:0.76rem; color:var(--ink-soft); letter-spacing:0.08em; }

/* ---------- TRANSCRIPT (about) ---------- */
.transcript-grid{ display:grid; grid-template-columns:1fr; gap:36px; }
@media (min-width:880px){ .transcript-grid{ grid-template-columns:1.2fr 0.8fr; } }
.transcript-copy p{ margin:0 0 16px; color:var(--ink-soft); max-width:58ch; }
.transcript-copy p strong{ color:var(--ink); font-weight:600; }

.gpa-card{
  background:var(--surface); border:1px solid var(--rule); padding:26px;
}
.gpa-readout{ display:flex; align-items:baseline; gap:12px; border-bottom:1px solid var(--rule); padding-bottom:16px; margin-bottom:16px; }
.gpa-readout .big{ font-family:'Anton',sans-serif; font-size:3.4rem; color:var(--gold-deep); line-height:1; }
.gpa-readout .small{ font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); }
.gpa-row{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--rule); font-size:0.86rem; font-variant-numeric:tabular-nums; }
.gpa-row:last-child{ border-bottom:none; }
.gpa-row .grade{ color:var(--gold-deep); font-weight:600; }

/* ---------- COURSE LOAD (products) ---------- */
.course-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:1px; background:var(--rule); border:1px solid var(--rule); }
.course-card{ background:var(--paper); padding:16px 16px 18px; display:flex; flex-direction:column; gap:10px; transition:background 0.15s ease; }
.course-card:hover{ background:var(--surface); }
.course-link{
  display:block; width:100%; text-align:left; background:none; border:none; padding:0; margin:0;
  font:inherit; color:inherit; cursor:pointer; text-decoration:none;
}
.course-link:focus-visible{ outline:2px solid var(--gold-deep); outline-offset:2px; }
.course-photo{
  aspect-ratio:4/3; background:var(--surface); overflow:hidden; border:1px solid var(--rule);
  display:flex; align-items:center; justify-content:center;
}
.course-photo img{ width:100%; height:100%; object-fit:cover; }
.course-photo.no-photo{
  flex-direction:column; gap:6px; border-style:dashed;
  font-size:0.64rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); text-align:center; padding:10px;
}
.course-photo.no-photo .pin{ font-size:1.1rem; }
.course-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.course-code{ font-size:0.72rem; letter-spacing:0.08em; color:var(--ink-soft); }
.grade-badge{
  font-family:'Anton',sans-serif; font-size:0.8rem; color:var(--gold-deep);
  border:1px solid var(--gold-deep); border-radius:50%; width:34px; height:34px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.course-name{ font-size:1.06rem; color:var(--ink); font-weight:600; margin:0; }
.course-desc{ font-size:0.82rem; color:var(--ink-soft); flex:1; margin:0; }
.course-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:10px; border-top:1px dashed var(--rule); font-variant-numeric:tabular-nums; }
.course-price{ font-weight:600; }
.course-credits{ font-size:0.68rem; color:var(--ink-soft); letter-spacing:0.06em; text-transform:uppercase; }
.grade-badge.inc{ color:var(--stamp-red); border-color:var(--stamp-red); }
.course-card.soldout .course-price{ text-decoration:line-through; color:var(--ink-soft); }
.course-card.soldout .course-name{ color:var(--ink-soft); }

.course-group + .course-group{ margin-top:34px; }
.course-group-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:14px; }
.course-group-head h3{ margin:0; font-family:'Anton',sans-serif; font-size:1.05rem; letter-spacing:0.02em; color:var(--ink); }
.course-group-head .rule{ flex:1; height:1px; background:var(--rule); }
.course-group-head .tag{ font-size:0.66rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); }

.quote-strip{
  margin-top:36px; padding:18px 22px; border:1px dashed var(--rule); background:var(--surface);
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.quote-strip .hand{ font-size:1.5rem; color:var(--gold-deep); flex:1; min-width:220px; }
.quote-strip .src{ font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); }

/* ---------- MANIFEST (boarding pass) ---------- */
.pass{
  background:var(--surface-2); border:1px solid var(--rule);
  display:grid; grid-template-columns:1fr; box-shadow:0 22px 40px -24px var(--shadow);
}
@media (min-width:760px){ .pass{ grid-template-columns:1fr auto; } }
.pass-main{ padding:clamp(24px,4vw,36px); }
.pass-fields{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px 24px; margin:22px 0 26px; }
@media (min-width:520px){ .pass-fields{ grid-template-columns:repeat(4,1fr); } }
.pass-fields div .lbl{ font-size:0.62rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:4px; }
.pass-fields div .val{ font-weight:600; font-variant-numeric:tabular-nums; }
.pass-form{ display:flex; gap:0; max-width:420px; border:1px solid var(--ink); }
.pass-form input{
  flex:1; border:none; background:transparent; padding:13px 14px; font-family:'IBM Plex Mono',monospace;
  font-size:0.88rem; color:var(--ink); outline:none;
}
.pass-form input::placeholder{ color:var(--ink-soft); }
.pass-form button{
  border:none; border-left:1px solid var(--ink); background:var(--ink); color:var(--paper);
  padding:13px 18px; font-family:'IBM Plex Mono',monospace; font-size:0.74rem; letter-spacing:0.08em; text-transform:uppercase; cursor:pointer;
}
.pass-form button:hover{ background:var(--gold-deep); }
.pass-note{ margin-top:10px; font-size:0.74rem; color:var(--ink-soft); min-height:1.2em; }
.pass-note.confirmed{ color:var(--jet-blue); }

.pass-stub{
  background:var(--ink); color:var(--paper); padding:clamp(24px,4vw,30px);
  border-left:1px dashed var(--rule);
  display:flex; flex-direction:column; justify-content:space-between; gap:16px;
  min-width:180px;
}
.pass-stub .stub-top .eyebrow{ color:color-mix(in srgb, var(--paper) 60%, transparent); }
.pass-stub .stub-mark{ font-family:'Anton',sans-serif; font-size:1.5rem; }
.pass-stub .stub-seat{ font-size:0.72rem; letter-spacing:0.06em; }
.stub-perf{ display:flex; gap:5px; }
.stub-perf span{ width:6px; height:6px; border-radius:50%; background:color-mix(in srgb, var(--paper) 30%, transparent); }

/* ---------- FOOTER ---------- */
footer{ padding:clamp(30px,5vw,44px) 0 clamp(40px,6vw,56px); }
.foot-row{ display:flex; flex-wrap:wrap; gap:20px 34px; justify-content:space-between; align-items:flex-end; }
.foot-brand{ font-family:'Anton',sans-serif; font-size:1.3rem; }
.foot-links{ display:flex; gap:20px; font-size:0.76rem; letter-spacing:0.06em; text-transform:uppercase; flex-wrap:wrap; }
.foot-links a{ color:var(--ink-soft); text-decoration:none; }
.foot-links a:hover{ color:var(--gold-deep); }
.foot-fine{ margin-top:26px; padding-top:16px; border-top:1px dashed var(--rule); font-size:0.72rem; color:var(--ink-soft); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }

.theme-toggle{
  position:fixed; bottom:18px; right:18px; z-index:50;
  background:var(--ink); color:var(--paper); border:1px solid var(--rule);
  font-family:'IBM Plex Mono',monospace; font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:8px 12px; border-radius:20px; cursor:pointer;
}

@media (prefers-reduced-motion: no-preference){
  .reveal{ animation: rise 0.6s ease both; }
  @keyframes rise{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
}

/* ---------- CART ---------- */
.cart-toggle{
  font-family:'IBM Plex Mono',monospace; font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase;
  background:transparent; border:1px solid var(--ink); color:var(--ink);
  padding:9px 14px; border-radius:2px; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
}
.cart-toggle:hover{ border-color:var(--gold-deep); color:var(--gold-deep); }
.cart-count{
  background:var(--gold-deep); color:var(--paper); font-size:0.66rem; font-weight:600;
  border-radius:50%; min-width:18px; height:18px; padding:0 4px;
  display:inline-flex; align-items:center; justify-content:center; font-variant-numeric:tabular-nums;
}

.course-cart-controls{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.course-cart-controls .course-add{ flex:1; padding:10px 14px; font-size:0.72rem; justify-content:center; }
.course-variant{
  font-family:'IBM Plex Mono',monospace; font-size:0.76rem; color:var(--ink);
  background:var(--surface-2); border:1px solid var(--rule); border-radius:2px;
  padding:9px 8px; max-width:100%;
}

.cart-overlay{
  position:fixed; inset:0; background:rgba(20,20,15,0.45); z-index:60;
}
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:min(400px, 100vw); z-index:61;
  background:var(--surface-2); border-left:1px solid var(--rule);
  box-shadow:-18px 0 40px -20px var(--shadow);
  display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform 0.25s ease;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px clamp(18px,4vw,26px); border-bottom:1px solid var(--rule);
}
.cart-close{
  background:none; border:none; color:var(--ink); font-size:1.6rem; line-height:1; cursor:pointer; padding:0 4px;
}
.cart-close:hover{ color:var(--gold-deep); }
.cart-items{ flex:1; overflow-y:auto; padding:12px clamp(18px,4vw,26px); }
.cart-empty{ color:var(--ink-soft); font-size:0.88rem; margin-top:20px; }
.cart-item{ display:flex; gap:12px; padding:14px 0; border-bottom:1px dashed var(--rule); }
.cart-item-photo{
  width:64px; height:64px; flex-shrink:0; background:var(--surface); border:1px solid var(--rule); overflow:hidden;
}
.cart-item-photo img{ width:100%; height:100%; object-fit:cover; }
.cart-item-noimg{ width:100%; height:100%; background:var(--surface); }
.cart-item-info{ flex:1; min-width:0; }
.cart-item-title{ margin:0 0 8px; font-size:0.88rem; font-weight:600; color:var(--ink); }
.cart-item-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.qty-stepper{
  display:flex; align-items:center; gap:10px; border:1px solid var(--rule); border-radius:2px; padding:4px 10px;
  font-variant-numeric:tabular-nums;
}
.qty-stepper button{
  background:none; border:none; color:var(--ink); font-size:1rem; cursor:pointer; line-height:1; padding:0 2px;
}
.qty-stepper button:hover{ color:var(--gold-deep); }
.cart-item-price{ font-weight:600; font-variant-numeric:tabular-nums; }
.cart-item-remove{
  background:none; border:none; color:var(--ink-soft); font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  cursor:pointer; padding:8px 0 0; text-decoration:underline;
}
.cart-item-remove:hover{ color:var(--stamp-red); }
.cart-foot{ padding:18px clamp(18px,4vw,26px) clamp(20px,4vw,26px); border-top:1px solid var(--rule); }
.cart-subtotal{
  display:flex; justify-content:space-between; font-weight:600; font-size:1rem; margin-bottom:14px;
  font-variant-numeric:tabular-nums;
}
.cart-checkout-btn{ width:100%; justify-content:center; }
.cart-checkout-btn:disabled{ opacity:0.5; cursor:not-allowed; }
.cart-checkout-btn:disabled:hover{ background:var(--ink); border-color:var(--ink); }
.cart-note{ margin:10px 0 0; font-size:0.7rem; color:var(--ink-soft); text-align:center; }

/* ---------- PRODUCT DETAIL (modal + standalone page share these) ---------- */
body.modal-open{ overflow:hidden; }
.product-overlay{ z-index:70; }
.product-modal{
  position:fixed; top:50%; left:50%; z-index:71;
  width:min(880px, 94vw); max-height:88vh; overflow-y:auto;
  background:var(--surface-2); border:1px solid var(--rule);
  box-shadow:0 30px 60px -20px var(--shadow);
  transform:translate(-50%, -50%) scale(0.97); opacity:0; pointer-events:none;
  transition:opacity 0.18s ease, transform 0.18s ease;
}
.product-modal.open{ opacity:1; transform:translate(-50%, -50%) scale(1); pointer-events:auto; }
.product-close{
  position:sticky; top:12px; float:right; margin:12px 12px -40px 0; z-index:2;
  background:var(--surface-2); border:1px solid var(--rule); border-radius:50%;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
}
.product-modal-body{
  display:grid; grid-template-columns:1fr; gap:0;
}
@media (min-width:680px){ .product-modal-body{ grid-template-columns:1fr 1fr; } }
.product-gallery{ padding:clamp(18px,3vw,28px); }
.product-main-photo-wrap{
  aspect-ratio:4/3; background:var(--surface); border:1px solid var(--rule); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.product-main-photo-wrap img{ width:100%; height:100%; object-fit:cover; }
.product-photo-empty{
  flex-direction:column; gap:8px; border-style:dashed; color:var(--ink-soft);
  font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase;
}
.product-thumbs{ display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.product-thumb{
  width:56px; height:56px; padding:0; border:1px solid var(--rule); background:var(--surface);
  overflow:hidden; cursor:pointer; opacity:0.65;
}
.product-thumb img{ width:100%; height:100%; object-fit:cover; }
.product-thumb.active, .product-thumb:hover{ opacity:1; border-color:var(--gold-deep); }
.product-info{ padding:clamp(18px,3vw,28px); padding-top:clamp(44px,3vw,28px); }
.product-title{ margin:12px 0 6px; font-size:1.4rem; color:var(--ink); font-family:inherit; font-weight:700; }
.product-price{ font-size:1.1rem; font-weight:600; margin:0 0 16px; font-variant-numeric:tabular-nums; }
.product-desc{
  font-size:0.86rem; color:var(--ink-soft); line-height:1.6; margin-bottom:22px;
  padding-bottom:20px; border-bottom:1px dashed var(--rule);
}
.product-desc p{ margin:0 0 12px; }
.product-desc p:last-child{ margin-bottom:0; }
.product-add-row .course-add{ flex:1; }

/* standalone product page (not a modal - same inner grid, plain card) */
.back-link{ display:inline-block; margin-bottom:22px; font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; text-decoration:none; color:var(--ink-soft); }
.back-link:hover{ color:var(--gold-deep); }
.product-page-card{
  background:var(--surface-2); border:1px solid var(--rule); box-shadow:0 18px 34px -18px var(--shadow);
}
.product-page-body .product-info{ padding-top:clamp(18px,3vw,28px); }

/* ---------- POLICY PAGES ---------- */
.policy-card{
  background:var(--surface-2); border:1px solid var(--rule); box-shadow:0 18px 34px -18px var(--shadow);
  padding:clamp(24px,4vw,40px); max-width:760px;
}
.policy-card h1{ margin:0 0 22px; font-size:clamp(1.8rem,3.4vw,2.3rem); }
.policy-body{ font-size:0.9rem; color:var(--ink-soft); line-height:1.7; }
.policy-body h2{ font-size:1.05rem; color:var(--ink); margin:28px 0 10px; }
.policy-body h2:first-child{ margin-top:0; }
.policy-body p{ margin:0 0 14px; }
.policy-body ul{ margin:0 0 14px; padding-left:20px; }
.policy-body li{ margin-bottom:6px; }
.policy-pending{
  border:1px dashed var(--rule); background:var(--surface); padding:16px 18px; font-size:0.86rem; color:var(--ink-soft);
}
