/* ===== Tokens ===== */
:root {
  --ink: #232B39;
  --ink-soft: #2A323F;
  --gold: #B3955E;
  --gold-light: #D9C6A0;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --line: #E7E1D4;
  --text-muted: #6B7280;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Buttons ===== */
.btn {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--solid {
  background: var(--ink);
  color: var(--white);
}
.btn--solid:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn--lg {
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
}

.btn--text {
  color: var(--ink);
  font-weight: 500;
  padding: 0.85rem 0.4rem;
}
.btn--text:hover {
  color: var(--gold);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.navbar__inner {
  max-width: 1160px;
  height: 150px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.brand__logo {
  height: 250px;
  width: auto;
  object-fit: contain;
  flex: none;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== Hero ===== */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 0 2rem;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ===== Signature visual: gift progress card ===== */
.hero__visual {
  display: flex;
  justify-content: center;
}

.gift-card {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(35, 43, 57, 0.25);
}

.gift-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.gift-card__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.gift-card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(179, 149, 94, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.gift-card__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.gift-card__item:first-of-type {
  border-top: none;
}

.ring {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 6;
}

.ring__progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 169.6;
  stroke-dashoffset: calc(169.6 - (169.6 * var(--p)) / 100);
}

.ring__progress--done {
  stroke: var(--ink);
}

.ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
}

.gift-card__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.gift-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
    text-align: left;
  }
  .hero__visual {
    order: -1;
  }
}

@media (max-width: 520px) {
  .navbar__actions .btn--ghost {
    display: none;
  }
}

/* ===== Accessibility ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}