/* ─── TOKENS ─── */
:root {
  --bg:           #0d0b09;
  --bg-2:         #141210;
  --bg-3:         #1e1a16;
  --surface:      #1c1815;
  --surface-2:    #242019;
  --gold:         #c9a96e;
  --gold-dim:     rgba(201, 169, 110, 0.15);
  --gold-border:  rgba(201, 169, 110, 0.25);
  --ivory:        #f0ebe0;
  --ivory-dim:    rgba(240, 235, 224, 0.55);
  --ivory-muted:  rgba(240, 235, 224, 0.25);
  --text:         #e8e2d8;
  --text-muted:   rgba(232, 226, 216, 0.5);
  --text-subtle:  rgba(232, 226, 216, 0.3);
  --warm:         #a68a5b;
  --ff-display:    'Cormorant Garamond', Georgia, serif;
  --ff-body:      'DM Sans', system-ui, sans-serif;
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     8rem;
  --space-2xl:    12rem;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 2.5rem 4rem;
  background: linear-gradient(to bottom, rgba(13,11,9,0.95) 0%, transparent 100%);
}
.nav__brand { display: flex; flex-direction: column; gap: 0.25rem; }
.nav__wordmark {
  font-family: var(--ff-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.35em; color: var(--ivory);
}
.nav__tagline {
  font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--text-muted); text-transform: uppercase;
}
.nav__links { display: flex; gap: 3rem; align-items: center; }
.nav__link {
  font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ivory-dim); text-decoration: none;
  transition: color 0.3s ease; padding-top: 0.15rem;
}
.nav__link:hover { color: var(--gold); }

/* ─── SECTION LABEL ─── */
.section__label {
  display: block; font-family: var(--ff-body); font-size: 0.65rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-layer { position: absolute; inset: 0; }
.hero__bg-layer--1 {
  background:
    radial-gradient(ellipse 70% 80% at 85% 50%, rgba(201,169,110,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(201,169,110,0.04) 0%, transparent 55%);
}
.hero__bg-layer--2 {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg) 100%);
}
.hero__bg-layer--3 {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, var(--gold-border) 79px, var(--gold-border) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, var(--gold-border) 79px, var(--gold-border) 80px);
  opacity: 0.4;
}
.hero__content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr; gap: 5rem;
  align-items: center; padding: 8rem 5rem 6rem;
  width: 100%; max-width: 1400px; margin: 0 auto;
}
.hero__mark { padding-top: 0.5rem; }
.hero__text { max-width: 680px; }
.hero__headline {
  font-family: var(--ff-display); font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300; line-height: 1.0; color: var(--ivory);
  letter-spacing: -0.02em; margin-bottom: 2.5rem;
}
.hero__headline em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-family: var(--ff-body); font-size: 0.9rem; font-weight: 300;
  color: var(--ivory-dim); line-height: 1.8; margin-bottom: 3rem;
}
.hero__rule { width: 60px; height: 1px; background: var(--gold); opacity: 0.5; margin-bottom: 1.5rem; }
.hero__brand-promise {
  font-family: var(--ff-display); font-size: 0.9rem; font-style: italic;
  color: var(--gold); letter-spacing: 0.05em;
}

/* ─── SEPARATOR ─── */
.separator {
  display: flex; align-items: center; gap: 2rem;
  padding: 3rem 5rem;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  background: var(--bg-2);
}
.separator__line { flex: 1; height: 1px; background: var(--gold-border); }
.separator__text {
  font-family: var(--ff-body); font-size: 0.65rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap;
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8rem;
  padding: var(--space-xl) 5rem; max-width: 1400px; margin: 0 auto; align-items: center;
}
.philosophy__heading {
  font-family: var(--ff-display); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15; color: var(--ivory); margin-bottom: 2.5rem;
}
.philosophy__body { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.philosophy__body p { font-size: 0.95rem; color: var(--ivory-dim); line-height: 1.8; }
.philosophy__attributes { display: flex; flex-direction: column; gap: 1rem; }
.philosophy__attr {
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem 0; border-bottom: 1px solid var(--gold-border);
}
.philosophy__attr-number {
  font-family: var(--ff-display); font-size: 0.75rem; color: var(--gold);
  opacity: 0.7; min-width: 2rem;
}
.philosophy__attr-label {
  font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--ivory-dim); text-transform: uppercase;
}
.philosophy__visual { display: flex; align-items: center; justify-content: center; }
.philosophy__composition { position: relative; width: 340px; height: 420px; }
.philosophy__rect { position: absolute; border: 1px solid var(--gold-border); }
.philosophy__rect--large {
  inset: 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  animation: pulse-rect 6s ease-in-out infinite;
}
.philosophy__rect--small {
  top: 30px; left: 30px; right: -30px; bottom: -30px;
  background: var(--gold-dim);
  animation: pulse-rect 6s ease-in-out 0.5s infinite;
}
.philosophy__accent {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.15; animation: glow 4s ease-in-out infinite;
}
@keyframes pulse-rect { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes glow {
  0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

/* ─── SERVICES ─── */
.services { padding: var(--space-xl) 5rem; background: var(--bg-2); border-top: 1px solid var(--gold-border); }
.services__heading {
  font-family: var(--ff-display); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15; color: var(--ivory); margin-bottom: 5rem;
}
.services__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; max-width: 1400px; margin: 0 auto; }
.services__card { padding: 3rem 2.5rem; border-right: 1px solid var(--gold-border); border-top: 1px solid var(--gold-border); transition: background 0.4s ease; }
.services__card:last-child { border-right: none; }
.services__card:hover { background: var(--surface); }
.services__card--accent { background: var(--surface); position: relative; }
.services__card--accent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.services__card-number { font-family: var(--ff-display); font-size: 0.7rem; color: var(--gold); opacity: 0.5; margin-bottom: 1.5rem; letter-spacing: 0.2em; }
.services__card-title { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 400; color: var(--ivory); margin-bottom: 1.5rem; line-height: 1.2; }
.services__card-desc { font-size: 0.85rem; color: var(--ivory-dim); line-height: 1.8; margin-bottom: 2rem; }
.services__card-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.services__card-list li { font-size: 0.8rem; color: var(--text-muted); padding-left: 1.25rem; position: relative; line-height: 1.5; }
.services__card-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); opacity: 0.4; font-size: 0.7rem; }

/* ─── DISTINCTION ─── */
.distinction { padding: var(--space-xl) 5rem; background: var(--bg); border-top: 1px solid var(--gold-border); }
.distinction__top { margin-bottom: 5rem; max-width: 1400px; margin-left: auto; margin-right: auto; }
.distinction__heading { font-family: var(--ff-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--ivory); }
.distinction__heading em { font-style: italic; color: var(--gold); }
.distinction__body { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; max-width: 1400px; margin: 0 auto; }
.distinction__text { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 300; color: var(--ivory-dim); line-height: 1.7; padding-top: 1rem; }
.distinction__col { display: flex; flex-direction: column; gap: 2rem; }
.distinction__point { padding-left: 2rem; border-left: 1px solid var(--gold-border); }
.distinction__point-label { display: block; font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.distinction__point p { font-size: 0.9rem; color: var(--ivory-dim); line-height: 1.7; }

/* ─── MANIFESTO ─── */
.manifesto {
  padding: var(--space-2xl) 5rem; background: var(--bg-2);
  border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border);
  text-align: center; position: relative; overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.manifesto__quote {
  font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; font-style: normal; color: var(--ivory);
  line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 4rem;
}
.manifesto__quote em { font-style: italic; color: var(--gold); }
.manifesto__footer { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.manifesto__line { width: 1px; height: 60px; background: var(--gold); opacity: 0.4; }
.manifesto__name { font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); }
.manifesto__year { font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--text-subtle); }

/* ─── FOOTER ─── */
.footer { padding: 5rem 5rem 3rem; background: var(--bg); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4rem; }
.footer__wordmark { display: block; font-family: var(--ff-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.4em; color: var(--ivory); margin-bottom: 1rem; }
.footer__tagline { font-family: var(--ff-display); font-size: 0.85rem; font-style: italic; color: var(--gold); line-height: 1.6; }
.footer__services { font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--text-muted); text-align: right; }
.footer__rule { height: 1px; background: var(--gold-border); margin-bottom: 2rem; }
.footer__info { display: flex; justify-content: space-between; font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--text-subtle); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav { padding: 2rem 2.5rem; }
  .hero__content { padding: 7rem 2.5rem 4rem; grid-template-columns: 1fr; gap: 3rem; }
  .hero__mark { display: none; }
  .philosophy { grid-template-columns: 1fr; padding: 6rem 2.5rem; gap: 4rem; }
  .philosophy__visual { display: none; }
  .services { padding: 6rem 2.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .services__card { border-right: none; border-bottom: 1px solid var(--gold-border); }
  .distinction { padding: 6rem 2.5rem; }
  .distinction__body { grid-template-columns: 1fr; gap: 4rem; }
  .manifesto { padding: 8rem 2.5rem; }
  .separator { padding: 2.5rem 2.5rem; }
  .footer { padding: 4rem 2.5rem 2rem; }
  .footer__top { flex-direction: column; gap: 2rem; }
  .footer__services { text-align: left; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__headline { font-size: 3rem; }
  .manifesto__quote { font-size: 1.8rem; }
  .footer__info { flex-direction: column; gap: 0.5rem; }
}