:root {
  --blue: #0055fd;
  --blue-dark: #003ec0;
  --ink: #070707;
  --muted: #6f737a;
  --line: #d8d6db;
  --surface: #f2f2f4;
  --white: #ffffff;
  --content: min(1240px, calc(100% - 48px));
  --radius-sm: 12px;
  --radius-lg: 28px;
  --z-header: 20;
  --z-dialog: 40;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:has(dialog[open]) { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-position: from-font; text-decoration-thickness: from-font; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { color: var(--white); background: var(--blue); }

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
}

.brand__accent, .brand b { color: var(--blue); }
.brand b { margin-inline-start: 3px; font-size: 24px; }

.nav { display: flex; gap: 42px; }
.nav a, .footer a { text-decoration: none; }
.nav a { font-size: 17px; font-weight: 700; }
.nav a:hover { color: var(--blue); }

.header-cta {
  justify-self: end;
  padding: 13px 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.header-cta:hover { color: var(--white); background: var(--ink); }
.header-cta__mobile { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 48px;
  align-items: center;
  width: var(--content);
  min-height: calc(100dvh - 88px);
  margin-inline: auto;
  padding-block: 56px 72px;
}

.hero__copy {
  min-width: 0;
  transform: translateX(-12px);
}

.eyebrow, .section-label {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1, .section h2, .manifesto h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(58px, 6.2vw, 98px);
}

.hero h1 span { display: block; color: var(--blue); }

.hero__lead {
  max-width: 610px;
  margin: 32px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  text-wrap: pretty;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 15px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--primary { min-width: 250px; color: var(--white); border-color: var(--blue); background: var(--blue); }
.button--primary:hover { background: var(--blue-dark); }
.button--secondary { background: var(--white); }
.button--secondary:hover { color: var(--white); background: var(--ink); }

.hero__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero__visual {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: grayscale(1); }

.hero__visual figcaption {
  position: absolute;
  inset: auto auto 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 260px;
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.hero__smile {
  position: absolute;
  inset: -44px -12px auto auto;
  color: var(--blue);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
}

.marquee {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.marquee p {
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 22px 24px 20px;
  font-size: clamp(30px, 5.2vw, 82px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.marquee span { color: var(--blue); }

.section {
  width: var(--content);
  margin-inline: auto;
  padding-block: 128px;
}

.intro__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10vw;
  align-items: start;
}

.intro h2, .section-heading h2, .brief h2 { font-size: clamp(48px, 6.2vw, 92px); }
.intro__content > div { padding-top: 8px; }
.intro__content p { max-width: 550px; margin: 0 0 24px; font-size: 20px; line-height: 1.5; text-wrap: pretty; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.section-heading .section-label { margin-bottom: 20px; }

.albums { border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: 1.55fr 0.9fr; gap: 18px; }

.case {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.case > img { width: 100%; height: 100%; object-fit: cover; }
.case--wide { grid-row: span 2; min-height: 940px; }
.case--wide > img { object-position: 52% center; }
.case--portrait > img { object-position: 68% center; transform: scale(1.04); }

.case__caption {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
}

.case__caption span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.case__caption strong { font-size: 28px; line-height: 1.1; }
.case__caption--light { color: var(--white); background: var(--ink); }

.text-button {
  width: fit-content;
  margin-top: 12px;
  padding: 0;
  color: var(--blue);
  border: 0;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.case--blue {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  color: var(--white);
  background: var(--blue);
}

.case--blue strong { align-self: end; font-size: 140px; line-height: 0.7; }
.case--blue span { max-width: 330px; font-size: 15px; font-weight: 700; }
.hand-note { margin: 0; font-family: "Bradley Hand", "Segoe Print", cursive; font-size: 34px; line-height: 1.12; }
.prototype-note { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.process { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.steps li { min-height: 260px; padding: 28px 24px; border-inline-end: 1px solid var(--line); }
.steps li:last-child { border-inline-end: 0; }
.steps span { display: block; margin-bottom: 70px; color: var(--blue); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: 21px; }
.steps p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; text-wrap: pretty; }

.manifesto {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 110px max(24px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--ink);
}

.section-label--dark { color: #7da6ff; }
.manifesto h2 { max-width: 1050px; font-size: clamp(70px, 10vw, 170px); }
.manifesto > p:not(.section-label) { max-width: 560px; margin: 46px 0 0 auto; font-size: clamp(20px, 2.1vw, 31px); line-height: 1.35; text-wrap: pretty; }
.manifesto__mark { position: absolute; inset: auto auto -88px -30px; color: var(--blue); font-size: 290px; font-weight: 900; line-height: 1; }

.brief { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10vw; }
.brief__intro > p:not(.section-label) { max-width: 470px; margin: 30px 0 0; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.direct-links { display: grid; gap: 14px; margin-top: 42px; }
.direct-links a { display: flex; justify-content: space-between; max-width: 420px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 750; text-decoration: none; }
.direct-links a:hover { color: var(--blue); }

.lead-form { display: grid; gap: 24px; padding: 36px; border-radius: var(--radius-lg); background: var(--surface); }
.lead-form label:not(.consent) { display: grid; gap: 8px; }
.lead-form label > span { font-size: 13px; font-weight: 750; }
.lead-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 58px;
  padding: 15px 16px;
  border: 1px solid #bebfc3;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 16px;
}
.lead-form input:not([type="checkbox"]):focus { border-color: var(--blue); outline: 3px solid rgba(0, 85, 253, 0.16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.button--submit { width: 100%; border: 0; }
.form-error { margin: -8px 0 0; color: #b42318; font-size: 14px; font-weight: 700; }
.form-status { min-height: 24px; margin: -8px 0 0; color: var(--blue-dark); font-size: 14px; font-weight: 700; }

.footer { padding: 50px max(24px, calc((100vw - 1240px) / 2)); color: var(--white); background: var(--ink); }
.brand--footer { color: var(--white); }
.footer > p { margin: 60px 0; font-size: clamp(32px, 5vw, 72px); font-weight: 900; line-height: 1; }
.footer > div { display: flex; justify-content: space-between; gap: 20px; color: #a7a7ad; font-size: 13px; }

.gallery-dialog {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--ink);
}
.gallery-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.gallery-dialog > div { padding: 56px; }
.gallery-dialog h2 { max-width: 720px; margin: 8px 0 28px; font-size: clamp(36px, 6vw, 68px); line-height: 0.98; text-wrap: balance; }
.gallery-dialog img { border-radius: 18px; }
.gallery-dialog p { max-width: 620px; color: #c2c2c7; text-wrap: pretty; }
.gallery-dialog__close { position: absolute; inset: 16px 16px auto auto; z-index: var(--z-dialog); width: 44px; height: 44px; color: var(--ink); border: 0; border-radius: 50%; background: var(--white); font-size: 30px; line-height: 1; cursor: pointer; }

@media (max-width: 980px) {
  :root { --content: min(100% - 32px, 760px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 16px; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 48px 72px; }
  .hero__copy { transform: none; }
  .hero__visual { min-height: 620px; }
  .intro__content, .section-heading, .brief { grid-template-columns: 1fr; gap: 38px; }
  .section-heading > p { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 220px; border-bottom: 1px solid var(--line); }
  .steps li:nth-child(2n) { border-inline-end: 0; }
  .steps li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --content: calc(100% - 24px); --radius-lg: 20px; }
  .site-header { min-height: 64px; padding-top: env(safe-area-inset-top); }
  .brand { font-size: 18px; }
  .brand b { font-size: 20px; }
  .header-cta { padding: 10px 13px; font-size: 12px; }
  .header-cta__desktop { display: none; }
  .header-cta__mobile { display: inline; }
  .hero { gap: 32px; min-height: auto; padding-block: 40px 42px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero__lead { font-size: 19px; }
  .hero__actions { display: grid; }
  .button { width: 100%; min-width: 0; }
  .hero__visual { min-height: 470px; }
  .hero__visual img { object-position: 63% center; }
  .hero__smile { top: -30px; font-size: 110px; }
  .hero__visual figcaption { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .marquee p {
    width: 100%;
    padding: 16px 12px 14px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.04;
    white-space: normal;
    text-wrap: balance;
  }
  .section { padding-block: 88px; }
  .intro h2, .section-heading h2, .brief h2 {
    font-size: clamp(34px, 9.2vw, 48px);
    line-height: 0.98;
  }
  .intro__content p { font-size: 17px; }
  .section-heading { margin-bottom: 42px; }
  .case-grid { grid-template-columns: 1fr; }
  .case { min-height: 480px; }
  .case--wide { grid-row: auto; min-height: 590px; }
  .case__caption strong { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(2n) { min-height: 0; padding: 24px 10px; border-inline-end: 0; }
  .steps li:last-child { grid-column: auto; }
  .steps span { margin-bottom: 34px; }
  .manifesto { min-height: 650px; padding-block: 82px; }
  .manifesto h2 { font-size: clamp(63px, 19vw, 94px); }
  .manifesto > p:not(.section-label) { margin-top: 80px; font-size: 20px; }
  .manifesto__mark { bottom: -58px; font-size: 200px; }
  .lead-form { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer > p { margin-block: 48px; font-size: 42px; }
  .footer > div { flex-direction: column; }
  .gallery-dialog { width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
  .gallery-dialog > div { padding: 76px 16px 28px; }
}

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