:root {
  --paper: #f6f4ef;
  --paper-2: #efebe3;
  --card: #fffdf9;
  --ink: #0f1b2d;
  --ink-2: #3c4759;
  --ink-3: #5a6373;
  --rule: #dcd6ca;
  --accent: #b4532a;
  --accent-ink: #8f3f1d;
  --navy-2: #172742;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--ink); color: var(--paper);
  font: 600 13px/1 var(--sans); letter-spacing: .06em;
  border-radius: 2px;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 9px; height: 9px; background: var(--accent);
}
.brand-name { font: 500 19px/1 var(--serif); letter-spacing: -0.005em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 15px; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--ink); transition: right .25s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { right: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  font: 500 15px/1 var(--sans);
  padding: 15px 24px; border: 0; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { padding: 11px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 500; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 3px;
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: var(--accent); gap: 12px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); display: flex; align-items: center; gap: 12px;
}
.eyebrow .num { font-family: var(--serif); font-weight: 500; letter-spacing: 0; color: var(--ink-3); font-size: 14px; }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; opacity: .6; }

/* Hero */
.hero {
  padding: 84px 0 0;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 96px,
    var(--paper);
  background-blend-mode: normal;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 70%, transparent) 40%, var(--paper) 100%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 22px 0 26px;
  font-variation-settings: "opsz" 144;
}
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

/* Org chart */
.org { margin: 0; display: flex; flex-direction: column; align-items: center; }
.org-parent, .org-child {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 1px 0 rgba(15,27,45,.04), 0 18px 40px -28px rgba(15,27,45,.35);
}
.org-parent { min-width: 240px; text-align: center; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.org-parent .org-label, .org-parent .org-meta { color: #a9b3c4; }
.org strong { font: 500 22px/1.2 var(--serif); }
.org-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.org-meta { font-size: 13px; color: var(--ink-3); }
.org-lines { width: 50%; height: 44px; position: relative; }
.org-lines::before {
  content: ""; position: absolute; left: 50%; top: 0; height: 22px; width: 1px; background: var(--ink-3);
}
.org-lines span {
  position: absolute; left: 0; right: 0; top: 22px; height: 22px;
  border: 1px solid var(--ink-3); border-bottom: 0;
}
.org-children { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.org-child { text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.org-child:hover { transform: translateY(-3px); border-color: var(--accent); }

.facts {
  margin: 84px 0 0; padding: 26px 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.facts > div { padding: 0 24px; border-left: 1px solid var(--rule); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 6px 0 0; font: 500 26px/1.2 var(--serif); }

/* Sections */
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -0.02em; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }

/* Brands */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.brand-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.brand-card:hover { box-shadow: 0 30px 60px -40px rgba(15,27,45,.45); transform: translateY(-2px); }
.brand-tile { position: relative; height: 240px; overflow: hidden; display: flex; align-items: flex-end; padding: 26px 28px; }
.tile-word { position: relative; z-index: 1; font: 500 38px/1 var(--serif); letter-spacing: -0.02em; }
/* Luxury Flame Co brand: #121212 black, #fd7201 orange, Inter */
.tile-flame {
  background: #121212;
  flex-direction: column; justify-content: center; align-items: center; gap: 22px;
}
.tile-flame::before {
  content: ""; position: absolute; left: 50%; bottom: -120px; width: 420px; height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(253,114,1,.42), rgba(253,114,1,0));
  animation: flicker 3.2s ease-in-out infinite;
}
.tile-flame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fd7201;
}
.tile-logo { position: relative; z-index: 1; width: min(78%, 340px); height: auto; }
.tile-caption {
  position: relative; z-index: 1;
  font: 600 11px/1.4 Inter, var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #b9b9b9; text-align: center; padding: 0 16px;
}
.tile-oasis { background: linear-gradient(160deg, #e7ece4 0%, #c8d5c6 55%, #8fa592 100%); color: #1f3326; }
.tile-oasis-shape {
  position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 18px, rgba(31,51,38,.12) 18px 19px);
}
@keyframes flicker {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; }
  40% { transform: translateX(-50%) scale(1.06, .96); opacity: 1; }
  70% { transform: translateX(-50%) scale(.97, 1.04); opacity: .8; }
}
.brand-body { padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.brand-body h3 { font-size: 28px; }
.brand-body > p:not(.tag) { color: var(--ink-2); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.specs { list-style: none; margin: 6px 0 10px; padding: 0; border-top: 1px solid var(--rule); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.specs span { color: var(--ink-3); }
.brand-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Dark section */
.section-dark { background: var(--ink); color: #e9ecf1; }
.section-dark .eyebrow { color: #e08a5f; }
.section-dark .eyebrow .num { color: #8995a8; }
.section-dark .section-head p:not(.eyebrow) { color: #b8c1cf; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2c3b55; }
.pillar { padding: 36px 32px 36px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid #2c3b55; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; color: #fff; }
.pillar p { color: #b8c1cf; }
.fit {
  margin-top: 56px; padding: 36px 40px;
  background: var(--navy-2); border: 1px solid #2c3b55; border-radius: var(--radius);
  display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start;
}
.fit h3 { font-size: 24px; color: #fff; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.fit li { position: relative; padding-left: 24px; color: #d3d9e3; }
.fit li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: #e08a5f; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); font: 500 18px/1 var(--serif); margin-bottom: 22px;
  transition: background .25s ease, color .25s ease;
}
.steps li:hover .step-n { background: var(--ink); color: var(--paper); }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Contact */
.section-contact { background: var(--paper-2); border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.contact-copy h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -0.02em; }
.contact-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.contact-direct { margin-top: 32px !important; font-size: 15px !important; color: var(--ink-3) !important; }
.contact-direct a { font: 500 22px/1.6 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }

.form {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 36px; display: grid; gap: 20px;
  box-shadow: 0 30px 60px -45px rgba(15,27,45,.45);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 13px 14px; width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .invalid { border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 15px; color: var(--ink-2); }
.form-status.ok { color: #2f6b45; }
.form-status.err { color: var(--accent-ink); }

/* Footer */
.site-footer { background: var(--ink); color: #b8c1cf; padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand-mark { background: var(--paper); color: var(--ink); }
.site-footer .brand-name { color: #fff; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { color: #fff; }
.copy { font-size: 14px; color: #8995a8; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile-flame::before { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .brands { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid #2c3b55; }
  .fit { grid-template-columns: 1fr; padding: 28px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 88px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .org-children { grid-template-columns: 1fr 1fr; gap: 10px; }
  .org-parent, .org-child { padding: 14px; }
  .org strong { font-size: 18px; }
  .facts { margin-top: 56px; }
  .facts > div { padding: 0 14px; }
  .facts dd { font-size: 21px; }
  .fit ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .form { padding: 24px 18px; }
  .form .row { grid-template-columns: 1fr; }
  .brand-tile { height: 190px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
