/* Amara Osei, demo portfolio. Colour Block. */

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --emerald: #007a4d;
  --emerald-deep: #00603c;
  --pink: #f8d3dc;
  --yellow: #ffc93c;
  --ink: #121412;
  --ink-soft: #3d423e;
  --error: #b3261e;

  --head: "League Spartan", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --top-h: 72px;
  --gut: clamp(16px, 4.4vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.72, 0, .18, 1);
  --sec: clamp(80px, 11vw, 168px);
  --edge: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 8px); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Focus */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.block--emerald :focus-visible, .foot :focus-visible, .ribbon :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* Type */
.h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.035em;
}
.section-head {
  display: grid; gap: 24px 64px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__text { max-width: 34rem; font-size: 1.125rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr minmax(0, 30rem); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 14px 26px;
  font-family: var(--head); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.01em; line-height: 1;
  padding-top: 17px; text-decoration: none; border: 2px solid transparent; border-radius: 2px;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
}
.btn .ico { margin-top: -3px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn--sm { min-height: 44px; padding: 12px 18px 10px; font-size: 1.0625rem; }
.btn--full { width: 100%; }
.btn--emerald { background: var(--emerald); color: var(--white); --fill: var(--emerald-deep); }
.btn--ink { background: var(--ink); color: var(--white); --fill: var(--emerald); }
.btn--white { background: var(--white); color: var(--ink); --fill: var(--yellow); }
.btn--line-white { border-color: var(--white); color: var(--white); --fill: var(--emerald-deep); }

/* Colour blocks and the wipe */
.block { position: relative; isolation: isolate; background: var(--bg); overflow-x: clip; }
.block--emerald { --bg: var(--emerald); color: var(--white); }
.block--pink { --bg: var(--pink); color: var(--ink); }
.block--yellow { --bg: var(--yellow); color: var(--ink); }

html.wipes .block:not(.is-done) { background: transparent; }
html.wipes .block::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s var(--ease);
}
html.wipes .block[data-wipe="right"]::before { transform-origin: right center; }
html.wipes .block[data-wipe="up"]::before { transform: scaleY(0); transform-origin: center bottom; }
html.wipes .block.is-in::before { transform: none; }
html.wipes .block > .block__in {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .7s ease .45s, transform .9s var(--ease) .4s;
}
html.wipes .block[data-wipe="right"] > .block__in { transform: translateX(28px); }
html.wipes .block[data-wipe="up"] > .block__in { transform: translateY(20px); }
html.wipes .block.is-in > .block__in { opacity: 1; transform: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--white); border-bottom: 2px solid var(--ink);
}
.top__in {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gut);
  height: var(--top-h); display: flex; align-items: center; gap: 12px;
}
.top__name {
  font-family: var(--head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em;
  text-decoration: none; margin-right: auto; padding-top: 4px; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.motion-btn, .menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 2px;
  font-weight: 600; font-size: .9375rem; cursor: pointer; white-space: nowrap;
}
.motion-btn:hover, .menu-btn:hover { background: var(--pink); }
.motion-btn__icon { width: 12px; height: 14px; position: relative; flex: none; }
.motion-btn__icon::before, .motion-btn__icon::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: var(--ink);
}
.motion-btn__icon::before { left: 0; }
.motion-btn__icon::after { right: 0; }
html.is-paused .motion-btn__icon::after { display: none; }
html.is-paused .motion-btn__icon::before {
  width: 0; height: 0; background: none; left: 1px;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--ink);
}
.menu-btn { display: none; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  background-image: linear-gradient(var(--emerald), var(--emerald));
  background-size: 0 3px; background-repeat: no-repeat; background-position: 12px calc(100% - 8px);
  transition: background-size .35s var(--ease);
}
.nav a:not(.btn):hover { background-size: calc(100% - 24px) 3px; }
.nav__cta { margin-left: 8px; }

@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 2px solid var(--ink);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; }
  .nav a:not(.btn) { font-family: var(--head); font-size: 1.75rem; padding: 12px 0 8px; border-bottom: 1px solid #d5d8d5; display: flex; background: none; }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 56px; }
}
@media (max-width: 479px) {
  :root { --top-h: 64px; }
  .top__name { font-size: 1.3rem; }
  .motion-btn__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .motion-btn, .menu-btn { padding: 8px 12px; gap: 8px; }
  .top__in { gap: 8px; }
}

/* Hero */
.hero { display: grid; }
.hero__text > .block__in {
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(48px, 7vw, 96px) var(--gut) clamp(40px, 5vw, 72px) var(--edge);
}
.hero__kicker { font-weight: 600; font-size: 1rem; margin-bottom: clamp(20px, 3vw, 40px); }
.hero__name {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(4.25rem, 22vw, 8rem);
  line-height: .84; letter-spacing: -.045em;
  margin-left: -.04em;
}
.hero__lede {
  font-family: var(--head); font-weight: 500; font-size: clamp(1.375rem, 2.2vw, 2rem);
  line-height: 1.15; letter-spacing: -.015em; max-width: 26ch; margin-top: clamp(24px, 3vw, 40px);
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 24px; font-size: 1rem; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; background: var(--yellow); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.5vw, 48px); }

.hero__stage {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: end;
  padding: clamp(24px, 4vw, 56px) var(--edge) clamp(24px, 4vw, 56px) var(--gut);
}
.hero__main { aspect-ratio: 9 / 16; width: 100%; }
.hero__main video { width: 100%; height: calc(100% - 52px); object-fit: cover; }
.hero__cap, .hero__side-cap {
  background: var(--white); color: var(--ink); font-size: .9375rem; line-height: 1.3;
  padding: 10px 14px; height: 52px; display: flex; flex-direction: column; justify-content: center;
}
.hero__cap span, .hero__side-cap span { font-weight: 700; font-size: .8125rem; }
.hero__side { padding: 12px; }
.hero__second { aspect-ratio: 1; }
.hero__second video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__side-cap { background: transparent; height: auto; padding: 12px 2px 2px; }

@media (min-width: 900px) {
  .hero__text > .block__in { padding-bottom: clamp(96px, 9vw, 128px); }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: calc(100svh - var(--top-h)); max-height: 980px; }
  .hero__name { font-size: clamp(5.5rem, 10.4vw, 10.5rem); }
  .hero__stage { height: 100%; align-content: center; grid-template-columns: auto minmax(0, 1fr); --hh: min(calc(100svh - var(--top-h) - 112px), 820px); }
  .hero__main { aspect-ratio: auto; height: var(--hh); width: calc((var(--hh) - 52px) * .5625); }
  .hero__main video { height: calc(100% - 52px); }
  .hero__side { align-self: end; margin-bottom: 0; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__stage { grid-template-columns: auto; justify-content: center; }
  .hero__side { display: none; }
}
@media (max-width: 899px) {
  .hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .hero__main video { aspect-ratio: 4 / 5; height: auto; }
  .hero__main { aspect-ratio: auto; }
}
@media (max-width: 479px) {
  .hero__stage { grid-template-columns: 1fr; }
  .hero__side { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
  .hero__side-cap { padding: 0; }
}

/* Brands strip */
.brands { border-bottom: 2px solid var(--ink); }
.brands__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; padding-block: 28px 26px; }
.brands__title { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.brands__list { display: flex; flex-wrap: wrap; gap: 8px clamp(24px, 4vw, 64px); flex: 1; justify-content: space-between; }
@media (max-width: 599px) {
  .brands__in { display: block; }
  .brands__title { margin-bottom: 12px; }
  .brands__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
}
.brands__list li { font-family: var(--head); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.03em; line-height: 1.1; }

/* Media fallback: flat colour when a file is missing */
.media { position: relative; overflow: hidden; background: var(--fb, var(--emerald)); }
.media[data-fallback="pink"] { --fb: var(--pink); }
.media[data-fallback="yellow"] { --fb: var(--yellow); }
.media.is-missing img, .media.is-missing video { visibility: hidden; }

/* Work */
.work { padding-block: var(--sec) calc(var(--sec) * .8); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip {
  min-height: 44px; padding: 10px 18px 8px; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--white); font-weight: 600; font-size: 1rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { background: var(--pink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
.tile { position: relative; grid-column: span 4; }
.tile[hidden] { display: none; }
.tile__media { aspect-ratio: var(--ar, 4 / 5); }
.tile__media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%); transition: transform .9s var(--ease); }
.tile:hover .tile__media video { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.tile__play {
  position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px;
  background: var(--emerald); color: var(--white); padding: 14px 18px 12px;
  font-family: var(--head); font-weight: 600; font-size: 1.125rem;
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease);
}
.tile__play .ico { margin-top: -3px; }
.tile:hover .tile__play, .tile:focus-within .tile__play { clip-path: inset(0); }
.tile__brand { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: .9375rem; font-weight: 700; }
.tile__brand span { font-weight: 400; color: var(--ink-soft); }
.tile__title { margin-top: 4px; }
.tile__btn {
  all: unset; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: clamp(1.375rem, 1.9vw, 1.75rem);
  line-height: 1.08; letter-spacing: -.02em;
}
.tile__btn::after { content: ""; position: absolute; inset: 0; }
.tile__btn:focus-visible { outline: none; }
.tile:has(.tile__btn:focus-visible) { outline: 3px solid var(--ink); outline-offset: 8px; }
.tile:hover .tile__btn { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.tile--a { --ar: 4 / 5; --pos: 50% 35%; }
.tile--b { --ar: 9 / 16; }
.tile--c { --ar: 3 / 4; --pos: 50% 70%; --zoom: 1.3; }
.tile--d { --ar: 9 / 16; --pos: 30% 50%; --zoom: 1.15; }
.tile--e { --ar: 4 / 5; --pos: 50% 55%; --zoom: 1.3; }
.tile--f { --ar: 1 / 1; --pos: 50% 40%; --zoom: 1.2; }

@media (min-width: 1000px) {
  .tile--a { grid-column: span 5; }
  .tile--b { grid-column: span 4; margin-top: 120px; }
  .tile--c { grid-column: span 3; margin-top: 40px; }
  .tile--d { grid-column: span 3; }
  .tile--e { grid-column: span 4; margin-top: 160px; }
  .tile--f { grid-column: span 5; margin-top: 64px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .tile { grid-column: span 6; }
  .tile--b, .tile--d { margin-top: 72px; }
  .tile--f { margin-top: 0; }
}
@media (max-width: 599px) {
  .grid { gap: 48px 0; }
  .tile { grid-column: 1 / -1; }
  .tile--b, .tile--d, .tile--f { width: 84%; margin-left: auto; }
  .tile--b { --ar: 4 / 5; }
}
.grid.is-filtered .tile { grid-column: span 4; margin-top: 0; width: auto; margin-left: 0; --ar: 4 / 5; }
@media (max-width: 999px) { .grid.is-filtered .tile { grid-column: span 6; } }
@media (max-width: 599px) { .grid.is-filtered .tile { grid-column: 1 / -1; } }

/* Numbers */
.numbers > .block__in { padding-block: clamp(72px, 9vw, 136px); }
.numbers__title { max-width: 12ch; margin-bottom: clamp(40px, 6vw, 88px); }
.numbers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.numbers__list > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-top: 3px solid var(--ink); padding-top: 18px; }
.numbers__list dd {
  font-family: var(--head); font-weight: 600; font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: .85; letter-spacing: -.05em; padding-top: .08em;
}
.numbers__list dt { margin-top: 14px; font-weight: 600; max-width: 16ch; }
@media (max-width: 899px) { .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }

/* Photography */
.photos > .block__in { padding-block: var(--sec); }
.photos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; align-items: start; }
.photo--2 { margin-top: 120px; }
.photo--3 { margin-top: 40px; }
.photo--4 { margin-top: 180px; }
.photo__img { aspect-ratio: 4 / 5; }
.photo__img img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { margin-top: 14px; font-size: .9375rem; display: flex; flex-direction: column; }
.photo figcaption strong { font-weight: 700; }
@media (max-width: 899px) {
  .photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .photo--2 { margin-top: 64px; }
  .photo--3 { margin-top: -24px; }
  .photo--4 { margin-top: 40px; }
}

/* Services, split screen */
.services { padding-top: var(--sec); }
.split { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.split__media { display: none; }
.service { padding-block: 48px; border-top: 2px solid var(--ink); }
.service__fig { aspect-ratio: 4 / 5; margin-bottom: 28px; max-width: 520px; }
.service__fig img { width: 100%; height: 100%; object-fit: cover; }
.service__name {
  font-family: var(--head); font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: .95; letter-spacing: -.035em;
}
.service__for { font-size: 1.25rem; line-height: 1.45; margin-top: 18px; max-width: 32rem; }
.service__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 32px; }
.service__facts > div { border-top: 1px solid var(--ink); padding-top: 12px; }
.service__inc { grid-column: 1 / -1; }
.service__facts dt { font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
.service__inc ul { display: grid; gap: 4px 32px; }
.service__inc li { display: flex; gap: 12px; }
.service__inc li::before { content: ""; width: 10px; height: 10px; background: var(--emerald); flex: none; margin-top: .55em; }
@media (min-width: 600px) { .service__inc ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .service__facts { grid-template-columns: 1fr; } }

.addons { padding-block: 48px var(--sec); border-top: 2px solid var(--ink); }
.addons__title { font-family: var(--head); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1; }
.addons__list { margin: 24px 0 40px; }
.addons__list li { padding: 14px 0 12px; border-bottom: 1px solid var(--ink); display: grid; gap: 2px 24px; }
.addons__list strong { font-weight: 700; }
@media (min-width: 600px) { .addons__list li { grid-template-columns: 12rem 1fr; } }

@media (min-width: 900px) and (min-height: 560px) {
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .split__media { display: block; position: sticky; top: calc(var(--top-h) + 24px); height: calc(100svh - var(--top-h) - 48px); max-height: 900px; }
  .service__fig { display: none; }
  .service { min-height: 72svh; padding-block: 40px 64px; }
  .service:first-child { border-top: 0; padding-top: 0; }
  .split__text { padding-top: 4px; }
}

.panel { position: relative; height: 100%; overflow: hidden; display: grid; place-items: center; }
.panel__bg {
  position: absolute; inset: 0; z-index: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease);
}
.panel__bg--0 { background: var(--pink); }
.panel__bg--1 { background: var(--emerald); }
.panel__bg--2 { background: var(--yellow); }
.panel__bg.is-prev { clip-path: inset(0); z-index: 1; transition: none; }
.panel__bg.is-active { clip-path: inset(0); z-index: 2; }
.panel__item {
  position: absolute; z-index: 3; top: 104px; bottom: 6%; left: 50%;
  aspect-ratio: 9 / 16; transform: translate(-50%, 24px); opacity: 0; max-width: 84%;
  transition: opacity .5s ease, transform .8s var(--ease);
  background: transparent;
}
.panel__item[data-item="2"] { aspect-ratio: 4 / 5; }
.panel__item video, .panel__item img { width: 100%; height: 100%; object-fit: cover; }
.panel__item.is-active { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
.panel__tabs {
  position: absolute; z-index: 4; left: 24px; right: 24px; top: 24px;
  display: flex; gap: 8px;
}
.panel__tabs button {
  flex: 1; min-height: 48px; padding: 10px 8px 8px; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--white); font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.panel__tabs button:hover { background: var(--pink); }
.panel__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.panel :focus-visible { outline-color: var(--ink); }

/* About */
.about { display: grid; }
.about__media > .block__in { padding: clamp(32px, 5vw, 72px) var(--gut); height: 100%; display: flex; align-items: center; justify-content: center; }
.about__fig { width: 100%; max-width: 520px; }
.about__img { aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__fig figcaption { margin-top: 14px; font-size: .9375rem; font-weight: 600; }
.about__text { padding: clamp(56px, 8vw, 120px) var(--edge) clamp(56px, 8vw, 120px) var(--gut); }
.about__text > * { max-width: 40rem; }
.about__text .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.about__lead { font-family: var(--head); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 24px; }
.about__text p + p { margin-top: 16px; }
.about__list { margin-top: 36px; border-top: 2px solid var(--ink); }
.about__list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--ink); }
.about__list span { font-weight: 700; }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .about__text { align-self: center; }
}
@media (max-width: 379px) { .about__list li { grid-template-columns: 1fr; gap: 0; } }

/* Process */
.process > .block__in { padding-block: var(--sec); }
.process .h2 { margin-bottom: clamp(48px, 6vw, 88px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.step { position: relative; border-top: 3px solid var(--white); padding-top: 22px; padding-right: 40px; }
.step h3 { font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.step p { max-width: 24rem; }
.step__arrow { position: absolute; right: 0; top: 22px; width: 34px; height: 34px; color: var(--yellow); }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { padding-right: 56px; }
  .step__arrow { transform: rotate(90deg); }
}

/* Words */
.words { padding-block: var(--sec); }
.words .h2 { margin-bottom: clamp(40px, 6vw, 80px); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.quote { border-top: 14px solid var(--c); padding-top: 28px; }
.quote--emerald { --c: var(--emerald); }
.quote--pink { --c: var(--pink); margin-top: 72px; }
.quote--yellow { --c: var(--yellow); margin-top: 32px; }
.quote blockquote p { font-family: var(--head); font-weight: 500; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; }
.quote figcaption { margin-top: 24px; display: flex; flex-direction: column; font-size: .9375rem; }
@media (max-width: 899px) {
  .quotes { grid-template-columns: 1fr; gap: 48px; }
  .quote--pink, .quote--yellow { margin-top: 0; }
}

/* Contact */
.contact { display: grid; border-top: 2px solid var(--ink); }
.contact__side > .block__in { padding: clamp(56px, 8vw, 120px) var(--gut) clamp(56px, 8vw, 120px) var(--edge); height: 100%; }
.contact__lead { font-size: 1.25rem; max-width: 28rem; margin-top: 28px; }
.contact__mail { margin-top: 36px; }
.contact__mail a {
  font-family: var(--head); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: -.02em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere;
  display: inline-block; padding-block: 6px;
}
.contact__social { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
.contact__social a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-underline-offset: 4px; }
.contact__form { padding: clamp(48px, 7vw, 112px) var(--edge) clamp(48px, 7vw, 112px) var(--gut); }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact__side > .block__in { position: sticky; top: var(--top-h); height: auto; }
}

.form { display: grid; gap: 24px; }
.form__note { font-size: .9375rem; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .checks legend { font-weight: 700; }
.req { font-weight: 400; color: var(--ink-soft); }
.opt { font-weight: 400; color: var(--ink-soft); display: block; font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--white); color: var(--ink); font: inherit;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); border-width: 3px; }
.field__hint { font-size: .9375rem; color: var(--ink-soft); }
.field__err { color: var(--error); font-weight: 600; font-size: .9375rem; }
.field__err:empty { display: none; }
.checks { border: 0; padding: 0; margin: 0; }
.checks legend { padding: 0; margin-bottom: 12px; }
.checks__grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: 2px; cursor: pointer; font-weight: 600 !important;
}
.check:hover { background: var(--pink); }
.check:has(input:checked) { background: var(--yellow); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--emerald); flex: none; }
.check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 479px) { .checks__grid { grid-template-columns: 1fr; } }

.form-done { padding: 40px; background: var(--yellow); }
.form-done__title { font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.form-done p { margin: 16px 0 28px; max-width: 32rem; font-size: 1.125rem; }

/* Footer */
.foot { background: var(--ink); color: var(--white); padding-block: 72px 112px; }
.foot__in { display: grid; gap: 14px; }
.foot__main { display: grid; gap: 14px; }
.foot__cta {
  display: inline-flex; align-items: center; gap: 20px; align-self: start; justify-self: start;
  font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.75rem); letter-spacing: -.035em; line-height: 1;
  text-decoration: none; padding: 12px 0 8px; margin-top: 32px;
}
.foot__cta .ico { width: 1.05em; height: 1.05em; color: var(--yellow); transition: transform .4s var(--ease); margin-top: -.12em; }
.foot__cta:hover .ico { transform: translateX(10px); }
.foot__cta:hover span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (min-width: 900px) {
  .foot__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 64px; }
  .foot__cta { margin-top: 0; justify-self: end; }
}
.foot__name { font-family: var(--head); font-weight: 700; font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.04em; line-height: .9; }
.foot__line { max-width: 34rem; }
.foot__small { font-size: .9375rem; color: #c9cec9; max-width: 40rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-underline-offset: 4px; }

/* Demo ribbon */
.ribbon {
  position: fixed; z-index: 60; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 4px;
  background: var(--ink); color: var(--white); border-left: 8px solid var(--yellow);
  font-size: .875rem; font-weight: 600; padding: 0 0 0 14px; max-width: calc(100vw - 32px);
}
.ribbon[hidden] { display: none; }
.ribbon a { padding: 12px 4px; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.ribbon__close { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.375rem; flex: none; }
.ribbon__close:focus-visible { outline: 3px solid var(--white); outline-offset: -5px; }
@media (max-width: 599px) {
  .ribbon { left: 50%; transform: translateX(-50%); bottom: 12px; width: max-content; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: var(--white); overflow-y: auto; overflow-x: hidden; }
.lb[hidden] { display: none; }
.lb__box { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lb__media { background: var(--emerald); display: grid; place-items: center; padding: 32px; min-height: 100svh; }
.lb__media video { height: calc(100svh - 64px); width: auto; aspect-ratio: 9 / 16; max-width: 100%; object-fit: cover; background: var(--ink); }
.lb__text { padding: 112px var(--gut) 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.lb__count { font-weight: 600; }
.lb__brand { font-weight: 700; margin-top: 24px; }
.lb__title { font-family: var(--head); font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 4.25rem); letter-spacing: -.035em; line-height: .95; margin-top: 8px; }
.lb__desc { margin-top: 20px; font-size: 1.125rem; max-width: 30rem; }
.lb__note { margin-top: 12px; font-size: .9375rem; color: var(--ink-soft); }
.lb__nav { display: flex; gap: 8px; margin-top: 40px; }
.lb__btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 22px 12px;
  border: 2px solid var(--ink); background: var(--white); border-radius: 2px; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: 1.125rem;
}
.lb__btn .ico { margin-top: -3px; }
.lb__btn:hover { background: var(--yellow); }
.lb__btn--prev .ico { transform: rotate(180deg); }
.lb__close {
  position: absolute; top: 20px; right: var(--gut); display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px 8px; border: 2px solid var(--ink); background: var(--white); border-radius: 2px;
  font-weight: 700; cursor: pointer;
}
.lb__close:hover { background: var(--pink); }
.lb__close span { font-size: 1.375rem; line-height: 1; margin-top: -3px; }
@media (max-width: 899px) {
  .lb__box { grid-template-columns: minmax(0, 1fr); }
  .lb__media { min-height: 0; padding: 80px 16px 16px; }
  .lb__media video { height: min(62svh, 640px); }
  .lb__text { padding: 28px var(--gut) 40px; justify-content: flex-start; }
  .lb__brand { margin-top: 12px; }
  .lb__nav { margin-top: 24px; }
  .lb__btn { flex: 1; justify-content: center; }
  .lb__close { top: 16px; }
}
body.lb-open { overflow: hidden; }

/* Motion off: reduced motion or the pause control */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
html.motion-off *, html.motion-off *::before, html.motion-off *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
