@font-face {
  font-family: Montserrat;
  src: url("./montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("./inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: #1c1f24;
  --panel-dark: #101113;
  --ink: #f4f5f6;
  --muted: #bcc0c4;
  --accent: #d5d8dc;
  --line: #363a40;
  --headline: "Montserrat", "Segoe UI", sans-serif;
  --body: Inter, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  font: 16px/1.6 var(--body);
  background: var(--bg);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul { margin: 0; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: #0b0b0c; }
.shell { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; transform: translateY(-150%); z-index: 10; background: var(--ink); color: var(--bg); padding: 10px; }
.skip:focus { transform: none; }

.header { position: relative; z-index: 2; background: #101113; border-bottom: 1px solid #2b2e33; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font: 500 8px/1 var(--headline); letter-spacing: .36em; white-space: nowrap; }
.brand-lockup { display: grid; justify-items: center; gap: 4px; }
.brand-name { color: var(--accent); font-size: 16px; letter-spacing: .19em; }
.mark { flex: 0 0 35px; width: 35px; height: 35px; background: url("./mark.svg") center/contain no-repeat; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.desktop-nav a { font-size: 13px; font-weight: 600; color: var(--muted); }
.desktop-nav a:is(:hover, [aria-current]) { color: var(--ink); }
.mobile-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 49px; padding: 0 19px; border: 1px solid transparent; border-radius: 1px; color: #0b0b0c; background: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; text-transform: uppercase; letter-spacing: .075em; }
.button:disabled { opacity: .55; cursor: default; }
.button span, .text-link span { font-size: 1.15em; }
.button:hover { background: #f4f5f6; }
.button.secondary, .button.quiet, .button.header-cta { border-color: #656a73; background: #111317b8; color: var(--ink); }
.button:is(.secondary, .quiet, .header-cta):hover { background: #23262c; border-color: #a1a7af; }
.button.header-cta { min-height: 40px; padding-inline: 14px; color: var(--accent); border-color: #777d84; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 565px; display: grid; align-items: center; background: #0b0b0c; border-bottom: 1px solid var(--line); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 63%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0b0cf0 0%, #0b0b0c8a 40%, transparent 70%), linear-gradient(0deg, #0b0b0c73, transparent 29%); }
.hero-inner { padding-block: 70px 84px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font: 600 12px/1.4 var(--headline); text-transform: uppercase; letter-spacing: .22em; }
.eyebrow span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
h1, h2, h3 { font-family: var(--headline); font-weight: 650; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(47px, 7.35vw, 111px); }
.hero h1 { margin-block: 19px 23px; font-size: clamp(39px, 5.1vw, 77px); line-height: 1.13; font-weight: 400; text-transform: uppercase; letter-spacing: .125em; }
.hero .eyebrow { letter-spacing: .36em; }
.hero .eyebrow span { display: none; }
.hero-divider { position: relative; width: min(260px, 70%); height: 2px; margin-bottom: 22px; background: linear-gradient(90deg, #8a8e9322, #ecf2fb 37%, #8994a533); }
.hero-divider::after { position: absolute; inset: -4px 12% -4px 8%; content: ""; background: radial-gradient(ellipse, #dfebffb5, transparent 67%); filter: blur(3px); }
.hero p:not(.eyebrow) { color: var(--muted); max-width: 445px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; }
.hero .actions { margin-top: 30px; }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(21px, 2.1vw, 30px); }

.pillars { background: #101113; border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 20px; }
.pillar-grid > a { display: grid; justify-items: center; align-content: start; text-align: center; gap: 7px; padding: 6px 15px; }
.pillar-grid > a + a { border-left: 1px solid var(--line); }
.pillar-grid > a:hover { background: var(--panel); }
.pillar-grid svg { width: 32px; height: 32px; stroke-width: 1.2; color: var(--accent); }
.pillar-grid h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.pillar-grid p { font-size: 12px; color: var(--muted); }

.section { padding-block: clamp(54px, 7vw, 100px); }
.work-section { padding-top: 62px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 27px; }
.section-heading h2, .lab-promo h2, .project-cta h2 { margin-top: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--accent); font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-heading .text-link { flex: none; padding-bottom: 4px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.work-card a:hover { border-color: #8a8e93; }
.work-image { position: relative; overflow: hidden; background: #1c1f24; aspect-ratio: 1.53; }
.work-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; transition: transform .3s ease; }
.work-card a:hover img { transform: scale(1.04); }
.work-image span { position: absolute; top: 13px; left: 13px; padding: 4px 8px; border: 1px solid #ffffff4a; border-radius: 3px; background: #151719e8; color: var(--ink); text-transform: uppercase; font: 600 10px/1.4 var(--mono); letter-spacing: .08em; }
.work-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 20px 20px; }
.work-caption p { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.work-caption > span, .service-card > span:nth-child(2), .link-list > a > span { color: var(--accent); font-size: 22px; }

.service-band { background: var(--panel-dark); border-block: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; border: 1px solid var(--line); border-radius: 2px; padding: 24px; background: var(--panel); }
.service-card:hover { border-color: #8a8e93; background: #26292f; }
.service-card h3, .service-card p { grid-column: 1 / -1; }
.service-icon { color: var(--accent); width: 41px; height: 41px; display: grid; place-items: center; background: #252830; border-radius: 4px; margin-bottom: 6px; }
.service-card p, .lab-promo p:not(.eyebrow), .project-cta p:not(.eyebrow), .link-list p, .lead, .prose p, .prose li { color: var(--muted); }
.service-card p { font-size: 14px; }
.lab-promo { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 48px; border-bottom: 1px solid var(--line); }
.lab-promo-copy > p:nth-of-type(2), .project-cta p:not(.eyebrow) { max-width: 495px; margin: 19px 0 24px; }
.lab-graphic { min-height: 268px; position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: repeating-linear-gradient(0deg, transparent, transparent 31px, #383e46 32px), repeating-linear-gradient(90deg, #17191e, #17191e 31px, #383e46 32px); }
.lab-graphic b { font: 800 clamp(100px, 13vw, 185px)/1 var(--headline); letter-spacing: -.1em; color: #d5d8dc; }
.lab-graphic div { display: flex; position: absolute; top: 16px; left: 16px; gap: 5px; }
.lab-graphic i { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); }
.lab-graphic i:nth-child(2) { background: #8a8e93; }
.lab-graphic i:nth-child(3) { background: #656a73; }
.lab-graphic > span { position: absolute; width: 54%; aspect-ratio: 1; border: 1px solid #8a8e9378; transform: rotate(45deg); z-index: -1; }
.link-list { border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.link-list a:hover h3 { color: var(--accent); }
.link-list p { margin-top: 6px; }
.project-cta { padding: clamp(28px, 6vw, 72px); border: 1px solid #61666d; border-radius: 8px; background: radial-gradient(ellipse at 100% 120%, #3c414b 0%, transparent 68%), var(--panel); }
.footer { background: var(--panel-dark); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 99px; }
.footer p { color: var(--muted); font-size: 13px; }
.footer-inner > a:last-child { color: var(--accent); font-size: 14px; font-weight: 700; }

.page-intro { padding-block: clamp(54px, 8vw, 112px) 46px; }
.page-intro h1 { margin-block: 14px 18px; max-width: 1050px; font-size: clamp(45px, 7.2vw, 93px); }
.lead { max-width: 750px; font-size: clamp(16px, 2vw, 20px); }
.sub-section { padding-top: 15px; }
.sub-section > h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.sub-section > .lead { margin-bottom: 25px; }
.prose { padding-block: 13px 45px; }
.prose > * { max-width: 750px; }
.prose section + section { margin-top: 33px; }
.prose h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 10px; }
.prose ul { margin-block: 12px 4px; padding-left: 23px; }
.prose li + li { margin-top: 5px; }
.prose > .text-link, .article-links { margin-top: 25px; }
.article-links { display: grid; gap: 8px; }
.demo-section { padding-block: 38px 48px; }
.demo-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.demo-page { background: var(--demo-canvas); color: var(--demo-ink); border-radius: 8px; overflow: hidden; }
.demo-nav { display: flex; justify-content: space-between; gap: 12px; padding: 17px 25px; align-items: center; font-family: var(--headline); font-weight: 800; font-size: 24px; }
.demo-nav a { color: inherit; font: 700 13px/1.3 var(--body); }
.demo-hero { position: relative; min-height: 530px; display: grid; grid-template-columns: 1fr 1fr; }
.demo-hero img { width: 100%; height: 100%; object-fit: cover; }
.demo-copy { padding: clamp(23px, 6vw, 75px); align-self: center; }
.demo-copy h1 { font-size: clamp(43px, 6vw, 91px); margin-bottom: 14px; }
.demo-copy p { max-width: 430px; }
.demo-copy a, .lab-sample a { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 11px 14px; border-radius: 3px; background: var(--demo-accent); color: var(--demo-ink); font: 700 13px/1.4 var(--body); }
.demo-copy a:hover, .lab-sample a:hover, .demo-nav a:hover { text-decoration: underline; }
.demo-verdant .demo-copy { grid-column: 1; grid-row: 1; }
.demo-verdant .demo-copy h1 { font-family: Georgia, serif; font-weight: 400; }
.demo-hearth .demo-hero { display: grid; grid-template-columns: 1fr; isolation: isolate; color: white; }
.demo-hearth .demo-hero img { position: absolute; inset: 0; z-index: -2; }
.demo-hearth .demo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1d100bc2; }
.demo-hearth .demo-copy { text-align: center; margin-inline: auto; }
.demo-hearth .demo-copy h1 { font-family: Georgia, serif; font-weight: 400; }
.demo-hearth .demo-copy p { margin-inline: auto; }

.lab-controls { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 13px; margin-bottom: 15px; }
.lab-controls label, .brief label, .brief-result > label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
select, input, textarea { width: 100%; color: var(--ink); background: var(--panel); border: 1px solid #686e79; border-radius: 4px; padding: 10px 12px; min-height: 46px; }
textarea { resize: vertical; }
.lab-preview { --demo-accent: #ffac83; --demo-ink: #2d160d; --demo-canvas: #f5e4db; display: grid; grid-template-columns: 1fr .8fr; border-radius: 8px; overflow: hidden; min-height: 400px; background: var(--demo-canvas); color: var(--demo-ink); }
.lab-preview[data-palette="moss"] { --demo-accent: #c5de86; --demo-ink: #23301b; --demo-canvas: #edf2de; }
.lab-preview[data-palette="ocean"] { --demo-accent: #a7d8f0; --demo-ink: #142538; --demo-canvas: #e5f0f5; }
.lab-sample { align-self: center; position: relative; padding: clamp(25px, 5vw, 70px); }
.lab-sample h2 { margin-block: 11px 14px; }
.sample-brand { font-weight: 700; }
.lab-preview img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.lab-preview[data-type="editorial"] h2 { font-family: Georgia, serif; font-weight: 400; }
.lab-preview[data-type="technical"] h2 { font: 700 clamp(35px, 5.5vw, 67px)/1 var(--mono); letter-spacing: -.09em; }
.lab-preview[data-layout="overlay"] { display: grid; grid-template-columns: 1fr; isolation: isolate; position: relative; color: #fff; }
.lab-preview[data-layout="overlay"] img { position: absolute; inset: 0; z-index: -2; }
.lab-preview[data-layout="overlay"]::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1c1813bd; }
.lab-preview[data-layout="stacked"] { grid-template-columns: 1fr; text-align: center; }
.lab-preview[data-layout="stacked"] img { max-height: 355px; }
.brief { max-width: 760px; }
.brief form, .brief-grid, .brief-result { display: grid; gap: 15px; }
.brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brief form .button { justify-self: start; }
.brief-result { margin-top: 30px; padding: 20px; border: 1px solid var(--line); border-radius: 7px; }
.brief-result textarea { margin-bottom: 2px; }
.brief-result p { color: var(--muted); }

@media (max-width: 850px) {
  .shell { width: min(100% - 56px, 1240px); }
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 17px; }
  .hero { min-height: 500px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { gap: 11px; }
  .work-caption { padding: 13px; }
  .lab-promo { gap: 25px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 62px; }
  .desktop-nav, .button.header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; border: 1px solid var(--line); border-radius: 4px; padding: 7px 13px; font-size: 14px; font-weight: 600; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { display: grid; position: absolute; inset: 100% 0 auto; padding: 5px 17px 12px; background: #101113; border-bottom: 1px solid var(--line); }
  .mobile-nav nav a { padding: 8px 0; }
  .mobile-nav nav a:last-child { color: var(--accent); }
  .hero { min-height: 535px; }
  .hero-inner { padding-block: 65px 79px; }
  .hero-image { object-position: 61% 55%; }
  .hero::after { background: linear-gradient(90deg, #0b0b0cea, #0b0b0c93 90%), linear-gradient(0deg, #0b0b0cb5, transparent 48%); }
  .hero h1 { font-size: clamp(30px, 7.5vw, 48px); letter-spacing: .09em; }
  .hero p:not(.eyebrow) { max-width: 340px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .section-heading .text-link { padding-bottom: 0; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
  .pillar-grid > a { padding: 15px 10px; }
  .pillar-grid > a:nth-child(3) { border-left: 0; }
  .pillar-grid > a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-grid, .services-grid, .lab-promo, .demo-hero, .lab-preview, .brief-grid { grid-template-columns: 1fr; }
  .work-grid, .services-grid { gap: 14px; }
  .lab-graphic { min-height: 202px; }
  .footer-inner { flex-direction: column; align-items: start; justify-content: center; gap: 12px; padding-block: 24px; }
  .demo-hero { min-height: 0; }
  .demo-hero img { aspect-ratio: 1.55; height: auto; }
  .demo-verdant .demo-copy { grid-row: auto; }
  .demo-hearth .demo-hero { min-height: 340px; }
  .demo-hearth .demo-hero img { height: 100%; }
  .demo-nav { padding: 12px; font-size: 20px; }
  .lab-controls { grid-template-columns: repeat(2, 1fr); }
  .lab-preview img { height: 230px; }
  .lab-preview[data-layout="overlay"] img { height: 100%; }
}

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