/* Golden Treasure Jewelers — Design tokens */
:root {
  --canvas: #fafaf7;
  --canvas-2: #f3f1ec;
  --ink: #1c1c1e;
  --ink-2: #545458;
  --hairline: rgba(28, 28, 30, 0.12);

  --gold: #c9a961;
  --gold-deep: #a8893f;
  --silver: #b8b8bd;
  --ruby: #9b1b30;
  --ruby-deep: #7a1525;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    system-ui, sans-serif;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;

  --shadow-soft: 0 10px 30px rgba(28, 28, 30, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #14130f;
    --canvas-2: #1c1b17;
    --ink: #f4f1ea;
    --ink-2: #b8b3a8;
    --hairline: rgba(244, 241, 234, 0.14);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Typography */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(44px, 7vw, 92px);
  margin: 0 0 24px;
}
.display--md { font-size: clamp(32px, 4.5vw, 56px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 32px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px var(--pad);
  background: color-mix(in oklab, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: flex; align-items: baseline; gap: 12px; }
.nav__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.nav__wordmark {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.nav__links { display: flex; gap: 28px; font-size: 14px; }
.nav__links a { color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav__wordmark { display: none; }
  .nav__links { gap: 18px; }
}

/* Hero — text-only, centered */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 14vw, 180px) var(--pad) clamp(64px, 11vw, 140px);
  text-align: center;
}
.hero__copy { max-width: 760px; margin: 0 auto; }
.hero .display {
  font-size: clamp(52px, 9vw, 120px);
  margin-bottom: 32px;
}
.hero .lede {
  margin: 0 auto 36px;
  text-align: center;
}

.hero__signature {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 36px;
}
.hero__rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.cta-row { justify-content: center; }
.section .cta-row, .visit .cta-row { justify-content: flex-start; }

.btn__lede {
  color: var(--ink-2);
  margin-right: 8px;
  font-weight: 400;
}
.btn__num { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .hero__signature { flex-wrap: wrap; }
}

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
  will-change: transform;
}
.btn--primary {
  background: var(--ruby);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 6px 18px rgba(155, 27, 48, 0.28);
}
.btn--primary:hover { background: var(--ruby-deep); transform: translateY(-1px); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--hairline);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad);
  border-top: 1px solid var(--hairline);
}
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Grid */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; gap: 24px; }
  .card__media { aspect-ratio: 5 / 4; }
}

.card { margin: 0; }
.card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--canvas-2);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}
.card__media[data-tone="gold"] {
  background: url("../assets/images/white-gold.webp") center/cover no-repeat;
}
.card__media[data-tone="silver"] {
  background: url("../assets/images/sterling-silver.webp") center/cover no-repeat;
}
.card__media[data-tone="ruby"] {
  background: url("../assets/images/watch-repair.webp") center/cover no-repeat;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
}
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Feature row */
.section--feature { background: var(--canvas-2); max-width: none; border: none; }
.section--feature > .feature {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: url("../assets/images/storefront.webp") center/cover no-repeat;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 860px) {
  .section--feature > .feature { grid-template-columns: 1fr; }
}

/* Services */
.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.services li {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}
.services li:nth-child(odd) { padding-right: 32px; }
.services li:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid var(--hairline);
}
.services h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 6px;
}
.services p { color: var(--ink-2); margin: 0; }
@media (max-width: 700px) {
  .services { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(odd), .services li:nth-child(even) {
    padding: 24px 0;
    border-left: none;
  }
}

/* Visit */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hours {
  margin: 24px 0 32px;
  display: grid;
  gap: 8px;
  max-width: 320px;
}
.hours div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

.visit__map {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--canvas-2);
  display: block;
}
@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; }
}

/* Footer */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 32px var(--pad) 0;
  color: var(--ink-2);
  font-size: 13px;
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}
.foot p { margin: 0; }
.foot__credit {
  display: block;
  text-align: center;
  padding: 18px var(--pad);
  margin: 0 calc(var(--pad) * -1);
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.foot__credit:hover {
  color: var(--ink);
  background: var(--canvas-2);
}

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