@font-face {
  font-family: Inter Tight;
  src: url('assets/inter-tight-latin.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('assets/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Geist Mono;
  src: url('assets/geist-mono-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0c100e;
  --surface: #151e17;
  --ink: #f4f1e7;
  --paper: #eeeade;
  --muted: #bdc4b8;
  --accent: #b8cc9e;
  --line: #344038;
  --display: 'Inter Tight', Arial, sans-serif;
  --mono: 'Geist Mono', Consolas, monospace;
  --gutter: clamp(18px, 2.5vw, 40px);
  --shell: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Geist, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .99; letter-spacing: -.055em; font-weight: 700; }
h2 { font-size: clamp(44px, 6vw, 94px); }
h3 { font-size: clamp(22px, 2.45vw, 37px); }
p { color: var(--muted); }
[id] { scroll-margin-top: 20px; }
.shell { width: min(100%, var(--shell)); padding-inline: var(--gutter); margin-inline: auto; }
.block { padding-block: clamp(60px, 8.8vw, 142px); }
.mono { font: 400 12px/1.4 var(--mono); }
.skip, .skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 10; transform: translateY(-150%); padding: 10px 16px; border-radius: 4px; background: var(--paper); color: var(--bg); }
.skip:focus, .skip-link:focus { transform: none; }

.mast { position: relative; z-index: 3; display: flex; align-items: center; gap: clamp(12px, 1.55vw, 26px); min-height: 66px; }
.brand { display: inline-block; margin-right: auto; }
.brand img { width: 158px; height: auto; filter: brightness(0) invert(93%) sepia(11%) saturate(244%) hue-rotate(345deg) brightness(105%) contrast(92%); }
.nav { display: flex; gap: clamp(14px, 1.8vw, 32px); align-items: center; font-size: 14px; font-weight: 580; }
.nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav a[aria-current='page'] { color: var(--accent); }
.mast-location { display: flex; align-items: center; gap: 7px; color: var(--ink); white-space: nowrap; }
.mast-location i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nav-cta, .menu summary { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; border: 1px solid #f4f1e763; border-radius: 30px; background: #d4dbcc1c; color: var(--ink); font-size: 13px; line-height: 1.2; font-weight: 650; white-space: nowrap; }
.nav-cta:hover, .menu summary:hover { background: #d4dbcc38; }
.menu { display: none; }
.menu summary { cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary span { transform: rotate(45deg); }
.menu nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px); display: grid; padding: 8px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 10px 30px #0008; }
.menu nav a { padding: 10px 0; }
.menu nav a + a { border-top: 1px solid var(--line); }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(715px, calc(100svh - 16px)); margin: 8px; overflow: clip; border-radius: 14px; background: #152018; }
.hero-image, .hero-image img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: 50% 38%; }
.hero::before, .hero::after { position: absolute; content: ''; inset: 0; pointer-events: none; }
.hero::before { z-index: -2; background: linear-gradient(90deg, #09130dcc, transparent 36%, transparent 60%, #0b130d4f), linear-gradient(0deg, #090f0bd9, transparent 38%); }
.hero::after { z-index: -1; background: repeating-linear-gradient(90deg, #f4f1e719 0 1px, transparent 1px calc(100% / 6)); margin-inline: var(--gutter); border-right: 1px solid #f4f1e719; }
.hero-content { flex: 1; position: relative; display: grid; grid-template-columns: minmax(300px, .62fr) 1fr; grid-template-rows: auto 1fr auto; align-items: start; column-gap: 18px; padding-top: clamp(30px, 3.2vw, 54px); padding-bottom: clamp(18px, 1.8vw, 30px); }
.hero-index { grid-column: 1; grid-row: 1; max-width: 250px; padding-top: 12px; }
.hero-index a { display: grid; grid-template-columns: 23px 1fr 14px; align-items: center; gap: 5px; padding-block: 5px; font-size: 14px; font-weight: 550; }
.hero-index a:hover { color: var(--accent); }
.hero-index span { font: 400 11px/1 var(--mono); }
.hero h1 { grid-column: 2; grid-row: 1 / 3; justify-self: end; text-align: right; font-size: clamp(105px, 12.4vw, 192px); line-height: .79; letter-spacing: -.073em; font-weight: 700; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero-intro { grid-column: 1; grid-row: 2; align-self: center; margin-block: 35px; max-width: 340px; }
.hero-intro h2 { max-width: 312px; font-size: clamp(26px, 2.3vw, 35px); line-height: 1; }
.hero-intro p { max-width: 290px; margin: 17px 0 21px; color: #e2e7da; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 17px; }
.primary { display: inline-flex; align-items: stretch; justify-content: center; gap: 3px; padding: 11px 16px 11px 0; min-height: 44px; border-radius: 5px; background: var(--accent); color: #101c14; font-size: 14px; font-weight: 730; line-height: 1.5; }
.primary > span { display: grid; place-items: center; width: 40px; margin: -11px 8px -11px 0; border-right: 2px solid #101c14; }
.primary:hover { background: #d4e1c3; }
.inline-link { width: fit-content; color: inherit; font-weight: 630; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .33em; }
.inline-link:hover { color: var(--accent); }
.hero-intro .inline-link { font-size: 14px; }
.hero-cards { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 168px)); gap: 8px; }
.hero-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 14px 12px; border: 1px solid #f4f1e754; border-radius: 11px; background: #102018b0; }
.hero-card .mono { font-size: 10px; }
.hero-card strong { display: block; font: 700 clamp(25px, 2.5vw, 37px)/.94 var(--display); letter-spacing: -.048em; }
.hero-card div > span { display: block; margin-top: 7px; font-size: 12px; }
.hero-card-light { background: var(--paper); color: #263a2a; }
.hero-card:hover { border-color: var(--accent); }
.hero-card:hover div > span { text-decoration: underline; text-underline-offset: 3px; }
.hero-scroll { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; border-bottom: 1px solid #f4f1e784; padding-block: 5px; }

.positioning { text-align: center; }
.positioning h2 { max-width: 1000px; margin-inline: auto; font-size: clamp(38px, 6.4vw, 97px); }
.positioning h2 span { color: var(--accent); }
.positioning p { margin: 23px auto; max-width: 480px; }
.service-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.service-links a { display: block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink); font-size: 13px; }
.service-links a:hover { border-color: var(--accent); }
.work, .services, .studio, .insights, .closing, .footer { border-top: 1px solid var(--line); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: clamp(26px, 4vw, 60px); }
.section-top p { max-width: 335px; }
.section-label { margin-bottom: 10px; color: var(--accent); }
.work-grid, .process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.55vw, 24px); }
.project-image { position: relative; overflow: hidden; aspect-ratio: 1.05; background: var(--surface); border-radius: 7px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.project-image > span { position: absolute; right: 10px; bottom: 10px; display: grid; width: 34px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--bg); }
.project:hover img { scale: 1.05; }
.project-label { display: block; margin: 12px 0 7px; color: var(--accent); }
.project p { margin-top: 8px; font-size: 14px; }
.feature { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(340px, 48vw, 670px); margin-top: clamp(44px, 7vw, 105px); padding: clamp(22px, 4vw, 62px); overflow: clip; border-radius: 8px; background: var(--surface); }
.feature img, .feature::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature img { z-index: -2; object-fit: cover; transition: scale .4s ease; }
.feature::before { content: ''; z-index: -1; background: linear-gradient(0deg, #0b140ee8, #0b140e15 95%); }
.feature:hover img { scale: 1.035; }
.feature .mono { color: #e0e8d8; }
.feature h3 { margin: 12px 0 21px; font-size: clamp(36px, 6.4vw, 92px); }

.service-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.65vw, 25px); }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: clip; }
.service img, .article-grid img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.57; }
.service > div { padding: clamp(15px, 2.2vw, 32px); }
.service .mono { color: var(--accent); }
.service h3 { margin: 12px 0; }
.service ul { padding: 0; margin: 16px 0; list-style: none; }
.service li { border-top: 1px solid var(--line); padding: 7px 0; font-size: 14px; }
.service li::before { content: '+'; margin-right: 8px; color: var(--accent); }
.process { list-style: none; padding: 0; }
.process li { border-top: 1px solid var(--line); padding-block: 13px; }
.process .mono { color: var(--accent); }
.process h3 { margin: 21px 0 8px; }
.article-grid img { border-radius: 7px; }
.article-grid a:hover h3 { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.closing { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.closing p { margin-top: 14px; }
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-block: 27px; font-size: 13px; }
.footer .brand { margin-right: 0; }
.footer > span { color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 19px; margin-left: auto; }

@media (max-width: 900px) {
  .mast-location { display: none; }
  .hero h1 { font-size: clamp(82px, 12.4vw, 112px); }
  .hero-content { grid-template-columns: minmax(230px, .75fr) 1fr; }
  .work-grid, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .mast { min-height: 62px; gap: 7px; }
  .brand img { width: 135px; }
  .nav-cta, .menu summary { padding-inline: 10px; }
  .mast .nav { display: none; }
  .menu { display: block; }
  .hero { margin: 6px; min-height: calc(100svh - 12px); }
  .hero-image img { object-position: 52% top; }
  .hero::before { background: linear-gradient(0deg, #08110bf5 2%, #0c170fbd 40%, transparent 80%), linear-gradient(90deg, #0c170f71, transparent 60%); }
  .hero-content { display: flex; flex-direction: column; align-items: start; justify-content: end; gap: 16px; padding-top: clamp(150px, 30svh, 275px); }
  .hero-index, .hero-scroll { display: none; }
  .hero h1 { text-align: left; font-size: clamp(64px, 15vw, 100px); }
  .hero-intro { align-self: start; margin: 0; }
  .hero-intro h2 { display: none; }
  .hero-intro p { margin: 0 0 12px; font-size: 14px; }
  .hero-cards { width: min(100%, 350px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { min-height: 109px; gap: 12px; padding: 10px; }
  .hero-card strong { font-size: 26px; }
  .section-top, .closing { align-items: start; flex-direction: column; }
  .service-grid, .article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .project-image { aspect-ratio: 1.25; }
  .project-image > span { width: 28px; right: 7px; bottom: 7px; }
  .footer nav { margin-left: 0; }
}

@media (max-width: 360px) {
  .mast .brand img { width: 114px; }
  .mast .nav-cta { display: none; }
  .hero h1 { font-size: 58px; }
  .hero-content { padding-top: clamp(130px, 28svh, 200px); }
  .actions { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
