@font-face {
  font-family: Onest;
  src: url('/assets/onest-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212;
}
@font-face {
  font-family: Onest;
  src: url('/assets/onest-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F,U+1E00-1EFF;
}
@font-face {
  font-family: 'Source Serif';
  src: url('/assets/source-serif-4-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122;
}
@font-face {
  font-family: 'Source Serif';
  src: url('/assets/source-serif-4-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-024F,U+1E00-1EFF;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  --paper: #fff; --ink: #171b22; --muted: #555d67; --line: #e2e7ec; --surface: #f5f7f9;
  --accent: #1855a1; --control: #202630; --on-control: #fff;
  --sans: Onest, system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 88px); --heading: var(--sans);
  margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.53 var(--sans);
}
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
button,input,textarea { font: inherit; }
button { cursor: pointer; }
h1,h2,h3,p,figure { margin: 0; }
:focus-visible { outline: 2px solid #2274b3; outline-offset: 4px; }
:target { scroll-margin-block: 18px; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; background: #fff; padding: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: var(--paper); }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: 88px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 2.7vw, 38px); }
.header nav a { font-size: 15px; color: var(--muted); }
.header-cta { padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; font-weight: 570; white-space: nowrap; }
.header-cta:hover { background: var(--surface); text-decoration: none; }
.menu-button { display: none; }
.arrow { font-size: 1.08em; line-height: 1; flex: none; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 16px;
  min-height: 49px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px;
  font-size: 15px; font-weight: 580; line-height: 1.2;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.button:hover { text-decoration: none; }
.primary { background: var(--control); color: var(--on-control); }
.primary:hover { box-shadow: 0 0 0 3px var(--line); }
.secondary { border-color: var(--line); background: var(--paper); }
.secondary:hover { background: var(--surface); }
.intro-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.intro { text-align: center; padding: clamp(64px, 7vw, 104px) 0 clamp(58px, 6vw, 88px); }
.location { display: inline-block; font-size: 13px; font-weight: 550; color: var(--muted); margin-bottom: 20px; }
.clear .location {
  border: 1px solid var(--line); padding: 4px 11px; border-radius: 5px;
  background: #f6f9fc; color: #355575;
}
h1,h2,h3 { font-family: var(--heading); font-weight: 560; }
h1 { font-size: clamp(49px, 5.55vw, 82px); line-height: 1.01; letter-spacing: -.067em; text-wrap: balance; }
.intro h1 { margin-inline: auto; max-width: 1000px; }
.clear .intro h1 { max-width: 1120px; text-wrap: initial; }
.clear h1 span { display: block; color: #586574; }
.intro-copy { max-width: 59ch; margin: 22px auto 25px; color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); }
.clear .intro .primary { background: var(--accent); }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.046em; }
h3 { font-size: clamp(25px, 3vw, 42px); line-height: 1.08; letter-spacing: -.046em; }

.showcase > .wrap { padding: 24px clamp(19px, 3vw, 42px) clamp(21px, 3vw, 42px); }
.clear .showcase > .wrap {
  background: #eaf2fa; border: 1px solid #e0e9f2; border-radius: 17px;
  background-image: repeating-linear-gradient(90deg, transparent 0 55px, #b9c9d630 55px 56px);
}
.showcase-label { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.showcase-label h2 { font-size: clamp(23px, 2.6vw, 37px); }
.showcase-label a, .case-link { font-weight: 590; font-size: 14px; color: var(--accent); }
.showcase-body { border: 1px solid var(--line); background: var(--paper); border-radius: 11px; overflow: hidden; box-shadow: 0 10px 24px #17243110; }
.case-tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--line); padding: 7px 10px; }
.case-tabs button { border: 0; background: transparent; padding: 8px 13px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.case-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 640; }
.case-tabs button:hover { color: var(--ink); }
.case-panel { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(235px, .75fr); align-items: center; }
.case-image { display: block; overflow: hidden; }
.case-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .22s ease-out; }
.case-image:hover img { transform: scale(1.025); }
.case-info { padding: clamp(18px, 3.2vw, 42px); }
.case-info > p { color: var(--muted); margin: 10px 0 16px; }
.case-info > .case-field { margin: 0 0 9px; font-size: 13px; }

.trust { padding: 28px 0; display: flex; gap: 25px; align-items: center; border-bottom: 1px solid var(--line); }
.trust > p { font-size: 14px; color: var(--muted); flex: none; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; flex: 1; }
.trust li { display: grid; place-items: center; }
.trust img { filter: grayscale(1); opacity: .8; height: 45px; width: min(115px, 100%); object-fit: contain; }
.content-section { margin-top: clamp(52px, 7vw, 95px); }
.content-section h2 { margin-bottom: 21px; }
.services-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.services-list > a { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 22px; }
.services-list > a + a { border-left: 1px solid var(--line); }
.services-list > a:hover { background: var(--surface); text-decoration: none; }
.services-list h3 { font: 620 19px/1.25 var(--sans); letter-spacing: -.025em; }
.services-list p { color: var(--muted); grid-row: 2; font-size: 15px; }
.services-list .arrow { color: var(--accent); grid-row: 1; grid-column: 2; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(15px, 5vw, 60px); }
.faq > div { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-weight: 570; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); }
details[open] summary::after { content: '−'; }
details > p { max-width: 61ch; padding: 0 17px 15px 0; color: var(--muted); }
.contact { display: grid; grid-template-columns: .95fr 1fr; gap: 36px; border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 4vw, 49px); border-radius: 13px; }
.contact h2 { margin-bottom: 12px; }
.contact p { color: var(--muted); max-width: 43ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 13px; color: var(--accent); }
form { display: grid; gap: 9px; }
form > p { font-size: 13px; }
form label { display: grid; gap: 4px; font-size: 14px; }
form input, form textarea { border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); padding: 8px 10px; width: 100%; }
form textarea { resize: vertical; }
form button { justify-self: start; margin-top: 3px; }
.footer { display: flex; align-items: center; min-height: 106px; gap: 18px; color: var(--muted); font-size: 14px; }
.footer > a:last-child { margin-left: auto; }

.warm {
  --paper: #f7f5f0; --ink: #27231e; --muted: #60594e; --line: #e0dacf; --surface: #efebe1;
  --accent: #594b3b; --control: #2e2a24; --heading: 'Source Serif', Georgia, serif;
}
.warm .intro { padding-bottom: 43px; }
.warm h1,.hatch h1 { font-weight: 475; letter-spacing: -.05em; }
.warm h1 { max-width: 930px; }
.warm h1 span { white-space: nowrap; }
.warm .trust { padding: 7px 0 33px; border: 0; max-width: 850px; }
.warm .showcase {
  background: radial-gradient(ellipse at 74% 8%, #e9ddc9 0, transparent 60%),
    linear-gradient(120deg, #c0b4a2, #dfd7c9 52%, #bdb1a4);
  padding-block: 28px 36px;
}
.warm .showcase > .wrap { padding: 0; }
.warm .showcase-label { margin-bottom: 14px; }
.warm .case-panel { grid-template-columns: .75fr 1.75fr; }
.warm .case-panel .case-image { grid-column: 2; grid-row: 1; }
.warm .case-panel .case-info { grid-column: 1; grid-row: 1; }
.warm .case-info h3 { font-size: clamp(28px, 3.2vw, 48px); }
.warm .case-tabs button[aria-selected="true"] { background: #eae3d7; }

.hatch { --paper: #fff; --ink: #241e1b; --control: #9c3430; --accent: #8d2d2b; --heading: 'Source Serif', Georgia, serif; }
.hatch .intro { text-align: left; padding-block: clamp(55px, 6.7vw, 106px) 42px; }
.hatch .intro h1 { margin: 0; max-width: 980px; text-wrap: initial; }
.hatch .intro h1 span { display: block; }
.hatch .intro-copy { margin-left: 0; }
.hatch .intro-actions,.streamline .intro-actions { justify-content: start; }
.hatch .button { border-radius: 999px; padding-inline: 20px; }
.project-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.project-cards .case-image { border-radius: 10px; border: 1px solid var(--line); }
.project-cards .case-info { padding: 17px 0 10px; }
.project-cards .case-info > p { margin-bottom: 0; }
.project-cards .case-info h3 { font-size: clamp(25px, 3vw, 37px); }

.metafi { --ink: #1c1c23; --muted: #5c5b67; --accent: #51488b; --control: #20202a; --line: #e2e1ea; --surface: #f6f5fa; }
.meta-stage {
  padding-bottom: 38px;
  background:
    linear-gradient(#fff 0%, #fff 25%, #ffffff00 100%),
    repeating-linear-gradient(90deg, #c8c5df35 0 1px, transparent 1px 65px),
    repeating-linear-gradient(#c8c5df35 0 1px, transparent 1px 65px),
    linear-gradient(160deg, #f8f8fb, #f1f0f8);
}
.meta-intro { padding-bottom: 46px; }
.meta-intro h1 { max-width: 850px; }
.metafi .showcase > .wrap { width: min(100% - var(--gutter) * 2, 1020px); padding: 0; }
.metafi .showcase-label { margin-bottom: 10px; }
.metafi .showcase-label h2 { font-size: 22px; }
.metafi .case-panel { grid-template-columns: 1fr; }
.metafi .case-info { border-top: 1px solid var(--line); }
.metafi .showcase-body { box-shadow: 0 11px 35px #25213a17; }

.streamline { --paper: #fbfaf6; --ink: #252520; --muted: #5c5b52; --line: #dfded4; --surface: #efeee6; --accent: #4a4b3d; --control: #292b23; }
.stream-hero { background: #eeece4; border-bottom: 1px solid var(--line); }
.stream-layout { display: grid; grid-template-columns: 1fr 1.13fr; gap: 38px; align-items: center; padding: clamp(55px, 7vw, 100px) 0 60px; }
.stream-hero h1 { font-size: clamp(43px, 4.7vw, 68px); letter-spacing: -.065em; text-wrap: initial; }
.stream-hero h1 span { display: block; color: var(--muted); }
.stream-services { margin: 19px 0 21px; display: grid; gap: 2px 12px; grid-template-columns: 1fr 1fr; }
.stream-services a { padding-block: 6px; }
.stream-services strong, .stream-services span { display: block; }
.stream-services strong { display: flex; align-items: baseline; gap: 5px; font-size: 15px; }
.stream-services strong .arrow { display: inline; }
.stream-services a > span { color: var(--muted); font-size: 14px; }
.stream-feature { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px #29261c18; }
.stream-feature > a { display: block; }
.stream-feature img { width: 100%; height: auto; }
.stream-feature figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px; font-size: 14px; }
.streamline .project-grid { margin-top: 55px; }

@media (max-width: 800px) {
  body { --gutter: 19px; }
  .header-inner { min-height: 63px; gap: 8px; }
  .header-inner .logo { margin-right: auto; }
  .logo img { width: 74px; }
  .menu-button { display: block; padding: 7px 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 6px; font-size: 13px; }
  .header-cta { padding: 7px 9px; font-size: 13px; }
  .header nav { display: none; position: absolute; top: 59px; left: var(--gutter); right: var(--gutter); padding: 13px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; }
  .menu-button[aria-expanded=true] + nav { display: grid; gap: 3px; }
  .header nav a { padding: 8px; }
  .intro, .warm .intro, .hatch .intro, .meta-intro { padding-block: 40px 32px; }
  .intro-copy { margin-block: 15px 19px; }
  h1 { font-size: clamp(39px, 8.5vw, 60px); }
  .location { margin-bottom: 12px; }
  .case-panel, .warm .case-panel, .metafi .case-panel, .faq, .contact { grid-template-columns: 1fr; }
  .warm h1 span { white-space: normal; }
  .warm .case-panel .case-image,.warm .case-panel .case-info { grid-column: auto; grid-row: auto; }
  .showcase > .wrap { padding: 14px; }
  .showcase-label { margin-bottom: 12px; gap: 10px; }
  .showcase-label a { font-size: 13px; white-space: nowrap; }
  .case-tabs { padding: 5px; }
  .case-tabs button { padding: 7px 8px; font-size: 12px; }
  .case-info { padding: 16px; }
  .case-info > p { margin-block: 7px 10px; }
  .trust,.warm .trust { display: block; padding-block: 18px 12px; }
  .trust ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px 10px; }
  .trust img { height: 37px; width: min(90px, 100%); }
  .services-list { grid-template-columns: 1fr; }
  .services-list > a { padding: 16px 3px; }
  .services-list > a + a { border-left: 0; border-top: 1px solid var(--line); }
  .faq,.contact { gap: 16px; }
  .faq h2 { margin-bottom: 0; }
  .stream-layout { grid-template-columns: 1fr; gap: 21px; padding-block: 33px; }
  .stream-hero h1 { font-size: clamp(39px,8.5vw,60px); }
  .stream-services { gap: 2px 12px; }
}
@media (max-width: 450px) {
  .project-cards { grid-template-columns: 1fr; gap: 15px; }
  .footer { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 355px) {
  body { --gutter: 14px; }
  h1,.stream-hero h1 { font-size: 36px; }
  .showcase-label h2 { font-size: 21px; }
  .stream-services { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition: none !important; }
}
