/* =========================================================================
   Meridian College Oxford
   Mobile first. Two typefaces: Cinzel (display, certificate) and
   EB Garamond (everything else).
   ========================================================================= */

:root {
  --navy-deep:  #0E1B33;
  --navy:       #142748;
  --navy-line:  #2A3A5C;
  --burgundy:   #6E1B2A;
  --burgundy-d: #55131F;
  --gold:       #C6A15B;
  --gold-deep:  #8A6A28;
  --gold-dark:  #A8853F;
  --parchment:  #F7F1E3;
  --cream:      #FCF8EE;
  --rule:       #E3D8BF;
  --rule-dark:  #D9CCAE;
  --ink:        #1C1A16;
  --ink-soft:   #5A5346;
  --ink-faint:  #8A8172;
  --on-navy:    #C5CCDA;
  --on-navy-dim:#9AA6BC;
  --green:      #1E3A34;

  --display: 'Cinzel', 'Times New Roman', serif;
  --body: 'EB Garamond', Garamond, 'Times New Roman', serif;

  --shell: 1280px;
  --gutter: 20px;
}

@media (min-width: 900px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--parchment);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

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

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

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- type --------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 56px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(18px, 2.4vw, 22px); }
p { margin: 0 0 1em; max-width: 68ch; }

.lede { font-size: clamp(18px, 2.4vw, 23px); line-height: 1.5; }
.small { font-size: 15px; }
.muted { color: var(--ink-soft); }

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 28px;
  font-family: var(--display); font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #D9B86C; color: var(--navy-deep); }
.btn--burgundy { background: var(--burgundy); color: var(--parchment); }
.btn--burgundy:hover { background: var(--burgundy-d); color: var(--parchment); }
.btn--ghost { background: transparent; border-color: var(--gold); color: var(--parchment); }
.btn--ghost:hover { background: rgba(198,161,91,.14); color: var(--parchment); }
.btn--outline { background: transparent; border-color: var(--rule-dark); color: var(--burgundy); }
.btn--outline:hover { background: var(--cream); }
.btn--block { width: 100%; }
.btn--large { min-height: 68px; font-size: 16px; }
.btn--compact { min-height: 48px; padding: 10px 18px; font-size: 12px; letter-spacing: 0.12em; }
.btn__label-short { display: none; }
@media (max-width: 520px) {
  .btn--compact .btn__label { display: none; }
  .btn--compact .btn__label-short { display: inline; }
  .btn--compact { padding: 10px 14px; }
}
.btn:active { transform: translateY(1px); }

/* ---- header ------------------------------------------------------------- */

.notice-bar {
  background: var(--navy-deep); color: #E4D9C0;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 11px var(--gutter);
}
.notice-bar span + span::before { content: '\00B7'; color: var(--gold); margin: 0 12px; }
@media (max-width: 700px) { .notice-bar span + span { display: none; } }

.masthead {
  background: var(--navy); border-bottom: 1px solid var(--navy-line);
  position: sticky; top: 0; z-index: 40;
}
.masthead__inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 76px; padding: 12px var(--gutter);
  max-width: var(--shell); margin: 0 auto;
}

.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.wordmark__crest { width: 34px; height: auto; flex: none; }
@media (min-width: 1000px) { .wordmark__crest { width: 46px; } }
.wordmark__text { display: flex; flex-direction: column; gap: 2px; }
.wordmark__name {
  font-family: var(--display); font-size: 16px; letter-spacing: 0.12em;
  color: var(--parchment); white-space: nowrap;
}
.wordmark__city { font-family: var(--display); font-size: 10px; letter-spacing: 0.5em; color: var(--gold); }
@media (min-width: 1000px) { .wordmark__name { font-size: 20px; } .wordmark__city { font-size: 11px; } }

/* ---- top bar buttons ----------------------------------------------------
   Every control in the bar is a button with a border and a hover state.
   No bare text links. */

.navbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--navy-line);
  color: #E9DFC8; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.navbtn:hover, .navbtn:focus-visible {
  background: rgba(198, 161, 91, .16); border-color: var(--gold); color: var(--parchment);
}
.navbtn:active { transform: translateY(1px); }

.navbtn--gold {
  background: var(--gold); border-color: var(--gold); color: var(--navy-deep);
  font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.navbtn--gold:hover, .navbtn--gold:focus-visible {
  background: #D9B86C; border-color: #D9B86C; color: var(--navy-deep);
}
.navbtn--menu { width: 46px; padding: 0; }
.navbtn--basket { padding: 0 14px; }

.navbtns { display: none; }
@media (min-width: 1080px) { .navbtns { display: flex; align-items: center; gap: 10px; margin-left: 10px; } }

.masthead__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 560px) { .masthead__actions { gap: 10px; } }
@media (max-width: 719px) { .navbtn__text { display: none; } .navbtn--basket { width: 46px; padding: 0; } }

/* Below 900px the bar was trying to hold five controls in 390px and they
   overlapped. Menu on the left, wordmark centred, basket on the right — the
   region switch and everything else lives inside the menu. */
@media (max-width: 899px) {
  .masthead__inner { gap: 10px; min-height: 64px; }
  .masthead .regionpick { display: none; }
  .navbtn--menu { order: -2; }
  .wordmark { order: -1; flex: 1; justify-content: center; gap: 9px; }
  .wordmark__crest { width: 30px; }
  .wordmark__name { font-size: 15px; letter-spacing: 0.1em; }
  .wordmark__city { font-size: 9px; letter-spacing: 0.4em; }
  .masthead__actions { margin-left: 0; }
}
@media (max-width: 359px) {
  .wordmark__text { display: none; }
}
@media (min-width: 1080px) { .navbtn--menu { display: none; } }

.basket-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--gold); color: var(--navy-deep);
  font-size: 12px; min-width: 21px; height: 21px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
  border: 2px solid var(--navy);
}

/* ---- region switch ------------------------------------------------------ */

.regionpick { display: flex; border: 1px solid var(--navy-line); height: 46px; flex: none; }
.regionpick button {
  min-width: 52px; padding: 0 12px; height: 100%;
  background: rgba(255, 255, 255, .04); border: 0; cursor: pointer;
  color: var(--on-navy-dim); font-family: var(--body); font-size: 15px; line-height: 1;
  transition: background-color .14s ease, color .14s ease;
}
.regionpick button + button { border-left: 1px solid var(--navy-line); }
.regionpick button:hover { color: var(--parchment); }
.regionpick button.is-on { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
@media (max-width: 479px) { .regionpick button { min-width: 44px; padding: 0 8px; font-size: 14px; } }

/* ---- mobile menu --------------------------------------------------------
   Full screen, thumb-sized rows, everything reachable without a second tap.
   The desktop bar keeps its own buttons; this only exists below 1080px. */

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  background: var(--navy-deep);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
body.menu-open { overflow: hidden; }

.menu__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: var(--navy); border-bottom: 1px solid var(--navy-line);
}
.menu__title {
  font-family: var(--display); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.menu__close {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--navy-line); color: #E9DFC8; cursor: pointer;
}
.menu__close:active { background: rgba(198,161,91,.2); }

.menu__body { padding: 18px var(--gutter) 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

.menu__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; margin-bottom: 26px;
  background: var(--gold); color: var(--navy-deep); text-decoration: none;
  font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
}
.menu__cta:active { background: #D9B86C; color: var(--navy-deep); }

.menu__label {
  margin: 0 0 10px; font-family: var(--display); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}

.menu__list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--navy-line); }
.menu__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 60px; padding: 12px 4px;
  border-bottom: 1px solid var(--navy-line);
  color: var(--parchment); text-decoration: none; font-size: 19px;
}
.menu__list a:active { background: rgba(198,161,91,.14); color: var(--parchment); }
.menu__list--quiet a { font-size: 17px; color: var(--on-navy); min-height: 54px; }
.menu__count {
  font-family: var(--display); font-size: 13px; letter-spacing: 0.08em;
  color: var(--navy-deep); background: var(--gold); padding: 3px 9px; flex: none;
}
.menu__adult {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  background: var(--burgundy); color: var(--parchment);
  font-family: var(--display); font-size: 11px;
}

.menu__region { display: grid; gap: 10px; margin-bottom: 28px; }
.menu__region button {
  min-height: 58px; padding: 0 18px; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid var(--navy-line);
  color: var(--on-navy); font-family: var(--body); font-size: 18px; cursor: pointer;
}
.menu__region button.is-on { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); font-weight: 600; }

@media (min-width: 1080px) { .menu { display: none !important; } }

/* ---- hero --------------------------------------------------------------- */

.hero { position: relative; background: var(--navy-deep); color: var(--parchment); overflow: hidden; }
.hero__scene {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--scene); background-size: cover; background-position: 62% 30%;
  opacity: .30;
}
.hero__scene::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, #0E1B33 0%, rgba(14,27,51,.92) 38%, rgba(14,27,51,.55) 100%);
}
@media (max-width: 979px) {
  .hero__scene { background-position: 58% 22%; opacity: .22; }
  .hero__scene::after { background: linear-gradient(180deg, rgba(14,27,51,.78) 0%, rgba(14,27,51,.95) 55%); }
}
.hero__watermark {
  position: absolute; right: -18%; top: 50%; transform: translateY(-50%);
  width: min(900px, 92vw); opacity: .07; pointer-events: none;
}
@media (min-width: 980px) { .hero__watermark { right: 36%; opacity: .05; } }

.hero__inner {
  position: relative; display: grid; gap: 30px; align-items: center;
  /* minmax(0, 1fr), not the implicit auto track: an auto track grows to fit
     its widest child's min-content, and a <select> sizes itself to its
     longest option. That pushed the whole hero to 399px on a 360px phone,
     and overflow:hidden on .hero quietly clipped the right edge. */
  grid-template-columns: minmax(0, 1fr);
  padding: 40px var(--gutter) 52px; max-width: var(--shell); margin: 0 auto;
}
.hero__head, .hero__art, .hero__form { min-width: 0; }
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
    grid-template-areas: "head art" "form art";
    align-content: center; gap: 26px 64px;
    padding: 76px var(--gutter) 88px;
  }
  .hero__head { grid-area: head; }
  .hero__form { grid-area: form; }
  .hero__art  { grid-area: art; align-self: center; }
}

.hero h1 {
  color: var(--parchment); font-size: clamp(34px, 6.4vw, 62px);
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.hero .lede { color: var(--on-navy); margin-bottom: 0; }
.hero__head { margin-bottom: 4px; }
.hero__legal { color: var(--on-navy-dim); font-size: 14.5px; max-width: 46ch; margin: 18px 0 0; }

.builder {
  display: grid; gap: 14px; padding: 22px;
  background: rgba(20, 39, 72, .82); border: 1px solid var(--navy-line);
}
@media (min-width: 620px) {
  .builder { grid-template-columns: 1fr 1fr; }
  .builder button, .builder__field--wide { grid-column: 1 / -1; }
}
.builder__field { display: flex; flex-direction: column; gap: 7px; }
.builder__optional {
  font-family: var(--body); font-size: 13px; letter-spacing: 0;
  text-transform: none; color: var(--on-navy-dim); margin-left: 6px;
}
.builder textarea {
  min-height: 74px; padding: 12px 16px; resize: vertical; line-height: 1.45;
  font-family: var(--body); font-size: 17px; color: var(--parchment);
  background: var(--navy-deep); border: 1px solid var(--navy-line);
}
.builder textarea:focus { border-color: var(--gold); }
/* ---- frame picker, dark version for the hero ---------------------------- */

.builder__frames { border: 0; padding: 0; margin: 0; min-width: 0; }
.builder__frames legend {
  padding: 0 0 7px; font-family: var(--display); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.frame-pick { position: relative; min-width: 0; }
.frame-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.frame-pick__box {
  display: flex; align-items: center; gap: 9px;
  min-height: 56px; padding: 0 11px; cursor: pointer;
  background: var(--navy-deep); border: 1px solid var(--navy-line);
  transition: border-color .14s ease, background-color .14s ease;
}
.frame-pick input:checked + .frame-pick__box { border-color: var(--gold); background: rgba(198,161,91,.14); }
.frame-pick input:focus-visible + .frame-pick__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.frame-pick__chip { width: 22px; height: 22px; flex: none; border: 1px solid rgba(0,0,0,.45); }
.frame-pick__chip--none {
  position: relative;
  background: repeating-linear-gradient(45deg, #2A3A5C 0 4px, #1B2942 4px 8px);
}
.frame-pick__chip--none::after {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(to top right, transparent 46%, #9AA6BC 46%, #9AA6BC 54%, transparent 54%);
}
.frame-pick__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.frame-pick__label { font-size: 15px; color: var(--parchment); white-space: nowrap; }
.frame-pick__price { font-family: var(--display); font-size: 12px; color: var(--gold); }

@media (max-width: 860px) { .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 619px) {
  /* Keep the form compact enough that the button stays reachable. */
  .builder { gap: 12px; padding: 18px; }
  .builder__field input, .builder__field select { min-height: 52px; font-size: 17px; }
  .builder textarea { min-height: 62px; font-size: 16px; }
  .frame-pick__box { min-height: 52px; padding: 0 10px; gap: 8px; }
  .frame-pick__label { font-size: 14px; }
}
.builder__field label {
  font-family: var(--display); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.builder__field input, .builder__field select {
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  min-height: 56px; padding: 14px 16px;
  font-family: var(--body); font-size: 18px; color: var(--parchment);
  background: var(--navy-deep); border: 1px solid var(--navy-line);
}
.builder__field input:focus, .builder__field select:focus { border-color: var(--gold); }

.hero__proof {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 16px; color: var(--parchment);
}
.hero__proof li { display: flex; align-items: center; gap: 9px; }
.hero__proof li::before {
  content: ''; width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}

.hero__art { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__stage { width: 100%; display: flex; justify-content: center; filter: drop-shadow(0 34px 44px rgba(0,0,0,.55)); }
.hero__caption { margin: 0; font-size: 15px; color: var(--on-navy-dim); text-align: center; }

/* ---- "send it anonymously" badge ---------------------------------------- */

.anon-badge {
  --anon-badge-bg: var(--navy-deep);
  width: 100%; max-width: 520px;
  display: flex; align-items: center; gap: 13px;
  padding: 11px 16px 11px 13px; margin: 0 auto 14px;
  box-sizing: border-box;
}
.anon-badge--dark {
  --anon-badge-bg: var(--navy-deep);
  background: rgba(198, 161, 91, .12);
  border: 1px solid var(--gold);
  color: var(--gold);
}
.anon-badge--light {
  --anon-badge-bg: var(--parchment);
  background: var(--cream);
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
}
.anon-badge__icon { width: 38px; height: 38px; flex: none; }
.anon-badge__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.anon-badge__text strong {
  font-family: var(--display); font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.25;
}
.anon-badge--dark .anon-badge__text strong { color: var(--gold); }
.anon-badge--light .anon-badge__text strong { color: var(--burgundy); }
.anon-badge__text span { font-size: 15px; line-height: 1.4; }
.anon-badge--dark .anon-badge__text span { color: var(--parchment); }
.anon-badge--light .anon-badge__text span { color: var(--ink-soft); }

@media (max-width: 479px) {
  .anon-badge { gap: 11px; padding: 10px 12px; margin-bottom: 12px; }
  .anon-badge__icon { width: 32px; height: 32px; }
  .anon-badge__text strong { font-size: 13px; letter-spacing: 0.08em; }
  .anon-badge__text span { font-size: 14px; }
}

/* ---- proof strip -------------------------------------------------------- */

.proof { background: var(--cream); border-bottom: 1px solid var(--rule); }
.proof__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px;
  padding: 28px var(--gutter); max-width: var(--shell); margin: 0 auto; text-align: center;
}
@media (min-width: 860px) { .proof__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof h3 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); }
.proof p { margin: 6px 0 0; font-size: 16px; color: var(--ink-soft); max-width: none; }

/* ---- photographic section backgrounds -----------------------------------
   The scene sits well back behind a heavy wash so the type stays the loudest
   thing on the page. */

.band--scene, .closer--scene { position: relative; overflow: hidden; }
.band--scene > .shell, .closer--scene > .shell { position: relative; z-index: 2; }

.band--scene::before, .closer--scene::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: var(--scene); background-size: cover; background-position: center 26%;
  opacity: .40;
}
.band--scene::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,27,51,.88) 0%, rgba(14,27,51,.66) 42%, rgba(14,27,51,.92) 100%);
}
.closer--scene::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(110,27,42,.92) 0%, rgba(110,27,42,.84) 50%, rgba(85,19,31,.95) 100%);
}
.band--scene--light::before { opacity: .30; }
.band--scene--light::after {
  background: linear-gradient(180deg, rgba(252,248,238,.93) 0%, rgba(247,241,227,.88) 50%, rgba(252,248,238,.95) 100%);
}
@media (max-width: 720px) {
  .band--scene::before, .closer--scene::before { opacity: .15; background-position: center 20%; }
}

/* ---- generic section ---------------------------------------------------- */

.band { padding: 56px 0; }
.band--cream { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band--navy { background: var(--navy-deep); color: var(--parchment); }
.band--navy h2, .band--navy h3 { color: var(--parchment); }
.band--navy p { color: var(--on-navy); }
@media (min-width: 900px) { .band { padding: 80px 0; } }

.band__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.band__head p { margin: 10px 0 0; }
.band__head h2 { font-size: clamp(26px, 4.2vw, 40px); }

/* ---- the object section ------------------------------------------------- */

.object {
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #22304C 0%, #10203A 55%, #0A1526 100%);
  color: var(--parchment); padding: 64px 0 72px;
}
@media (min-width: 900px) { .object { padding: 96px 0 104px; } }
.object__head { text-align: center; max-width: 46ch; margin: 0 auto 52px; }
.object__head h2 { color: var(--parchment); font-size: clamp(26px, 4.2vw, 40px); }
.object__head .lede { color: var(--on-navy); max-width: none; margin: 14px auto 0; }

.object__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .object__grid { grid-template-columns: 1fr minmax(0, 420px) 1fr; gap: 48px; } }
.object__art { display: flex; justify-content: center; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); }
.object__specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 620px) and (max-width: 999px) { .object__specs { grid-template-columns: 1fr 1fr; } }
.object__specs h3 { color: var(--gold); font-size: 19px; margin-bottom: 7px; }
.object__specs p { margin: 0; color: var(--on-navy); font-size: 16.5px; }
@media (min-width: 1000px) {
  .object__specs--left { text-align: right; }
  .object__specs--left h3, .object__specs--left p { margin-left: auto; }
}

/* ---- steps -------------------------------------------------------------- */

.steps { display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--cream); border: 1px solid var(--rule); padding: 26px 24px; }
.band--cream .step { background: var(--parchment); }
.band--navy .step { background: var(--navy); border-color: var(--navy-line); }
.step__n { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold); display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.band--navy .step p { color: var(--on-navy); }

/* ---- faculty cards ------------------------------------------------------ */

.faculties { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .faculties { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .faculties { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.faculty {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 268px; padding: 28px 26px;
  text-decoration: none; color: var(--parchment);
  background: var(--navy-deep); border: 1px solid transparent;
  transition: border-color .15s ease;
}
.faculty:hover { border-color: var(--gold); color: var(--parchment); }
.faculty--her { background: var(--burgundy); }
.faculty--couples { background: var(--green); }
.faculty--work { background: #272727; }
.faculty--christmas { background: #1F4D33; }
.faculty--rude { background: var(--navy-deep); border-color: var(--burgundy); }
.faculty--create { background: var(--gold); color: var(--navy-deep); justify-content: center; }
.faculty--create:hover { color: var(--navy-deep); }

.faculty__art {
  position: absolute; bottom: -26px; right: -20px;
  width: 132px; transform: rotate(6deg); pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.5));
}
.faculty__body { position: relative; display: flex; flex-direction: column; gap: 11px; max-width: 68%; }
@media (max-width: 679px) { .faculty__art { width: 116px; bottom: -22px; } .faculty__body { max-width: 72%; } }
.faculty--create .faculty__body { max-width: none; }
.faculty h3 { color: inherit; font-size: 23px; }
.faculty p { margin: 0; font-size: 16px; color: inherit; opacity: .82; }
.faculty__count {
  font-family: var(--display); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.faculty--create .faculty__count, .faculty--her .faculty__count { color: inherit; opacity: .8; }
.tag-18 {
  display: inline-block; margin-left: 10px; padding: 4px 8px;
  background: var(--burgundy); color: var(--parchment);
  font-family: var(--display); font-size: 11px; letter-spacing: 0.1em;
}

/* ---- award grid --------------------------------------------------------- */

.awards { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .awards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .awards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.award-card {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.band--cream .award-card { background: var(--parchment); }
.award-card:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.award-card__art { display: flex; justify-content: center; padding: 24px 20px 6px; background: var(--navy-deep); }
.award-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.award-card__faculty { font-size: 13.5px; color: var(--ink-faint); }
.award-card h3 { font-size: 19px; color: var(--navy-deep); }
.award-card__foot {
  margin-top: auto; padding-top: 12px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 8px; border-top: 1px solid var(--rule);
}
.award-card__price { font-family: var(--display); font-size: 18px; color: var(--burgundy); }
.award-card__cta { font-size: 15px; color: var(--burgundy); }

/* ---- gift set ----------------------------------------------------------- */

.giftset { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .giftset { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .giftset { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.gift {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--navy-line); background: var(--navy);
  transition: border-color .15s ease, transform .15s ease;
}
.gift--cream { background: var(--parchment); border-color: var(--rule); }
.gift:hover { border-color: var(--gold); transform: translateY(-3px); }

/* The photograph leads. Square, so the row stays even whatever is in frame. */
.gift__art { position: relative; aspect-ratio: 1 / 1; background: #1B2436; overflow: hidden; }
.gift__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift__art .mock { position: absolute; inset: 12%; width: 76%; max-width: none; margin: auto; }

.gift__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.gift h3 { font-size: 17px; color: var(--parchment); }
.gift p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--on-navy-dim); }
.gift__price { margin-top: auto; padding-top: 10px; font-family: var(--display); font-size: 19px; color: var(--gold); }

.gift--cream h3 { color: var(--navy-deep); }
.gift--cream p { color: var(--ink-soft); }
.gift--cream .gift__price { color: var(--burgundy); }

.giftset__note { margin: 18px 0 0; font-size: 14px; color: var(--on-navy-dim); }

/* ---- merchandise renders ------------------------------------------------ */

.mock { display: block; width: 100%; max-width: 168px; height: auto; }

/* ---- closing cta -------------------------------------------------------- */

.closer { position: relative; overflow: hidden; background: var(--burgundy); color: var(--parchment); padding: 64px 0; text-align: center; }
.closer__seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, 120vw); opacity: .09; pointer-events: none; }
.closer .shell { position: relative; }
.closer h2 { color: var(--parchment); max-width: 24ch; margin: 0 auto; font-size: clamp(26px, 4.4vw, 42px); }
.closer .lede { color: #EAD3D7; margin: 14px auto 28px; }
.closer__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---- certificate -------------------------------------------------------- */

.frame {
  --frame-colour: #3A2A1C;
  --frame-edge: #241810;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 26 / 35;
  padding: 4.6%;
  background: var(--frame-colour);
  border: 1px solid var(--frame-edge);
  box-shadow: 0 22px 44px rgba(28, 26, 22, .28);
}
.frame--wood   { --frame-colour: #6B4A2A; --frame-edge: #45301B; }
.frame--black  { --frame-colour: #1B1B1B; --frame-edge: #0A0A0A; }
.frame--white  { --frame-colour: #F2EFE8; --frame-edge: #CFC9BB; }
/* Retired finishes, kept so old orders still render. */
.frame--walnut { --frame-colour: #3A2A1C; --frame-edge: #241810; }
.frame--oak    { --frame-colour: #9A7B4F; --frame-edge: #6F5836; }

/* No frame: just the certificate, with a soft drop so it still reads as an
   object rather than floating text. */
.frame--none {
  padding: 0; background: none; border: 0;
  box-shadow: 0 10px 26px rgba(28, 26, 22, .20);
}
.frame--none .frame__mount { padding: 0; background: none; }
.frame--sm { max-width: 190px; }
.frame--xs { max-width: 152px; }

/* The container lives on the mount, not the certificate: an element cannot
   query its own size, so cqi units inside .cert need the parent to be the
   container. Getting this wrong silently pins every certificate to the
   minimum font size. */
.frame__mount { height: 100%; background: var(--gold-dark); padding: 1.1%; container-type: inline-size; }

.cert {
  height: 100%;
  background: var(--cert-paper, var(--cream));
  padding: 5.5%;
  /* One scale knob. cqi is 1% of the container's inline size, so the whole
     certificate stays in proportion whether it is 152px wide on a card or
     520px on the product page. */
  font-size: clamp(3px, 3.4cqi, 20px);
}
.cert__rule {
  position: relative;
  height: 100%; border: 0.14em solid var(--cert-rule, var(--gold));
  outline: 0.05em solid var(--cert-rule, var(--gold)); outline-offset: 0.28em;
  padding: 1.9em 1.25em 1.5em;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.46em;
  overflow: hidden;
}
.cert__crest { width: 2.6em; height: auto; flex: none; }
.cert__college { font-family: var(--display); font-size: 0.82em; letter-spacing: 0.22em; color: var(--cert-college, var(--burgundy)); line-height: 1.3; }
.cert__confers { font-style: italic; font-size: 0.78em; color: var(--ink-soft); }
.cert__name { font-family: var(--display); font-size: 1.6em; line-height: 1.15; color: var(--cert-name, #10203A); }
.cert__award { font-family: var(--display); font-size: 1.1em; line-height: 1.32; color: var(--cert-title, var(--burgundy)); }
.cert__divider { width: 4.5em; height: 1px; background: var(--cert-rule, var(--gold)); flex: none; }
.cert__dedication { font-style: italic; font-size: 0.82em; line-height: 1.5; color: var(--ink); max-width: 21em; }
.cert__date { font-size: 0.74em; color: var(--ink-soft); }
.cert__spacer { flex: 1 1 auto; min-height: 0.6em; }

.cert__sign {
  width: 100%; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 0.5em; flex: none;
}
.cert__sig {
  display: flex; flex-direction: column; align-items: center; gap: 0.15em;
  width: 8em; min-width: 0; overflow: hidden;
}
.cert__sig-name {
  /* Italianno is the intended face. The fallbacks are wider, so the size is
     set to survive either one without running into the seal. */
  font-family: 'Italianno', 'Snell Roundhand', 'Apple Chancery', cursive, serif;
  font-size: 1.28em; line-height: 1.1; color: #10203A;
  white-space: nowrap; font-style: italic;
}
.cert__sig-rule { width: 100%; height: 1px; background: #9A9384; }
.cert__sig-role {
  font-family: var(--display); font-size: 0.46em; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.35; text-align: center;
}
.cert__seal { width: 4.4em; height: auto; flex: none; }
.cert__foot {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1em;
  font-size: 0.5em; letter-spacing: 0.1em; color: var(--ink-faint);
}
.cert__foot span:only-child { margin: 0 auto; }
.cert p { margin: 0; max-width: none; }

.frame--sm .cert__dedication,
.frame--sm .cert__confers,
.frame--sm .cert__date,
.frame--xs .cert__dedication,
.frame--xs .cert__confers,
.frame--xs .cert__date,
.frame--xs .cert__foot,
.frame--sm .cert__sig,
.frame--xs .cert__sig { display: none; }
.frame--sm .cert__sign,
.frame--xs .cert__sign { justify-content: center; }
.frame--xs .cert__rule { padding: 1.1em .8em; gap: .4em; }

/* ---- certificate themes -------------------------------------------------
   One per faculty. Paper tint, rule colour, motif and corner ornaments all
   change, so a page of forty-one awards does not read as one picture. */

.cert__motif {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 62%; height: auto; color: var(--cert-motif, #C6A15B);
  opacity: .085; pointer-events: none;
}
.frame--xs .cert__motif { opacity: .12; width: 70%; }

.cert__corner {
  position: absolute; width: 1.5em; height: 1.5em; pointer-events: none;
  border: 0 solid var(--cert-rule, var(--gold));
}
.cert__corner--tl { top: .32em; left: .32em; border-top-width: .1em; border-left-width: .1em; }
.cert__corner--tr { top: .32em; right: .32em; border-top-width: .1em; border-right-width: .1em; }
.cert__corner--bl { bottom: .32em; left: .32em; border-bottom-width: .1em; border-left-width: .1em; }
.cert__corner--br { bottom: .32em; right: .32em; border-bottom-width: .1em; border-right-width: .1em; }
.frame--xs .cert__corner { display: none; }

/* For him — the house style. Cool parchment, gold rules. */
.cert-oxford  { --cert-paper: #FCF8EE; --cert-rule: #C6A15B; --cert-motif: #8A6A28;
                --cert-title: #6E1B2A; --cert-college: #6E1B2A; --cert-name: #10203A; }

/* For her — warmer paper, rose rules, a rosette behind the wording. */
.cert-rose    { --cert-paper: #FDF4EF; --cert-rule: #B07C86; --cert-motif: #9C4257;
                --cert-title: #8C2740; --cert-college: #8C2740; --cert-name: #3A1420; }
.cert-rose .cert__corner { border-radius: 0; }

/* Couples — laurel green, softer cream. */
.cert-laurel  { --cert-paper: #F8F6EA; --cert-rule: #6E8A62; --cert-motif: #1E3A34;
                --cert-title: #1E3A34; --cert-college: #2C4A3E; --cert-name: #16261F; }

/* Work and retirement — graphite, squarer, more corporate. */
.cert-slate   { --cert-paper: #F6F5F1; --cert-rule: #8C8577; --cert-motif: #3A3A3A;
                --cert-title: #2A2A2A; --cert-college: #4A4A4A; --cert-name: #17171A; }
.cert-slate .cert__rule { outline-offset: 0.18em; }

/* Christmas — holly green rules, a tree behind the wording. */
.cert-festive { --cert-paper: #FBF6EC; --cert-rule: #2F6B45; --cert-motif: #1F4D33;
                --cert-title: #8E1B25; --cert-college: #1F4D33; --cert-name: #10261A; }

/* The rude collection — darker paper, heavier crimson rules. */
.cert-crimson { --cert-paper: #FBF0E8; --cert-rule: #8E2230; --cert-motif: #6E1B2A;
                --cert-title: #6E1B2A; --cert-college: #4A1018; --cert-name: #2A0C12; }
.cert-crimson .cert__rule { border-width: 0.2em; }

/* Variants — three border and motif treatments per theme, picked from the
   award id, so a grid of one faculty is not twelve copies of one picture. */

.certv-1 .cert__rule { outline-offset: 0.28em; }
.certv-1 .cert__motif { width: 58%; }

.certv-2 .cert__rule { outline: 0; border-width: 0.22em; }
.certv-2 .cert__motif { width: 74%; opacity: .07; top: 55%; }
.certv-2 .cert__corner { width: 2.1em; height: 2.1em; }

.certv-3 .cert__rule { outline-offset: 0.55em; outline-width: 0.09em; border-width: 0.09em; }
.certv-3 .cert__motif { width: 46%; opacity: .11; top: 48%; }
.certv-3 .cert__corner { display: none; }

/* ---- product page ------------------------------------------------------- */

.product { display: grid; gap: 36px; padding: 40px 0 56px; grid-template-columns: minmax(0, 1fr); }
.product > * { min-width: 0; }
@media (min-width: 980px) { .product { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; padding: 56px 0 72px; } }

.product__preview { position: relative; }
@media (min-width: 980px) { .product__preview { position: sticky; top: 24px; align-self: start; } }
.product__preview-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); }

.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 4px 0 14px; }
.price { font-family: var(--display); font-size: clamp(28px, 4vw, 34px); color: var(--burgundy); }
.pill {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--navy-deep); padding: 7px 12px;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > label, .fieldset__legend {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep);
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  min-height: 56px; padding: 14px 16px;
  font-family: var(--body); font-size: 18px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--rule-dark);
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); }
.field__hint { font-size: 15px; color: var(--ink-soft); }
.field__count { font-size: 14px; color: var(--ink-faint); }

.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch > span {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 62px; padding: 0 16px; cursor: pointer;
  background: var(--cream); border: 1px solid var(--rule-dark); font-size: 16px;
}
.swatch__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.swatch__price { font-family: var(--display); font-size: 14px; color: var(--burgundy); }
.swatch__chip--none {
  background: repeating-linear-gradient(45deg, #EDE6D6 0 5px, #DCD3BE 5px 10px);
  position: relative;
}
.swatch__chip--none::after {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(to top right, transparent 46%, #8A8172 46%, #8A8172 54%, transparent 54%);
}
@media (max-width: 520px) {
  .swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .swatch > span { width: 100%; padding: 0 12px; gap: 9px; }
}
.swatch input:checked + span { border: 2px solid var(--burgundy); }
.swatch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.swatch__chip { width: 28px; height: 28px; border: 1px solid #241810; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule-dark); background: var(--cream); }
.qty button { width: 56px; min-height: 56px; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty input { width: 56px; min-height: 56px; text-align: center; border: 0; background: none; font-family: var(--body); font-size: 19px; }

.legal-note {
  background: var(--cream); border: 1px solid var(--rule); border-left: 4px solid var(--burgundy);
  padding: 16px 20px; font-size: 16px; line-height: 1.55; margin: 22px 0;
}
.legal-note p { margin: 0; }

.meta-list { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--ink-soft); margin-top: 14px; }

/* ---- upsell ------------------------------------------------------------- */

.progress {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; padding: 18px var(--gutter);
  background: var(--cream); border-bottom: 1px solid var(--rule);
  font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.progress span { color: var(--ink-faint); }
.progress .is-current { color: var(--burgundy); }

.extras { display: grid; gap: 12px; margin: 24px 0; }
.extra { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; background: var(--parchment); border: 1px solid var(--rule-dark); }
.extra:has(input:checked) { background: var(--cream); border: 2px solid var(--burgundy); padding: 17px 19px; }
.extra input { width: 24px; height: 24px; accent-color: var(--burgundy); flex: none; }
.extra__thumb { width: 78px; height: 78px; object-fit: cover; flex: none; border: 1px solid var(--rule-dark); }
@media (min-width: 620px) { .extra__thumb { width: 96px; height: 96px; } }
.extra__body { flex: 1; }
.extra__body h3 { font-size: 19px; }
.extra__body p { margin: 4px 0 0; font-size: 16px; color: var(--ink-soft); }
.extra__price { font-family: var(--display); font-size: 20px; color: var(--burgundy); }

.summary { background: var(--cream); border: 1px solid var(--rule); padding: 24px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--ink-soft); }
.summary__row--total { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 16px; align-items: baseline; color: var(--ink); }
.summary__row--total dt { font-family: var(--display); font-size: 19px; letter-spacing: 0.1em; text-transform: uppercase; }
.summary__row--total dd { font-family: var(--display); font-size: 30px; color: var(--burgundy); margin: 0; }
.summary dl, .summary dd { margin: 0; }
.free { font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; color: var(--green); text-transform: uppercase; }

/* ---- gift delivery at checkout ----------------------------------------- */

.checkout__h { font-size: 22px; margin: 30px 0 16px; }
.deliver-to { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 560px) { .deliver-to { grid-template-columns: 1fr 1fr; } }
.deliver-to__opt, .anon { position: relative; display: block; cursor: pointer; }
.deliver-to__opt input, .anon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.deliver-to__opt > span, .anon > span {
  display: flex; flex-direction: column; gap: 3px;
  min-height: 64px; padding: 14px 16px 14px 46px; position: relative;
  background: var(--cream); border: 1px solid var(--rule-dark);
}
.deliver-to__opt > span::before, .anon > span::before {
  content: ''; position: absolute; left: 16px; top: 17px;
  width: 18px; height: 18px; border: 2px solid var(--rule-dark); background: #fff;
}
.deliver-to__opt > span::before { border-radius: 50%; }
.deliver-to__opt input:checked + span, .anon input:checked + span {
  border: 2px solid var(--burgundy); padding: 13px 15px 13px 45px;
}
.deliver-to__opt input:checked + span::before { border-color: var(--burgundy); background: radial-gradient(var(--burgundy) 45%, #fff 50%); }
.anon input:checked + span::before { border-color: var(--burgundy); background: var(--burgundy); }
.anon input:checked + span::after {
  content: ''; position: absolute; left: 22px; top: 20px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.deliver-to__opt input:focus-visible + span, .anon input:focus-visible + span {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.deliver-to__opt strong, .anon strong { font-size: 17px; color: var(--navy-deep); }
.deliver-to__opt span span, .anon span span { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.gift-only { margin-bottom: 8px; }
.gift-only[hidden] { display: none; }
.anon { margin: 4px 0 18px; }
.address-label {
  margin: 8px 0 12px; font-family: var(--display); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
}

/* ---- basket / checkout -------------------------------------------------- */

.layout-split { display: grid; gap: 32px; padding: 32px 0 64px; }
@media (min-width: 900px) { .layout-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; } }

.line-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.line-item__body { flex: 1; }
.line-item h3 { font-size: 19px; }
.line-item dl { margin: 8px 0 0; font-size: 16px; color: var(--ink-soft); }
.line-item dt { display: inline; font-weight: 600; }
.line-item dt::after { content: ': '; }
.line-item dd { display: inline; margin: 0; }
.line-item dd::after { content: ''; display: block; }
.line-item__price { font-family: var(--display); font-size: 19px; color: var(--burgundy); white-space: nowrap; }

/* ---- legal pages -------------------------------------------------------- */

.legal-page { max-width: 780px; }
.legal-page h2 {
  font-size: clamp(20px, 2.6vw, 25px); margin: 38px 0 12px; color: var(--navy-deep);
}
.legal-page h3 { font-size: 19px; margin: 26px 0 8px; color: var(--burgundy); }
.legal-page p { font-size: 17px; line-height: 1.7; }
.legal-page ul, .legal-page ol { font-size: 17px; line-height: 1.7; padding-left: 22px; margin: 0 0 1em; }
.legal-page li { margin-bottom: 8px; }
.legal-page dl { margin: 0 0 1em; }
.legal-page dt { font-weight: 600; margin-top: 14px; }
.legal-page dd { margin: 4px 0 0; color: var(--ink-soft); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 16px; }
.legal-page th, .legal-page td {
  text-align: left; padding: 10px 12px; border: 1px solid var(--rule); vertical-align: top;
}
.legal-page th { background: var(--cream); font-family: var(--display); font-size: 14px; }

/* ---- order tracking ----------------------------------------------------- */

.track { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 0; }
.track__step { position: relative; display: flex; gap: 18px; padding: 0 0 26px 0; }
.track__step:last-child { padding-bottom: 0; }
.track__step::before {
  content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px;
  background: var(--rule-dark);
}
.track__step:last-child::before { display: none; }
.track__step.is-done::before { background: var(--gold); }
.track__dot {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  border: 2px solid var(--rule-dark); background: var(--parchment); position: relative; z-index: 1;
}
.track__step.is-done .track__dot { background: var(--gold); border-color: var(--gold); }
.track__body { display: flex; flex-direction: column; gap: 3px; }
.track__body strong { font-family: var(--display); font-size: 19px; color: var(--ink-faint); }
.track__step.is-done .track__body strong { color: var(--navy-deep); }
.track__body span { font-size: 16px; color: var(--ink-soft); }

/* ---- occasions ---------------------------------------------------------- */

.occasion-links { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .occasion-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .occasion-links { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.occasion-links a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 12px; background: var(--parchment);
  border: 1px solid var(--rule-dark); color: var(--navy-deep); text-decoration: none; font-size: 17px;
}
.band--cream .occasion-links a { background: var(--cream); }
.occasion-links a:hover { border-color: var(--gold); color: var(--burgundy); }

/* ---- reviews ------------------------------------------------------------ */

.reviews { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { background: var(--cream); border: 1px solid var(--rule); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.band--cream .review { background: var(--parchment); }
.stars { color: var(--gold-deep); letter-spacing: 0.18em; font-size: 15px; }
.review blockquote { margin: 0; font-style: italic; font-size: 17px; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: 15px; color: var(--ink-soft); }

/* ---- photo placeholders ------------------------------------------------- */

.photo-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 200px; padding: 20px; text-align: center;
  background: repeating-linear-gradient(45deg, #EFE7D3 0 12px, #E9E0C9 12px 24px);
  border: 1px dashed var(--gold-deep); color: var(--gold-deep);
}
.photo-slot__name { font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; }
.photo-slot__alt { font-size: 14px; color: var(--ink-soft); max-width: 34ch; }

/* ---- age gate ----------------------------------------------------------- */

.gate { max-width: 620px; margin: 0 auto; text-align: center; padding: 64px 0 80px; }
.gate .btn { margin: 6px; }

/* ---- footer ------------------------------------------------------------- */

.colophon { background: var(--navy-deep); color: var(--on-navy); padding: 48px 0 40px; }
.colophon a { color: var(--on-navy); text-decoration: none; }
.colophon a:hover { color: var(--gold); }
.colophon__grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .colophon__grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; } }
.colophon h2 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
/* The lockup image crushed its own wordmark at this size. Crest as artwork,
   the words set in real type — sharper, and it scales. */
.colophon__brand { margin-bottom: 20px; }
.colophon__crest { width: 96px; height: auto; margin-bottom: 14px; }
.colophon__name {
  margin: 0; font-family: var(--display); font-size: 20px; letter-spacing: 0.14em;
  color: var(--parchment); line-height: 1.2;
}
.colophon__city {
  margin: 4px 0 0; font-family: var(--display); font-size: 11px;
  letter-spacing: 0.52em; color: var(--gold);
}
.colophon__motto {
  margin: 10px 0 0; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--on-navy-dim);
}
.colophon__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 15px; line-height: 1.65; color: var(--on-navy-dim); }
.colophon__legal p { max-width: 90ch; }

/* ---- flash -------------------------------------------------------------- */

.flash { background: var(--burgundy); color: var(--parchment); padding: 14px var(--gutter); text-align: center; font-size: 17px; }
