/* ─── DESIGN TOKENS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  color-scheme: dark;

  /* Palette */
  --bg:           #080706;
  --surface:      #111009;
  --surface-alt:  #191712;
  --surface-lift: #221f18;

  --text:         #f0ece5;
  --text-soft:    #c8c0b4;
  --muted:        #8a8278;

  --gold:         #c9a06a;       /* primary accent — warmer, less beige */
  --gold-light:   #e2c898;       /* highlight / hover */
  --gold-dim:     rgba(201,160,106,0.12);
  --gold-rule:    rgba(201,160,106,0.28);

  --burgundy:     #7a3a3a;       /* secondary accent */
  --burgundy-dim: rgba(122,58,58,0.18);

  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(201,160,106,0.3);

  --shadow-sm:    0 4px 20px rgba(0,0,0,0.3);
  --shadow-md:    0 16px 48px rgba(0,0,0,0.4);
  --shadow-lg:    0 32px 80px rgba(0,0,0,0.5);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    /* Grain texture — signature element */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    /* Subtle radial warmth at top */
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,160,106,0.07) 0%, transparent 100%),
    /* Base gradient */
    linear-gradient(180deg, #0c0a07 0%, #060504 60%, #050403 100%);
  color: var(--text);
}

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

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────── */
.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.container,
.split-layout > *,
.owner-profile-grid > *,
.service-card > *,
.form-panel,
.cards-grid > * {
  min-width: 0;
}

/* ─── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,7,6,0.82);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

/* Brand mark with gold rule underneath */
.brand {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.25rem;
}

.brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-rule);
}

/* Nav */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease-out);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease-out);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  border: none;
  background: none;
  flex-direction: column;
  justify-content: space-between;
  height: 1.15rem;
  width: 1.5rem;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; line-height: 1.08; }

h1, h2, h3, p, a, span, strong {
  overflow-wrap: anywhere;
}

/* Display type gets the serif */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
}

/* Italic emphasis in h1 for personality */
h1 em {
  font-style: italic;
  color: var(--gold-light);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p {
  color: var(--text-soft);
  line-height: 1.85;
  margin: 0;
}

/* Eyebrow labels — tiny, tracked, gold */
.eyebrow,
.section-head span,
.page-hero span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Decorative rule motif (reusable) */
.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  width: fit-content;
}

.rule::before,
.rule::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold-rule);
}

/* ─── SECTIONS ──────────────────────────────────────────────────────── */
.hero,
.page-hero,
.cta-panel,
.form-section,
.values-section,
.service-section,
.story-section,
.contact-info {
  padding: 5rem 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: rgba(8, 8, 8, 0.85);
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  background: #0f0f0f;
  filter: brightness(0.75) contrast(1.08) saturate(0.9);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.18) 0%, rgba(8,8,8,0.22) 35%, rgba(8,8,8,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content,
.cta-content {
  display: grid;
  gap: 1.2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0;
  align-self: center;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.06rem;
  color: rgba(240,236,229,0.82);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 0.2s var(--ease-out),
    background-color 0.2s,
    box-shadow 0.2s,
    color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #120d09;
  box-shadow: 0 0 0 0 rgba(201,160,106,0);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 10px 30px rgba(201,160,106,0.25);
}

.btn-secondary,
.btn-outline {
  background: rgba(255,255,255,0.02);
  color: var(--text-soft);
  border-color: rgba(255,255,255,0.16);
}

.btn-secondary:hover,
.btn-outline:hover {
  color: var(--text);
  border-color: var(--gold-rule);
  background: rgba(201,160,106,0.08);
}

/* ─── SECTION HEADS ──────────────────────────────────────────────────── */
.section-head {
  display: grid;
  gap: 0.85rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2,
.about-preview h2,
.cta-panel h2 {
  max-width: 760px;
  margin: 0 auto;
}

/* ─── CARDS ──────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
}

/* Base card */
.collection-card,
.value-card,
.stat-block {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  overflow: hidden;
}

/* Signature: gold left-border accent on hover */
.collection-card::before,
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s var(--ease-out);
}

.collection-card:hover::before,
.value-card:hover::before { height: 100%; }

.collection-card:hover,
.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Featured card override */
.featured {
  background: linear-gradient(135deg,
    rgba(201,160,106,0.14),
    rgba(255,255,255,0.03));
  border-color: var(--gold-rule);
}

.collection-card h3,
.service-card h2,
.value-card h3,
.stat-block strong {
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* ─── SERVICES GRID ──────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  display: grid;
  align-items: center;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--gold-rule); }

.service-card.reverse { background: var(--surface-alt); }

.service-copy span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── STATS ──────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.stat-block {
  text-align: center;
}

.stat-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ─── SPLIT LAYOUT ───────────────────────────────────────────────────── */
.split-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.owner-profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.owner-portrait {
  margin: 0;
}

.owner-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% center;
  border: 1px solid var(--gold-rule);
  border-radius: 6px;
}

.owner-portrait figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.owner-bio {
  display: grid;
  gap: 1rem;
}

.owner-bio > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.owner-bio h2 {
  max-width: 560px;
}

.owner-signature {
  margin-top: 0.75rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.2;
}

.owner-signature strong {
  font-size: 1.7rem;
  font-weight: 400;
}

.feature-stats {
  display: grid;
  gap: 1rem;
}

.stat-item {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s, background 0.2s;
}

.stat-item:hover {
  border-color: var(--gold-rule);
  background: var(--gold-dim);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

/* ─── STORY / QUOTE ──────────────────────────────────────────────────── */
.story-quote {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);   /* Strong left rule — editorial feel */
  border-radius: 0 6px 6px 0;
  background: rgba(255,255,255,0.025);
}

/* ─── CTA PANEL ──────────────────────────────────────────────────────── */
.cta-panel {
  position: relative;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%,
    rgba(201,160,106,0.08) 0%,
    transparent 65%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  padding: 4rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--gold-rule);
  background: rgba(17,16,9,0.6);
}

/* ─── FORM ────────────────────────────────────────────────────────────── */
.form-panel {
  padding: 2.5rem 2rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold-rule);
  box-shadow: 0 0 0 3px rgba(201,160,106,0.1);
}

textarea { resize: vertical; }

.form-help,
.form-message {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ─── GALLERY ─────────────────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--gold-rule);
}

.filter-btn.active {
  background: var(--gold);
  color: #100e0a;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.gallery-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  transition: border-color 0.2s, transform 0.25s var(--ease-out);
}

.gallery-item:hover {
  border-color: var(--gold-rule);
  transform: scale(1.01);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ─── LIGHTBOX ────────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  place-items: center;
  padding: 2rem;
  z-index: 100;
}

.lightbox.open { display: grid; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

/* ─── SOCIAL LINKS ────────────────────────────────────────────────────── */
.social-links {
  display: grid;
  gap: 1rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover { color: var(--gold-light); }

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ─── UTILITIES ───────────────────────────────────────────────────────── */
.centered-link {
  display: flex;
  justify-content: center;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% auto auto 0;
    width: 100%;
    background: rgba(8,7,6,0.98);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: flex; }
  .site-nav.open { display: flex; }

  .split-layout,
  .owner-profile-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: row;
    min-height: 4.25rem;
  }

  .hero,
  .page-hero,
  .cta-panel,
  .form-section,
  .values-section,
  .service-section,
  .story-section,
  .contact-info {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 72vh;
  }

  .stat-block strong { font-size: 2.8rem; }
  .cta-content { padding: 2.5rem 1.25rem; }
  .form-panel { padding: 1.75rem 1.25rem; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 1.5rem, 1080px); }

  h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.35rem); }

  .site-nav { padding: 1.25rem 0.75rem; }
  .site-nav a { font-size: 0.8rem; }

  .hero,
  .page-hero,
  .cta-panel,
  .form-section,
  .values-section,
  .service-section,
  .story-section,
  .contact-info {
    padding: 3rem 0;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-content p:not(.eyebrow) { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { gap: 0.6rem; }
  .gallery-item { border-radius: 4px; }

  .filter-tabs { gap: 0.4rem; }
  .filter-btn { padding: 0.55rem 0.75rem; font-size: 0.72rem; }

  .owner-profile-grid { gap: 2rem; }
  .owner-bio > span { letter-spacing: 0.12em; }
  .owner-signature strong { font-size: 1.3rem; }

  .footer-inner { gap: 1.25rem; }
  .footer-nav { gap: 1rem; }
  .lightbox { padding: 1rem; }
  .lightbox-image { max-width: 100%; max-height: 80vh; }
}

/* ─── MOTION PREFERENCES ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}