/*
Theme Name: Meridian Watch
Theme URI: https://example.com
Author: Your Studio
Author URI: https://example.com
Description: A small, single-page landing theme for an automatic watch launch. Built around the dial, not a template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: meridian-watch
*/

/* ---------- Design tokens ---------- */
:root {
  --ink: #11151c;
  --ink-soft: #171c26;
  --ink-line: #262c38;
  --dial-cream: #ece6d6;
  --steel: #8b92a0;
  --brass: #b98843;
  --brass-bright: #d6a767;
  --moss: #3a4a3c;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --max-w: 1140px;
  --radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--dial-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--dial-cream);
}

p { color: var(--steel); margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-bright); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--ink-line);
  color: var(--dial-cream);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 21, 28, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dial-cream);
}
.logo span { color: var(--brass-bright); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--steel);
  transition: color 160ms ease;
}
.site-nav a:not(.btn):hover { color: var(--dial-cream); }
.nav-toggle { display: none; background: none; border: none; color: var(--dial-cream); }

@media (max-width: 720px) {
  .site-nav .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--ink-line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 18px 0 22px;
}
.hero p.lede { color: var(--steel); font-size: 17px; max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.hero-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel);
}
.hero-price strong { color: var(--brass-bright); font-size: 15px; }

/* ---------- Dial (signature element) ---------- */
.dial-wrap { display: flex; justify-content: center; }
.dial { width: 100%; max-width: 380px; }
.dial-face { fill: var(--ink-soft); stroke: var(--ink-line); }
.dial-rim { fill: none; stroke: var(--brass); stroke-width: 2; }
.dial-tick { stroke: var(--steel); stroke-width: 2; }
.dial-tick.major { stroke: var(--dial-cream); stroke-width: 3; }
.dial-label {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--steel);
}
.hand { stroke-linecap: round; }
.hand-hour { stroke: var(--dial-cream); stroke-width: 6; }
.hand-minute { stroke: var(--dial-cream); stroke-width: 4; }
.hand-second {
  stroke: var(--brass-bright);
  stroke-width: 2;
  transform-origin: 150px 150px;
  animation: sweep 60s linear infinite;
}
.dial-pin { fill: var(--brass-bright); }

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Specs ring ---------- */
.specs {
  padding: 88px 0;
  border-bottom: 1px solid var(--ink-line);
}
.specs-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.specs-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 14px 0 14px; }
.specs-head p { font-size: 16px; }

.specs-ring {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "ten twelve two"
    "eight center four"
    "blank-l six blank-r";
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.spec-card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 160ms ease;
}
.spec-card:hover { border-color: var(--brass); }
.spec-hour {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-bright);
  letter-spacing: 0.1em;
}
.spec-card h3 { font-size: 16px; margin: 8px 0 6px; }
.spec-card p { font-size: 14px; }

.area-ten { grid-area: ten; }
.area-twelve { grid-area: twelve; }
.area-two { grid-area: two; }
.area-eight { grid-area: eight; }
.area-four { grid-area: four; }
.area-six { grid-area: six; }
.ring-center {
  grid-area: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-center .crown {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-align: center;
}

@media (max-width: 760px) {
  .specs-ring {
    grid-template-columns: 1fr;
    grid-template-areas:
      "twelve"
      "two"
      "four"
      "six"
      "eight"
      "ten";
  }
  .ring-center { display: none; }
}

/* ---------- Story / detail section ---------- */
.story {
  padding: 96px 0;
  border-bottom: 1px solid var(--ink-line);
}
.story .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.story-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.story-visual::before {
  content: "";
  position: absolute;
  width: 220%;
  height: 220%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 38px,
    var(--ink-line) 38px 39px
  );
  opacity: 0.35;
}
.story-visual .case-ring {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid var(--brass);
  box-shadow: inset 0 0 0 2px var(--ink-line);
}
.story-copy .eyebrow { display: block; margin-bottom: 14px; }
.story-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 18px; }
.story-copy p { font-size: 16px; margin-bottom: 16px; max-width: 480px; }
.story-copy p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .story .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Final CTA ---------- */
.cta-final {
  padding: 90px 0;
  text-align: center;
}
.cta-final h2 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 14px; }
.cta-final p { max-width: 460px; margin: 0 auto 30px; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink-line);
  padding: 32px 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .dial { max-width: 280px; margin: 0 auto; }
}
