/* Ozy's Vintage — public site */
:root {
  --ink: #0c0b0a;
  --ink-soft: #161310;
  --smoke: #2a2520;
  --parchment: #e8e0d2;
  --muted: #a89f91;
  --champagne: #c4a574;
  --champagne-bright: #e0c798;
  --line: rgba(196, 165, 116, 0.28);
  --danger: #b56a5a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--parchment);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(196, 165, 116, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(90, 70, 45, 0.2), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 45%, #0a0908 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--champagne-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #f0e2c4;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--parchment);
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.08);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--champagne-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--champagne-bright) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem !important;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-cta:hover {
  background: rgba(196, 165, 116, 0.12);
  border-color: var(--champagne);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: grid;
  align-items: end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 55%;
  background:
    radial-gradient(circle at 30% 40%, rgba(224, 199, 152, 0.18), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(140, 110, 70, 0.2), transparent 50%);
  filter: blur(8px);
  animation: breathe 8s var(--ease) infinite alternate;
}

.hero-mark {
  position: absolute;
  right: max(0px, calc((100% - var(--max)) / 2 - 1rem));
  top: 12%;
  width: min(42vw, 26rem);
  aspect-ratio: 1;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 45%, #000 35%, transparent 72%);
  animation: rise 1.2s var(--ease) both;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.85) contrast(1.05);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--champagne);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--parchment);
}

.hero-lead {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--champagne);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.22), rgba(196, 165, 116, 0.08));
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.35), rgba(196, 165, 116, 0.12));
  color: #fff8ea;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--parchment);
  border-color: var(--champagne);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

.quiet-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .quiet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quiet-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--parchment);
}

.quiet-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Legal pages */
.page {
  padding: 3rem 0 5rem;
  animation: rise 0.7s var(--ease) both;
}

.page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.page .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--champagne-bright);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 5.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--parchment);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--champagne-bright);
}

.footer-note {
  margin-top: 1.5rem;
  color: var(--smoke);
  color: #6e665c;
  font-size: 0.8rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: min(36rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  background: rgba(22, 19, 16, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.cookie-banner.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions button {
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--parchment);
}

.cookie-actions .accept {
  border-color: var(--champagne);
  background: rgba(196, 165, 116, 0.18);
}

.cookie-actions button:hover {
  border-color: var(--champagne-bright);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (max-width: 720px) {
  .hero-mark {
    width: min(70vw, 18rem);
    top: 6%;
    right: -8%;
    opacity: 0.35;
  }

  .nav-links .hide-sm {
    display: none;
  }
}

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