/* martenswillems architecten, homepage proposal by Molt Studio */

@font-face {
  font-family: 'Jost';
  src: url(fonts/jost.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  src: url(fonts/jost-ext.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  src: url(fonts/jost-italic.woff2) format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* brand: the brick red of the wordmark and its rose hover tint */
  --brick: #9b5656;
  --brick-600: #8b4b4b;
  --brick-700: #7a4141;
  --rose: #be9f95;
  --rose-100: #f3ebe7;

  --ink: #1d1918;
  --text: #2b2624;
  --muted: #6b625e;
  --paper: #f6f3ee;
  --paper-2: #eee9e2;
  --white: #fff;
  --line: #e2dbd1;
  --line-2: #cbc2b6;
  --error: #a3261e;

  --wrap: 1360px;
  --gut: clamp(20px, 4.2vw, 56px);
  --sec: clamp(88px, 10vw, 152px);
  --bar-h: 68px;
  --ftr-r: clamp(64px, 11vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f: 'Jost', 'Futura', 'Century Gothic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* centre line of a drawing: long dash, gap, dot, gap */
  --axis: repeating-linear-gradient(90deg, var(--line-2) 0 16px, transparent 16px 21px, var(--line-2) 21px 23px, transparent 23px 28px);
  --axis-v: repeating-linear-gradient(180deg, var(--line-2) 0 16px, transparent 16px 21px, var(--line-2) 21px 23px, transparent 23px 28px);
}
@media (min-width: 1180px) {
  :root { --bar-h: 88px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (max-width: 699px) { body { font-size: 16px; } }
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px;
  background: var(--ink); color: #fff; font-weight: 500; transition: top .2s;
}
.skip:focus { top: 12px; }

h1, h2, h3 { font-weight: 500; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(42px, 3.2vw + 26px, 80px); line-height: 1.02; letter-spacing: -.028em; }
/* phones: the headline runs the full width and wraps naturally, only a one-word last line is avoided */
@media (max-width: 699px) { h1 { text-wrap: pretty; } }
h2 { font-size: clamp(34px, 1.9vw + 22px, 54px); line-height: 1.06; letter-spacing: -.022em; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.01em; }
.sec-lead { font-size: clamp(17px, .3vw + 15.5px, 19px); line-height: 1.55; color: var(--muted); max-width: 46ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 22px; border-radius: 2px;
  background: var(--brick); color: #fff;
  font: 500 16px/1 var(--f); letter-spacing: .005em; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn .i { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--brick-700); }
.btn:hover .i { transform: translateX(4px); }
.btn-sm { height: 44px; padding: 0 16px; font-size: 15px; gap: 10px; }
.btn-sm .i { width: 18px; height: 18px; }
.btn-lg { height: 58px; padding: 0 26px; font-size: 17px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-light .i { color: var(--brick); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px #fff; }
.more {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--brick-700);
  white-space: nowrap;
}
.more .i { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.more:hover { color: var(--ink); }
.more:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
/* It sits at the top of the page and is not sticky: it scrolls away and slides back in, pinned, after a scroll
   up of about 300px (site.js). Scrolling down sends it off again. */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--ink); }
.hdr.is-pinned { position: fixed; animation: hdr-in .38s var(--ease); }
.hdr.is-pinned.no-anim { animation: none; }
.hdr.is-leaving { animation: hdr-out .3s var(--ease) forwards; }
.hdr.is-leaving .mega { visibility: hidden; }
@keyframes hdr-in { from { transform: translateY(-100%); } }
@keyframes hdr-out { to { transform: translateY(-100%); } }
.bar { position: relative; background: var(--paper); transition: box-shadow .25s, background-color .25s; }
.hdr.is-pinned .bar { box-shadow: 0 1px 0 var(--line), 0 18px 36px -30px rgba(29, 25, 24, .45); }
.hdr.is-solid .bar { box-shadow: 0 1px 0 var(--line); }
.bar-in { display: flex; align-items: center; gap: 16px; height: var(--bar-h); }
.logo { display: inline-flex; flex: none; align-items: center; color: var(--brick); padding: 8px 0; }
.logo-svg { width: auto; height: 20px; aspect-ratio: 378 / 42; }
@media (min-width: 1180px) { .hdr .logo-svg { height: 25px; } }
/* Over the hero photo the bar is clear and the type light. Pinned, or with a menu open, it is paper again. */
.hdr-over { transition: color .25s; }
.hdr-over .logo, .hdr-over .hdr-tel .i { transition: color .25s; }
.hdr-over:not(.is-pinned):not(.is-solid) { color: #fff; }
.hdr-over:not(.is-pinned):not(.is-solid) .bar { background: transparent; }
.hdr-over:not(.is-pinned):not(.is-solid) .logo,
.hdr-over:not(.is-pinned):not(.is-solid) .hdr-tel .i { color: #fff; }
.hdr-over:not(.is-pinned):not(.is-solid) .hdr-cta { background: var(--paper); color: var(--ink); }
.hdr-over:not(.is-pinned):not(.is-solid) .hdr-cta:hover { background: #fff; }
.hdr-over:not(.is-pinned):not(.is-solid) .nav-a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.hdr-over:not(.is-pinned):not(.is-solid) .nav-t:hover { color: #fff; }
.hdr-over:not(.is-pinned):not(.is-solid) :focus-visible { outline-color: #fff; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-a, .nav-t {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 14px; border-radius: 2px;
  font: 500 16px/1 var(--f); color: inherit; white-space: nowrap;
  transition: color .2s;
}
.nav-a:hover, .nav-t:hover, .nav-t[aria-expanded="true"] { color: var(--brick-700); }
.nav-t .chev { width: 16px; height: 16px; opacity: .6; transition: transform .3s var(--ease); }
.nav-t[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-extra { display: none; }
.hdr-tel {
  display: none; align-items: center; justify-content: center; gap: 9px; flex: none;
  min-height: 44px; font-weight: 500; font-size: 15.5px; color: inherit; white-space: nowrap;
}
.hdr-tel .i { width: 18px; height: 18px; color: var(--brick); }
.hdr-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hdr-cta { flex: none; display: none; }
.menu-btn {
  margin-left: auto; height: 44px; padding: 0 4px 0 12px; flex: none; display: inline-flex; align-items: center; gap: 12px;
  font: 500 16px/1 var(--f); color: inherit;
}
.burger { position: relative; width: 22px; height: 9px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7.5px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { top: 4px; transform: rotate(-45deg); }
@media (min-width: 700px) and (max-width: 1179px) {
  .hdr-cta { display: inline-flex; margin-left: auto; }
  .hdr-cta + .menu-btn { margin-left: 4px; }
}

/* Desktop navigation and mega menus */
@media (min-width: 1180px) {
  .bar-in { gap: 24px; }
  .hdr-cta { display: inline-flex; }
  .hdr-tel { display: inline-flex; }
  .hdr-tel span { display: none; }
  .hdr-tel { width: 44px; }
  .menu-btn { display: none; }
  /* a brick rule under the open menu item, on the bottom edge of the bar */
  .nav-t::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: calc((var(--bar-h) - 44px) / -2); height: 2px;
    background: var(--brick); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
  }
  .nav-t[aria-expanded="true"]::after { transform: scaleX(1); }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5; color: var(--text);
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(29, 25, 24, .4), 0 0 0 100vmax rgba(29, 25, 24, .28);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s;
  }
  .mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease); }
  /* a closed menu, and everything in it, must not catch the mouse */
  .mega:not(.is-open) { pointer-events: none; }
  .mega-in {
    max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding: 40px var(--gut) 44px;
    display: grid; gap: 56px; align-items: start;
  }
  .mega-in-prj { grid-template-columns: minmax(0, 1fr) 400px; }
  .mega-in-bureau { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); }
  .mega-h { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
  .mega-in-prj .mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
  .mega-links li { border-top: 1px solid var(--line); }
  .mega-links a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; padding: 14px 0 15px; }
  .mega-links b { font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
  .mega-n { font-size: 13px; color: var(--muted); align-self: start; padding-top: 3px; font-variant-numeric: tabular-nums; }
  .mega-d { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; color: var(--muted); }
  .mega-links a:hover b, .mega-links a.is-active b { color: var(--brick-700); }
  .mega-in-bureau .mega-links a { padding: 16px 0 17px; }
  /* the preview on the right follows the link you point at */
  .mega-prev { position: relative; aspect-ratio: 4 / 3.75; }
  .mp {
    position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: 14px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  /* "inherit", not "visible": the preview hides together with its menu, so it never stays visible (and hoverable) in a closed one */
  .mp.is-on { opacity: 1; visibility: inherit; transition: opacity .3s; }
  .mp-fig { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
  .mp-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease); }
  .mp.is-on .mp-fig img { transform: none; }
  .mp figcaption { display: grid; align-content: start; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
  .mp figcaption b { font-weight: 500; color: var(--ink); }
  .mega-foot { border-top: 1px solid var(--line); background: var(--paper-2); }
  .mega-foot-in {
    max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding: 16px var(--gut);
    display: flex; align-items: center; gap: 28px;
  }
  .mega-foot p { flex: 1; font-size: 15.5px; color: var(--text); }
  .mega-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
  .mega-tel .i { width: 18px; height: 18px; color: var(--brick); }
  .mega-tel:hover { text-decoration: underline; text-underline-offset: 4px; }
  .mega-team {
    display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center;
    padding: 16px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s;
  }
  .mega-team:hover { box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(29, 25, 24, .45); }
  .mtm-fig { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
  .mtm-fig img { width: 100%; height: 100%; object-fit: cover; }
  .mtm-body { display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
  .mtm-body b { font-weight: 500; font-size: 19px; color: var(--ink); }
  .mtm-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 500; color: var(--brick-700); }
  .mtm-more .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
  .mega-team:hover .mtm-more .i { transform: translateX(4px); }
}
@media (min-width: 1320px) {
  .hdr-tel { width: auto; }
  .hdr-tel span { display: inline; }
  .nav-a, .nav-t { padding: 0 16px; }
}

/* Mobile and tablet menu */
@media (max-width: 1179px) {
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--bar-h)); bottom: 0; z-index: 40;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    background: var(--paper); color: var(--ink); padding: 8px var(--gut) calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-i { border-bottom: 1px solid var(--line); }
  .nav-a, .nav-t {
    width: 100%; height: auto; padding: 18px 0; justify-content: space-between; border-radius: 0;
    font: 500 28px/1.1 var(--f); letter-spacing: -.02em;
  }
  .nav-t .chev { width: 24px; height: 24px; }
  .mega { display: none; padding: 0 0 18px; }
  .mega.is-open { display: block; }
  .mega-in { display: block; }
  .mega-h, .mega-d, .mega-prev, .mega-foot, .mega-team { display: none; }
  .mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .mega-links a { display: flex; align-items: baseline; gap: 6px; padding: 9px 0; }
  .mega-links b { font-weight: 500; font-size: 18px; color: var(--text); }
  .mega-n { font-size: 12.5px; color: var(--muted); }
  .nav-extra { display: grid; gap: 12px; }
  .nav-call {
    display: grid; gap: 4px; padding: 16px 18px; background: #fff; box-shadow: 0 1px 0 var(--line);
    font: 500 24px/1.15 var(--f); color: var(--ink); white-space: nowrap;
  }
  .nav-call span { font: 400 14px/1.35 var(--f); color: var(--muted); white-space: normal; }
  .nav-cta { width: 100%; height: 58px; justify-content: space-between; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 379px) {
  .btn { white-space: normal; text-align: center; }
  .mega-links { grid-template-columns: 1fr; }
}

/* ---------- Hero: one photo across the full width and height of the first screen ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; color: #fff; background: #4b342d;
}
.hero-fig { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.hero-fig picture, .hero-fig img { display: block; width: 100%; height: 100%; }
.hero-fig img { object-fit: cover; object-position: 50% 35%; }
/* a dark veil where the type sits: under the header, and rising from the bottom left */
.hero-fig::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 17, 15, .5) 0, rgba(23, 17, 15, 0) calc(var(--bar-h) + 110px)),
    linear-gradient(0deg, rgba(23, 17, 15, .84) 0%, rgba(23, 17, 15, .52) 34%, rgba(23, 17, 15, 0) 66%),
    linear-gradient(90deg, rgba(23, 17, 15, .42) 0%, rgba(23, 17, 15, 0) 60%);
}
.hero-in {
  width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto;
  padding: calc(var(--bar-h) + 64px) var(--gut) clamp(28px, 5.5vh, 64px);
  display: grid; gap: 32px;
}
.hero h1 { color: #fff; max-width: 11.5em; }
.hero h1 .dot { color: var(--rose); }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(17px, .5vw + 15px, 20px); line-height: 1.55; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-tel { flex: 1 1 100%; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .84); }
.hero-tel .i { width: 18px; height: 18px; color: var(--rose); }
.hero-tel b { font-weight: 500; color: #fff; }
.hero-tel:hover b { text-decoration: underline; text-underline-offset: 4px; }
.hero :focus-visible { outline-color: #fff; }
.hero-cap a { display: grid; gap: 1px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .42); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.hero-cap b { font-weight: 500; color: #fff; }
.hero-cap a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (orientation: portrait) {
  .hero-fig img { object-position: 72% 30%; }
}
@media (max-width: 699px) {
  .hero-in { padding-top: calc(var(--bar-h) + 32px); gap: 26px; }
  .hero-ctas { margin-top: 30px; row-gap: 6px; }
  .hero-ctas .btn-light { flex: 1 1 100%; justify-content: space-between; }
  /* on a phone the second way in is a text link beside the phone number, so the first screen stays a photo */
  .hero-ctas .btn-ghost {
    order: 3; height: 48px; padding: 0; background: none; box-shadow: none; font-size: 16px;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .5);
  }
  .hero-tel { flex: 1 1 auto; min-height: 48px; margin-top: 0; }
  .hero-cap a { font-size: 13px; padding-top: 10px; }
}
@media (min-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 56px; }
  .hero-cap { justify-self: end; min-width: 250px; margin-bottom: 4px; }
}
@media (min-width: 700px) {
  .hero-ctas .btn-light, .hero-tel { display: none; }
}

/* Facts right below the fold */
.facts { border-top: 1px solid var(--line); background: var(--paper); }
.facts-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding-block: 8px; }
.facts-in li { display: grid; gap: 6px; align-content: start; padding: 24px 0; }
.facts-in b { font-weight: 500; font-size: clamp(26px, 1.2vw + 18px, 36px); line-height: 1.05; letter-spacing: -.02em; color: var(--brick); }
.facts-in span { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 30ch; text-wrap: pretty; }
@media (max-width: 699px) {
  .facts-in li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 700px) {
  .facts-in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: 12px; }
  .facts-in li { padding: 32px 28px 36px; border-left: 1px solid var(--line); }
  .facts-in li:first-child { padding-left: 0; border-left: 0; }
}
@media (min-width: 700px) and (max-width: 1079px) {
  .facts-in li { padding: 28px 18px 30px; }
}
/* the four facts measured off along a dimension line: the hairlines between them are its extension lines */
@media (min-width: 700px) {
  .facts-in { position: relative; }
  .facts-in::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 24px; height: 1px; background: var(--line-2); }
  .facts-in li { position: relative; padding-top: 44px; }
  .facts-in li::before, .facts-in li:last-child::after {
    content: ""; position: absolute; left: -5px; top: 11.25px; width: 11px; height: 1.5px; background: var(--brick); transform: rotate(-45deg);
  }
  .facts-in li:last-child::after { left: auto; right: -5px; }
  .facts-in li:first-child { background: linear-gradient(var(--line), var(--line)) 0 0 / 1px 24px no-repeat; }
  .facts-in li:last-child { background: linear-gradient(var(--line), var(--line)) 100% 0 / 1px 24px no-repeat; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .more { justify-self: start; }
@media (min-width: 1080px) {
  .sec-head { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: 40px; align-items: end; }
  .sec-head .sec-lead { padding-bottom: 6px; }
  .sec-head .more { justify-self: end; padding-bottom: 8px; }
}

/* ---------- Work ---------- */
.work { padding-top: clamp(72px, 8vw, 120px); }
.feat { display: grid; gap: 56px 24px; }
.card-a { display: block; }
.card-fig { display: block; overflow: hidden; background: var(--paper-2); }
.card-fig img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.card-a:hover .card-fig img { transform: scale(1.03); }
.card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.card-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.card-t b { font-weight: 500; font-size: 23px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.card-t span { font-size: 16px; color: var(--muted); }
.card-y { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-p { display: block; margin-top: 8px; max-width: 48ch; font-size: 16px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.card-c { display: block; margin-top: 12px; font-size: 14px; color: var(--brick-700); }
.card-a:hover .card-t b { color: var(--brick-700); }
@media (min-width: 700px) and (max-width: 1079px) {
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  /* two rows of a wide and a narrow project; within a row both photos are equally high */
  .feat {
    --g: 24px;
    --wc: min(100vw - var(--gut) * 2, var(--wrap));
    --col: calc((var(--wc) - var(--g) * 11) / 12);
    --mh: calc((var(--col) * 7 + var(--g) * 6) * 2 / 3);
    grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 80px var(--g);
  }
  .feat .card:nth-child(1) { grid-column: 1 / span 7; }
  .feat .card:nth-child(2) { grid-column: 8 / span 5; }
  .feat .card:nth-child(3) { grid-column: 1 / span 5; }
  .feat .card:nth-child(4) { grid-column: 6 / span 7; }
  .card-fig { height: var(--mh); }
  .card-fig img { aspect-ratio: auto; }
}

/* Project index with a photo that follows the mouse */
.idx { position: relative; margin-top: clamp(80px, 9vw, 128px); }
.idx-h { font-size: 15px; font-weight: 500; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.idx-a {
  display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "n th" "m th"; align-items: center; gap: 4px 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.idx-th { grid-area: th; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.idx-th img { width: 100%; height: 100%; object-fit: cover; }
.idx-nw { grid-area: n; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; transition: transform .45s var(--ease); }
.idx-n { font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.idx-tag { font-size: 12.5px; line-height: 1; padding: 6px 9px; border-radius: 99px; background: var(--rose-100); color: var(--brick-700); white-space: nowrap; }
.idx-m { grid-area: m; display: block; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.idx-m span + span::before { content: "·"; margin: 0 7px; }
.idx-prev { display: none; }
@media (min-width: 900px) {
  .idx-a {
    grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: none;
    gap: 24px; padding: 22px 0;
  }
  .idx-th { display: none; }
  .idx-nw { grid-area: auto; }
  .idx-m { display: contents; }
  .idx-m span + span::before { content: none; }
  .idx-m span { font-size: 16px; color: var(--muted); transition: color .2s; }
  .idx-m .idx-y { text-align: right; font-variant-numeric: tabular-nums; }
  .idx-n { font-size: clamp(24px, 1vw + 14px, 30px); }
  .idx-a:hover .idx-n { color: var(--brick-700); }
  .idx-a:hover .idx-m span { color: var(--text); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .idx-a:hover .idx-nw { transform: translateX(10px); }
  .idx-prev {
    display: block; position: fixed; left: 0; top: 0; z-index: 30; width: 320px; aspect-ratio: 4 / 3;
    pointer-events: none; overflow: hidden; background: var(--paper-2);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
    box-shadow: 0 30px 60px -30px rgba(29, 25, 24, .55);
  }
  .idx-prev.is-on { opacity: 1; visibility: visible; transition: opacity .25s; }
  .idx-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
  .idx-prev img.is-on { opacity: 1; }
}

/* ---------- Disciplines on a drawing axis ---------- */
.fields { padding-bottom: calc(var(--sec) + var(--ftr-r)); background: var(--paper-2); }
.fields .ax-b { background: var(--paper-2); }
.axis-x { position: relative; display: grid; gap: 40px; }
.ax-b {
  position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--brick); background: var(--paper); color: var(--brick);
  font: 500 15px/1 var(--f); font-variant-numeric: tabular-nums;
}
.ax h3 { margin-top: 22px; }
.ax p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 36ch; text-wrap: pretty; }
.ax-a { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 500; font-size: 16px; color: var(--brick-700); }
.ax-a .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.ax-a:hover { color: var(--ink); }
.ax-a:hover .i { transform: translateX(4px); }
@media (max-width: 699px) {
  .axis-x { padding-left: 58px; }
  .axis-x::before { content: ""; position: absolute; left: 18.5px; top: 19px; bottom: 0; width: 1px; background: var(--axis-v); }
  .axis-x .ax { position: relative; }
  .axis-x .ax-b { position: absolute; left: -58px; top: -6px; }
  .axis-x .ax h3 { margin-top: 0; }
}
@media (min-width: 700px) {
  .axis-x { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
}
@media (min-width: 1080px) {
  .axis-x { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
  /* the axis runs through the bubbles and out to the edge of the page */
  .axis-x::before { content: ""; position: absolute; left: 0; right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); top: 19px; height: 1px; background: var(--axis); }
}

/* Clients: their logos in one ink colour, on a hairline grid like the title block of a drawing */
.clients { margin-top: clamp(72px, 8vw, 112px); }
.clients-h { font-size: 15px; font-weight: 500; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logos li { display: flex; align-items: center; justify-content: center; height: 92px; border-bottom: 1px solid var(--line); }
.logos li:nth-child(odd) { border-right: 1px solid var(--line); }
.logos img { width: min(calc(var(--w) * .78), 78%); height: auto; opacity: .84; }
@media (min-width: 900px) {
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos li { height: 132px; }
  .logos li:nth-child(odd) { border-right: 0; }
  .logos li:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
  .logos img { width: min(var(--w), 70%); }
}

/* ---------- Method ---------- */
/* a white volume that rises out of the section above with the round corner of the Miller tower */
.method { position: relative; margin-top: calc(-1 * var(--ftr-r)); border-top-right-radius: var(--ftr-r); background: #fff; }
.method-in { display: grid; gap: 56px; }
.method-side h2 + .sec-lead { margin-top: 18px; }
.notes { display: grid; gap: 16px; margin-top: 40px; max-width: 420px; }
.notes li { display: grid; gap: 2px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.notes b { font-weight: 500; color: var(--ink); }
.notes span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.axis-y { position: relative; display: grid; gap: 48px; }
.axis-y::before { content: ""; position: absolute; left: 18.5px; top: 20px; bottom: 20px; width: 1px; background: var(--axis-v); }
.axis-y .ax { position: relative; padding-left: 76px; }
.axis-y .ax-b { position: absolute; left: 0; top: -4px; background: #fff; }
.axis-y .ax h3 { margin-top: 0; }
.axis-y .ax p { max-width: 52ch; }
@media (max-width: 699px) {
  .axis-y .ax { padding-left: 58px; }
}
@media (min-width: 1080px) {
  .method-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .method-side { position: sticky; top: 120px; }
  .axis-y { gap: 64px; padding-top: 8px; }
  .axis-y .ax p { font-size: 17px; }
}

/* ---------- Recognition ---------- */
.quotes { display: grid; gap: 16px; }
/* White cards shaped like the corner of Miller, the building that won the Erich-Mendelsohn-Preis: one corner
   rounded like its brick tower, with the brick coping running along the top and around the bend */
.q {
  --r: clamp(64px, 7vw, 112px);
  position: relative; display: flex; flex-direction: column; gap: 26px;
  padding: clamp(30px, 3.4vw, 48px) clamp(26px, 3vw, 44px) clamp(28px, 3vw, 44px); background: #fff;
  border-top-right-radius: var(--r);
}
.q::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--r); pointer-events: none;
  border-top: 4px solid var(--brick); border-right: 4px solid var(--brick); border-top-right-radius: var(--r);
}
.q-top { display: flex; align-items: center; min-height: 64px; padding-right: calc(var(--r) * .5); }
.q-logo { width: 170px; height: auto; }
.q-medal { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 8px 16px -10px rgba(70, 40, 20, .7); }
.q blockquote p { font: italic 400 clamp(21px, .8vw + 15px, 27px)/1.42 var(--f); color: var(--ink); letter-spacing: -.005em; text-wrap: pretty; text-indent: -.4em; }
.q figcaption { margin-top: auto; display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.q figcaption b { font-weight: 500; color: var(--ink); }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
/* the other prizes, each with the mark of the jury that gave it */
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.aw { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 24px 16px 26px 0; border-bottom: 1px solid var(--line); }
.aw:nth-child(even) { padding: 24px 0 26px 16px; border-left: 1px solid var(--line); }
.aw-logo { display: flex; align-items: center; height: 72px; margin-bottom: 16px; }
.aw-logo img { width: min(var(--w), 100%); height: auto; }
.aw-y { font-weight: 500; font-size: 15px; color: var(--brick); font-variant-numeric: tabular-nums; }
.aw-p { font-weight: 500; font-size: 17px; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.aw-w { font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) {
  .awards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aw, .aw:nth-child(even) { padding: 30px 28px 34px; border-left: 1px solid var(--line); }
  .aw:first-child { padding-left: 0; border-left: 0; }
  .aw-logo { height: 80px; margin-bottom: 20px; }
  .aw-p { font-size: 19px; }
  .aw-w { font-size: 15.5px; }
}

/* ---------- Team ---------- */
.team { padding-top: 0; }
.team-in { display: grid; gap: 40px; }
.team-fig { position: relative; margin: 0; background: var(--paper-2); }
.team-stamp {
  position: absolute; top: 0; right: clamp(16px, 3vw, 40px); z-index: 1; width: clamp(92px, 8.5vw, 124px); aspect-ratio: 1;
  border-radius: 50%; background: var(--paper); transform: translateY(-50%);
}
.team-stamp::before {
  content: ""; position: absolute; inset: 9%; background: var(--brick);
  -webkit-mask: url(img/mw-rond.svg) center / contain no-repeat; mask: url(img/mw-rond.svg) center / contain no-repeat;
}
.team-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.team-copy h2 { max-width: 14ch; }
.team-copy p { margin-top: 22px; font-size: clamp(17px, .3vw + 15.5px, 19px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.team-facts { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.team-facts li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); }
.team-facts li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--brick); }
.team-copy .more { margin-top: 28px; }
@media (min-width: 1080px) {
  .team-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
}

/* ---------- Request: a drawing sheet. The form is the drawing, and the title block along the bottom fills in
   as you answer ---------- */
.req { padding-block: var(--sec) calc(var(--sec) + var(--ftr-r)); background: var(--paper-2); }
.sheet {
  --side: minmax(300px, 380px);
  padding: clamp(6px, 1vw, 14px); background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 44px 80px -56px rgba(60, 35, 25, .5);
}
.sheet.is-pulse { animation: pulse 1s var(--ease); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(155, 86, 86, .45), 0 0 0 1px var(--line), 0 44px 80px -56px rgba(60, 35, 25, .5); }
  100% { box-shadow: 0 0 0 18px rgba(155, 86, 86, 0), 0 0 0 1px var(--line), 0 44px 80px -56px rgba(60, 35, 25, .5); }
}
.sheet-in { display: grid; border: 1px solid var(--ink); }
.sheet-draw { min-width: 0; }
.lead { --pad: clamp(22px, 3.6vw, 52px); position: relative; padding: var(--pad); }
.lead-count { font-size: 14px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
/* progress as a dimension line: extension lines and 45-degree ticks at every step, inked as you go */
.dim { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 15px; margin: 10px 0 30px; }
.dim i {
  position: relative; display: block; color: var(--line-2); transition: color .4s var(--ease);
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat;
}
.dim i:last-child {
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1px 100% no-repeat;
}
.dim i::before, .dim i:last-child::after {
  content: ""; position: absolute; left: -5px; top: 50%; width: 11px; height: 1.5px; margin-top: -.75px;
  background: currentColor; transform: rotate(-45deg);
}
.dim i:last-child::after { left: auto; right: -5px; }
.dim i.is-on { color: var(--brick); }
.step-h { font-weight: 500; font-size: clamp(22px, .8vw + 16px, 27px); line-height: 1.2; letter-spacing: -.012em; color: var(--ink); margin-bottom: 20px; outline: none; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip-wide { grid-column: 1 / -1; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; min-height: 58px; padding: 12px 18px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink);
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--rose-100); color: var(--brick-700); box-shadow: inset 0 0 0 2px var(--brick); }
.chip input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
.err { margin-top: 12px; font-size: 14px; color: var(--error); }
.fld-row { display: grid; gap: 16px; margin-bottom: 16px; }
.fld { display: grid; gap: 7px; margin-bottom: 16px; }
.fld-row .fld { margin-bottom: 0; }
.lbl { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.inp {
  width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 16px/1.4 var(--f); color: var(--ink);
  transition: box-shadow .2s;
}
textarea.inp { height: auto; min-height: 84px; padding: 13px 14px; resize: vertical; }
.inp::placeholder { color: #9a918c; }
.inp:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brick); }
.fld.bad .inp { box-shadow: inset 0 0 0 2px var(--error); }
.ferr { font-size: 13.5px; color: var(--error); }
@media (min-width: 560px) {
  .fld-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 419px) {
  .chips { grid-template-columns: 1fr; }
}
.lead-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.lead-foot .btn { margin-left: auto; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 15.5px; color: var(--muted); }
.btn-back .i { width: 18px; height: 18px; }
.btn-back:hover { color: var(--ink); }
/* sent: the office stamp goes on the sheet */
.lead-done { outline: none; }
.stamp { position: relative; display: grid; place-items: center; width: 108px; height: 108px; color: var(--brick); transform: rotate(-12deg); animation: stamp .7s var(--ease) both; }
.stamp-ring { position: absolute; inset: 0; background: currentColor; -webkit-mask: url(img/mw-rond.svg) center / contain no-repeat; mask: url(img/mw-rond.svg) center / contain no-repeat; }
.stamp .i { width: 34px; height: 34px; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.45); }
  55% { opacity: 1; transform: rotate(-12deg) scale(.95); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
.done-h { margin-top: 22px; font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--ink); outline: none; }
.done-p { margin-top: 10px; max-width: 52ch; color: var(--muted); }
.done-p a { color: var(--brick-700); font-weight: 500; white-space: nowrap; }
.done-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }

/* the title block: four fields that fill in, and the office */
.sheet-foot { display: grid; border-top: 1px solid var(--ink); }
.stempel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st { min-width: 0; padding: 11px 16px 13px; }
.st:nth-child(even) { border-left: 1px solid var(--line-2); }
.st:nth-child(n+3) { border-top: 1px solid var(--line-2); }
.st dt { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.st dd { margin-top: 3px; font-weight: 500; font-size: 15px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.st dd.is-empty { font-weight: 400; color: var(--line-2); }
.st dd.is-new { animation: ink .6s var(--ease); }
@keyframes ink { from { opacity: 0; transform: translateY(5px); } }
.side-firm { display: grid; align-content: center; gap: 8px; padding: 14px 16px 15px; border-top: 1px solid var(--line-2); }
.firm-mark { width: auto; height: 19px; color: var(--brick); }
.side-firm p { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* the strip down the side of the sheet: what happens next, and the direct lines */
.sheet-side { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.side-b { padding: clamp(24px, 2.6vw, 34px); }
.side-b + .side-b { border-top: 1px solid var(--line-2); }
.side-h { font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink); margin-bottom: 18px; }
.next { position: relative; display: grid; gap: 20px; }
.next::before { content: ""; position: absolute; left: 18.5px; top: 20px; bottom: 20px; width: 1px; background: var(--axis-v); }
.next li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; align-items: start; }
.next .ax-b { background: #fff; }
.next b { display: block; margin-top: 7px; font-weight: 500; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.next span:not(.ax-b) { display: block; margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.side-direct { display: grid; justify-items: start; align-content: start; gap: 4px; }
.side-direct .side-h { margin-bottom: 8px; }
.side-direct a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-weight: 500; font-size: 16.5px; color: var(--ink); transition: color .2s; }
.side-direct .i { width: 19px; height: 19px; color: var(--brick); }
.side-direct a:hover { color: var(--brick-700); }
@media (min-width: 700px) {
  .stempel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st:nth-child(n) { border-left: 1px solid var(--line-2); border-top: 0; }
  .st:first-child { border-left: 0; padding-left: clamp(22px, 3.6vw, 52px); }
  .side-firm { padding-left: clamp(22px, 3.6vw, 52px); }
  .sheet-side { flex-direction: row; }
  .sheet-side .side-b { flex: 1 1 0; }
  .side-b + .side-b { border-top: 0; border-left: 1px solid var(--line-2); }
}
@media (min-width: 1080px) {
  .sheet-in { grid-template-columns: minmax(0, 1fr) var(--side); }
  .sheet-draw { grid-column: 1; grid-row: 1; }
  .sheet-side { grid-column: 2; grid-row: 1; flex-direction: column; border-top: 0; border-left: 1px solid var(--ink); }
  .sheet-side .side-b { flex: none; }
  .side-b + .side-b { border-left: 0; border-top: 1px solid var(--line-2); }
  .sheet-foot { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) var(--side); }
  .side-firm { padding-left: 16px; border-top: 0; border-left: 1px solid var(--ink); }
}

/* ---------- Footer: a brick volume with the round corner of the Miller tower, and the office's cultural world
   drawn to scale ---------- */
.ftr {
  position: relative; margin-top: calc(-1 * var(--ftr-r)); border-top-right-radius: var(--ftr-r);
  background: var(--brick-600); color: rgba(255, 255, 255, .8);
  padding: clamp(64px, 7vw, 104px) 0 28px; font-size: 15.5px;
}
.ftr :focus-visible { outline-color: #fff; }
.ftr a { transition: color .2s, box-shadow .2s; }
.ftr a:hover { color: #fff; }
.ftr .logo { display: inline-block; color: #fff; }
.ftr .logo-svg { height: 26px; width: auto; }
.ftr-top { display: grid; gap: 64px; }
.ftr-blocks, .ftr-nav { display: grid; gap: 36px 24px; }
.ftr-blocks { margin-top: 40px; }
.ftr-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.ftr-h { margin-bottom: 12px; font-weight: 500; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.ftr address { line-height: 1.55; color: #fff; }
.ftr-note { margin-top: 10px; max-width: 32ch; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); text-wrap: pretty; }
.ftr-route { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 500; color: #fff; }
.ftr-route .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.ftr-route:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr-route:hover .i { transform: translateX(4px); }
.ftr-contact { display: grid; justify-items: start; gap: 2px; }
.ftr-contact a { font-weight: 500; color: #fff; }
.ftr-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr-social { display: flex; gap: 8px; margin-top: 18px; }
.ftr-social a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.ftr-social a:hover { box-shadow: inset 0 0 0 1px #fff; }
.ftr-col ul { display: grid; gap: 6px; }
.ftr-col a { color: rgba(255, 255, 255, .9); }
@media (min-width: 560px) {
  .ftr-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .ftr-top { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .ftr-map { justify-self: end; width: 100%; max-width: 560px; }
}

/* the map: Maastricht in the middle, rings every 25 km, the Maas, and the five cities */
.ftr-map { margin: 0; }
.map { position: relative; max-width: 560px; aspect-ratio: 250 / 216; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-ring { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.map-ring-out { stroke: rgba(255, 255, 255, .5); stroke-dasharray: 2 4; }
.map-axis { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1; stroke-dasharray: 14 4 2 4; }
.map-maas { fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-dot, .map-here, .map-north path { fill: #fff; }
.map-here-ring { fill: none; stroke: #fff; stroke-width: 1.2; }
.map-l, .map-c, .map-r, .map-k, .map-n { position: absolute; line-height: 1; white-space: nowrap; }
/* labels carry a patch of brick so the rings and axes stop short of them, as on a printed map */
.map-l { padding: 3px 5px; background: var(--brick-600); font-weight: 500; font-size: 13.5px; color: #fff; }
.map-l-r { transform: translate(4px, -50%); }
.map-l-l { transform: translate(calc(-100% - 4px), -50%); }
.map-l-t { transform: translate(-50%, calc(-100% - 4px)); }
.map-l-b { transform: translate(-50%, 4px); }
.map-l-here { padding: 4px 7px; font-size: 16px; transform: translate(8px, -50%); }
.map-c { transform: translate(-50%, -50%); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .52); }
.map-r { transform: translate(-50%, -50%); font-style: italic; font-size: 12.5px; color: var(--rose); }
.map-k { padding: 2px 5px; background: var(--brick-600); transform: translate(-50%, -50%); font-size: 11px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.map-n { transform: translate(-50%, -50%); font-weight: 500; font-size: 11px; color: #fff; }
.ftr-map figcaption { margin-top: 18px; max-width: 46ch; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .76); text-wrap: pretty; }
@media (max-width: 559px) {
  .map-l { font-size: 12px; padding: 2px 4px; }
  .map-l-here { font-size: 14px; }
  .map-c { font-size: 9.5px; letter-spacing: .12em; }
}

.ftr-bot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(56px, 6vw, 88px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px; color: rgba(255, 255, 255, .72);
}
.ftr-bna { display: flex; align-items: center; gap: 12px; }
.ftr-bna img { width: auto; height: 22px; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ftr-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.credit a { color: #fff; }
@media (max-width: 559px) {
  .ftr-bna img { height: 17px; }
}

/* ---------- Sticky request bar on phones and tablets ---------- */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 243, 238, .96);
  box-shadow: 0 -1px 0 var(--line); backdrop-filter: blur(8px);
  transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
}
.mcta.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease); }
html.menu-open .mcta, html.dlg-open .mcta { transform: translateY(110%); visibility: hidden; }
.mcta-tel { display: grid; place-items: center; width: 52px; height: 52px; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--brick); }
.mcta-btn { flex: 1; justify-content: space-between; }
@media (min-width: 700px) {
  .mcta { left: auto; right: var(--gut); bottom: 20px; padding: 8px; box-shadow: 0 20px 40px -20px rgba(29, 25, 24, .4), 0 0 0 1px var(--line); }
  .mcta-btn { flex: none; }
}
@media (min-width: 1180px) { .mcta { display: none; } }

/* ---------- Dialog ---------- */
.dlg { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; overflow: hidden; }
.dlg::backdrop { background: rgba(29, 25, 24, .55); backdrop-filter: blur(3px); }
.dlg[open] { display: flex; align-items: flex-end; justify-content: center; }
.dlg-sheet {
  position: relative; width: 100%; max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; transform: translateY(32px); opacity: 0; transition: transform .3s var(--ease), opacity .24s;
}
.dlg.is-in .dlg-sheet { transform: none; opacity: 1; }
.dlg-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 0 clamp(24px, 3vw, 40px); background: #fff; }
.dlg-h { font-weight: 500; font-size: 15px; color: var(--muted); }
.dlg-x { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); transition: background-color .2s; }
.dlg-x:hover { background: var(--paper); }
.dlg-x .i { width: 22px; height: 22px; }
.dlg .lead { --pad: clamp(24px, 3vw, 40px); padding-top: 6px; }
@media (min-width: 700px) {
  .dlg[open] { align-items: center; }
  .dlg-sheet { width: min(680px, calc(100% - 48px)); max-height: calc(100% - 64px); }
}

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
