/* Al Akaber Jewelry — Champagne Atelier
   Tokens per color-system 6-token contract. Ratios computed 2026-09-10:
   ink/bg 16.23 · ink/surface 17.37 · accent-text/bg 4.81 · accent-deep/tint 5.5+ ·
   cta 16.23 · dark 16.34. Register: LIGHT (owner directive). */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/font/playfair-display-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2026, U+2018-201F;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/font/playfair-display-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/font/outfit-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #FAF7F0;
  --surface: #FFFFFF;
  --ink: #201912;
  --ink-soft: #4A4034;
  --accent: #8A681F;        /* text-grade gold-bronze on light */
  --accent-deep: #6E531A;   /* labels on the tinted band */
  --gold-raw: #E2A85C;      /* brand gold: rules, large graphics only */
  --tint: #F3EAD8;          /* bridal band */
  --cta: #201912;
  --cta-text: #FAF7F0;
  --dark: #17110B;
  --dark-text: #F5EFE2;
  --hairline: rgba(138, 104, 31, 0.28);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 600; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 99;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.center { text-align: center; }
.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker-center { text-align: center; }
p { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 26px;
  border: 1px solid var(--cta);
  text-decoration: none;
  transition: background-color 250ms ease, color 250ms ease;
}
.btn-primary { background: var(--cta); color: var(--cta-text); }
.btn-primary:hover { background: #3A2E1E; border-color: #3A2E1E; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cta); color: var(--cta-text); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-top: 3px;
}
.head-nav { display: flex; gap: 26px; }
.head-nav a {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
.head-nav a:hover { color: var(--ink); }
.btn-head { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 110px);
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(226, 168, 92, 0.14), transparent 65%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.hero-facts { margin-top: 22px; color: var(--ink-soft); font-size: 1.05rem; }
.hero-facts strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-follow { margin-top: 20px; font-size: 0.92rem; color: var(--ink-soft); }
.hero-panel {
  position: relative;
  justify-self: center;
  padding: 14px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(32, 25, 18, 0.10);
}
.hero-panel::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(226, 168, 92, 0.45);
  pointer-events: none;
}
.hero-panel img { width: 100%; max-width: 390px; }

/* ---------- collections ---------- */
.collections { background: var(--surface); padding-block: clamp(64px, 10vw, 120px); }
.collections .col-lede {
  margin: 16px auto 0; text-align: center;
  color: var(--ink-soft);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
}
.tile {
  text-decoration: none; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  padding-bottom: 22px;
  transition: box-shadow 300ms ease, transform 300ms ease;
}
.tile:hover { box-shadow: 0 18px 44px rgba(32, 25, 18, 0.10); transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 4 / 4.9; object-fit: cover; }
.tile-label {
  display: block; margin-top: 18px; padding-inline: 22px;
  font-family: var(--serif); font-size: 1.35rem;
}
.tile-note {
  display: block; margin-top: 5px; padding-inline: 22px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.cat-ribbon {
  margin: clamp(36px, 5vw, 52px) auto 0;
  text-align: center;
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- bridal ---------- */
.bridal { background: var(--tint); padding-block: clamp(64px, 10vw, 120px); }
.bridal-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.bridal-panel {
  padding: 12px; border: 1px solid var(--hairline); background: var(--surface);
  justify-self: center;
}
.bridal-panel img { width: 100%; max-width: 340px; }
.bridal .kicker { color: var(--accent-deep); }
.bridal-quote {
  margin-block: 24px 20px;
  padding-left: 20px;
  border-left: 2px solid var(--gold-raw);
}
.bridal-quote p {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.4;
  font-style: italic;
}
.bridal-quote cite {
  display: block; margin-top: 10px;
  font-size: 0.82rem; font-style: normal; letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.bridal-body { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- proof ---------- */
.proof { padding-block: clamp(64px, 10vw, 120px); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
  align-items: end;
  max-width: 780px;
  margin-inline: auto;
}
.proof-grid figure {
  border: 1px solid var(--hairline); padding: 10px; background: var(--surface);
}
.proof-grid img { width: 100%; }
.proof-line {
  margin: 34px auto 0; text-align: center; color: var(--ink-soft);
}

/* ---------- visit ---------- */
.visit {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(64px, 10vw, 120px);
  background:
    radial-gradient(900px 420px at 50% 115%, rgba(226, 168, 92, 0.16), transparent 70%),
    var(--bg);
}
.visit-inner { text-align: center; }
.visit-hours {
  margin-top: 18px;
  font-size: 1.05rem; color: var(--ink-soft);
}
.visit-cta {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 30px;
}
.visit-dir { margin-top: 22px; font-size: 0.95rem; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--dark); color: var(--dark-text);
  padding-block: clamp(48px, 7vw, 80px) 28px;
  padding-bottom: calc(28px + 76px); /* clear the mobile bar */
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}
.foot-logo { border-radius: 4px; }
.foot-name {
  margin-top: 16px; font-family: var(--serif); font-size: 1.4rem;
  color: var(--dark-text);
}
.foot-name span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-raw); margin-left: 8px; }
.foot-ar {
  margin-top: 8px; font-size: 1.15rem; color: rgba(245, 239, 226, 0.85);
}
.foot-head {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-raw); margin-bottom: 12px;
}
.foot-col p { margin-bottom: 10px; color: rgba(245, 239, 226, 0.88); font-size: 0.95rem; }
.foot-col a { color: var(--dark-text); }
.foot-col a:hover { color: var(--gold-raw); }
.foot-base {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(245, 239, 226, 0.14);
}
.foot-base p { font-size: 0.8rem; color: rgba(245, 239, 226, 0.55); }
.foot-base a { color: rgba(245, 239, 226, 0.75); }

/* ---------- mobile action bar ---------- */
.mob-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(250, 247, 240, 0.97);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom);
}
.mob-bar a {
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
}
.mob-call { background: var(--cta); color: var(--cta-text); }
.mob-text { color: var(--ink); border-inline: 1px solid var(--hairline); }
.mob-dir { color: var(--accent); }

/* ---------- reveals (motion dial 2: fades only) ---------- */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease, transform 550ms ease;
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
}

/* ---------- 404 ---------- */
.nf {
  min-height: 78vh;
  display: flex; align-items: center;
  padding-block: 64px;
  background:
    radial-gradient(900px 420px at 50% 115%, rgba(226, 168, 92, 0.16), transparent 70%),
    var(--bg);
}
.nf-h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .head-nav { display: none; }
  .hero { padding-block: 16px calc(clamp(56px, 9vw, 110px) + 72px); }
  .hero-panel img { max-width: 228px; }
  .kicker { margin-bottom: 10px; }
  .hero-facts { margin-top: 10px; }
  .hero-cta { margin-top: 18px; }
  .hero-follow { margin-top: 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .hero-copy { text-align: center; }
  .hero-facts { margin-inline: auto; }
  .hero-cta, .hero-follow { justify-content: center; }
  .tile-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .tile img { aspect-ratio: 4 / 4.2; }
  .bridal-grid { grid-template-columns: 1fr; }
  .bridal-panel img { max-width: 300px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .mob-bar { display: grid; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .btn-head { display: none; }
  h1 { font-size: clamp(2.35rem, 9.5vw, 2.9rem); }
  .proof-grid { grid-template-columns: 1fr; max-width: 400px; }
}
