/* 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: #FFFFFF;
  --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(255, 255, 255, 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;
}
.head-left { display: flex; align-items: center; gap: 16px; }
.head-social { display: flex; align-items: center; gap: 4px; }
.head-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: var(--ink-soft);
  transition: color 250ms ease;
}
.head-social a:hover { color: var(--accent); }
.head-social svg { width: 18px; height: 18px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 6px; flex: none;
  box-shadow: 0 2px 10px rgba(32, 25, 18, 0.18);
}
.brand-text { display: flex; flex-direction: column; }
.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);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* cinematic entrance: kicker, H1, facts, CTAs, follow line rise in sequence */
.hero-copy > * , .hero-panel {
  animation-name: heroIn;
  animation-duration: 900ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
.hero-copy > :nth-child(1) { animation-delay: 120ms; }
.hero-copy > :nth-child(2) { animation-delay: 260ms; }
.hero-copy > :nth-child(3) { animation-delay: 400ms; }
.hero-copy > :nth-child(4) { animation-delay: 540ms; }
.hero-copy > :nth-child(5) { animation-delay: 680ms; }
.hero-panel { animation-name: heroPanel; animation-duration: 1050ms; animation-delay: 320ms; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroPanel {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
/* slow Ken Burns: the photograph breathes inside its frame */
.hero-panel { overflow: hidden; }
.hero-panel img {
  animation: kenburns 26s ease-in-out 1.2s infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-panel { animation: none; }
  .hero-panel img { animation: none; }
}
.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);
}
.coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 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-art {
  aspect-ratio: 4 / 4.9;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(220px 160px at 50% 40%, rgba(226, 168, 92, 0.12), transparent 70%),
    var(--tint);
  border-bottom: 1px solid var(--hairline);
}
.tile-art svg { width: 56%; max-width: 96px; color: var(--accent); }
.tile-label {
  display: block; margin-top: 18px; padding-inline: 22px;
  font-family: var(--serif); font-size: 1.35rem;
}
.tile-ar {
  display: block; padding-inline: 22px; margin-top: 3px;
  font-size: 0.85rem; color: var(--ink-soft);
}
.tile-note {
  display: block; margin-top: 5px; padding-inline: 22px;
  font-size: 0.88rem; color: var(--ink-soft);
}

/* ---------- 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-follow {
  margin: 34px auto 0;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- google reviews ---------- */
.reviews {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(64px, 10vw, 120px);
}
.rev-stars { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.rev-stars svg { width: 22px; height: 22px; fill: var(--gold-raw); }
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
}
.rev-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.rev-card blockquote p { font-size: 0.98rem; line-height: 1.6; }
.rev-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.rev-name { font-weight: 600; font-size: 0.95rem; }
.rev-meta { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.rev-link { margin-top: 34px; text-align: center; font-size: 0.95rem; }

/* ---------- 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(255, 255, 255, 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; }
  .head-row { padding-block: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
  .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; }
  .coll-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tile { padding-bottom: 16px; }
  .tile img, .tile-art { aspect-ratio: 4 / 4.2; }
  .tile-label { font-size: 1.15rem; padding-inline: 16px; margin-top: 12px; }
  .tile-ar, .tile-note { padding-inline: 16px; }
  .rev-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .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; }
}
