:root {
  --bone: #FAF6EE;
  --warm-white: #E8E2D5;
  --charcoal: #1A1D24;
  --deep: #0F1217;
  --ember: #FF5B2E;
  --ember-dim: #E04A1E;
  --rule: rgba(26, 29, 36, 0.15);
  --rule-dark: rgba(232, 226, 213, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  background: var(--bone);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', Georgia, serif; font-weight: 400; }
.mono-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ NAV ============ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); }
.nav-logo svg { display: block; }
.nav-logo-word { font-family: 'Fraunces', serif; font-size: 18px; letter-spacing: 0.14em; font-weight: 400; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--charcoal); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.55; }
.nav-cta {
  font-size: 13px; letter-spacing: 0.08em;
  padding: 10px 20px; border: 1px solid var(--charcoal);
  background: transparent; color: var(--charcoal);
  cursor: pointer; font-family: inherit; transition: all 0.25s;
}
.nav-cta:hover { background: var(--charcoal); color: var(--bone); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; padding: 140px 48px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative;
  border-bottom: 1px solid var(--rule);
}
.hero::before { content: ''; position: absolute; top: 140px; left: 48px; right: 48px; height: 1px; background: var(--rule); }
.hero-meta { position: absolute; top: 160px; left: 48px; display: flex; gap: 24px; align-items: center; opacity: 0.55; }
.hero-meta-dot { width: 6px; height: 6px; background: var(--ember); border-radius: 50%; }
.hero-left { padding-top: 40px; opacity: 0; animation: fadeUp 1s 0.2s forwards; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; opacity: 0.7; }
.hero-eyebrow-line { width: 32px; height: 1px; background: var(--charcoal); opacity: 0.4; }

h1.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 7.5vw, 110px);
  font-weight: 300; line-height: 0.96; letter-spacing: -0.02em;
  margin-bottom: 32px; font-variation-settings: "opsz" 144;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--ember); }

.hero-sub {
  font-size: 17px; line-height: 1.55;
  max-width: 440px; opacity: 0.75;
  margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; }

.btn-primary {
  background: var(--charcoal); color: var(--bone);
  padding: 16px 28px; font-family: inherit; font-size: 13px; letter-spacing: 0.08em;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--ember); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-text {
  background: none; border: none; color: var(--charcoal);
  font-family: inherit; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; padding: 16px 8px;
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.btn-text:hover { border-color: var(--charcoal); }

.hero-right {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 0;
  opacity: 0; animation: fadeIn 1.4s 0.5s forwards;
}

.hero-logo-frame {
  position: relative; background: var(--deep);
  padding: 80px 60px 60px;
  width: 100%; max-width: 520px;
}
.hero-logo-frame::before {
  content: '01'; position: absolute; top: 18px; left: 22px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--warm-white); opacity: 0.35;
}
.hero-logo-frame::after {
  content: 'identity'; position: absolute; top: 18px; right: 22px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--warm-white); opacity: 0.35;
  text-transform: uppercase;
}

.hero-tagline {
  margin-top: 32px; text-align: center;
  font-size: 11px; letter-spacing: 0.4em; opacity: 0.65;
  text-transform: lowercase;
  font-family: 'Fraunces', serif; font-style: italic;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 28px 0; overflow: hidden; background: var(--bone);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: 'Fraunces', serif; font-size: 22px; letter-spacing: 0.04em;
}
.marquee-track span { display: flex; align-items: center; gap: 64px; }
.marquee-track .dot { color: var(--ember); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ ETHOS ============ */
.ethos {
  padding: 140px 48px;
  display: grid; grid-template-columns: 380px 1fr; gap: 100px;
  border-bottom: 1px solid var(--rule);
}
.ethos-label { opacity: 0.55; }
.ethos-body h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 40px; max-width: 880px;
}
.ethos-body h2 em { font-style: italic; color: var(--ember); }
.ethos-meta {
  display: flex; gap: 48px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule);
}
.ethos-meta-item .num { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 300; display: block; margin-bottom: 8px; }
.ethos-meta-item .num em { color: var(--ember); font-style: normal; }
.ethos-meta-item .label { font-size: 12px; letter-spacing: 0.12em; opacity: 0.6; text-transform: uppercase; }

/* ============ PILLARS ============ */
.pillars { padding: 140px 48px; border-bottom: 1px solid var(--rule); }
.pillars-header { display: grid; grid-template-columns: 380px 1fr; gap: 100px; margin-bottom: 80px; }
.pillars-header h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.015em;
  max-width: 720px;
}
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.pillar { padding: 48px 32px 56px; border-right: 1px solid var(--rule); position: relative; transition: background 0.4s; }
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(255, 91, 46, 0.04); }
.pillar:hover .pillar-num { color: var(--ember); }
.pillar-num {
  font-family: 'Fraunces', serif; font-size: 14px; font-style: italic;
  opacity: 0.5; margin-bottom: 80px; display: block; transition: color 0.3s;
}
.pillar-icon { margin-bottom: 28px; height: 36px; display: flex; align-items: end; }
.pillar h4 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px; }
.pillar h4 em { font-style: italic; color: var(--ember); }
.pillar p { font-size: 14.5px; line-height: 1.6; opacity: 0.75; }

/* ============ DARK BLOCK ============ */
.dark-block { background: var(--deep); color: var(--warm-white); padding: 160px 48px; position: relative; overflow: hidden; }
.dark-block::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 80px; background: var(--ember); }
.dark-quote { max-width: 1100px; margin: 0 auto; position: relative; }
.dark-quote-mark { font-family: 'Fraunces', serif; font-size: 180px; line-height: 0.5; color: var(--ember); font-style: italic; margin-bottom: 8px; display: block; }
.dark-quote q {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.015em;
  display: block; quotes: none;
}
.dark-quote q::before, .dark-quote q::after { content: ''; }
.dark-quote q em { font-style: italic; color: var(--ember); }
.dark-quote-attr { margin-top: 64px; display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }
.dark-quote-attr-line { width: 48px; height: 1px; background: var(--warm-white); opacity: 0.5; }

/* ============ CONTACT ============ */
.contact { padding: 140px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--rule); }
.contact h3 { font-family: 'Fraunces', serif; font-size: clamp(48px, 6vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.contact h3 em { font-style: italic; color: var(--ember); }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.contact-input {
  background: transparent; border: none; border-bottom: 1px solid var(--rule);
  padding: 14px 0; font-family: inherit; font-size: 16px;
  color: var(--charcoal); outline: none; transition: border-color 0.25s;
}
.contact-input::placeholder { color: var(--charcoal); opacity: 0.4; }
.contact-input:focus { border-color: var(--ember); }
.contact-submit {
  margin-top: 12px; align-self: flex-start;
  background: var(--charcoal); color: var(--bone);
  padding: 18px 36px; border: none; font-family: inherit;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s;
}
.contact-submit:hover { background: var(--ember); }

/* ============ FOOTER ============ */
footer { background: var(--bone); padding: 80px 48px 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.footer-brand-tagline { margin-top: 24px; font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; opacity: 0.7; max-width: 240px; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px; opacity: 0.5; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--charcoal); text-decoration: none; font-size: 14px; transition: color 0.25s; }
.footer-col a:hover { color: var(--ember); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: 0.55; }
.footer-bottom span em { color: var(--ember); font-style: normal; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 60px; }
  .hero::before { left: 24px; right: 24px; }
  .hero-meta { left: 24px; }
  .ethos, .pillars-header { grid-template-columns: 1fr; gap: 32px; padding-left: 24px; padding-right: 24px; }
  .pillars { padding-left: 24px; padding-right: 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--rule); }
  .pillar:last-child { border-bottom: none; }
  .dark-block { padding: 100px 24px; }
  .contact { grid-template-columns: 1fr; padding: 100px 24px; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
