:root {
  color-scheme: dark;
  --bg: #141414;
  --bg-elev: #242424;
  --bg-card: #333333;
  --bg-soft: #3a3a3a;
  --orange: #e85a17;
  --orange-hot: #ff7a3d;
  --orange-deep: #c2410c;
  --cream: #f4ede4;
  --cream-dim: #c9bfb3;
  --stone: #8f877d;
  --line: rgba(232, 90, 23, 0.28);
  --line-quiet: rgba(244, 237, 228, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --serif: "Barlow", system-ui, sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
  --header-h: 76px;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0 0 1rem;
  color: var(--cream-dim);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--orange);
  color: #0a0a0a;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section {
  padding: clamp(5.5rem, 10vw, 8rem) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-intro {
  font-size: 1.08rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-quiet);
}

.header-inner {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: var(--orange);
  flex-shrink: 0;
  overflow: visible;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--cream);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--orange);
  color: var(--cream) !important;
  padding: 0.55rem 0.95rem;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--orange);
  color: #0a0a0a !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 237, 228, 0.28);
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #0a0a0a;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-hot);
}

.btn-ghost {
  border-color: rgba(244, 237, 228, 0.28);
  color: var(--cream);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.86) 0%, rgba(20, 20, 20, 0.58) 46%, rgba(20, 20, 20, 0.22) 100%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.28) 0%, rgba(20, 20, 20, 0.08) 38%, rgba(20, 20, 20, 0.78) 100%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero h1 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}

.lede {
  max-width: 40rem;
  font-size: 1.12rem;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
}

.lede-mobile {
  display: none;
}

.header-cta {
  display: none;
}

.mobile-cta-bar {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Stats */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-quiet);
  background: var(--bg-elev);
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-label {
  display: block;
  color: var(--stone);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stats strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

/* About */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  border: 1px solid var(--line-quiet);
}

.split-media figcaption {
  margin-top: 0.75rem;
  color: var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Strategies */

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--line-quiet);
  overflow: hidden;
}

.strategy-image {
  height: 240px;
  overflow: hidden;
}

.strategy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.strategy-card:hover .strategy-image img {
  transform: scale(1.04);
}

.strategy-body {
  padding: 1.6rem 1.6rem 1.8rem;
}

.strategy-index {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

/* Property */

.property {
  position: relative;
  color: var(--cream);
  isolation: isolate;
}

.property-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.78) 48%, rgba(20, 20, 20, 0.55) 100%);
}

.property-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: end;
}

.property .eyebrow,
.property h2,
.property p {
  color: inherit;
}

.property p {
  color: var(--cream-dim);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-quiet);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Principles */

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.principles li {
  background: var(--bg-elev);
  border-top: 2px solid var(--orange);
  padding: 1.5rem 1.25rem 1.7rem;
}

.principles span {
  display: block;
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.principles h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.principles p {
  font-size: 0.95rem;
}

/* Partners */

.partners {
  background:
    linear-gradient(180deg, rgba(232, 90, 23, 0.08), transparent 40%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-quiet);
}

.partners-inner {
  max-width: 820px;
}

.partners blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream);
}

.partners-note {
  color: var(--stone);
}

/* Founders */

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--line-quiet);
  padding: 2rem 1.75rem 2.1rem;
}

.founder-monogram {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.founder-role {
  color: var(--orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0 0 0.35rem;
}

.founder-cred {
  color: var(--stone);
  font-size: 0.88rem;
  margin-bottom: 1.15rem;
}

.founder-card h3 {
  margin-bottom: 0.25rem;
}

/* Contact */

.contact {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.contact-points li {
  padding: 1rem 0;
  border-top: 1px solid var(--line-quiet);
  color: var(--cream-dim);
}

.contact-points li:last-child {
  border-bottom: 1px solid var(--line-quiet);
}

.contact-points span {
  display: block;
  color: var(--orange);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-quiet);
  padding: clamp(1.6rem, 3vw, 2.25rem);
}

.contact-panel-label {
  margin: 0 0 1.1rem;
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.email-address {
  display: block;
  margin-top: 1.15rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  word-break: break-all;
}

.email-address:hover,
.email-address:focus-visible {
  color: var(--orange);
}

.contact-panel-note {
  margin-top: 1rem;
  color: var(--stone);
  font-size: 0.88rem;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line-quiet);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  max-width: 28rem;
  color: var(--stone);
  font-size: 0.92rem;
}

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

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--orange);
}

.footer-legal {
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 52rem;
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
  animation-play-state: paused;
}

.reveal.is-visible {
  animation-play-state: running;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .stats-grid,
  .split,
  .strategy-grid,
  .property-inner,
  .principles,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .split-media img {
    min-height: 280px;
  }

  .hero {
    align-items: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--header-h) + 12px);
    scroll-padding-bottom: 5.5rem;
  }

  body {
    font-size: 16px;
    padding-bottom: 5.25rem;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 40px;
    padding: 0 0.9rem;
    background: var(--orange);
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1.25rem;
    z-index: 60;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    background: var(--bg);
  }

  body.menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.95rem var(--gutter);
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-cta {
    display: none;
  }

  .stats-grid,
  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    align-items: end;
    padding: calc(var(--header-h) + 4.5rem) 0 2.25rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .lede-desktop {
    display: none;
  }

  .lede-mobile {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 1.35rem;
    max-width: 28rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn-primary {
    min-height: 52px;
  }

  .hero-actions .btn-ghost {
    min-height: 44px;
    border: 0;
    color: var(--cream-dim);
    letter-spacing: 0.1em;
  }

  .section {
    padding: 3.25rem 0;
  }

  .stats {
    padding: 1.15rem 0;
  }

  .stats strong {
    font-size: 1.15rem;
  }

  .split-media {
    display: none;
  }

  .strategy-image {
    height: 180px;
  }

  #contact {
    scroll-margin-top: calc(var(--header-h) + 8px);
    padding-top: 4.5rem;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
  }

  .contact-panel {
    order: -1;
  }

  .contact-copy h2 {
    font-size: 2rem;
  }

  .contact-points {
    margin-top: 1.25rem;
  }

  .founder-card {
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: calc(52px + env(safe-area-inset-bottom, 0px));
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: var(--orange);
    color: #0a0a0a;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }

  body.cta-bar-on .mobile-cta-bar {
    transform: none;
  }

  body.menu-open .mobile-cta-bar,
  body.cta-bar-off .mobile-cta-bar {
    transform: translateY(110%);
  }
}

@media (max-width: 520px) {
  .principles {
    grid-template-columns: 1fr;
  }

  .brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .strategy-image img {
    transition: none;
  }
}

::selection {
  background: var(--orange);
  color: #0a0a0a;
}
