@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  color-scheme: light;
  --ink: #1a1610;
  --muted: #7a6e5f;
  --line: #d5c9b5;
  --paper: #f5f0e8;
  --card: #fffdf8;
  --gold: #b98d3d;
  --gold-dark: #7a5a22;
  --gold-light: #e8d49a;
  --hero-bg: #11151c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Montserrat', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mobile-shell {
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--card);
}

/* ── Document Header ─────────────────────────── */

.doc-header {
  background: var(--hero-bg);
  padding: 22px 24px 20px;
  text-align: center;
}

.doc-header .logo-wrap img {
  width: min(200px, 58vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.gold-rule {
  height: 0.5px;
  background: linear-gradient(to right,
    transparent, rgba(201,162,39,.4) 15%,
    #c9a227 50%, rgba(201,162,39,.4) 85%, transparent);
  margin: 14px 0 12px;
}

.doc-type {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,162,39,.75);
  margin: 0 0 12px;
}

.doc-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.doc-meta-item span {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200,190,170,.45);
  margin-bottom: 3px;
}

.doc-meta-item strong {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(220,210,190,.8);
}

/* ── Photo Exhibit ───────────────────────────── */

.photo-exhibit {
  background: var(--hero-bg);
  padding: 0 20px 28px;
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  line-height: 0;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 0.5px solid rgba(201,162,39,.5);
  border-radius: 5px;
  pointer-events: none;
  z-index: 1;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 0.5px solid rgba(201,162,39,.2);
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
}

.watch-img {
  display: block;
  width: min(74vw, 360px);
  height: min(74vw, 360px);
  object-fit: contain;
  background: #1e2330;
  border-radius: 3px;
}

.watch-img.missing {
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* ── Watch Title ─────────────────────────────── */

.watch-title-block {
  padding: 28px 28px 22px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 9.5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
}

/* ── Quick Specs ─────────────────────────────── */

.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.quick-specs div {
  padding: 15px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.quick-specs div:last-child { border-right: none; }

.quick-specs span {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.quick-specs strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

/* ── Document Body ───────────────────────────── */

.doc-body {
  padding: 4px 26px 32px;
}

/* ── Spec Section ────────────────────────────── */

.spec-section { margin-top: 26px; }

.spec-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 0.5px solid var(--line);
}

.spec-section-title span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
}

.spec-section-title::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, var(--gold), transparent 80%);
  opacity: 0.3;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(213,201,181,.35);
}

.spec-row span {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.spec-row strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  line-height: 1.2;
}

/* ── Gemstone / Customization ────────────────── */

.gem-section {
  margin-top: 26px;
  padding: 14px 16px;
  background: #fdf8ef;
  border: 0.5px solid var(--gold-light);
  border-left: 3px solid var(--gold);
}

.gem-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 6px;
}

.gem-section p {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Legal ───────────────────────────────────── */

.legal-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 0.5px solid var(--line);
}

.legal-block p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Print Button ────────────────────────────── */

.print-btn-wrap {
  padding: 20px 26px 36px;
}

.print-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--hero-bg);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.print-btn:hover {
  background: var(--gold-dark);
  color: #fff;
}

.warranty-btn {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 1px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.warranty-btn:hover {
  background: var(--gold);
  color: var(--hero-bg);
}

@media print {
  .warranty-btn { display: none; }
}

/* ── Responsive ──────────────────────────────── */

@media (min-width: 760px) {
  .mobile-shell {
    margin: 32px auto;
    box-shadow: 0 12px 48px rgba(17,21,28,.14);
  }
}

/* ── Print / PDF ─────────────────────────────── */

@media print {
  body { background: #fff; }
  .mobile-shell { width: 100%; max-width: none; box-shadow: none; margin: 0; }
  .print-btn-wrap { display: none; }
  .spec-section { page-break-inside: avoid; }
  .doc-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .photo-exhibit { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gem-section { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
