:root {
  --black: #000000;
  --white: #FFFFFF;
  --paper: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --muted-dark: #A1A1A6;
  --line: #D2D2D7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --tile-dark: #141416;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; color-scheme: light; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid #0A84FF; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }

.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter);
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; display: block; border-radius: 7px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.site-header nav a { text-decoration: none; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); transition: color .2s; }
.site-header nav a:hover { color: var(--white); }
.site-header .nav-cta { color: var(--black); background: var(--white); padding: 8px 18px; border-radius: 999px; font-weight: 500; }
.site-header .nav-cta:hover { color: var(--black); background: #E8E8ED; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1.0625rem var(--font); letter-spacing: -0.011em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #E8E8ED; }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--black); }

/* Hero */
.hero { background: var(--black); color: var(--white); min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: space-between; }
.hero-inner { padding-block: clamp(96px, 16vh, 200px) clamp(64px, 10vh, 120px); max-width: 1000px; margin-inline: auto; text-align: center; }
.eyebrow { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 32px; }
.hero h1 {
  font-size: clamp(3.4rem, 10vw, 8.5rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 45%, #7D7D82 125%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.08em;
}
.lead { margin: 32px auto 0; max-width: 44ch; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; letter-spacing: -0.018em; color: var(--muted-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }

.sectors { border-top: 1px solid var(--line-dark); }
.sectors-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.sectors span { padding: 26px 0; text-align: center; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.7); border-left: 1px solid var(--line-dark); }
.sectors span:first-child { border-left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .eyebrow, .hero h1, .lead, .hero-actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .1s; }
  .lead { animation-delay: .22s; }
  .hero-actions { animation-delay: .34s; }
  .sectors span { animation: fade .8s ease-out .6s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Approach */
.approach { background: var(--white); padding-block: clamp(96px, 13vw, 180px); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.principles li { padding-top: 32px; }
.num { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 40px; }
.principles h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.principles p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }

/* Statement */
.statement { background: var(--paper); padding-block: clamp(80px, 11vw, 150px); text-align: center; }
.statement p { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.22; color: var(--ink); }

/* Portfolio */
.portfolio { background: var(--white); padding-block: clamp(96px, 13vw, 180px); }
.sector { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.sector-label h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.025em; }
.sector-label p { margin-top: 10px; color: var(--muted); font-size: 1rem; max-width: 26ch; }
.companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.company {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--paper); border-radius: 24px; padding: 22px;
  transition: transform .25s, box-shadow .25s;
}
.company:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
.plate {
  height: 140px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.plate img { height: var(--lh, 56px); width: auto; max-width: 100%; object-fit: contain; display: block; }
.plate-dark { background: #06070A; border-color: transparent; }
.plate-text span { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.company-body { display: flex; flex-direction: column; flex: 1; }
.company h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.company p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.visit { margin-top: auto; padding-top: 16px; font-weight: 500; font-size: 0.92rem; color: var(--ink); text-decoration: none; }
.visit::after { content: " \2197"; }
.visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.companies:has(.company:only-child) { grid-template-columns: minmax(0, 1fr); }
.companies:has(.company:only-child) .company { flex-direction: row; align-items: center; gap: 32px; }
.companies:has(.company:only-child) .plate { width: 280px; flex: none; }

/* Contact */
.contact { background: var(--black); color: var(--white); padding-block: clamp(96px, 13vw, 180px); }
.contact .kicker { color: var(--muted-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 120px); }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.contact-intro p:last-child { margin-top: 24px; color: var(--muted-dark); font-size: 1.15rem; line-height: 1.45; max-width: 32ch; }
form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label { font-weight: 500; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
input, select, textarea {
  width: 100%; font: inherit; letter-spacing: inherit; color: var(--white);
  background: var(--tile-dark); border: 1.5px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 15px 16px;
}
select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23A1A1A6' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select option { color: var(--ink); background: var(--white); }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--white); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #FF453A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { justify-self: start; }
form .btn[disabled] { opacity: .55; cursor: wait; }
.status { min-height: 1.4em; font-weight: 500; color: var(--muted-dark); }
.status.ok { color: #FFFFFF; }
.status.err { color: #FF453A; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-dark); border-top: 1px solid var(--line-dark); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 48px; }
.footer-brand strong { display: block; color: var(--white); font-size: 1.05rem; margin-top: 16px; letter-spacing: -0.02em; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { margin-top: 8px; max-width: 24ch; }
.footer-col h5 { color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col h5 + a { margin-top: 0; }
.footer-col a + h5 { margin-top: 28px; }
.footer-col a { display: block; text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom-band { border-top: 1px solid var(--line-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; font-size: 0.85rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 980px) {
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principles li { padding-block: 32px; border-bottom: 1px solid var(--line); }
  .principles li:last-child { border-bottom: 0; }
  .num { margin-bottom: 20px; }
  .sector { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .companies:has(.company:only-child) .company { flex-direction: column; align-items: stretch; gap: 22px; }
  .companies:has(.company:only-child) .plate { width: auto; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .sectors-inner { grid-template-columns: 1fr 1fr; }
  .sectors span { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .sectors span:nth-child(-n+2) { border-top: 0; }
  .sectors span:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .companies { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}
