@import url("https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@500;600;700;800&family=Merriweather+Sans:wght@400;500;600;700&display=swap");

:root {
  --teal: #102c2a;
  --orange: #ff5a1f;
  --orchid: #e7d7f4;
  --wasabi: #c6d63c;
  --shell: #fae5d1;
  --chalk: #f6f5ef;
  --ink: #202025;
  --font-display: "Darker Grotesque", sans-serif;
  --font-body: "Merriweather Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --menu-w: min(520px, 92vw);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.header-left,
.header-right {
  pointer-events: auto;
}

.header-left {
  background: transparent;
  padding: 0.35rem 0.5rem;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  width: clamp(96px, 11vw, 128px);
  height: auto;
  mix-blend-mode: multiply;
}

.header-right {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  background: var(--chalk);
  padding: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.menu-toggle {
  appearance: none;
  border: 0;
  background: var(--teal);
  color: var(--shell);
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.menu-sheet {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  width: var(--menu-w);
  background: var(--orchid);
  color: var(--teal);
  padding: 1.4rem 1.5rem 1.6rem;
  overflow: hidden;
  transform-origin: top right;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 340ms var(--ease);
  z-index: 120;
}

.menu-sheet.is-open,
.header-right.is-open .menu-sheet {
  clip-path: inset(0 0 0 0);
}

.menu-sheet[hidden] {
  display: block !important;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  visibility: hidden;
}

.menu-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-desc {
  font-size: 0.92rem;
  max-width: 28ch;
  margin-bottom: 1.2rem;
}

.menu-links {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.menu-links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  text-decoration: none;
  padding: 0.15rem 0;
}

.menu-links a:hover {
  color: var(--orange);
}

.menu-email {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 1rem;
}

.menu-image {
  width: 140px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.btn-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 14px;
  transition: background-color 180ms ease, color 180ms ease;
}

.btn-slide .btn-label,
.btn-slide .btn-alt {
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.btn-slide .btn-alt {
  position: absolute;
  right: 1.2rem;
  transform: translateX(120%);
  opacity: 0;
}

.btn-slide:hover .btn-label,
.btn-slide:focus-visible .btn-label {
  transform: translateX(-10px);
}

.btn-slide:hover .btn-alt,
.btn-slide:focus-visible .btn-alt {
  transform: translateX(0);
  opacity: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--teal);
}

.btn-secondary {
  background: var(--teal);
  color: var(--shell);
}

.btn-wasabi {
  background: var(--wasabi);
  color: var(--ink);
}

.header-contact {
  border-radius: 0;
  min-height: auto;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

.crop {
  overflow: hidden;
  position: relative;
}

.crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: object-position 220ms ease, transform 500ms var(--ease);
}

.home-page {
  background: var(--chalk);
}

.m01 {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "brand image image"
    "support image image"
    "prop prop orange";
  gap: clamp(0.8rem, 2vw, 1.5rem) clamp(0.8rem, 2vw, 1.8rem);
  padding: calc(var(--header-h) + 0.5rem) clamp(1rem, 3vw, 2.5rem) clamp(1.2rem, 3vh, 2rem);
  position: relative;
  align-content: space-between;
}

.m01-brand {
  grid-area: brand;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--teal);
  align-self: start;
  margin-top: 0.35rem;
  max-width: 16ch;
}

.m01-image {
  grid-area: image;
  width: min(38vw, 480px);
  max-height: min(42vh, 380px);
  justify-self: end;
  aspect-ratio: 5 / 4;
  clip-path: inset(0 0 100% 0);
  align-self: start;
  margin-top: 0.5rem;
}

.m01.is-loaded .m01-image {
  clip-path: inset(0 0 0 0);
  transition: clip-path 520ms var(--ease);
}

.m01-image:hover img {
  object-position: 54% 46%;
  transform: scale(1.04);
}

.m01-proposition {
  grid-area: prop;
  width: min(52vw, 640px);
  align-self: end;
  transform: translateY(18px);
  opacity: 0;
}

.m01.is-loaded .m01-proposition {
  transform: translateY(0);
  opacity: 1;
  transition: transform 280ms var(--ease) 420ms, opacity 200ms ease 420ms;
}

.m01-proposition h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 800;
  color: var(--ink);
  max-width: 14ch;
}

.m01-orange {
  grid-area: orange;
  background: var(--orange);
  color: var(--teal);
  padding: 1.15rem 1.25rem;
  width: min(100%, 260px);
  justify-self: end;
  align-self: end;
  clip-path: inset(0 100% 0 0);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 2;
}

.m01.is-loaded .m01-orange {
  clip-path: inset(0 0 0 0);
  transition: clip-path 380ms var(--ease) 180ms;
}

.m01-orange p {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.m01-support {
  grid-area: support;
  align-self: center;
  max-width: 26ch;
  font-size: 0.95rem;
  opacity: 0;
}

.m01.is-loaded .m01-support {
  opacity: 1;
  transition: opacity 220ms ease 560ms;
}

.m01.is-relaying .m01-image {
  width: min(70vw, 900px);
  max-height: min(58vh, 560px);
  transition: width 700ms var(--ease), max-height 700ms var(--ease);
}

.m02 {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  grid-template-rows: auto auto auto;
  gap: 1.2rem 1.5rem;
  position: relative;
  background: var(--chalk);
}

.m02-image {
  grid-column: 1 / 3;
  grid-row: 1;
  width: min(72vw, 920px);
  aspect-ratio: 16 / 10;
  max-height: 58vh;
}

.m02-meta {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
}

.m02-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--teal);
}

.m02-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--ink);
  max-width: 14ch;
}

.m02-copy {
  grid-column: 1 / 2;
  grid-row: 2;
  max-width: 48ch;
  font-size: 1rem;
}

.m02-detail {
  grid-column: 3;
  grid-row: 2 / 4;
  width: min(22vw, 220px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  align-self: start;
  clip-path: inset(0 100% 0 0);
}

.m02.is-active .m02-detail {
  clip-path: inset(0 0 0 0);
  transition: clip-path 560ms var(--ease);
}

.m02-relay {
  grid-column: 2;
  grid-row: 2 / 4;
  background: var(--wasabi);
  min-height: 220px;
  width: 100%;
  align-self: stretch;
  transition: min-height 700ms var(--ease), width 700ms var(--ease), grid-column 0s;
}

.m02.is-exiting .m02-image {
  width: min(40vw, 480px);
  transition: width 700ms var(--ease);
}

.m02.is-exiting .m02-relay {
  min-height: 70vh;
}

.m03a {
  background: var(--orange);
  color: var(--teal);
  min-height: 85vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.m03a h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  max-width: 10ch;
}

.m03a-copy {
  max-width: 36ch;
  font-size: 1.05rem;
  font-weight: 500;
}

.m03a-image {
  width: min(28vw, 280px);
  aspect-ratio: 3 / 5;
  justify-self: end;
  clip-path: inset(100% 0 0 0);
}

.m03a.is-active .m03a-image {
  clip-path: inset(0 0 0 0);
  transition: clip-path 600ms var(--ease) 180ms;
}

.m03b {
  background: var(--orchid);
  color: var(--teal);
  min-height: 95vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
}

.m03b-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 28ch;
  font-size: 0.95rem;
}

.m03b-image {
  grid-column: 2;
  grid-row: 1 / 3;
  width: min(38vw, 420px);
  aspect-ratio: 3 / 5;
  justify-self: end;
  transition: width 700ms var(--ease);
}

.m03b.is-active .m03b-image {
  width: min(48vw, 540px);
}

.m03b-title {
  grid-column: 1;
  grid-row: 3;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  align-self: end;
}

.m03b-secondary {
  grid-column: 2;
  grid-row: 3;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  justify-self: end;
  align-self: end;
  max-width: 16ch;
  text-align: right;
}

.m03c {
  background: var(--chalk);
  color: var(--ink);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem) 5rem;
  min-height: 90vh;
  position: relative;
}

.m03c-services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1rem;
  min-height: 70vh;
}

.svc {
  position: relative;
  padding: 0.6rem 0.8rem;
  transition: background-color 200ms ease;
}

.svc:hover,
.svc:focus-within {
  background: var(--wasabi);
}

.svc-a {
  grid-column: 1 / 8;
  grid-row: 1;
}

.svc-a h3 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.svc-b {
  grid-column: 8 / 13;
  grid-row: 2;
  text-align: right;
}

.svc-b h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.svc-c {
  grid-column: 3 / 9;
  grid-row: 3;
}

.svc-c h3 {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

.svc-d {
  grid-column: 9 / 13;
  grid-row: 4;
}

.svc-d h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.svc p {
  max-width: 36ch;
  font-size: 0.95rem;
  margin-top: 0.7rem;
}

.svc-hover-img {
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  right: 0;
  top: 0;
  transition: opacity 180ms ease;
}

.svc:hover .svc-hover-img,
.svc:focus-within .svc-hover-img {
  opacity: 1;
}

.m03-exit {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem clamp(1rem, 3vw, 2.5rem) 4rem;
  background: var(--chalk);
}

.m03-exit-image {
  width: min(34vw, 360px);
  aspect-ratio: 1;
}

.m03-exit-phrase {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  max-width: 18ch;
  color: var(--teal);
}

.m04 {
  background: var(--teal);
  color: var(--shell);
  min-height: 90vh;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-content: center;
}

.m04-image {
  width: min(28vw, 260px);
  aspect-ratio: 1;
  clip-path: inset(0 0 100% 0);
}

.m04.is-active .m04-image {
  clip-path: inset(0 0 0 0);
  transition: clip-path 600ms var(--ease);
}

.m04-statement {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.m04-body {
  max-width: 48ch;
  color: color-mix(in srgb, var(--shell) 92%, white);
  margin-bottom: 2rem;
}

.m04-facts {
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  max-width: 36ch;
}

.m04-facts dt {
  font-weight: 700;
  color: var(--wasabi);
}

.m04-facts dd {
  margin: 0 0 0.8rem;
}

.m04-wasabi {
  width: 72px;
  height: 72px;
  background: var(--wasabi);
  margin-top: 2rem;
  transform: translateY(20px);
  opacity: 0;
}

.m04.is-active .m04-wasabi {
  transform: translateY(0);
  opacity: 1;
  transition: transform 400ms var(--ease) 200ms, opacity 300ms ease 200ms;
}

.m04.is-exiting .m04-wasabi {
  width: min(92vw, 1100px);
  height: min(70vh, 640px);
  transition: width 700ms var(--ease), height 700ms var(--ease);
}

.m05 {
  background: var(--shell);
  color: var(--ink);
  min-height: 100vh;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2.5rem) 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 1.5rem 2rem;
}

.m05-statement {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 800;
  max-width: 12ch;
}

.m05-info {
  grid-column: 2;
  grid-row: 1;
  color: var(--teal);
  font-weight: 500;
  justify-self: end;
  text-align: right;
  max-width: 28ch;
}

.m05-info a {
  color: var(--teal);
  font-weight: 700;
}

.m05-expect {
  grid-column: 2;
  grid-row: 2;
  background: var(--wasabi);
  color: var(--ink);
  padding: 1rem 1.2rem;
  max-width: 280px;
  justify-self: end;
  font-size: 0.92rem;
  font-weight: 600;
}

.m05-form {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 1rem;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 4%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-family: var(--font-display);
}

.form-field input,
.form-field textarea {
  border: 2px solid var(--ink);
  background: var(--chalk);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: background-color 180ms ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  background: var(--orchid);
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.form-field--name,
.form-field--email {
  width: 48%;
}

.form-field--message {
  width: 100%;
}

.form-field--message textarea {
  min-height: 180px;
  resize: vertical;
}

.form-actions {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.form-actions .btn-slide {
  width: min(40%, 280px);
}

.form-error {
  width: 100%;
  color: #8a1c00;
  font-weight: 600;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.page-main {
  padding-top: calc(var(--header-h) + 0.5rem);
}

.services-page {
  background: var(--chalk);
}

.services-intro {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  max-width: 1100px;
}

.services-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.services-intro p {
  max-width: 56ch;
}

.service-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
}

.sf {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem);
  min-height: 85vh;
  position: relative;
  overflow: clip;
}

.sf01 {
  background: var(--shell);
  color: var(--ink);
}

.sf01 h2 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  max-width: 12ch;
  margin-bottom: 2rem;
}

.sf01-image {
  width: min(36vw, 380px);
  aspect-ratio: 5 / 4;
  margin: 18vh 0 2rem auto;
}

.sf01 .sf-body {
  max-width: 58ch;
}

.sf02 {
  background: var(--teal);
  color: var(--shell);
}

.sf02-image {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 2 / 1;
  margin-bottom: 2rem;
  transition: max-width 700ms var(--ease);
}

.sf02.is-active .sf02-image {
  max-width: 1400px;
}

.sf02 h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.sf02 .sf-body {
  max-width: 60ch;
}

.sf03 {
  background: var(--orchid);
  color: var(--teal);
}

.sf03 h2 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.sf03 .sf-rich {
  columns: 1;
  max-width: 70ch;
}

.sf03-image {
  width: min(28vw, 260px);
  aspect-ratio: 1;
  margin: 3rem 0;
}

.sf04 {
  background: var(--wasabi);
  color: var(--ink);
  display: grid;
  align-content: center;
  min-height: 70vh;
}

.sf04 h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 10ch;
  margin-bottom: 1.2rem;
}

.sf04 .sf-body {
  max-width: 42ch;
  font-size: 1.15rem;
  font-weight: 500;
}

.sf05 {
  background: var(--chalk);
  color: var(--ink);
}

.sf05 h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  margin-bottom: 2rem;
}

.sf05-pair {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.sf05-wide {
  aspect-ratio: 16 / 10;
}

.sf05-small {
  width: min(100%, 240px);
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.approach {
  background: var(--shell);
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2.5rem);
}

.approach h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 2.5rem;
  color: var(--teal);
}

.approach-steps {
  display: grid;
  gap: 3.5rem;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.85;
  color: var(--teal);
}

.step-relay {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--orange);
  pointer-events: none;
  z-index: 1;
  transition: top 500ms var(--ease), left 500ms var(--ease);
}

.step01 .step-num {
  grid-column: 1 / 4;
  font-size: clamp(4rem, 10vw, 8rem);
}

.step01 .step-text {
  grid-column: 5 / 12;
  align-self: start;
}

.step02 .step-num {
  grid-column: 5 / 8;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.step02 .step-text {
  grid-column: 1 / 5;
  grid-row: 1;
}

.step03 .step-num {
  grid-column: 10 / 13;
  font-size: clamp(3rem, 7vw, 5.5rem);
  text-align: right;
}

.step03 .step-text {
  grid-column: 1 / 10;
  grid-row: 2;
}

.step04 .step-num {
  grid-column: 2 / 6;
  font-size: clamp(4rem, 9vw, 7rem);
}

.step04 .step-text {
  grid-column: 7 / 11;
  align-self: center;
  font-size: 0.95rem;
}

.step05 {
  background: var(--teal);
  color: var(--shell);
  padding: 2rem 1.5rem;
}

.step05 .step-num {
  grid-column: 1 / 4;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--wasabi);
}

.step05 .step-text {
  grid-column: 4 / 13;
}

.portfolio-page {
  background: var(--chalk);
}

.portfolio-intro {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 1rem;
}

.portfolio-intro h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.portfolio-intro p {
  max-width: 54ch;
}

.case {
  padding: 3rem clamp(1rem, 3vw, 2.5rem);
  min-height: 90vh;
  overflow: clip;
}

.case01 {
  background: var(--chalk);
}

.case-view-a {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.case-view-a .case-image {
  width: min(78vw, 1000px);
  aspect-ratio: 16 / 10;
  transition: width 700ms var(--ease);
}

.case.is-relaying .case-view-a .case-image {
  width: min(42vw, 480px);
}

.case-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
}

.case-setup {
  max-width: 48ch;
  font-size: 0.98rem;
}

.case-view-b {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.case-view-b .case-explain {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 20ch;
}

.case-view-b .case-detail {
  width: min(100%, 280px);
  aspect-ratio: 4 / 3;
  clip-path: inset(0 100% 0 0);
}

.case.is-relaying .case-view-b .case-detail {
  clip-path: inset(0 0 0 0);
  transition: clip-path 600ms var(--ease);
}

.case02 {
  background: var(--shell);
}

.case02 .case-view-b {
  order: -1;
  margin-bottom: 2rem;
}

.case02 .case-explain {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.case02 .case-view-a .case-image {
  width: min(60vw, 720px);
  margin-left: auto;
}

.case03 {
  background: var(--orchid);
  color: var(--teal);
}

.case03 .case-portrait {
  width: min(40vw, 420px);
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
}

.case04 {
  background: var(--teal);
  color: var(--shell);
}

.case04-colour {
  background: var(--orange);
  color: var(--teal);
  padding: 2rem;
  min-height: 40vh;
  display: grid;
  align-content: end;
  margin-bottom: 2rem;
}

.case04-colour h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.about-page {
  background: var(--chalk);
  color: var(--ink);
}

.about-opening {
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  max-width: 900px;
}

.about-opening .page-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.about-opening h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.about-body {
  padding: 0 clamp(1rem, 3vw, 2.5rem) 4rem;
  max-width: 720px;
}

.about-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 2.5rem 0 1rem;
  color: var(--teal);
}

.about-image-wide {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 10;
  margin: 3rem clamp(1rem, 3vw, 2.5rem);
  transition: width 700ms var(--ease);
}

.about-page.is-active .about-image-wide {
  width: min(96vw, 1280px);
}

.about-side {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 5rem;
  align-items: start;
}

.about-portrait {
  width: min(100%, 320px);
  aspect-ratio: 1;
}

.about-handoff {
  width: 64px;
  height: 64px;
  background: var(--orchid);
  margin: 2rem clamp(1rem, 3vw, 2.5rem);
}

.contact-page {
  background: var(--orchid);
  color: var(--teal);
  min-height: 100vh;
}

.contact-opening {
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-facts {
  font-size: 1.05rem;
}

.contact-facts a {
  font-weight: 700;
  color: var(--teal);
}

.contact-expect {
  max-width: 36ch;
  font-weight: 500;
}

.contact-page .contact-form {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 5rem;
  position: relative;
}

.contact-page .form-field--name {
  width: 46%;
}

.contact-page .form-field--email {
  width: 46%;
  margin-top: 2.5rem;
}

.contact-page .form-field--message {
  margin-top: 1rem;
}

.contact-page .form-actions {
  justify-content: flex-end;
}

.thanks-page {
  background: var(--wasabi);
  color: var(--ink);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.thanks-inner {
  max-width: 36ch;
}

.thanks-inner h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin-bottom: 1rem;
}

.thanks-inner p {
  margin-bottom: 2rem;
  font-weight: 500;
}

.legal-page {
  background: var(--chalk);
  color: var(--ink);
}

.legal-page main {
  padding-top: calc(var(--header-h) + 1rem);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2rem) 5rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.legal h2 {
  font-size: 1.6rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--teal);
}

.legal h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.6rem;
}

.legal-meta {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  margin-bottom: 2rem;
}

.site-footer {
  background: var(--teal);
  color: var(--shell);
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: var(--shell);
}

.site-footer h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--wasabi);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-note {
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 980px) {
  .m01 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "prop"
      "orange"
      "image"
      "support";
    min-height: auto;
    gap: 1.2rem;
    align-content: start;
  }

  .m01-brand,
  .m01-proposition,
  .m01-image,
  .m01-orange,
  .m01-support {
    width: 100%;
    justify-self: stretch;
    max-width: none;
    margin-top: 0;
  }

  .m01-image {
    max-height: none;
  }

  .m01-proposition h1 {
    max-width: none;
  }

  .m02 {
    grid-template-columns: 1fr;
  }

  .m02-image,
  .m02-meta,
  .m02-copy,
  .m02-detail,
  .m02-relay {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .m02-detail {
    width: min(50%, 200px);
  }

  .m02-relay {
    min-height: 80px;
  }

  .m03a,
  .m03b,
  .m03-exit,
  .m04,
  .m05,
  .sf05-pair,
  .case-view-b,
  .about-side,
  .contact-opening,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .m03b-image,
  .m03a-image,
  .m04-image,
  .sf01-image,
  .sf03-image,
  .sf05-small,
  .case-view-a .case-image,
  .case03 .case-portrait {
    width: 100%;
    max-width: none;
  }

  .m03c-services {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
  }

  .svc-a,
  .svc-b,
  .svc-c,
  .svc-d {
    grid-column: auto;
    text-align: left;
  }

  .svc-hover-img {
    display: none;
  }

  .form-field--name,
  .form-field--email,
  .contact-page .form-field--name,
  .contact-page .form-field--email,
  .form-actions .btn-slide {
    width: 100%;
  }

  .contact-page .form-field--email {
    margin-top: 0;
  }

  .header-right {
    max-width: calc(100vw - 2rem);
  }

  .menu-sheet {
    width: min(96vw, 520px);
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step01 .step-num,
  .step01 .step-text,
  .step02 .step-num,
  .step02 .step-text,
  .step03 .step-num,
  .step03 .step-text,
  .step04 .step-num,
  .step04 .step-text,
  .step05 .step-num,
  .step05 .step-text {
    grid-column: 1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-contact .btn-alt {
    display: none;
  }

  .m05-expect {
    justify-self: start;
  }

  .m05-info {
    text-align: left;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .m01-image,
  .m01-orange,
  .m01-proposition,
  .m01-support,
  .m02-detail,
  .m03a-image,
  .m04-image,
  .m04-wasabi,
  .case-view-b .case-detail {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .menu-sheet {
    transition: opacity 120ms ease;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 320ms;
}
