@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #eef0f3;
  --paper-2: #e3e7ed;
  --card: #f8f9fb;
  --ink: #0e1a33;
  --ink-2: #33405c;
  --mute: #5f6a80;
  --line: #ccd3de;
  --marc: #2446c8;
  --marc-deep: #17308f;
  --ochre: #e2a72e;
  --night: #0e1a33;
  --on-night: #e9edf5;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-s: 6px;
  --radius-m: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--marc); color: #fff; }
section[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--marc); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn--primary { background: var(--marc); color: #fff; }
.btn--primary:hover { background: var(--marc-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 16px -6px rgba(11, 20, 40, .55); }
.brand__name { font: 400 22px/1 var(--serif); font-variation-settings: "opsz" 24; letter-spacing: -0.01em; }
.brand__by { display: block; font: 500 12.5px/1 var(--sans); color: var(--mute); margin-top: 4px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--marc); }
.nav .btn { padding: 11px 18px; font-size: 15px; color: #fff; white-space: nowrap; }
.nav .btn:hover { color: #fff; }

/* over the dark hero the header starts transparent and turns solid on scroll */
.top--hero { position: fixed; left: 0; right: 0; }
.top--hero:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.top--hero:not(.is-scrolled) .brand__by { color: #aab5cb; }
.top--hero:not(.is-scrolled) .nav a:not(.btn) { color: rgba(255, 255, 255, .82); }
.top--hero:not(.is-scrolled) .nav a:not(.btn):hover { color: #fff; }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 19px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 9px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #0b1428; color: #fff;
  padding: calc(72px + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 88px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 20, 40, .72) 0%, rgba(11, 20, 40, .2) 55%, rgba(11, 20, 40, 0) 100%),
    linear-gradient(180deg, rgba(11, 20, 40, .5) 0%, rgba(11, 20, 40, 0) 30%, rgba(11, 20, 40, .25) 62%, #0b1428 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.hero__text { padding-top: clamp(0px, 3vw, 40px); }
.hero h1 {
  grid-column: 1 / -1;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72; font-weight: 380;
  margin-bottom: clamp(40px, 5vw, 72px);
  text-shadow: 0 2px 30px rgba(11, 20, 40, .35);
}
.hero h1 span { display: block; color: #a9b9ff; }
.hero .lead { margin-bottom: 36px; color: #c9d1e2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__place { margin-top: 40px; display: flex; align-items: center; gap: 14px; color: #aab5cb; font-size: 15px; }
.hero__place img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.hero__place strong { color: #fff; font-weight: 600; }
.hero__place span { max-width: 40ch; }

/* the showcase: a stack of real client sites standing on the lake */
.case { position: relative; }
.case__stack { position: relative; aspect-ratio: 16 / 10.6; }
.frame {
  position: absolute; inset: 0;
  background: var(--card); border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
  transform-origin: 50% 100%;
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  will-change: transform;
}
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame__bar span { margin-left: 10px; font-size: 12px; color: var(--mute); background: var(--paper); padding: 3px 12px; border-radius: 999px; }
.frame { display: flex; flex-direction: column; }
.frame video { pointer-events: none; }
.frame img, .frame video { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; background: #0c0c10; }
.frame[data-pos="0"] { transform: none; z-index: 5; }
.frame[data-pos="1"] { transform: translate3d(4%, -7%, 0) scale(.95); z-index: 4; filter: brightness(.8); }
.frame[data-pos="2"] { transform: translate3d(8%, -14%, 0) scale(.9); z-index: 3; filter: brightness(.62); }
.frame[data-pos="3"], .frame[data-pos="4"] { transform: translate3d(12%, -21%, 0) scale(.85); z-index: 2; opacity: 0; filter: brightness(.5); }
.frame[data-pos="out"] { transform: translate3d(-14%, 4%, 0) scale(1.04); opacity: 0; z-index: 6; }

.case__water {
  position: relative; height: clamp(80px, 10vw, 150px); margin-top: 4px; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 92%);
}
.case__water .case__stack { position: absolute; left: 0; right: 0; top: 0; transform: scaleY(-1); filter: url(#ripple) blur(1px) saturate(.7) brightness(.85); }
.case__water .frame { box-shadow: none; }

.case__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; min-height: 52px; }
.case__caption { font-size: 15px; color: #aab5cb; }
.case__caption b { display: block; font: 400 22px/1.2 var(--serif); color: #fff; }
.case__ctrl { display: flex; gap: 8px; flex: none; }
.round {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.round:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.round svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg img { object-position: 38% 20%; height: 62%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(11, 20, 40, .55) 0%, rgba(11, 20, 40, .1) 30%, #0b1428 62%); }
  .case { max-width: 640px; margin-top: 64px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec__head { margin-bottom: clamp(48px, 7vw, 88px); }
.sec__head h2 { max-width: 20ch; }
.sec__head p { color: var(--ink-2); max-width: 60ch; margin: clamp(20px, 2.4vw, 28px) 0 0; font-size: clamp(17px, 1.5vw, 19px); }

/* ---------- work ---------- */
.exhibit {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px); align-items: center;
  padding: clamp(32px, 4vw, 56px) 0;
}
.exhibit:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.exhibit:nth-of-type(even) .stage { order: 2; }
.stage {
  position: relative; overflow: hidden;
  border-radius: 22px;
  padding: clamp(20px, 4vw, 56px) clamp(20px, 4.5vw, 64px);
  background: radial-gradient(110% 90% at 18% 0%, var(--glow), transparent 62%), var(--stage);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.exhibit__shot {
  display: block; text-decoration: none; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .6s var(--ease);
}
.exhibit__shot:hover { transform: translateY(-4px); }
.exhibit__shot .frame__bar { height: 32px; }
.frame__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c10; }
.frame__view .frame__alt { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .5s var(--ease); }
.frame__view.is-dark .frame__alt { opacity: 1; }
.theme-switch {
  position: absolute; top: clamp(10px, 1.4vw, 16px); right: clamp(12px, 1.8vw, 22px); z-index: 3;
  display: flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.theme-switch button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 13px/1 var(--sans); color: rgba(255, 255, 255, .72); transition: background .2s, color .2s;
}
.theme-switch button svg { width: 14px; height: 14px; }
.theme-switch button:hover { color: #fff; }
.theme-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.frame__view .frame__fixed { position: absolute; z-index: 2; height: auto; animation: none; border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }
.frame__view img { width: 100%; height: auto; will-change: transform; animation: tour var(--dur, 30s) cubic-bezier(.45, 0, .55, 1) 1s infinite alternate both paused; }
.frame__view.is-playing img { animation-play-state: running; }
.exhibit__shot:hover .frame__view img, .exhibit__shot:focus-visible .frame__view img { animation-play-state: paused; }
@keyframes tour {
  0%, 6% { transform: translate3d(0, 0, 0); }
  94%, 100% { transform: translate3d(0, var(--travel, 0px), 0); }
}
.exhibit__text { max-width: 46ch; }
.exhibit__trade { color: var(--marc); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.exhibit__text h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; font-variation-settings: "opsz" 60; }
.exhibit__text > p { color: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 22px 0 26px; border-top: 1px solid var(--line); }
.facts li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 2px; background: var(--ochre); }
.visit { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.visit:hover { color: var(--marc); border-color: var(--marc); }
.visit svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .exhibit, .exhibit:nth-of-type(even) { grid-template-columns: 1fr; }
  .exhibit:nth-of-type(even) .stage { order: 0; }
}

.also { margin-top: clamp(40px, 6vw, 80px); padding: clamp(28px, 4vw, 44px); background: var(--paper-2); border-radius: var(--radius-m); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; }
.also h3 { font-size: 26px; }
.also p { color: var(--ink-2); font-size: 15.5px; margin-top: 10px; }
.also__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.also__item { text-decoration: none; display: block; }
.also__item img { border-radius: var(--radius-s); box-shadow: 0 0 0 1px rgba(14, 26, 51, .1); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 12px; }
.also__item b { display: block; font-weight: 600; }
.also__item span { font-size: 14.5px; color: var(--mute); line-height: 1.45; display: block; }
.also__item:hover b { color: var(--marc); }
@media (max-width: 860px) {
  .also { grid-template-columns: 1fr; }
  .also__list { grid-template-columns: 1fr; }
  .also__item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
  .also__item img { margin: 0; }
}

/* ---------- statement ---------- */
.statement { padding: clamp(56px, 8vw, 120px) 0 clamp(80px, 11vw, 160px); }
.statement blockquote { margin: 0 auto; max-width: 980px; text-align: center; }
.statement p {
  font: 380 clamp(30px, 4.3vw, 58px)/1.12 var(--serif); font-variation-settings: "opsz" 60;
  letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 36px;
}
.statement p::before { content: "„"; color: var(--ochre); margin-right: .04em; }
.statement p::after { content: "“"; color: var(--ochre); }
.statement footer { display: flex; justify-content: center; }
.statement footer .person { display: flex; align-items: center; gap: 14px; text-align: left; font-size: 15px; color: var(--mute); }
.statement footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.statement footer b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- services ---------- */
.services { background: var(--night); color: var(--on-night); }
.services .sec__head p { color: #b8c2d6; }
.services h2 { color: #fff; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.svc__item { padding: 30px 0 34px; border-top: 1px solid rgba(233, 237, 245, .16); display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; }
.svc__icon { grid-row: span 2; width: 44px; height: 44px; color: var(--ochre); }
.svc__item h3 { color: #fff; font-size: 26px; }
.svc__item p { color: #b8c2d6; margin: 6px 0 0; font-size: 16px; max-width: 46ch; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.compare { margin-top: clamp(56px, 8vw, 96px); }
.compare h3 { color: #fff; margin-bottom: 22px; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 15px 18px 15px 0; border-bottom: 1px solid rgba(233, 237, 245, .16); vertical-align: top; }
.compare thead th { font: 600 14px/1.3 var(--sans); color: #8c98b0; }
.compare thead th:last-child { color: var(--ochre); }
.compare tbody th { font-weight: 500; color: #fff; width: 26%; }
.compare td { color: #b8c2d6; width: 37%; }
.compare td:last-child { color: #fff; }
@media (max-width: 640px) {
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 16px 0; border-bottom: 1px solid rgba(233, 237, 245, .16); }
  .compare th, .compare td, .compare tbody th { display: block; width: auto; border: 0; padding: 3px 0; }
  .compare tbody th { font: 400 21px/1.3 var(--serif); margin-bottom: 6px; }
  .compare td::before { content: attr(data-label) ": "; color: #8c98b0; }
  .compare td:last-child::before { color: var(--ochre); }
}

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step__num { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.step__num b { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--serif); border: 1.5px solid var(--ink); background: var(--paper); flex: none; }
.step__num i { height: 1.5px; flex: 1; background: var(--line); }
.step:last-child .step__num i { display: none; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step small { display: block; color: var(--mute); font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(2) .step__num i { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step .step__num i { display: none; } }

/* ---------- lake & about ---------- */
.about { padding-top: clamp(24px, 4vw, 48px); }
.about__card {
  position: relative; z-index: 2;
  background: var(--card); border-radius: var(--radius-m);
  box-shadow: 0 30px 70px -40px rgba(14, 26, 51, .45);
  padding: clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
}
.about__card h2 { margin-bottom: 26px; }
.about__card p { color: var(--ink-2); }
.about__me { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.about__me img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.about__me b { display: block; font: 400 22px/1.2 var(--serif); }
.about__me span { color: var(--mute); font-size: 15px; }
.area h3 { font-size: 22px; margin-bottom: 14px; }
.area p { font-size: 15.5px; }
.places { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.places li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; background: var(--paper); }
.places li:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.numbers b { display: block; font: 400 40px/1 var(--serif); font-variation-settings: "opsz" 60; color: var(--marc); margin-bottom: 6px; }
.numbers span { font-size: 14.5px; color: var(--mute); line-height: 1.4; display: block; }
@media (max-width: 860px) { .about__card { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.faq__intro p { color: var(--ink-2); margin-top: 22px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 400 clamp(21px, 2vw, 25px)/1.3 var(--serif); font-variation-settings: "opsz" 30; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--marc); }
.faq details p { color: var(--ink-2); max-width: 62ch; padding-bottom: 8px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- inquiry ---------- */
.inquiry { position: relative; isolation: isolate; overflow: hidden; background: #0b1428; color: #fff; }
.inquiry__bg { position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; }
.inquiry__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .75; }
.inquiry__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b1428 0%, rgba(11, 20, 40, .3) 45%, rgba(11, 20, 40, .55) 100%); }
.inquiry h2 { color: #fff; }
.inquiry .inq__intro p, .inquiry .inq__direct { color: #c9d1e2; }
.inquiry .inq__direct { border-top-color: rgba(233, 237, 245, .18); }
.inquiry .inq__direct a { color: #fff; }
.inquiry .form { color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.inq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.inq__intro { position: sticky; top: 110px; }
.inq__intro p { color: var(--ink-2); margin-top: 22px; }
.inq__direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.inq__direct a { color: var(--ink); font-weight: 600; }
.form { background: var(--card); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 48px); box-shadow: 0 24px 60px -40px rgba(14, 26, 51, .4); }
.q { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.q legend { font: 400 23px/1.25 var(--serif); font-variation-settings: "opsz" 30; padding: 0; margin-bottom: 6px; }
.q legend small { display: block; font: 400 14.5px/1.4 var(--sans); color: var(--mute); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip span:hover { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--marc); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff;
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--marc); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--marc) 18%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__foot small { color: var(--mute); font-size: 13.5px; max-width: 40ch; line-height: 1.45; }
.form__foot small a { color: var(--ink-2); }
.form__msg { width: 100%; margin: 4px 0 0; font-weight: 500; font-size: 15.5px; }
.form__msg.ok { color: #1c7a4a; }
.form__msg.err { color: #b3261e; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 960px) {
  .inq { grid-template-columns: 1fr; }
  .inq__intro { position: static; }
}
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #b8c2d6; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(233, 237, 245, .14); }
.foot .brand__name { color: #fff; font-size: 26px; }
.foot .brand__by { color: #8c98b0; }
.foot p { margin-top: 18px; max-width: 34ch; }
.foot h4 { font: 600 14px/1.3 var(--sans); color: #fff; margin: 4px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; color: #8c98b0; }
.foot .credit { color: #8c98b0; }
.foot .credit:hover { text-decoration: none; }
.credit__name { color: #c9d1e2; font-weight: 600; transition: color .2s; }
.credit__tag { font: 700 12.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ochre); margin-left: 4px; }
.credit:hover .credit__name { color: #fff; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; margin-bottom: 40px; font-variation-settings: "opsz" 72; letter-spacing: -0.025em; }
.legal h2 { font-size: 28px; margin: 44px 0 14px; font-variation-settings: "opsz" 30; }
.legal h3 { font-size: 21px; margin: 28px 0 10px; }
.legal p, .legal li, .legal address { color: var(--ink-2); font-style: normal; }
.legal address { margin-bottom: 1em; line-height: 1.7; }
.legal .meta { margin-top: 48px; font-size: 14.5px; color: var(--mute); }

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

/* name + photo blocks link to the developer portfolio */
.person { text-decoration: none; color: inherit; width: fit-content; }
.person img { transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover img { transform: scale(1.06); }
.person b, .person strong { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.person:hover b, .person:hover strong { text-decoration-color: currentColor; }
.about__me u { text-underline-offset: 3px; }
