/* =========================================================================
   STAR COLLECTION GROUP — Design System
   Strictly monochrome. Elegance from contrast, whitespace, typography.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  --background: #FFFFFF;
  --surface: #F5F5F5;
  --surface-2: #EDEDED;
  --border: #E5E5E5;
  --foreground: #0A0A0A;
  --muted-foreground: #6B6B6B;
  --black-section: #0A0A0A;
  --hairline: rgba(10, 10, 10, 0.08);
  --hairline-light: rgba(255, 255, 255, 0.14);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Jost", "Inter", -apple-system, sans-serif;

  /* Official logo metallic finishes (monochrome). */
  --logo-chrome: linear-gradient(180deg,#9c9c9c 0%,#f7f7f7 17%,#7c7c7c 33%,#f0f0f0 49%,#5e5e5e 51.5%,#d4d4d4 69%,#8f8f8f 100%);
  --logo-graphite: linear-gradient(180deg,#6e6e6e 0%,#3a3a3a 17%,#1c1c1c 33%,#4a4a4a 49%,#161616 51.5%,#525252 69%,#2a2a2a 100%);

  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(48px, 6vw, 88px);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --shadow-hover: 0 18px 40px -24px rgba(10, 10, 10, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--foreground); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Typography ---- */
.font-serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--foreground);
}

.display-1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; font-weight: 500; }
.display-2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.display-3 { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.2; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--muted-foreground);
}

.muted { color: var(--muted-foreground); }
.small { font-size: 12.5px; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }

.black-section {
  background: var(--black-section);
  color: #fff;
}
.black-section h1, .black-section h2, .black-section h3 { color: #fff; }
.black-section .eyebrow { color: rgba(255,255,255,0.6); }
.black-section .muted, .black-section .lead { color: rgba(255,255,255,0.66); }

.surface-section { background: var(--surface); }

.hairline { border: none; border-top: 1px solid var(--border); }
.black-section .hairline { border-top: 1px solid var(--hairline-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-lg { padding: 18px 38px; font-size: 14px; }

.btn-primary { background: var(--foreground); color: #fff; border-color: var(--foreground); }
.btn-primary:hover { background: #2a2a2a; border-color: #2a2a2a; }

.btn-secondary { background: transparent; color: var(--foreground); border-color: var(--foreground); }
.btn-secondary:hover { background: var(--foreground); color: #fff; }

.btn-ghost { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--foreground); }

/* On-black variants */
.black-section .btn-primary { background: #fff; color: var(--foreground); border-color: #fff; }
.black-section .btn-primary:hover { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); }
.black-section .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.black-section .btn-secondary:hover { background: #fff; color: var(--foreground); border-color: #fff; }
.black-section .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.black-section .btn-ghost:hover { border-color: #fff; }

/* Text link with underline reveal */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---- Status badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 100px;
  line-height: 1;
}
.badge-instock { background: var(--foreground); color: #fff; }
.badge-onrequest { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---- Section heading ---- */
.section-heading { max-width: 620px; }
.section-heading .eyebrow { display: block; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading.center { margin-inline: auto; text-align: center; }

/* ---- Watch card ---- */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 2vw, 32px) clamp(14px, 1.4vw, 22px);
}
@media (max-width: 1100px) { .watch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .watch-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } }
@media (max-width: 360px)  { .watch-grid { grid-template-columns: 1fr; } }

.watch-card { display: block; position: relative; }
.watch-card__media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
}
.watch-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: transform 0.6s var(--ease);
}
.watch-card:hover .watch-card__media img { transform: scale(1.045); }
.watch-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.watch-card__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10,10,10,0.04);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.watch-card__body { padding-top: 10px; }
.watch-card__brand {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--muted-foreground); margin-bottom: 2px;
}
/* Listing title is sans + compact (Chrono24-style), clamped to two lines. */
.watch-card__name {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
  line-height: 1.3; margin-bottom: 8px; color: var(--foreground);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.watch-card__ref { display: none; }
.watch-card__foot { display: flex; align-items: baseline; justify-content: space-between; }
.watch-card__price { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.watch-card__price.muted { font-weight: 500; color: var(--foreground); }
.watch-card__cta { display: none; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-foreground);
}
.field .req { color: var(--foreground); }
.input, .select, .textarea {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--foreground);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--foreground);
  box-shadow: 0 0 0 1px var(--foreground);
}
.input::placeholder, .textarea::placeholder { color: #aaa; }
.input.invalid, .select.invalid, .textarea.invalid { border-color: #b00020; box-shadow: 0 0 0 1px #b00020; }
.field-error { font-size: 12px; color: #b00020; letter-spacing: 0; text-transform: none; min-height: 0; }

/* dark form (on black) */
.black-section .input, .black-section .select, .black-section .textarea {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.black-section .field label { color: rgba(255,255,255,0.6); }
.black-section .input:focus, .black-section .select:focus, .black-section .textarea:focus {
  border-color: #fff; box-shadow: 0 0 0 1px #fff;
}
.black-section .input::placeholder, .black-section .textarea::placeholder { color: rgba(255,255,255,0.4); }
.black-section .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Utilities ---- */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.flex { display: flex; }
.center { align-items: center; }
.between { justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap { gap: 20px; }
.wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.divider-label {
  display: flex; align-items: center; gap: 22px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground);
}
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
