/* 973 Watch Co
   One stylesheet: tokens, base, layout, components, pages. */

/* Fonts ------------------------------------------------------------------ */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks keep text the same size while web fonts load (no layout shift). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Times New Roman");
  size-adjust: 93%;
  ascent-override: 98%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* Tokens ----------------------------------------------------------------- */

:root {
  /* Backgrounds */
  --white: #FFFFFF;
  --ivory: #FAF7F0;
  --ivory-deep: #F3EEE3;

  /* Text */
  --charcoal: #1E1D1B;     /* body text and headings, 16.8:1 on white */
  --grey-600: #5E5C58;     /* secondary text, 6.2:1 on ivory */

  /* Lines and surfaces */
  --silver: #C9C7C2;
  --grey-100: #EEECE7;

  /* Gold */
  --gold: #C9A961;         /* buttons with charcoal text (7.5:1), lines, borders */
  --gold-hover: #BB9A50;
  --gold-deep: #7D5F1A;    /* any gold text and focus rings, 5.6:1 on ivory */

  /* States */
  --error: #A3382C;
  --error-bg: #FBF1EF;
  --placeholder-bg: #FFF6DB;

  --font-serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.6vw, 1.75rem);
  --step-3: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.9rem + 3vw, 4rem);

  --space-section: clamp(4rem, 9vw, 8rem);
  --space-tight: clamp(2.5rem, 6vw, 4.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --narrow: 760px;
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-deep); }

img, picture, svg { display: block; max-width: 100%; height: auto; }

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

::selection { background: var(--gold); color: var(--charcoal); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Layout ----------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--space-section); }
.section-tight { padding-block: var(--space-tight); }
.section-ivory { background: var(--ivory); }
/* Two white sections in a row share one gap rather than doubling it. */
.section:not(.section-ivory) + .section:not(.section-ivory) { padding-top: 0; }
.page-hero + .section { padding-top: var(--space-tight); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-head-row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.section-title { font-size: var(--step-2); margin-bottom: 1.75rem; }
.section-note { color: var(--grey-600); margin-top: -0.75rem; margin-bottom: 2rem; }
.section-cta { margin: clamp(2rem, 4vw, 3rem) 0 0; }

.grid { display: grid; gap: 2.75rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split-top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-media { grid-template-columns: 0.85fr 1fr; }
}

/* Type helpers ----------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--grey-600);
  max-width: 40rem;
}

.text-link {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3em;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

.placeholder {
  background: var(--placeholder-bg);
  outline: 1px dashed var(--gold);
  outline-offset: 1px;
  color: #5C4512;
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-style: normal;
  padding: 0.05em 0.35em;
}
p.placeholder, li.placeholder { display: block; padding: 1rem 1.25rem; }
li.placeholder { list-style: none; margin-left: -1.25rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--charcoal); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-large { min-height: 56px; padding-inline: 2.5rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.actions-center { justify-content: center; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--grey-100);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo { display: block; margin-right: auto; flex: none; text-decoration: none; line-height: 1; }

/* Wordmark: brushed silver, gold "c", watch-face "o". Sized by font-size. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.45rem;
  letter-spacing: -0.012em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.wm-silver, .wm-gold {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wm-silver {
  color: #7C7E83;
  background-image: linear-gradient(180deg, #C9CBD0 0%, #8E9096 36%, #4A4C51 52%, #7E8086 68%, #B9BBC0 100%);
}
.wm-gold {
  color: #A8862F;
  background-image: linear-gradient(180deg, #F2DC9C 0%, #D2AE5E 40%, #8F6B1E 58%, #C9A961 78%, #E7CB85 100%);
}
.wm-face {
  width: 0.56em;
  height: 0.56em;
  margin-left: 0.02em;
  align-self: baseline;
  transform: translateY(0.07em);
  filter: drop-shadow(0 0.02em 0.03em rgba(30, 29, 27, 0.18));
}

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
.primary-nav a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current] { border-color: var(--gold); color: var(--charcoal); }

.btn-sell { margin-left: 1.5rem; min-height: 44px; padding: 0.7rem 1.25rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--charcoal);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 22px; height: 1px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .btn-sell { margin-left: 0; padding-inline: 1rem; letter-spacing: 0.1em; }
  .js .nav-toggle { display: block; margin-right: -0.5rem; }
  .js .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-100);
    box-shadow: 0 24px 40px -24px rgba(30, 29, 27, 0.18);
    display: none;
  }
  .js .primary-nav.is-open { display: block; }
  .js .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; }
  .js .primary-nav li + li { border-top: 1px solid var(--grey-100); }
  .js .primary-nav a {
    display: block;
    padding-block: 1rem;
    border: 0;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .js .primary-nav a[aria-current] { color: var(--gold-deep); }
  /* Without JavaScript the links simply wrap onto a second row. */
  .no-js .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  .no-js .primary-nav { order: 3; width: 100%; }
  .no-js .primary-nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}
@media (max-width: 420px) {
  .header-inner { gap: 0.6rem; }
  .wordmark { font-size: 1.75rem; }
  .btn-sell { padding-inline: 0.7rem; font-size: 0.6875rem; letter-spacing: 0.08em; }
}
@media (max-width: 340px) {
  .wordmark { font-size: 1.35rem; }
}

/* Breadcrumbs ------------------------------------------------------------ */

.breadcrumbs { padding-top: 1.25rem; font-size: var(--step--1); color: var(--grey-600); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--silver); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--charcoal); }

/* Heroes ----------------------------------------------------------------- */

.hero { background: var(--ivory); padding-block: clamp(3rem, 8vw, 7rem); overflow: hidden; }
.hero-inner { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.25fr 0.75fr; align-items: end; } }
.hero h1 { max-width: 15ch; }
.hero-emblem { display: block; width: 56px; height: 56px; margin-bottom: 1.75rem; filter: drop-shadow(0 2px 4px rgba(30, 29, 27, 0.15)); }
.hero-points { list-style: none; margin: 0; padding: 0; }
.hero-points li { padding: 1.35rem 0; border-top: 1px solid var(--silver); color: var(--grey-600); font-size: 0.9375rem; }
.hero-points li:last-child { border-bottom: 1px solid var(--silver); }
.hero-point-title { display: block; font-family: var(--font-serif); font-size: var(--step-2); color: var(--charcoal); line-height: 1.2; margin-bottom: 0.2rem; }
.about-teaser { text-align: center; }
.about-teaser .eyebrow { justify-content: center; }
.about-teaser .lead { margin-inline: auto; }

.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--grey-100); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-center { text-align: center; border-bottom: 0; padding-block: clamp(4rem, 10vw, 8rem); }
.page-hero-center .eyebrow { justify-content: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }

.trust-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.trust-points li { display: flex; align-items: center; gap: 0.6rem; }
.trust-points li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Media ------------------------------------------------------------------ */

.media { width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--ivory-deep), var(--grey-100));
  border: 1px solid var(--grey-100);
  color: var(--grey-600);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 2.5rem 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; border-top: 1px solid var(--silver); padding-top: 1.5rem; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.steps h3 { font-size: var(--step-1); font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }
.steps p { color: var(--grey-600); margin: 0; }

.steps-compact { grid-template-columns: 1fr !important; gap: 0; }
.steps-compact > li { display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline; padding-block: 0.85rem; border-top: 1px solid var(--grey-100); }
.steps-compact > li:first-child { border-top: 0; padding-top: 0; }
.steps-compact > li::before { font-size: 1.4rem; margin: 0; }
.steps-compact p { color: var(--charcoal); font-size: 0.9375rem; }

/* Checklist -------------------------------------------------------------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.5rem;
  border-bottom: 1px solid var(--silver);
  font-size: var(--step-1);
  font-family: var(--font-serif);
  line-height: 1.35;
}
.checklist li:first-child { border-top: 1px solid var(--silver); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 1.45rem;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--gold-deep);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Cards ------------------------------------------------------------------ */

.card { position: relative; }
.card-link { display: block; height: 100%; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-media { position: relative; overflow: hidden; background: var(--ivory); }
.card-media .media { aspect-ratio: 4 / 5; }
.card-media img { transition: transform 600ms var(--ease); }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-body { padding-top: 1.25rem; }
.card-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-600);
}
.card-title { font-size: var(--step-2); margin: 0 0 0.4rem; transition: color 200ms var(--ease); }
.card-link:hover .card-title { color: var(--gold-deep); }
.card-price { margin: 0; font-weight: 500; }
.card-text { color: var(--grey-600); font-size: 0.9375rem; }
.card-more {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.listing-card.is-sold .card-media img { filter: grayscale(0.4); opacity: 0.85; }

.guide-card { background: var(--white); border: 1px solid var(--grey-100); transition: border-color 200ms var(--ease); }
.guide-card:hover { border-color: var(--gold); }
.guide-card .card-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; height: 100%; }
.guide-card .card-text { flex: 1; }
.section-ivory .guide-card { border-color: transparent; }
.section-ivory .guide-card:hover { border-color: var(--gold); }

.badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--silver);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.badge-sold { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--silver);
  background: var(--ivory);
  text-align: center;
}
.empty-state p { max-width: 38rem; margin-inline: auto; margin-bottom: 1.75rem; }

/* FAQ -------------------------------------------------------------------- */

.faq-list { border-top: 1px solid var(--silver); }
.faq-item { border-bottom: 1px solid var(--silver); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 12px 1px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1px 12px no-repeat;
  transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-q { margin: 0; font-size: var(--step-1); font-weight: 500; line-height: 1.35; }
.faq-item summary:hover .faq-q { color: var(--gold-deep); }
.faq-a { padding-bottom: 1.5rem; color: var(--grey-600); max-width: 62ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* Sell band -------------------------------------------------------------- */

.sell-band {
  background: var(--charcoal);
  color: var(--ivory);
  outline: 1px solid rgba(201, 169, 97, 0.45);
  outline-offset: -12px;
}
.article .sell-band { margin-top: clamp(2.5rem, 5vw, 4rem); }
.sell-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.25rem, 6vw, 4rem);
}
.sell-band-inner > div { max-width: 40rem; }
.sell-band .eyebrow { color: var(--gold); }
.sell-band-title { font-size: var(--step-3); color: var(--white); margin-bottom: 0.5em; }
.sell-band p { color: #D9D6CF; margin: 0; }

/* Forms ------------------------------------------------------------------ */

.form { margin-top: 1.5rem; }
.form-intro { color: var(--grey-600); }
.form-section { border: 0; margin: 0 0 1rem; padding: 2rem 0 0; border-top: 1px solid var(--grey-100); min-width: 0; }
.form-section legend { font-family: var(--font-serif); font-size: var(--step-2); padding: 0; margin-bottom: 1.25rem; float: left; width: 100%; }
.form-section legend + * { clear: both; }
.field { margin: 0 0 1.5rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label, .field legend { display: block; margin-bottom: 0.45rem; font-size: 0.9375rem; font-weight: 500; }
.field-radios legend { float: none; font-family: var(--font-sans); font-size: 0.9375rem; margin-bottom: 0.6rem; }
.optional { font-weight: 400; color: var(--grey-600); font-size: 0.875rem; }
.field-hint { margin: -0.15rem 0 0.6rem; font-size: 0.875rem; color: var(--grey-600); }
.field-hint a { color: var(--gold-deep); }
.form-section > .field-hint { margin-bottom: 1.25rem; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 52%, calc(100% - 1rem) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-600); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.4);
}
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { margin: 0.45rem 0 0; color: var(--error); font-size: 0.875rem; font-weight: 500; }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.field .radio { display: inline-flex; margin: 0; font-weight: 400; }
.radio:hover { border-color: var(--grey-600); }
.radio:has(input:checked) { border-color: var(--gold-deep); background: var(--ivory); }
.radio input { accent-color: var(--gold-deep); width: 1.1rem; height: 1.1rem; margin: 0; }

.photo-grid { display: grid; gap: 0 1.25rem; }
.form { container-type: inline-size; }
@container (min-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.field-file input[type="file"] {
  width: 100%;
  padding: 0.85rem;
  border: 1px dashed var(--silver);
  border-radius: var(--radius);
  background: var(--ivory);
  font-size: 0.875rem;
  color: var(--grey-600);
  cursor: pointer;
}
.field-file input[type="file"]:hover { border-color: var(--gold-deep); }
.field-file input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit { margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--grey-100); }
.form-small { margin: 1rem 0 0; font-size: 0.875rem; color: var(--grey-600); }
.form-small a { color: var(--gold-deep); }

/* Honeypot: hidden from people and screen readers, visible to bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1.25rem 1.5rem; margin: 1.5rem 0; border-left: 3px solid var(--silver); background: var(--ivory); }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-error { border-color: var(--error); background: var(--error-bg); }
.notice-error a { color: var(--error); }
.notice-muted a { color: var(--gold-deep); }

/* Sell page -------------------------------------------------------------- */

.sell-layout { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 1000px) {
  .sell-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .sell-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.sell-form-wrap > h2 { font-size: var(--step-3); }
.aside-block { padding: 1.75rem; background: var(--ivory); border: 1px solid var(--grey-100); }
.aside-block + .aside-block { margin-top: 1.25rem; }
.aside-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 1.25rem;
}
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { border-top: 1px solid var(--grey-100); }
.link-list a { display: block; padding-block: 0.75rem; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; text-decoration: none; }

/* Listing page ----------------------------------------------------------- */

.listing-layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .listing-layout { grid-template-columns: 1.1fr 0.9fr; } }
.gallery-main { position: relative; background: var(--ivory); }
.gallery-main .media { aspect-ratio: 1 / 1; }
.gallery-thumbs { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gallery-thumb { display: block; width: 80px; border: 1px solid transparent; padding: 2px; }
.gallery-thumb .media { aspect-ratio: 1 / 1; }
.gallery-thumb { text-decoration: none; }
.gallery-thumb .photo-placeholder span { display: none; }
.gallery-thumb[aria-current="true"] { border-color: var(--gold-deep); }
.listing-summary h1 { font-size: clamp(2.2rem, 1.7rem + 2vw, 3.25rem); }
.listing-price { font-family: var(--font-serif); font-size: var(--step-3); margin: 0 0 1.25rem; line-height: 1; }
.price-sold { color: var(--grey-600); }

.spec-list { margin: 2rem 0; border-top: 1px solid var(--silver); }
.spec-list > div { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--grey-100); }
.spec-list dt { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-600); padding-top: 0.2em; }
.spec-list dd { margin: 0; }

.listing-details h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.listing-details h2:first-child { margin-top: 0; }
.detail-list { margin: 0 0 1rem; padding: 0; list-style: none; border-top: 1px solid var(--grey-100); }
.detail-list li { padding: 0.75rem 0 0.75rem 1.5rem; border-bottom: 1px solid var(--grey-100); position: relative; }
.detail-list li::before { content: ""; position: absolute; left: 0.2rem; top: 1.45rem; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.detail-list li.placeholder::before, .detail-list .placeholder { display: inline; }
.listing-terms { margin-top: 2.5rem; font-size: 0.9375rem; color: var(--grey-600); }
.listing-terms a { color: var(--gold-deep); }

/* Articles --------------------------------------------------------------- */

.article-header { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.article-header h1 { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem); }
.article-meta { font-size: 0.875rem; color: var(--grey-600); margin: 0; }
.article-meta a { color: var(--gold-deep); }
.article-hero-image { margin-bottom: 2.5rem; }
.article { padding-bottom: var(--space-tight); }

.toc { margin: 0 0 2.5rem; padding: 1.5rem 1.75rem; background: var(--ivory); border-left: 1px solid var(--gold); }
.toc-title { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 0.75rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { padding-block: 0.2rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-2); margin-top: 2rem; }
.prose a { color: var(--gold-deep); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--gold-deep); }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 1px solid var(--gold); font-family: var(--font-serif); font-size: var(--step-1); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--grey-100); vertical-align: top; }
.prose th { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-600); font-weight: 500; border-bottom-color: var(--silver); }
.prose img { margin-block: 2rem; }

/* Guide showcase ---------------------------------------------------------- */

.guide-feature {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-100);
  padding: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 820px) { .guide-feature { grid-template-columns: 260px 1fr; } }
.guide-feature + .guide-feature { margin-top: 2rem; }
.guide-feature-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  aspect-ratio: 210 / 297;
  max-width: 260px;
  width: 100%;
  margin-inline: auto;
  padding: 2rem 1.25rem 1.5rem;
  background: var(--ivory);
  outline: 1px solid var(--gold);
  outline-offset: -10px;
  box-shadow: 0 1px 2px rgba(30, 29, 27, 0.06), 0 18px 40px -18px rgba(30, 29, 27, 0.35);
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 300ms var(--ease);
}
.guide-feature-cover:hover { transform: translateY(-3px); color: var(--charcoal); }
.cover-face-svg { width: 54px; height: 54px; }
.cover-title { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.15; }
.cover-brand .wordmark { font-size: 1.15rem; }
.guide-feature-title { font-size: var(--step-3); margin-bottom: 0.5em; }
.guide-feature-title a { text-decoration: none; }
.guide-feature-list { list-style: none; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 0.5rem; }
.guide-feature-list li { padding-left: 1.5rem; position: relative; }
.guide-feature-list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.65em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.section-ivory .guide-feature { border-color: transparent; }
.reading-grid { margin-top: 2.5rem; }

/* Book-style guide --------------------------------------------------------- */

.book { background: var(--ivory-deep); padding-bottom: var(--space-tight); }
.book-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.sheet {
  position: relative;
  max-width: 860px;
  margin: 0 auto 2rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(30, 29, 27, 0.05), 0 24px 50px -30px rgba(30, 29, 27, 0.35);
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) { .sheet { margin-inline: var(--gutter); } }
.sheet-head, .sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 3.5rem);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-600);
}
.sheet-head { border-bottom: 1px solid var(--grey-100); }
.sheet-head .wordmark { font-size: 1.25rem; letter-spacing: -0.01em; text-transform: none; }
.sheet-foot { border-top: 1px solid var(--grey-100); margin-top: auto; }
.sheet-body { padding: clamp(1.75rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem); flex: 1; }
.sheet-body > h2 { font-size: var(--step-4); margin-bottom: 1.5rem; }
.chapter-num { margin: 0 0 0.75rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }

.sheet-cover { min-height: min(1100px, 130vw); background: var(--ivory); padding: clamp(1rem, 3vw, 1.75rem); }
.cover-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  border: 1px solid var(--gold);
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}
.cover-emblem { width: clamp(72px, 12vw, 110px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 4px 10px rgba(30, 29, 27, 0.18)); }
.cover-eyebrow { justify-content: center; }
.cover-eyebrow::before { display: none; }
.cover-heading { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); max-width: 14ch; margin: 0; }
.cover-lead { max-width: 34rem; color: var(--grey-600); font-size: var(--step-1); margin: 0; }
.cover-brand { margin-top: clamp(1.5rem, 5vw, 4rem); }
.cover-brand .wordmark { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.cover-edition { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-600); margin: 0; }

.contents-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.contents-list > li { border-bottom: 1px solid var(--grey-100); }
.contents-list > li > a {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0 0.35rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: var(--step-1);
}
.contents-list > li > a:hover .contents-title { color: var(--gold-deep); }
.contents-num { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--gold-deep); letter-spacing: 0.08em; }
.contents-page { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--grey-600); }
.contents-sub { list-style: none; margin: 0 0 0.8rem 3.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; font-size: 0.875rem; }
.contents-sub a { color: var(--grey-600); text-decoration: none; }
.contents-sub a:hover { color: var(--gold-deep); text-decoration: underline; }
.contents-pdf { margin-top: 2rem; font-size: 0.9375rem; }
.contents-pdf a { color: var(--gold-deep); }

.prose-book { max-width: none; }
.prose-book h3 { font-size: var(--step-2); margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--grey-100); }
.prose-book h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose-book table { font-size: 0.875rem; }
.prose-book td strong { color: var(--gold-deep); }

/* Contact ---------------------------------------------------------------- */

.contact-layout { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; } }
.contact-details h2, .contact-form h2 { font-size: var(--step-2); }
.contact-details .spec-list { margin-top: 0; }

/* Confirmation and errors ------------------------------------------------ */

.confirmation h1 { font-size: var(--step-3); max-width: 22ch; }
.confirmation-mark {
  display: block;
  width: 64px; height: 64px;
  margin: 0 auto 2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}
.confirmation-mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 12px; height: 22px;
  border: solid var(--gold-deep);
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.error-links { list-style: none; padding: 0; margin: 2.5rem 0; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

.draft-banner { margin-top: 1rem; padding: 0.75rem 1rem; background: var(--placeholder-bg); font-size: 0.875rem; }

/* Mailing list ------------------------------------------------------------ */

.mailing-list {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: end;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--grey-100);
  outline: 1px solid rgba(201, 169, 97, 0.35);
  outline-offset: -8px;
}
@media (min-width: 960px) { .mailing-list { grid-template-columns: 1fr 1.15fr; } }
.mailing-list-title { font-size: var(--step-3); margin-bottom: 0.4em; }
.mailing-list-copy p:last-child { margin-bottom: 0; color: var(--grey-600); }
.mailing-list-fields { display: grid; gap: 0 1rem; align-items: end; }
@media (min-width: 560px) { .mailing-list-fields { grid-template-columns: 1fr 1.3fr auto; } }
.mailing-list-fields .field { margin-bottom: 1rem; }
.mailing-list-fields .btn { margin-bottom: 1rem; min-height: 50px; }
.mailing-list .form-small { margin-top: 0; }
.mailing-list-footer { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

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

.site-footer { background: var(--ivory); border-top: 1px solid var(--grey-100); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { color: var(--grey-600); max-width: 26rem; }
.logo-footer { margin-bottom: 1.25rem; }
.logo-footer .wordmark { font-size: 2.4rem; }
.footer-location { font-weight: 500; color: var(--charcoal) !important; }
.footer-title { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.6rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-base { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.75rem 2.5rem; border-top: 1px solid var(--silver); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: 0.8125rem; color: var(--grey-600); }
.disclaimer { margin: 0; max-width: 46rem; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card-link:hover .card-media img { transform: none; }
}

@media print {
  .site-header, .site-footer, .sell-band, .nav-toggle { display: none; }
}
