/* ── Meridian Watch Co. — Style ─────────────────────── */

:root {
  --obsidian:    #0c0b09;
  --charcoal:    #1c1917;
  --walnut:      #292420;
  --umber:       #3d3630;
  --bronze:      #7a6a55;
  --brass:       #b09a70;
  --gold:        #d4c5a0;
  --parchment:   #e8e0d0;
  --ivory:       #f5f0e8;
  --pearl:       #faf8f4;

  --ff-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --ff-body:    'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;

  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6rem;
  --sp-2xl: 9rem;

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

/* ── Reset ───────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-weight: 200;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--pearl);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

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

.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.btn:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

/* ── Nav ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 66rem;
  margin: 0 auto;
  padding: 1.1rem var(--sp-md);
}

.nav__logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav__links { display: flex; gap: 2.4rem; }

.nav__links a {
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
}

.nav__links a:hover { color: var(--charcoal); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--sp-xl);
  max-width: 66rem;
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-md) var(--sp-xl);
}

.hero__meta {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.hero__edition,
.hero__limited {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}

.hero__rule {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: var(--sp-md);
}

.hero__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--umber);
  max-width: 30rem;
  margin-bottom: var(--sp-lg);
}

/* Animated dial */
.hero__dial {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dial {
  width: clamp(200px, 22vw, 300px);
  height: clamp(200px, 22vw, 300px);
  border-radius: 50%;
  border: 2px solid var(--parchment);
  padding: 12px;
  background: var(--pearl);
  box-shadow:
    0 0 0 1px rgba(28, 25, 23, 0.04),
    0 20px 60px rgba(28, 25, 23, 0.06);
}

.dial__face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--ivory);
  position: relative;
  border: 1px solid var(--parchment);
}

.dial__marker {
  position: absolute;
  background: var(--charcoal);
}

.dial__marker--12 { width: 2px; height: 14px; top: 8%; left: calc(50% - 1px); }
.dial__marker--3  { width: 14px; height: 2px; right: 8%; top: calc(50% - 1px); }
.dial__marker--6  { width: 2px; height: 14px; bottom: 8%; left: calc(50% - 1px); }
.dial__marker--9  { width: 14px; height: 2px; left: 8%; top: calc(50% - 1px); }

.dial__hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 1px;
}

.dial__hand--hour {
  width: 2.5px;
  height: 24%;
  background: var(--charcoal);
  margin-left: -1.25px;
}

.dial__hand--minute {
  width: 1.5px;
  height: 32%;
  background: var(--charcoal);
  margin-left: -0.75px;
}

.dial__hand--second {
  width: 0.8px;
  height: 36%;
  background: var(--brass);
  margin-left: -0.4px;
}

.dial__center {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal);
  top: calc(50% - 3px);
  left: calc(50% - 3px);
}

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

.section { padding: var(--sp-xl) 0; }

.section__header {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--parchment);
}

.section__num {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  color: var(--bronze);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--charcoal);
}

/* ── Collection ──────────────────────────────────────── */

.collection { background: var(--pearl); }

.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.watch {
  border: 1px solid var(--parchment);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.watch:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(28, 25, 23, 0.06);
}

.watch__visual {
  height: 200px;
  background: var(--dial-color, var(--ivory));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.watch__visual::after {
  content: '';
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--hand-color, var(--charcoal));
  opacity: 0.25;
}

.watch__info { padding: 1.6rem; }

.watch__name {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.watch__movement {
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--sp-sm);
}

.watch__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--umber);
  margin-bottom: var(--sp-md);
}

.watch__footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--parchment);
  padding-top: var(--sp-sm);
}

.watch__price {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}

.watch__status {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ── Craft ───────────────────────────────────────────── */

.craft { background: var(--ivory); }

.craft__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-xl);
}

.craft__text p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--walnut);
  margin-bottom: var(--sp-md);
}

.craft__text p:last-child { margin-bottom: 0; }

.craft__values {
  border-left: 1px solid var(--parchment);
  padding-left: var(--sp-md);
}

.value {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--parchment);
}

.value:last-child { border-bottom: none; }

.value__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}

.value p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--umber);
}

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

.specs { background: var(--charcoal); color: var(--parchment); }

.specs .section__header { border-bottom-color: rgba(212, 197, 160, 0.12); }
.specs .section__num { color: var(--brass); }
.specs .section__title { color: var(--ivory); }

.specs__table {
  max-width: 44rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(212, 197, 160, 0.08);
}

.spec-row:last-child { border-bottom: none; }

.spec-row__label {
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  flex-shrink: 0;
  min-width: 10rem;
}

.spec-row__value {
  font-size: 0.9rem;
  color: var(--parchment);
  text-align: right;
}

/* ── Reserve ─────────────────────────────────────────── */

.reserve { background: var(--ivory); }

.reserve__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-xl);
}

.reserve__text > p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--walnut);
  margin-bottom: var(--sp-lg);
  max-width: 28rem;
}

.reserve__details { display: flex; flex-direction: column; gap: var(--sp-sm); }

.reserve__row {
  display: flex;
  gap: var(--sp-md);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--parchment);
}

.reserve__row:last-child { border-bottom: none; padding-bottom: 0; }

.reserve__label {
  flex-shrink: 0;
  width: 6rem;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 0.15rem;
}

/* Form */
.reserve__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form__group label {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.form__group input,
.form__group textarea,
.form__group select {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 200;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--pearl);
  border: 1px solid var(--parchment);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.3s var(--ease);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--brass);
}

.form__group textarea { resize: vertical; }

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--bronze);
  font-weight: 200;
  opacity: 0.6;
}

.form__group select option {
  background: var(--pearl);
  color: var(--charcoal);
}

.reserve__form .btn { align-self: flex-start; margin-top: var(--sp-xs); }

/* ── Footer ──────────────────────────────────────────── */

.footer {
  background: var(--obsidian);
  color: var(--bronze);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-lg);
}

.footer__logo {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.footer__sub {
  font-size: 0.78rem;
  font-weight: 200;
  color: var(--umber);
}

.footer__links { display: flex; gap: 2rem; }

.footer__links a {
  font-size: 0.78rem;
  font-weight: 200;
  color: var(--umber);
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(212, 197, 160, 0.06);
  padding-top: var(--sp-sm);
}

.footer__bottom p {
  font-size: 0.72rem;
  color: var(--umber);
  opacity: 0.5;
}

/* ── Reveal ──────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 64rem) {
  .collection__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 48rem) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--sp-sm) var(--sp-md) var(--sp-md);
    gap: 0;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  }

  .nav__links.is-open { display: flex; }
  .nav__links li { padding: 0.55rem 0; }
  .nav__toggle { display: flex; }

  .nav__toggle.is-active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 8rem var(--sp-md) var(--sp-lg);
    gap: var(--sp-lg);
  }

  .hero__meta { flex-direction: column; gap: 0.3rem; }

  .collection__grid { grid-template-columns: 1fr; }
  .craft__layout { grid-template-columns: 1fr; gap: var(--sp-lg); }

  .craft__values {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--parchment);
    padding-top: var(--sp-md);
  }

  .spec-row { flex-direction: column; gap: 0.2rem; }
  .spec-row__value { text-align: left; }

  .reserve__layout { grid-template-columns: 1fr; gap: var(--sp-lg); }

  .footer__inner { flex-direction: column; gap: var(--sp-md); }
  .footer__links { flex-wrap: wrap; gap: 1.2rem; }
}
