:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --ink: #1d1b26;
  --muted: #575360;
  --rule: #d5d2d7;
  --violet: #4935dc;
  --violet-dark: #3423ad;
  --lime: #e5f6a1;
  --night: #1e1b2c;
  --margin: clamp(24px, 5vw, 80px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--lime); color: var(--ink); }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(calc(100% - 2 * var(--margin)), 1320px); margin-inline: auto; }
.arrow { flex: none; width: 18px; height: 18px; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-150%); background: var(--ink); color: #fff; padding: 10px 15px; }
.skip:focus { transform: none; }
.eyebrow { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.site-header { position: relative; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.wordmark { font-weight: 750; font-size: 28px; line-height: 1; letter-spacing: -.084em; white-space: nowrap; }
.wordmark span { color: var(--violet); }
.nav, .header-actions { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 14px; font-weight: 600; }
.nav a, .language { padding-block: 11px; }
.nav a:hover, .language:hover, .site-footer a:hover { color: var(--violet); }
.header-contact { display: flex; gap: 12px; align-items: center; min-height: 42px; border: 1px solid var(--ink); padding: 0 13px; }
.header-contact:hover { background: var(--ink); color: var(--paper); }
.mobile-menu { display: none; }
.mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; z-index: 4; top: 100%; right: 0; display: grid; width: min(100%, 280px); border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 10px 24px #1d1b261a; }
.mobile-menu nav a { padding: 11px 15px; }
.mobile-menu nav a + a { border-top: 1px solid var(--rule); }
.mobile-menu nav a:hover { color: var(--violet); background: #efedf8; }

.hero { padding-block: 46px 66px; border-bottom: 1px solid var(--rule); }
.hero-frame { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); column-gap: clamp(26px, 4.5vw, 72px); align-items: center; }
.hero-copy { padding-block: 36px; }
.location { display: flex; gap: 9px; align-items: center; color: var(--muted); margin-bottom: 30px; }
.location span { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); flex: none; }
h1 { font-size: clamp(48px, 6.1vw, 96px); font-weight: 670; letter-spacing: -.075em; line-height: .99; }
.hero h1 { max-width: 11.5em; font-size: clamp(40px, 5.3vw, 82px); font-weight: 670; letter-spacing: -.07em; line-height: 1.02; text-wrap: balance; }
.intro { max-width: 430px; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.48; color: var(--muted); margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 25px; margin-top: 34px; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; font-size: 14px; font-weight: 650; min-height: 50px; }
.button { padding: 0 16px; }
.primary { background: var(--violet); color: #fff; }
.primary:hover { background: var(--violet-dark); }
.text-link:hover { color: var(--violet); }
.expertise, .method { padding-block: 70px 90px; }
.section-id { color: var(--violet); margin-bottom: 17px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 33px; }
h2 { font-size: clamp(38px, 4.75vw, 74px); font-weight: 620; line-height: 1.02; letter-spacing: -.07em; }
.section-heading > p { max-width: 265px; color: var(--muted); font-size: 16px; line-height: 1.48; }
.practices { border-top: 1px solid var(--ink); }
.practice { display: grid; grid-template-columns: 42px minmax(0, .9fr) minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.practice-num, .tab-num, .step-num { font: 12px/1.35 var(--mono); }
.practice-num { padding-top: 6px; color: var(--muted); }
.practice-name { display: flex; align-items: start; gap: 14px; }
.practice-name h3 { font-size: clamp(22px, 2.2vw, 34px); font-weight: 640; letter-spacing: -.048em; line-height: 1.1; }
.practice-icon { flex: none; width: 28px; height: 28px; color: var(--violet); }
.practice-description p { max-width: 430px; color: var(--muted); line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.tags li { border: 1px solid var(--rule); padding: 3px 8px; font-size: 11px; line-height: 1.3; }
.example-link { display: inline-flex; gap: 8px; align-items: center; padding-top: 3px; color: var(--violet); font-size: 13px; font-weight: 650; white-space: nowrap; }
.example-link:hover span, .calendar-link:hover, .email:hover { text-decoration: underline; text-underline-offset: 4px; }

.work { border-top: 1px solid var(--rule); padding-block: 62px 85px; }
.work-projects { border-top: 1px solid var(--ink); }
.work-project {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 92px);
  padding-block: 30px;
  border-bottom: 1px solid var(--rule);
}
.work-copy .eyebrow { color: var(--violet); }
.work-copy h3 { margin-block: 7px 13px; font-size: clamp(34px, 4vw, 60px); font-weight: 650; letter-spacing: -.065em; line-height: 1.05; }
.work-copy h3 ~ p { max-width: 490px; margin-top: 10px; color: var(--muted); }
.work-copy .work-contribution { padding: 9px 0 9px 12px; border-left: 2px solid var(--violet); color: var(--ink); }
.work-contribution strong { display: block; margin-bottom: 2px; color: var(--violet); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.work-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; }
.work-copy .text-link { min-height: 44px; gap: 8px; color: var(--violet); }
.work-copy .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.industrial-flow {
  min-width: 0;
  color: var(--map-ink);
  background: radial-gradient(ellipse at 51% 39%, #d5e7ff86 1%, #dce9ff40 42%, transparent 72%);
}
.industrial-flow figcaption {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--map-rule);
  color: var(--map-blue);
}
.industrial-stages { display: grid; margin-top: 12px; text-align: center; }
.industrial-line { width: 100%; height: auto; margin-inline: auto; }
.industrial-stage-title { font-size: 15px; font-weight: 650; line-height: 1.25; }
.industrial-detail { margin-top: 4px; color: var(--map-muted); font-size: 13px; line-height: 1.4; }
.industrial-equipment { text-align: left; }
.industrial-equipment .industrial-stage-title { font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.025em; }
.industrial-line .map-trace { stroke-width: 1.15; }
.industrial-line .industrial-port { fill: #e9f4ff; stroke: var(--map-signal); stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.industrial-integration, .industrial-team {
  justify-self: center;
  width: min(100%, 420px);
  padding: 8px 10px;
  border-block: 1px solid var(--map-rule);
  background: linear-gradient(90deg, transparent, #d7e7fd99 50%, transparent);
}
.industrial-agents > .eyebrow { margin-top: 11px; color: var(--map-blue); }
.industrial-branch { width: 100%; height: 18px; }
.industrial-branch path {
  fill: none;
  stroke: var(--map-line);
  vector-effect: non-scaling-stroke;
}
.industrial-branch:last-child { transform: scaleY(-1); }
.industrial-agents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industrial-agents li {
  margin-inline: 3px;
  padding: 8px 5px;
  border-block: 1px solid var(--map-rule);
  background: linear-gradient(90deg, #e8f1ffc7, #eaf1ff3d);
}
.work-gallery {
  --gallery-height: clamp(270px, 34vw, 426px);
  min-width: 0;
  background: #e7ebe7;
}
.work-gallery-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}
.work-gallery[data-gallery-ready] .work-gallery-track { scrollbar-width: none; }
.work-gallery[data-gallery-ready] .work-gallery-track::-webkit-scrollbar { display: none; }
.work-slide {
  display: grid;
  grid-template-rows: var(--gallery-height) auto;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.work-media { display: grid; place-items: center; min-height: 0; min-width: 0; padding: 14px; cursor: zoom-in; }
.work-media { position: relative; }
.work-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.work-enlarge { position: absolute; bottom: 21px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--violet-dark); font-size: 11px; font-weight: 650; }
.work-enlarge .arrow { width: 14px; height: 14px; }
.work-media:hover .work-enlarge { background: var(--violet-dark); border-color: var(--violet-dark); color: white; }
.work-slide--crop img { width: min(100%, calc((var(--gallery-height) - 28px) * 1.3)); height: auto; aspect-ratio: 13 / 10; object-fit: cover; object-position: right center; border: 1px solid #bfc8bf; }
.work-slide--wide img { border: 1px solid #bfc8bf; height: auto; max-height: 100%; }
.work-slide figcaption { padding: 0 14px 14px; }
.work-slide figcaption strong { display: block; font-size: 15px; line-height: 1.22; }
.work-slide figcaption p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.work-slide--portrait { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: var(--gallery-height); align-items: center; }
.work-slide--portrait .work-media { height: 100%; padding: 14px 4px 14px 12px; }
.work-slide--portrait img { width: auto; max-width: 100%; max-height: calc(var(--gallery-height) - 28px); border: 1px solid #b8c1b9; border-radius: 10px; }
.work-slide--portrait figcaption { padding: 12px clamp(8px, 2.4vw, 34px) 12px 8px; }
.work-slide--portrait figcaption strong { font-size: clamp(16px, 1.85vw, 26px); letter-spacing: -.04em; }
.work-test { grid-template-rows: auto auto auto; align-content: center; background: var(--night); color: var(--paper); padding: clamp(21px, 3vw, 42px); }
.work-test figcaption { color: var(--lime); padding: 0; }
.work-test > p { margin-block: 11px 19px; font-size: clamp(22px, 2.6vw, 36px); font-weight: 620; line-height: 1.12; letter-spacing: -.035em; }
.work-test li { display: grid; grid-template-columns: 21px 1fr; gap: 10px; padding-block: 10px; border-top: 1px solid #ffffff40; font-size: 14px; }
.work-test li span { font: 11px/1.95 var(--mono); color: #c4c0d1; }
.work-test li:last-child { color: var(--lime); }
.work-gallery-controls { display: flex; align-items: center; justify-content: end; gap: 10px; padding: 5px 10px; border-top: 1px solid #bfc8bf; }
.work-gallery-controls span { min-width: 62px; color: var(--muted); font: 12px/1.2 var(--mono); text-align: center; font-variant-numeric: tabular-nums; }
.work-gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); cursor: pointer; }
.work-gallery-controls button:hover { color: var(--violet); border-color: var(--violet); }
.work-gallery-controls [data-gallery-prev] .arrow { transform: rotate(180deg); }

body:has(.work-lightbox[open], .brief-dialog[open]) { overflow: hidden; overflow-anchor: none; }
.work-lightbox {
  width: min(1100px, calc(100% - 28px));
  height: min(900px, calc(100dvh - 28px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #514a65;
  background: var(--night);
  color: var(--paper);
}
.work-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.work-lightbox::backdrop { background: #16131deb; }
.work-lightbox-header, .work-lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
}
.work-lightbox-header { border-bottom: 1px solid #514a65; }
.work-lightbox-header p { font-size: 14px; font-weight: 650; line-height: 1.3; }
.work-lightbox-controls { border-top: 1px solid #514a65; }
.work-lightbox-navigation { display: flex; align-items: center; gap: 9px; }
.work-lightbox-navigation span { min-width: 58px; font: 12px/1.2 var(--mono); text-align: center; }
.work-lightbox button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  background: transparent;
  color: inherit;
  border: 1px solid #736b84;
  cursor: pointer;
}
.work-lightbox button:hover { color: var(--lime); border-color: var(--lime); }
.work-lightbox button:focus-visible { outline-offset: 2px; }
.work-lightbox [data-lightbox-prev] svg { transform: rotate(180deg); }
.work-lightbox .work-lightbox-zoom { font-size: 13px; white-space: nowrap; }
.work-lightbox-stage { display: flex; min-width: 0; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.work-lightbox-stage img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
.work-lightbox[data-actual-size] .work-lightbox-stage { overflow: auto; touch-action: auto; }
.work-lightbox[data-actual-size] img { max-width: none; max-height: none; }
@media (max-width: 570px) {
  .work-lightbox { width: calc(100% - 12px); height: calc(100dvh - 12px); }
  .work-lightbox-header, .work-lightbox-controls { gap: 7px; padding-inline: 7px; }
  .work-lightbox-navigation { gap: 5px; }
  .work-lightbox-navigation span { min-width: 48px; }
}

.study { background: var(--night); color: var(--paper); }
.study-wrap { padding-block: 70px 82px; }
.study .section-id, .study-note { color: var(--lime); }
.study .section-heading > p { color: #d0cddc; }
.study-layout { display: grid; grid-template-columns: minmax(245px, .35fr) minmax(0, 1fr); gap: 16px; }
.study-layout:has(.study-tabs[hidden]) { grid-template-columns: 1fr; }
.study-tabs { display: grid; align-content: start; }
.study-tabs button { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; text-align: left; border: 0; border-bottom: 1px solid #ffffff40; background: transparent; color: var(--paper); min-height: 66px; padding: 10px 13px; cursor: pointer; line-height: 1.35; }
.study-tabs button:first-child { border-top: 1px solid #ffffff40; }
.study-tabs button:hover { background: #ffffff12; }
.study-tabs button[aria-selected="true"] { background: var(--lime); color: var(--night); }
.study-tabs button:not([aria-selected="true"]) .arrow { opacity: .5; }
.tab-num { color: inherit; opacity: .78; }
.study-panel { background: #2a263a; border: 1px solid #514963; padding: clamp(22px, 3.5vw, 45px); min-height: 330px; }
.study-panel + .study-panel:not([hidden]) { margin-top: 15px; }
.study-panel[role="tabpanel"] { margin-top: 0 !important; }
.panel-label { color: var(--lime); }
.study-panel h3 { margin-top: 8px; font-size: clamp(26px, 3.3vw, 49px); letter-spacing: -.05em; line-height: 1.08; }
.study-panel > p { margin-top: 10px; color: #e0dceb; max-width: 550px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; gap: 14px; }
.flow li { border-top: 1px solid #7b738d; padding-top: 12px; }
.step-num { color: var(--lime); }
.flow h4 { font-weight: 620; margin-top: 7px; line-height: 1.25; }
.flow p { color: #d1cbdc; font-size: 13px; margin-top: 6px; line-height: 1.45; }

.method h2 { max-width: 850px; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; gap: 26px; }
.method-steps li { border-top: 1px solid var(--ink); padding-top: 16px; }
.method-steps span { color: var(--violet); }
.method-steps h3 { margin-top: 11px; font-size: 24px; font-weight: 640; letter-spacing: -.04em; line-height: 1.18; }
.method-steps p { color: var(--muted); margin-top: 8px; max-width: 320px; }
.method-result { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.method-result dt { color: var(--violet); }
.method-result dd { margin: 5px 0 0; max-width: 320px; font-weight: 600; }
.team { background: #edebe8; border-top: 1px solid var(--rule); }
.team-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(26px, 6vw, 94px); align-items: center; padding-block: 68px 76px; }
.team-copy h2 { margin-bottom: 22px; }
.team-copy > p:not(.eyebrow) { color: var(--muted); max-width: 590px; }
.team-copy > p + p { margin-top: 12px; }
.team-contact { padding: 24px 25px 18px; border: 1px solid var(--rule); border-top: 2px solid var(--violet); background: var(--paper); }
.team-contact > .eyebrow { color: var(--muted); }
.team-initials { width: 52px; height: 52px; display: grid; place-items: center; margin-top: 20px; background: var(--violet); color: #fff; font: 17px var(--mono); }
.team-contact h3 { font-size: 27px; font-weight: 640; letter-spacing: -.04em; line-height: 1.18; margin-top: 15px; }
.team-contact .text-link { min-height: 44px; margin-top: 5px; color: var(--violet); }
.team-contact .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact { background: var(--violet); color: #fff; }
.contact-wrap { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding-block: 65px 70px; }
.contact h2 { margin-block: 14px; }
.contact h2 + p { max-width: 500px; color: #f1eeff; font-size: 18px; }
.contact-actions { display: grid; gap: 8px; flex: 0 0 min(260px, 100%); }
.contact-button { background: var(--lime); color: var(--night); }
.contact-button:hover { background: #f2f9d8; }
.calendar-link, .email { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 38px; font-size: 14px; }
.email { color: #f1eeff; text-decoration: underline; text-underline-offset: 4px; }
.contact-intro, .contact-write {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(42px, 6vw, 90px);
  border-bottom: 1px solid var(--rule);
}
.contact-lead h1 { font-size: clamp(44px, 6.5vw, 94px); }
.contact-lead .intro { max-width: 480px; }
.call-agenda { padding: clamp(22px, 3vw, 42px); background: var(--night); color: var(--paper); }
.call-agenda > .eyebrow, .call-agenda .step-num { color: var(--lime); }
.call-agenda h2 { margin-block: 9px 24px; font-size: clamp(29px, 3.2vw, 48px); letter-spacing: -.05em; }
.call-agenda li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding-block: 13px; border-top: 1px solid #ffffff40; }
.call-agenda h3 { font-size: 16px; line-height: 1.25; }
.call-agenda li p { color: #ddd8ea; font-size: 14px; margin-top: 5px; }
.call-agenda .step-num { padding-top: 2px; }
.contact-write h2 { font-size: clamp(38px, 4.5vw, 64px); }
.booking-note { max-width: 430px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.contact-write > div p, .contact-write address { margin-top: 12px; color: var(--muted); }
.contact-write address { font-style: normal; }
.direct-mail { display: inline-block; margin-top: 16px; color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
.contact-form { display: grid; gap: 17px; }
.contact-form > p { color: var(--muted); font-size: 13px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid #8a8590;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 var(--sans);
}
.contact-form textarea { resize: vertical; }
.contact-form #brief-hint { margin-top: -10px; }
.form-submit { display: grid; justify-items: start; gap: 10px; }
.form-submit button { border: 0; cursor: pointer; }
.form-submit button:disabled { opacity: .72; cursor: wait; }
.form-submit p { font-size: 14px; color: var(--ink); }
.brief-submit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.brief-submit-actions a { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.brief-invitation { position: fixed; z-index: 3; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; padding: 10px 8px 10px 16px; border: 1px solid var(--rule); border-top: 2px solid var(--violet); background: var(--paper); box-shadow: 0 8px 28px #1d1b2620; }
body:has(dialog[open]) .brief-invitation { visibility: hidden; }
.brief-invitation .eyebrow, .brief-dialog .eyebrow { color: var(--violet); }
.brief-invite-title { font-size: 15px; font-weight: 650; }
.brief-invitation .text-link { min-height: 44px; gap: 8px; color: var(--violet-dark); }
.brief-invitation .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.brief-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.brief-close:hover { background: #efedf8; color: var(--violet-dark); }
.brief-dialog { width: min(540px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: clamp(16px, 4vw, 32px); border: 1px solid var(--rule); border-top: 3px solid var(--violet); background: var(--paper); color: var(--ink); }
.brief-dialog::backdrop { background: #1d1b269c; }
.brief-dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.brief-dialog h2 { margin-top: 9px; font-size: clamp(27px, 6vw, 40px); letter-spacing: -.05em; }
.brief-dialog #brief-intro { margin: 12px 0 21px; color: var(--muted); }

.legal-page { padding-block: clamp(44px, 8vw, 94px); }
.legal-page h1 { max-width: 13ch; }
.legal-body { max-width: 72ch; margin-top: 40px; }
.legal-body section { padding-block: 20px 26px; border-top: 1px solid var(--rule); }
.legal-body h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; }
.legal-body h3 { margin-top: 12px; }
.legal-body p, .legal-body ul { margin-top: 8px; color: var(--muted); }
.legal-body ul { padding-left: 1.3em; list-style: disc; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 24px; color: var(--violet); }

.site-footer { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; }
.site-footer > span { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer > a:last-child { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1080px) {
  h1 { font-size: clamp(47px, 6.05vw, 68px); }
  .hero-actions { gap: 10px 16px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 13px; gap: 8px; }
  .practice { gap: 16px; grid-template-columns: 28px minmax(0, .9fr) minmax(0, 1fr) auto; }
}
@media (max-width: 840px) {
  .site-header { min-height: 68px; }
  .nav { display: none; }
  .mobile-menu { display: block; }
  .hero { padding-block: 24px 44px; }
  .hero-frame { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding-block: 25px 12px; }
  .hero h1 { max-width: 12em; font-size: clamp(42px, 9.5vw, 74px); }
  h1 { font-size: clamp(56px, 10.2vw, 84px); }
  .expertise, .method { padding-block: 53px 58px; }
  .work { padding-block: 46px 58px; }
  .study-wrap { padding-block: 52px 60px; }
  .practice { grid-template-columns: 25px minmax(0, .8fr) minmax(0, 1fr); }
  .example-link { grid-column: 3; justify-self: start; }
  .study-layout { grid-template-columns: 1fr; }
  .study-panel { min-height: 0; }
  .study-tabs button { min-height: 50px; }
  .contact-intro, .contact-write { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .work-project--industrial { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 570px) {
  .wordmark { font-size: 25px; }
  .site-header { gap: 10px; }
  .header-actions { gap: 7px; font-size: 12px; }
  .header-contact { gap: 5px; min-height: 38px; padding: 0 8px; }
  .header-contact .arrow { width: 14px; height: 14px; }
  .location { font-size: 10px; margin-bottom: 22px; }
  h1 { font-size: clamp(40px, 10.1vw, 57px); }
  .hero h1 { font-size: clamp(38px, 10vw, 55px); }
  .intro { margin-top: 23px; }
  .hero-actions { margin-top: 24px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 12px; }
  .practice { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .practice-name { gap: 8px; }
  .practice-icon { width: 22px; height: 22px; }
  .practice-description, .example-link { grid-column: 2; }
  .example-link { padding-block: 7px; }
  .work-project { grid-template-columns: 1fr; gap: 16px; padding-block: 22px; }
  .work-gallery-controls { justify-content: space-between; }
  .work-slide--portrait figcaption p { font-size: 12px; }
  .flow { grid-template-columns: 1fr; gap: 13px; margin-top: 23px; }
  .flow li { display: grid; grid-template-columns: 22px 1fr; column-gap: 7px; }
  .flow h4 { margin-top: 0; }
  .flow p { grid-column: 2; }
  .method-steps { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .method-steps h3 { margin-top: 6px; }
  .brief-invitation { right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); left: max(8px, env(safe-area-inset-left)); justify-content: space-between; gap: 6px; padding: 6px 3px 6px 9px; }
  .brief-invitation .eyebrow { font-size: 9px; }
  .brief-invite-title, .brief-invitation .text-link { font-size: 12px; }
  .brief-invitation .text-link .arrow { display: none; }
  .team-wrap { grid-template-columns: 1fr; padding-block: 48px; }
  .contact-wrap { display: grid; gap: 22px; padding-block: 48px; }
  .contact-actions { width: min(100%, 300px); }
  .site-footer { padding-block: 20px; flex-wrap: wrap; }
  .site-footer > span { order: 1; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
