:root {
  --ink: #f4f2ee;
  --paper: #111111;
  --paper-raised: #181818;
  --paper-soft: #202020;
  --muted: #cbc7bf;
  --quiet: #a9a49b;
  --orange: #ff9f1a;
  --orange-bright: #ffb13b;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 159, 26, 0.62);
  --shell: min(1280px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--orange);
  z-index: 50;
}

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffd18e;
  outline-offset: 4px;
}

::selection {
  background: var(--orange);
  color: #17100a;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--orange);
  color: #17100a;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand span {
  margin-left: 0.3em;
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: normal;
  hyphens: none;
  font-weight: 800;
  letter-spacing: -0.026em;
}

h1 {
  max-width: 16ch;
  margin-bottom: 26px;
  font-size: clamp(3rem, 4.6vw, 4.45rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

p {
  overflow-wrap: break-word;
}

.byline,
.section-heading > p,
.approach-intro > p:first-child,
.collaboration-copy > p,
.contact-layout > div:first-child > p {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(64px, 8vw, 124px);
  padding-block: clamp(70px, 7vw, 102px);
}

.hero-copy {
  max-width: 760px;
}

.hero-lead {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.3vw, 1.23rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-primary {
  background: var(--orange);
  color: #181007;
}

.button-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

.button-primary:active,
.button-dark:active {
  transform: translateY(0);
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: #ffc46f;
}

.portrait {
  position: relative;
  width: min(100%, 360px);
  justify-self: end;
  margin: 0;
  padding: 0 0 18px 18px;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 18px 18px 0 0;
  z-index: -1;
  border: 1px solid var(--line-strong);
}

.portrait picture {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--paper-raised);
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.portrait figcaption {
  width: calc(100% - 50px);
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  background: var(--orange);
  color: #17100a;
}

.portrait figcaption strong {
  font-size: 15px;
  line-height: 1.25;
}

.portrait figcaption span {
  font-size: 12px;
  line-height: 1.35;
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 140px);
  padding-block: clamp(82px, 8vw, 118px);
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 12ch;
}

.profile-lead {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.55;
}

.profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.profile-columns p {
  margin: 0;
  color: var(--muted);
}

.foundations {
  padding-block: clamp(76px, 7vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--paper-raised);
}

.section-heading.compact {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading.compact > p {
  margin-bottom: 6px;
}

.section-heading.compact h2 {
  max-width: 19ch;
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.foundation-grid article {
  min-width: 0;
  padding: 30px 34px 2px 0;
}

.foundation-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.foundation-grid p {
  margin: 0;
  color: var(--muted);
}

.approach {
  background: var(--orange);
  color: #181007;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(64px, 8vw, 128px);
  padding-block: clamp(78px, 7vw, 104px);
}

.approach-intro > p:first-child {
  color: #3a230a;
}

.approach-intro h2 {
  max-width: 12ch;
}

.approach-intro > p:last-child {
  margin: 26px 0 0;
  max-width: 43ch;
  color: #3a2a16;
  font-size: 1.05rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.approach-grid article {
  padding: 8px 30px 30px 0;
  border-top: 1px solid rgba(24, 16, 7, 0.42);
}

.approach-grid article:nth-child(even) {
  padding-left: 30px;
  padding-right: 0;
  border-left: 1px solid rgba(24, 16, 7, 0.32);
}

.approach-grid article:nth-child(n + 3) {
  padding-top: 30px;
}

.approach-grid p {
  margin: 0;
  color: #3a2a16;
  font-size: 16px;
}

.collaboration {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(64px, 9vw, 144px);
  padding-block: clamp(82px, 8vw, 118px);
}

.collaboration-copy h2 {
  max-width: 13ch;
}

.collaboration-detail {
  align-self: end;
  columns: 2;
  column-gap: 38px;
}

.collaboration-detail p {
  margin: 0;
  color: var(--muted);
  break-inside: avoid;
}

.collaboration-detail p + p {
  margin-top: 22px;
}

.contact {
  background: var(--orange);
  color: #181007;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(64px, 9vw, 144px);
  align-items: end;
  padding-block: clamp(72px, 7vw, 96px);
}

.contact-layout > div:first-child > p {
  color: #3a230a;
}

.contact-layout h2 {
  max-width: 14ch;
}

.contact-copy p {
  margin: 0 0 26px;
  max-width: 57ch;
  color: #3a2a16;
  font-size: 1.05rem;
}

.button-dark {
  background: #181007;
  color: #fff7ea;
}

.button-dark:hover {
  background: #2b1d0e;
  transform: translateY(-2px);
}

.contact-copy span {
  display: inline-block;
  margin-left: 18px;
  color: #3a230a;
  font-size: 14px;
  font-weight: 750;
}

.footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--quiet);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 24px;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 48px, 860px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 44px;
    padding-block: 64px 72px;
  }

  .portrait {
    width: min(100%, 310px);
  }

  .profile,
  .approach-layout,
  .collaboration,
  .contact-layout {
    gap: 54px;
  }

  .profile-columns,
  .collaboration-detail {
    display: block;
    columns: auto;
  }

  .profile-columns p + p,
  .collaboration-detail p + p {
    margin-top: 20px;
  }

  .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 140px;
  }

  body {
    font-size: 16px;
  }

  body::before {
    width: 4px;
  }

  .nav {
    min-height: 0;
    display: grid;
    gap: 0;
    padding-top: 8px;
  }

  .brand {
    min-height: 48px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    min-width: 0;
    justify-content: center;
    padding-inline: 5px;
    font-size: 13px;
  }

  h1 {
    max-width: none;
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 12vw, 3.4rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 50px 64px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .portrait {
    width: min(88vw, 330px);
    justify-self: start;
  }

  .profile,
  .approach-layout,
  .collaboration,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .profile,
  .collaboration {
    gap: 36px;
    padding-block: 70px;
  }

  .section-heading h2,
  .approach-intro h2,
  .collaboration-copy h2,
  .contact-layout h2 {
    max-width: none;
  }

  .profile-lead {
    font-size: 1.15rem;
  }

  .foundations {
    padding-block: 68px;
  }

  .section-heading.compact {
    margin-bottom: 38px;
  }

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

  .foundation-grid article,
  .foundation-grid article + article {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .foundation-grid article:first-child {
    border-top: 0;
  }

  .approach-layout {
    gap: 42px;
    padding-block: 68px;
  }

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

  .approach-grid article,
  .approach-grid article:nth-child(even),
  .approach-grid article:nth-child(n + 3) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid rgba(24, 16, 7, 0.42);
  }

  .contact-layout {
    gap: 34px;
    padding-block: 66px;
  }

  .contact-copy span {
    display: block;
    margin: 14px 0 0;
  }

  .footer {
    min-height: 0;
    display: grid;
    gap: 18px;
    padding-block: 30px 38px;
  }

  .footer div {
    flex-wrap: wrap;
    gap: 8px 22px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
