/* ==========================================================================
   Herbert Heitmann – portfolio
   Plain CSS, no build step needed to edit. Layout numbers come from the
   original Wix site (980px content column, 80px page gutters).
   ========================================================================== */

/* ---- Fonts (self-hosted, so visitors never contact Google) -------------- */
@font-face {
  font-family: "Libre Baskerville";
  src: url("../../fonts/libre-baskerville-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: "Libre Baskerville";
  src: url("../../fonts/libre-baskerville-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("../../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 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: "Figtree";
  src: url("../../fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --light: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pink: #feccd8;
  --grey: #999997;
  --card-bg: #f0f0f0;
  --placeholder: #c7c7c7;
  --column: 980px;
  --gutter: 80px;
  --header-h: 121px;
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: #000; color: #fff; padding: 10px 16px; font-size: 16px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.serif { font-family: var(--serif); }
.column { width: min(var(--column), 100%); margin-inline: auto; position: relative; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  padding: 29px var(--gutter) 0;
  background: #fff;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 15px; height: 54px; }
.brand__mark {
  width: 50px; height: 54px; background: #000; color: #fff;
  font: 400 30px/54px var(--serif); text-align: center;
}
.brand__name { font-size: 18px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 32px; height: 54px; }
.site-nav a { font-size: 18px; line-height: 50px; transition: color .25s ease; }
.site-nav a:hover { color: var(--grey); }
.site-nav a[aria-current="page"] { color: var(--grey); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { height: 211px; padding: 69px var(--gutter) 0; }
.site-footer__link { display: inline-block; font: 400 30px/37px var(--serif); text-decoration: underline; transition: opacity .25s ease; }
.site-footer__link:hover { opacity: .6; }
.site-footer__copy { margin-top: 34px; font-size: 18px; line-height: 20px; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; overflow: clip; height: 737px; }
.hero__inner { position: relative; width: min(var(--column), 100%); height: 100%; margin-inline: auto; }
.hero__photo {
  position: absolute; top: 0; right: 0;
  width: 746px; height: 737px; object-fit: cover;
}
.hero__title {
  position: absolute; left: 0; top: 218px; z-index: 2;
  font: 400 80px/112px var(--serif);
}
.hero__intro {
  position: absolute; left: 55px; top: 494px; z-index: 2;
  width: 889px; max-width: calc(100% - 55px);
  font: 400 32px/44.8px var(--serif);
  opacity: 0; transform: translateX(60vw);
  transition: transform 1.1s cubic-bezier(.16,.84,.3,1), opacity .6s ease;
}
.hero__intro span { background: #fff; }
.hero__intro.is-in { opacity: 1; transform: none; }

.brands { background: #000; height: 220px; }
.brands__inner {
  width: min(var(--column), 100%); height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.brand-item { position: relative; text-align: center; }
.brand-item img {
  position: absolute; left: 50%; top: var(--cy);
  transform: translate(calc(-50% + var(--ix, 0px)), -50%); object-fit: cover;
}
.brand-item span {
  position: absolute; left: 0; right: 0; top: 161px; z-index: 1;
  color: var(--pink); font-size: 18px; line-height: 25.2px; transform: translateX(var(--tx, 0px));
}

.work-grid {
  width: min(1217px, calc(100% - 48px)); margin: 93px auto 61px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px; row-gap: 72px;
}
.card {
  display: block; position: relative; overflow: hidden;
  border-radius: 24px; box-shadow: 7px 7px 14px rgba(0,0,0,.1);
  background: #fff; isolation: isolate;
}
.card__img { position: relative; aspect-ratio: 569 / 426; overflow: hidden; background: var(--placeholder); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover .card__img::after, .card:focus-visible .card__img::after { opacity: 1; }
.card__info { height: 157px; padding: 18px 16px 0; background: var(--card-bg); text-align: center; }
.card__title { font: 400 30px/42px var(--serif); margin-bottom: 3px; }
.card__desc { font: 300 15px/18px var(--light); }
.card__info--two { /* two-line titles (e.g. Deutsche Bank) keep the same box */ }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 890px; margin-top: 6px; }
.about-hero__photo { position: relative; overflow: hidden; }
.about-hero__photo img {
  position: absolute; top: 7px; left: 50%; width: 1005px; max-width: none; height: 890px;
  object-fit: cover; transform: translateX(-50%);
}
.about-hero__text { padding: 198px 111px 40px; }
.about-hero__lead {
  max-width: 460px; font: 400 32px/44.8px var(--serif);
}
.about-hero__lead span { background: #fff; }
.about-hero__body { margin-top: 31px; max-width: 490px; }

.readmore { font-size: 18px; line-height: 27px; }
.readmore--sm { font-size: 16px; line-height: 24px; }
.readmore__text {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines, 5); overflow: hidden;
}
.readmore.is-open .readmore__text { -webkit-line-clamp: unset; display: block; }
.readmore__btn { display: block; margin-top: 10px; font: 700 16px/24px var(--sans); }
.readmore__btn:hover { opacity: .6; }

.about-dark { background: #000; color: #fff; padding: 46px 0 13px; }
.about-dark__grid {
  width: min(var(--column), 100%); margin-inline: auto;
  display: grid; grid-template-columns: 441px 1fr; padding-left: 20px;
}
.label { font: 400 14px/19.6px var(--serif); }
.skills { margin-top: 10px; padding-left: 12px; }
.skill { display: flex; align-items: center; height: 36px; font-size: 18px; }
.skill__name { width: 145px; flex: none; }
.skill__bar { height: 7px; width: calc(164px * var(--lvl, 1)); background: var(--pink); }
.edu { margin-top: 8px; padding-left: 22px; }
.edu__item { margin-bottom: 30px; }
.edu__degree { font: 400 24px/33.6px var(--serif); }
.edu__school { font-size: 16px; line-height: 22.4px; margin-top: 3px; }

.exp { width: min(var(--column), 100%); margin: 0 auto; padding: 84px 0 0;
  display: grid; grid-template-columns: 176px 265px 38px minmax(0, 449px); }
.exp__label { grid-column: 1; grid-row: 1; padding-left: 20px; width: 100px; font: 400 14px/19.6px var(--serif); }
.exp__logo { grid-column: 2; display: flex; justify-content: center; align-items: flex-start; margin-top: var(--ly, 0px); }
.exp__logo img { object-fit: cover; }
.exp__text { grid-column: 4; height: var(--nx, auto); }
.exp__co { font-size: 18px; line-height: 25.2px; }
.exp__role { font-size: 30px; line-height: 42px; margin-top: 1px; }
.exp__list { margin: 23px 0 0 9px; padding-left: 23px; width: 310px; max-width: 100%; font-weight: 700; font-size: 18px; line-height: 22.5px; box-sizing: content-box; }
.exp__list li + li { margin-top: 4px; }
.exp__body { margin-top: var(--pg, 38px); }

.stats { width: min(var(--column), 100%); margin: 0 auto; padding: 0 0 47px; position: relative; }
.stats__label { position: absolute; left: 21px; top: 2px; }
.stats__title { padding-left: 122px; font: 400 30px/42px var(--serif); padding-top: 1px; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px 0 0 122px; }
.stat__num { font: 400 80px/112px var(--serif); margin-top: -7px; }
.stat__txt { font-size: 18px; line-height: 25.2px; max-width: 100px; margin-top: -6px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.notfound { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0 240px; }
.notfound h1 { font: 400 56px/70px var(--serif); margin-bottom: 16px; }
.notfound p { font-size: 18px; line-height: 28px; margin-bottom: 8px; }
.notfound a { text-decoration: underline; }
.contact { width: min(1087px, 100%); margin: 0 auto; padding: 48px 0 24px; }
.contact h1 { font: 400 40px/50px var(--serif); width: 262px; max-width: 100%; } /* narrow box: the heading breaks onto two lines, as on the original */
.contact-form { width: 500px; max-width: 100%; margin-top: 16px; padding: 24px; }
.contact-form label { display: block; font-size: 14px; line-height: 20px; margin-bottom: 9px; }
.contact-form input {
  display: block; width: calc(100% - 14px); margin-left: 1px; height: 40px; padding: 0 12px;
  font: 400 16px var(--sans); color: #000; background: #fff;
  border: 1px solid rgba(0,0,0,.6); border-radius: 0; margin-bottom: 25px;
}
.contact-form input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 1px #000; }
.contact-form button[type="submit"] {
  display: block; width: 100%; height: 41px; margin-top: -1px; background: #000; color: #fff;
  font: 400 16px var(--sans); transition: opacity .25s ease;
}
.contact-form button[type="submit"]:hover { opacity: .8; }
.contact-form__msg { margin-top: 12px; font-size: 16px; line-height: 22px; }
.contact-form__msg.is-error { color: #b00020; }

/* ==========================================================================
   FULLSTACK OVERVIEW (heading and three rows of project cards)
   ========================================================================== */
.fs-head { width: min(1217px, calc(100% - 48px)); margin: 0 auto; padding: 31px 0 0 49px; }
.fs-head h1 { font: 400 40px/50px var(--serif); }
.fs-head p { margin-top: 20px; width: 580px; max-width: 100%; font: 400 18px/30.6px var(--sans); letter-spacing: -0.01em; }
.fs-head__wide { width: 700px !important; }
.fs-head--gd { padding-bottom: 77px; }
.fs-grid { padding: 72px 24px 19px; }
.fs-row { display: flex; justify-content: center; gap: 80px; margin: 0 auto; }
.fs-row + .fs-row { margin-top: 77px; }
.fs-row + .fs-row + .fs-row { margin-top: 117px; }
.fs-row .card { flex: 0 1 569px; min-width: 0; }
.fs-row .card--wide { flex-basis: 606px; }
.fs-row .card--wide .card__img { aspect-ratio: 606 / 454; }
.fs-row .card__info { height: 157px; }

/* ==========================================================================
   GRAPHIC DESIGN (galleries with captions, and the large-view overlay)
   ========================================================================== */
.gd { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding-top: var(--pt); }
.gd__title { font: 400 30px/42px var(--serif); margin: 0 0 var(--gap); }
.gd-win { position: relative; overflow: hidden; height: 499px; }
.gd-win .slider__track { height: auto; }
.gd-win .slide { flex: 0 0 743px; width: 743px; display: block; text-align: left; }
.gitem__img { display: block; width: 743px; height: 418px; padding: 0; cursor: pointer; overflow: hidden; background: var(--placeholder); }
.gitem__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gitem figcaption { padding: 15px 0; }
.gitem__t, .gitem__d { display: block; font-family: var(--light); }
.gitem__t { font-weight: 700; font-size: 18px; line-height: 22px; margin-bottom: 5.5px; }
.gitem__d { font-weight: 300; font-size: 15px; line-height: 18px; }
.gd-win .slider__btn { top: 189.5px; margin-top: 0; opacity: .9; }
.gd-win .slider__btn svg { fill: var(--pink); }
.gd-win .slider__btn--prev { left: 23px; }
.gd-win .slider__btn--next { right: 23px; }
.gd-win .slider__btn:hover { opacity: 1; }

/* large view */
.lb { position: fixed; inset: 0; z-index: 100005; background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lb__btn { position: absolute; top: 30px; width: 38px; height: 44px; display: flex; align-items: center; justify-content: center; color: #000; }
.lb__btn svg { display: block; }
.lb__expand { left: 5px; top: 26px; }
.lb__close { right: 5px; }
.lb__btn:hover { opacity: .6; }
.lb__stage { position: absolute; left: 6.3vw; top: 50%; width: 58vw; height: 65vh; transform: translateY(-50%); }
.lb__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lb__arrow { position: absolute; top: calc(50% - 25px); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; opacity: .9; }
.lb__arrow:hover { opacity: 1; }
.lb__arrow[hidden], .slider__btn[hidden] { display: none; }
.lb__arrow--next { right: -70px; }
.lb__arrow--prev { left: -70px; }
.lb__arrow--prev svg { transform: scaleX(-1); }
.lb__side { position: absolute; left: 70vw; top: 0; width: 30vw; padding: 10vw 10vw 0 4px; box-sizing: border-box; }
.lb__title { font: 400 30px/42px var(--serif); margin: 0; }
.lb__desc { font: 400 18px/25.2px var(--sans); letter-spacing: -0.01em; margin: 18px 0 0; }
body.lb-open { overflow: hidden; }

/* ==========================================================================
   CASE STUDIES (positions measured from the original pages)
   ========================================================================== */
.cs-back { position: relative; height: 40px; padding: 1.5px 0 0 115px; font: 400 18px/25.2px var(--sans); }
.cs-back__icon { position: absolute; left: 80px; top: -1px; }
.cs-back a { display: inline-block; transition: opacity .25s ease; }
.cs-back a:hover { opacity: .55; }
.cs-wrap { overflow-x: clip; }
.cs { position: relative; height: var(--sh); isolation: isolate; }
.it { position: absolute; left: calc(50% + var(--x)); top: var(--y); width: var(--w); z-index: var(--z); }
.it--i, .it--v { height: var(--h); }
.it--i img, .it--v video { width: 100%; height: 100%; object-fit: cover; }
.it--crop { overflow: hidden; }
.it--shadow { border-radius: 5px; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.it--shadow img { border-radius: 5px; }
.it__badge { position: absolute; z-index: 2; aspect-ratio: 1; border: 6px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 7px 7px rgba(0, 0, 0, .08); overflow: hidden; box-sizing: border-box; }
.it--i img.it__badge, .it__badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.it--crop img { position: absolute; max-width: none; height: auto; object-fit: fill; }
.it--slider { height: var(--h); overflow: hidden; }
.slider__track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.slide { flex: 0 0 100%; margin: 0; display: flex; align-items: center; justify-content: center; }
.slide img { width: auto; max-width: 100%; height: auto; }
.slider__btn { position: absolute; top: 50%; width: 23px; height: 39px; margin-top: -19.5px; padding: 0; opacity: .9; transition: opacity .2s ease; }
.slider__btn:hover { opacity: 1; }
.slider__btn svg { display: block; overflow: visible; }
.slider__btn--prev { left: 20px; }
.slider__btn--prev svg { transform: scaleX(-1); }
.slider__btn--next { right: 20px; }
.it--hr { height: 0; border-top: 1px solid #000; z-index: 0; }
.it--a { height: var(--h); display: inline-flex; align-items: center; justify-content: center; border: 1px solid #000; transition: opacity .25s ease; }
.it--a:hover { opacity: .6; }
.it--svg { height: var(--h); display: block; transition: opacity .25s ease; }
.it--svg:hover { opacity: .7; }
.it--svg svg { display: block; width: 100%; height: 100%; }
/* strip galleries: pictures keep their own size and sit side by side inside a narrower window */
.it--strip .slide { flex: 0 0 auto; justify-content: flex-start; }
.it--strip .slide img { max-width: none; }
.it--strip .slider__btn--prev { left: 23px; }
.it--strip .slider__btn--next { right: 23px; }
.it > * { margin: 0; }
.s14 { font: 400 14px/19.6px var(--serif); }
.s24 { font: 400 24px/33.6px var(--serif); }
.s30 { font: 400 30px/42px var(--serif); }
.s28 { font: 400 28px/39.2px var(--serif); }
.s50 { font: 400 50px/70px var(--serif); }
.s40 { font: 400 40px/56px var(--serif); }
.s40n { font: 400 40px/50px var(--serif); }
.p14 { font: 400 14px/19.6px var(--sans); }
.p32 { font: 400 32px/32px var(--sans); }
.p30 { font: 400 30px/42px var(--sans); }
.p15 { font: 400 15px/21px var(--sans); }
.s120 { font: 400 120px/168px var(--serif); }
.p18 { font: 400 18px/25.2px var(--sans); }
.p18l { font: 400 18px/30.6px var(--sans); }
.p18b { font: 700 18px/25.2px var(--sans); }
.h15 { font: 300 15px/18px var(--light); }
ul.p18, ol.p18 { padding-left: 32px; }
.it a { text-decoration: underline; }
/* Figtree is a touch wider than the original Proxima Nova; this keeps line breaks the same */
.it .p18, .it .p18b, .it .p18l, .it .p14, .it .p32, .it .p30, .it .p15 { letter-spacing: -0.01em; }
.it--sans { width: calc(var(--w) * 1.03); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .work-grid { column-gap: 40px; }
  .fs-row { gap: 40px; }
  .lb__stage { left: 4vw; width: 62vw; }
  .lb__arrow--next { right: -62px; }
  .lb__arrow--prev { left: -62px; }
  .card__title { font-size: 26px; line-height: 38px; }
}

@media (max-width: 999px) {
  /* Home hero stacks */
  .hero { height: auto; padding: 8px 24px 0; }
  .hero__inner { display: flex; flex-direction: column; height: auto; }
  .hero__title { position: static; font-size: 56px; line-height: 72px; order: 1; margin: 16px 0 8px; }
  .hero__photo { position: static; order: 2; width: min(100%, 560px); height: auto; aspect-ratio: 746 / 737; margin-left: auto; margin-right: 0; }
  .hero__intro { position: static; order: 3; width: auto; max-width: none; font-size: 24px; line-height: 34px; margin: -80px 0 40px; transform: translateY(30px); }
  .hero__intro.is-in { transform: none; }

  .brands { height: auto; padding: 24px 0 8px; }
  .brands__inner { grid-template-columns: repeat(3, 1fr); height: auto; }
  .brand-item { height: 190px; --ix: 0px !important; --tx: 0px !important; }

  /* About */
  .about-hero { grid-template-columns: 1fr; min-height: 0; }
  .about-hero__photo { height: 640px; }
  .about-hero__photo img { height: 100%; }
  .about-hero__text { padding: 48px 24px 56px; }
  .about-dark__grid { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
  .exp { grid-template-columns: 1fr; padding: 56px 24px 0; }
  .exp__label { grid-column: 1; width: auto; padding: 0; margin-bottom: 24px; }
  .exp__logo { grid-column: 1; justify-content: flex-start; margin-top: 8px; margin-bottom: 20px; }
  .exp__text { grid-column: 1; height: auto; padding-bottom: 56px; }
  .exp__body { margin-top: 24px; }
  .stats { padding: 0 24px 56px; }
  .stats__label { position: static; }
  .stats__title { padding-left: 0; margin-top: 12px; }
  .stats__row { grid-template-columns: 1fr; padding-left: 0; row-gap: 12px; }
  .contact { padding: 24px 24px 120px; }

  /* Case studies: stack in reading order */
  .cs-back { padding-left: 24px; }
  .cs-back__icon { display: none; }
  .cs { height: auto; display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; }
  .it { position: static; width: auto; max-width: 100%; order: var(--o); }
  .it--i { height: auto; aspect-ratio: var(--ar); }
  .it--v { height: auto; }
  .it--i img, .it--v video { height: 100%; }
  .it--crop img { height: auto; }
  .it--hr { display: none; }
  .it--slider { height: auto; }
  .slider__track { height: auto; }
  .slider__btn--prev { left: 6px; }
  .slider__btn--next { right: 6px; }
  .it--svg { width: 95px; }
  .it--i { position: relative; left: auto; top: auto; } /* a positioning context for the round badge */
  .it__badge { left: 4% !important; top: 66% !important; width: 24% !important; }
  .it br { display: none; }
  .it--strip .slider__track { gap: 0 !important; }
  .it--strip .slide { flex: 0 0 100%; justify-content: center; }
  .it--strip .slide img { max-width: 100%; }
  .s28 { font-size: 22px; line-height: 32px; }
  .s50 { font-size: 40px; line-height: 56px; }
  .p30 { font-size: 24px; line-height: 34px; }
  .s40 { font-size: 32px; line-height: 44px; }
  .s30 { font-size: 24px; line-height: 34px; }
  .s120 { font-size: 80px; line-height: 100px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; --header-h: 84px; }
  .site-header { padding-top: 16px; }
  .brand__mark { width: 40px; height: 44px; font-size: 24px; line-height: 44px; }
  .brand { height: 44px; gap: 10px; }
  .brand__name { font-size: 16px; }
  .site-nav { height: 44px; gap: 18px; }
  .site-nav a { font-size: 16px; }
  .hero__title { font-size: 44px; line-height: 56px; }
  .hero__intro { font-size: 20px; line-height: 30px; margin-top: -50px; }
  .brands__inner { grid-template-columns: repeat(2, 1fr); }
  .brand-item:last-child { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: 1fr; row-gap: 36px; margin-top: 48px; }
  .fs-head { padding: 16px 0 0; }
  .fs-head h1 { font-size: 32px; line-height: 44px; }
  .fs-head p { font-size: 17px; line-height: 28px; }
  .fs-head__wide { width: 100% !important; }
  .gd { width: calc(100% - 32px); padding-top: 36px; }
  .gd__title { font-size: 26px; line-height: 36px; margin-bottom: 24px; }
  .gd-win { height: auto; }
  .gd-win .slide { flex: 0 0 100%; width: 100%; }
  .gitem__img { width: 100%; height: auto; aspect-ratio: 743 / 418; }
  .gd-win .slider__btn { top: calc((100vw - 32px) * 0.2813); }
  .lb__stage { left: 16px; top: 84px; width: calc(100vw - 32px); height: 50vh; transform: none; }
  .lb__arrow { top: auto; bottom: -62px; width: 44px; height: 44px; }
  .lb__arrow--next { right: 0; }
  .lb__arrow--prev { left: 0; }
  .lb__side { left: 0; top: calc(84px + 50vh + 70px); width: 100%; padding: 0 16px; }
  .lb__title { font-size: 22px; line-height: 32px; }
  .lb__desc { font-size: 16px; line-height: 24px; margin-top: 8px; }
  .fs-grid { padding-top: 40px; }
  .fs-row { flex-direction: column; gap: 36px; }
  .fs-row + .fs-row, .fs-row + .fs-row + .fs-row { margin-top: 36px; }
  .fs-row .card, .fs-row .card--wide { flex-basis: auto; }
  .card__title { font-size: 24px; line-height: 34px; }
  .about-hero__photo { height: 440px; }
  .about-hero__lead { font-size: 24px; line-height: 34px; }
  .stat__num { font-size: 60px; line-height: 80px; }
  .site-footer { height: auto; padding: 48px var(--gutter) 40px; }
  .contact h1 { font-size: 32px; width: auto; }
  .contact-form input { width: 100%; margin-left: 0; }
  .contact-form { padding: 16px 0; }
}

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