/* ==========================================================================
   Cretan Legacy — site styles
   Palette and type are drawn from the tin labels: parchment, deep olive,
   antique gold, Knossos terracotta and thyme-honey amber.
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --parchment: #f4ead3;
  --parchment-deep: #e9dab6;
  --paper: #fbf6e8;
  --ink: #1a190f;
  --ink-soft: #37351f;
  --olive-900: #232c16;
  --olive-700: #3a4720;
  --olive-500: #66752f;
  --gold: #a9812f;        /* decoration: rules, icons, borders */
  --gold-text: #6f4f0c;   /* small gold lettering on parchment */
  --gold-deep: #8a6414;   /* large gold lettering */
  --gold-light: #d9bb6c;
  --terracotta: #a3442b;
  --honey: #c4861c;
  --honey-text: #7d4d06;
  --honey-pale: #f6dfa4;
  --plum: #5b1f2f;

  --font-display: "Cinzel", "Trajan Pro", "Cormorant SC", Georgia, serif;
  --font-body: "EB Garamond", "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;

  --wrap: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --shadow-tin: 0 28px 40px -22px rgba(35, 30, 10, 0.55), 0 8px 14px -8px rgba(35, 30, 10, 0.35);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(1200px 600px at 12% -5%, rgba(255, 252, 240, 0.9), transparent 60%),
    radial-gradient(900px 700px at 100% 30%, rgba(214, 190, 130, 0.28), transparent 65%),
    radial-gradient(1000px 800px at 0% 85%, rgba(206, 180, 120, 0.25), transparent 60%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--terracotta); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--olive-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: 0.06em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: var(--section); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--olive-900); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 3px; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
}
.eyebrow--honey { color: var(--plum); }
.eyebrow--light { color: #e6cc85; }

.lead { font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); }

/* Olive-sprig rule, as on the back of the tin */
.rule {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  color: var(--gold); margin: 1.6rem auto; max-width: 16rem;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.75; }
.rule svg { width: 1.7rem; height: 1rem; flex: none; }
.rule--left { margin-inline: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--olive-700); border-radius: 2px;
  background: var(--olive-700); color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(217, 187, 108, 0.55);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--olive-900); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--olive-700); box-shadow: none; }
.btn--ghost:hover { background: var(--olive-700); color: var(--paper); }
.btn--gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--olive-900); box-shadow: none; }
.btn--gold:hover { background: #ecd28d; color: var(--olive-900); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 234, 211, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(169, 129, 47, 0.45);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.6rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--olive-900);
}
.brand:hover { color: var(--olive-900); }
.brand__mark { width: 2.5rem; height: 2.2rem; color: var(--gold); flex: none; }
.brand__name {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.22rem; letter-spacing: 0.1em; line-height: 1.05;
}
.brand__tag {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); margin-top: 0.25rem;
}

.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.2vw, 2rem); }
.nav a {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  color: var(--olive-900); padding: 0.5rem 0; position: relative; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a.btn { color: var(--paper); padding: 0.7rem 1.15rem; font-size: 0.78rem; }
.nav a.btn[aria-current="page"] { background: var(--olive-900); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(58, 71, 32, 0.4); border-radius: 2px;
  width: 2.75rem; height: 2.75rem; padding: 0; cursor: pointer; color: var(--olive-900);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--parchment); border-bottom: 1px solid rgba(169, 129, 47, 0.45);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: 0 18px 24px -18px rgba(35, 30, 10, 0.4);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.95rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(169, 129, 47, 0.25); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--terracotta); }
  .nav a.btn { margin-top: 1rem; text-align: center; border-bottom: 0; padding: 0.95rem 1rem; font-size: 0.86rem; }
}

/* ---------- Hero (home) ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero .lead { max-width: 33rem; margin-bottom: 2rem; }
.hero__motto {
  margin-top: 2.4rem; font-family: var(--font-display); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--olive-900);
}

.tins { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; margin-inline: auto; }
.tins::before {
  content: ""; position: absolute; inset: 6% -4% 0;
  background: radial-gradient(closest-side, rgba(217, 187, 108, 0.55), rgba(217, 187, 108, 0) 72%);
}
.tins img { position: absolute; filter: drop-shadow(0 26px 22px rgba(35, 30, 10, 0.38)); }
.tins__oil { width: 50%; left: 3%; top: 0; z-index: 2; transform: rotate(-2.5deg); }
.tins__honey { width: 52%; right: 0; top: 23%; z-index: 1; transform: rotate(3deg); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .tins { max-width: 420px; order: -1; }
}

/* ---------- Page header (inner pages) ---------- */

.page-head { padding-block: clamp(2.8rem, 6vw, 4.6rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.page-head .lead { max-width: 40rem; margin-inline: auto; }

/* ---------- Story blocks ---------- */

.story__grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.story--flip .story__media { order: 2; }
.story__body { max-width: 35rem; }
.story--flip .story__body { justify-self: end; }

.dropcap::first-letter {
  font-family: var(--font-display); font-weight: 600; color: var(--gold-deep);
  float: left; font-size: 3.5em; line-height: 0.8; padding: 0.08em 0.1em 0 0;
}

/* Framed plate — the fine double keyline from the label artwork */
.plate {
  position: relative; margin: 0; padding: 0.6rem;
  background: var(--paper);
  border: 1px solid rgba(169, 129, 47, 0.7);
  box-shadow: 0 30px 44px -30px rgba(35, 30, 10, 0.6);
}
.plate::after {
  content: ""; position: absolute; inset: 0.25rem; pointer-events: none;
  border: 1px solid rgba(169, 129, 47, 0.45);
}
.plate img { width: 100%; }
.plate figcaption {
  font-family: var(--font-display); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.22em;
  text-transform: uppercase; text-align: center; color: var(--gold-text); padding: 0.7rem 0 0.25rem;
}
.cutout { margin: 0; filter: drop-shadow(0 26px 24px rgba(60, 40, 5, 0.32)); }
.cutout img { width: 100%; }

.creed {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; line-height: 1.5; font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--olive-900); margin-top: 0.4rem;
}
.creed strong { color: var(--gold-text); font-weight: 700; }
.creed span { display: block; }
.creed span:last-child { font-size: 0.86em; margin-top: 0.3rem; }

.story--honey {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(246, 223, 164, 0.95), transparent 70%),
    linear-gradient(180deg, rgba(240, 205, 125, 0.42), rgba(233, 190, 100, 0.3));
  border-block: 1px solid rgba(196, 134, 28, 0.35);
}
.story--honey h2 { color: var(--plum); }
.story--honey .rule { color: var(--honey); }
.signoff { font-style: italic; font-size: 1.35rem; color: var(--plum); line-height: 1.35; }

@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story--flip .story__media { order: 0; }
  .story__media { max-width: 26rem; margin-inline: auto; width: 100%; }
  .story__body, .story--flip .story__body { justify-self: center; }
}

/* ---------- Pillars band ---------- */

.band {
  background: var(--olive-900);
  background-image: radial-gradient(900px 400px at 50% 0%, rgba(102, 117, 47, 0.45), transparent 70%);
  color: #ece5cf;
  position: relative;
}
.band h2, .band h3 { color: var(--paper); }
.meander {
  height: 16px; background-repeat: repeat-x; background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath d='M0 13H20V3H6V9H14' fill='none' stroke='%23d9bb6c' stroke-width='1.6'/%3E%3Cpath d='M20 13H24' fill='none' stroke='%23d9bb6c' stroke-width='1.6'/%3E%3C/svg%3E");
  opacity: 0.85;
}
.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.pillars li { display: flex; flex-direction: column; align-items: center; }
.pillar__icon {
  width: 4.6rem; height: 4.6rem; border-radius: 50%; margin-bottom: 1rem;
  border: 1px solid var(--gold-light); color: var(--gold-light);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 4px var(--olive-900), inset 0 0 0 5px rgba(217, 187, 108, 0.4);
}
.pillar__icon svg { width: 2.3rem; height: 2.3rem; }
.pillars h3 { font-size: 0.86rem; letter-spacing: 0.18em; margin-bottom: 0.45rem; }
.pillars p { font-size: 1.05rem; line-height: 1.45; color: #e8e2cb; max-width: 15rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Island / map ---------- */

.island__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.places { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid rgba(169, 129, 47, 0.45); }
.places li {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(169, 129, 47, 0.45);
}
.places b {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text); padding-top: 0.3rem;
}
@media (max-width: 860px) { .island__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .places li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- Call to action ---------- */

.cta { text-align: center; }
.cta h2 { margin-bottom: 0.4em; }
.cta p { max-width: 36rem; margin-inline: auto; }
.band.cta p:not(.eyebrow) { color: #e8e2cb; }
.cta .btn-row { justify-content: center; margin-top: 1.9rem; }

/* ---------- Product detail ---------- */

.product { scroll-margin-top: 6rem; }
.product__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.product--flip .gallery { order: 2; }
.product__name { margin-bottom: 0.2em; }
.product__kind {
  font-family: var(--font-display); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 1rem; font-weight: 600; color: var(--gold-text); margin-bottom: 1.3rem;
}
.product--honey .product__name, .product--honey h3 { color: var(--plum); }
.product--honey .product__kind { color: var(--honey-text); }

.gallery { position: sticky; top: 6.2rem; }
.gallery__stage {
  display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(closest-side, rgba(217, 187, 108, 0.45), transparent 78%);
}
.gallery__stage img { max-height: 34rem; width: auto; filter: drop-shadow(0 26px 22px rgba(35, 30, 10, 0.38)); }
.gallery__tabs { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.6rem; }
.gallery__tabs button {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer; color: var(--olive-700);
  background: transparent; border: 1px solid rgba(58, 71, 32, 0.45); border-radius: 2px;
  padding: 0.55rem 1rem;
}
.gallery__tabs button[aria-pressed="true"] { background: var(--olive-700); color: var(--paper); border-color: var(--olive-700); }

.specs { margin: 1.8rem 0; border-top: 1px solid rgba(169, 129, 47, 0.5); }
.specs div {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(169, 129, 47, 0.5);
}
.specs dt {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text); padding-top: 0.32rem;
}
.product--honey .specs dt { color: var(--honey-text); }
.specs dd { margin: 0; }

.note {
  background: rgba(251, 246, 232, 0.8); border-left: 3px solid var(--gold);
  padding: 1.1rem 1.3rem; margin-top: 1.6rem;
}
.note h3 { font-size: 0.86rem; letter-spacing: 0.18em; margin-bottom: 0.45rem; }
.product--honey .note { border-left-color: var(--honey); }

@media (max-width: 860px) {
  .product__grid { grid-template-columns: 1fr; }
  .product--flip .gallery { order: 0; }
  .gallery { position: static; }
  .gallery__stage img { max-height: 26rem; }
}
@media (max-width: 480px) { .specs div { grid-template-columns: 1fr; gap: 0; } }

.divider-band { border-top: 1px solid rgba(169, 129, 47, 0.4); }

/* ---------- Steps ---------- */

.steps {
  list-style: none; counter-reset: step; margin: 2.2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem);
}
.steps li { counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step, upper-roman);
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--gold-text);
  border: 1px solid var(--gold); border-radius: 50%;
}
.band .steps li::before { color: var(--gold-light); border-color: var(--gold-light); }
.steps h3 { font-size: 0.9rem; letter-spacing: 0.18em; margin-bottom: 0.45rem; }
.steps p { font-size: 1.08rem; line-height: 1.5; }
.band .steps p { color: #e8e2cb; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

.steps--stack { grid-template-columns: 1fr; gap: 1.3rem; margin-top: 1.6rem; }
.steps--stack li { text-align: left; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1.1rem; }
.steps--stack li::before { margin: 0; grid-row: span 2; }
.steps--stack h3 { align-self: end; margin-bottom: 0.15rem; }

/* ---------- Awards ---------- */

.awards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1.6rem;
}
.award {
  position: relative; background: var(--paper); text-align: center;
  border: 1px solid rgba(169, 129, 47, 0.7); padding: 2.2rem 1.6rem 1.9rem;
  box-shadow: 0 24px 36px -30px rgba(35, 30, 10, 0.6);
}
.award::after {
  content: ""; position: absolute; inset: 0.3rem; border: 1px solid rgba(169, 129, 47, 0.4); pointer-events: none;
}
.award__medal { width: 3.6rem; height: 4.4rem; margin: 0 auto 1rem; color: var(--gold); }
.award__year { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.26em; color: var(--gold-text); margin: 0 0 0.5rem; }
.award h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.award__by { color: var(--ink-soft); margin: 0 0 0.9rem; line-height: 1.4; }
.award__for {
  display: inline-block; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--olive-700); border: 1px solid rgba(58, 71, 32, 0.4);
  padding: 0.3rem 0.7rem; border-radius: 99px;
}
.award--honey .award__for { color: var(--plum); border-color: rgba(91, 31, 47, 0.4); }
.award__sample {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 1;
  font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--terracotta); color: #fff; padding: 0.2rem 0.5rem; border-radius: 2px;
}
.awards-empty {
  text-align: center; max-width: 34rem; margin-inline: auto; padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(169, 129, 47, 0.7); background: rgba(251, 246, 232, 0.6);
}

/* ---------- Contact / order form ---------- */

.contact__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__grid .card { order: -1; }
}

.contact-lines { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem; padding: 0.5rem 0; }
.contact-lines b {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text); padding-top: 0.34rem;
}
.contact-lines a { overflow-wrap: anywhere; }

.card {
  position: relative; background: var(--paper);
  border: 1px solid rgba(169, 129, 47, 0.7);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: 0 30px 46px -34px rgba(35, 30, 10, 0.6);
}
.card::after {
  content: ""; position: absolute; inset: 0.3rem; border: 1px solid rgba(169, 129, 47, 0.4); pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card { scroll-margin-top: 6rem; }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .form legend {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--olive-900);
}
.field .opt { font-family: var(--font-body); font-style: italic; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink); width: 100%;
  background: #fffdf6; border: 1px solid rgba(85, 82, 60, 0.45); border-radius: 2px;
  padding: 0.7rem 0.85rem; min-height: 3rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--olive-500); outline-offset: 0; border-color: var(--olive-500);
}
.field [aria-invalid="true"] { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.field__error { color: var(--terracotta); font-size: 1rem; line-height: 1.3; }
.field__error:empty { display: none; }

.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 0.6rem; }
.picks { display: grid; gap: 0.7rem; }
.pick {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: center;
  border: 1px solid rgba(169, 129, 47, 0.5); background: #fffdf6; padding: 0.7rem 0.9rem; border-radius: 2px;
}
.pick img { width: 3.2rem; height: 3.8rem; object-fit: contain; }
.pick__name { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.08em; line-height: 1.3; color: var(--olive-900); display: block; }
.pick__sub { display: block; color: var(--ink-soft); font-size: 1rem; line-height: 1.3; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid rgba(85, 82, 60, 0.45); border-radius: 2px; background: #fff; }
.qty button {
  width: 2.5rem; border: 0; background: transparent; cursor: pointer;
  font-size: 1.3rem; line-height: 1; color: var(--olive-700); font-family: var(--font-body);
}
.qty button:hover { background: rgba(217, 187, 108, 0.3); }
.qty input {
  width: 3rem; text-align: center; border: 0; border-inline: 1px solid rgba(85, 82, 60, 0.3);
  font: inherit; font-size: 1.1rem; padding: 0.45rem 0; min-height: 2.75rem; background: transparent; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 480px) {
  .pick { grid-template-columns: 2.6rem 1fr; }
  .pick .qty { grid-column: 1 / -1; justify-self: start; }
}

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form__fine { font-size: 1rem; color: var(--ink-soft); line-height: 1.4; max-width: 22rem; margin: 0; }
.form__status { color: var(--terracotta); margin: 0; }
.form__status:empty { display: none; }

.sent h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.sent textarea {
  width: 100%; min-height: 13rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem; line-height: 1.5; background: #fffdf6; color: var(--ink);
  border: 1px solid rgba(85, 82, 60, 0.45); border-radius: 2px; padding: 0.85rem; margin: 0.4rem 0 1rem;
}
.sent .setup {
  background: #fbe9e2; border-left: 3px solid var(--terracotta);
  padding: 0.85rem 1rem; font-size: 1.02rem; margin-bottom: 1.2rem;
}
.sent code, .setup code, .awards-empty code { font-size: 0.85em; background: rgba(169, 129, 47, 0.16); padding: 0.1em 0.35em; border-radius: 2px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--olive-900); color: #e8e2cb; font-size: 1.05rem; }
.site-footer__inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
  padding-block: 3rem 2.2rem;
}
.site-footer .brand { color: var(--paper); }
.site-footer .brand__mark, .site-footer .brand__tag { color: var(--gold-light); }
.site-footer h2 {
  font-size: 0.8rem; letter-spacing: 0.22em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: #ece5cf; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer__blurb { margin-top: 1rem; max-width: 22rem; line-height: 1.5; }
.site-footer__base {
  border-top: 1px solid rgba(217, 187, 108, 0.25); padding-block: 1.2rem 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: #cfc9ae;
}
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav a::after { transition: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn-row { display: none; }
  body { background: #fff; }
}
