:root {
  color-scheme: light;
  --page: #f4f5f1;
  --page-soft: #eceee9;
  --surface: rgba(249, 250, 247, 0.82);
  --surface-solid: #f9faf7;
  --surface-strong: #e4e7e1;
  --text: #171a18;
  --muted: #5b625d;
  --line: rgba(23, 26, 24, 0.16);
  --line-strong: rgba(23, 26, 24, 0.32);
  --accent: #b6ef00;
  --accent-soft: rgba(182, 239, 0, 0.17);
  --accent-ink: #172000;
  --danger: #a62a2a;
  --shadow: 0 28px 80px rgba(61, 68, 61, 0.14);
  --radius: 16px;
  --control-radius: 999px;
  --container: 1320px;
  --header-height: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #151815;
  --page-soft: #1a1e1a;
  --surface: rgba(30, 34, 30, 0.84);
  --surface-solid: #1e221e;
  --surface-strong: #292e29;
  --text: #f1f4ed;
  --muted: #b4bbb4;
  --line: rgba(241, 244, 237, 0.16);
  --line-strong: rgba(241, 244, 237, 0.34);
  --accent-soft: rgba(182, 239, 0, 0.12);
  --accent-ink: #172000;
  --danger: #ff9b90;
  --shadow: 0 30px 90px rgba(4, 8, 4, 0.34);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 36px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: background-color 320ms var(--ease), color 320ms var(--ease);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

picture {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 22px;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(88px, 10vw, 156px);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--control-radius);
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  z-index: 50;
  width: 100%;
  pointer-events: none;
}

/* Frosted-glass web approximation, not Apple platform Liquid Glass. */
.glass-panel {
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-solid) 82%, transparent), color-mix(in srgb, var(--surface-solid) 46%, transparent)),
    var(--surface);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 8%, transparent), 0 16px 48px color-mix(in srgb, var(--text) 10%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 32px), 1180px);
  min-height: var(--header-height);
  padding: 10px 12px 10px 18px;
  margin-inline: auto;
  border-radius: var(--control-radius);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 760;
  letter-spacing: -0.08em;
}

.brand__name {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand__name span {
  color: var(--muted);
  font-weight: 520;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-left: 52px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: clamp(18px, 2.4vw, 36px);
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  border: 0;
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.theme-toggle__disc {
  position: relative;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.theme-toggle__disc::after {
  position: absolute;
  inset: 2px 2px 2px 8px;
  border-radius: 0 50% 50% 0;
  background: currentColor;
  content: "";
  transition: transform 260ms var(--ease);
}

:root[data-theme="dark"] .theme-toggle__disc::after {
  transform: translateX(-6px) scaleX(0.7);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--accent-ink);
  transition: transform 220ms var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-last-child(2) {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--control-radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 720;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}

.button--small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 13px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 12px 30px var(--accent-soft);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.text-link::after {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1.45);
}

.button:focus-visible,
.text-link:focus-visible,
.nav-links a:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
.brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 84%, var(--text));
  outline-offset: 4px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  align-items: center;
  padding: 104px 0 38px;
  overflow: hidden;
}

.hero__wash {
  position: absolute;
  top: -20%;
  left: 56%;
  width: 52vw;
  height: 72vw;
  max-height: 1040px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 28px;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 5.2vw, 4.7rem);
  font-weight: 540;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:last-child {
  color: var(--muted);
}

.hero__lead {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.principles {
  padding-block: 28px 56px;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.principle {
  padding: 28px 28px 0 0;
}

.principle + .principle {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.principle strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 16px;
}

.section-heading {
  display: flex;
  max-width: 780px;
  flex-direction: column;
  margin-bottom: 48px;
}

.section-heading p,
.work-heading > p:last-child,
.process-intro p,
.formats__intro p,
.clarity__statement p,
.faq__intro p,
.contact__copy > p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
}

.service-card--primary {
  grid-row: 1 / 3;
  min-height: 520px;
  background: var(--accent-soft);
}

.service-card__type {
  margin-bottom: 18px !important;
  color: var(--text) !important;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card--primary h3 {
  max-width: 9ch;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.service-card--primary p:not(.service-card__type) {
  font-size: 18px;
}

.compact-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: min(100%, 320px);
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.compact-list li {
  padding-top: 9px;
  border-top: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 620;
}

.service-card__shape {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 74%, transparent), transparent 72%);
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.22);
}

.service-card--glass {
  background: linear-gradient(140deg, color-mix(in srgb, var(--surface-solid) 88%, transparent), var(--surface));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 8%, transparent);
}

.service-card--dark {
  background: var(--surface-strong);
}

.work {
  overflow: hidden;
}

.work-heading {
  max-width: 760px;
  margin: 0 0 clamp(52px, 8vw, 98px) 12%;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.work-item--offset {
  margin-top: 22%;
}

.work-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.work-image img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.work-image--portrait img {
  aspect-ratio: 1 / 1.08;
  object-position: 34% center;
}

.work-item:hover .work-image img {
  transform: scale(1.025);
}

.work-caption {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.65fr);
  gap: 32px;
  padding-top: 22px;
}

.work-caption--stacked {
  grid-template-columns: 1fr;
  gap: 8px;
}

.work-caption h3 {
  margin-bottom: 5px;
}

.work-caption p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.process {
  background: var(--page-soft);
}

.process-intro {
  max-width: 760px;
  margin-bottom: 70px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: none;
}

.process-list li {
  position: relative;
  min-height: 280px;
  padding: 26px 28px 0 0;
  border-top: 1px solid var(--line-strong);
}

.process-list li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-list h3 {
  margin-top: 70px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.formats__shell {
  padding: clamp(32px, 6vw, 78px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, transparent 40%, var(--accent-soft)),
    var(--surface-solid);
}

.formats__intro {
  max-width: 720px;
  margin-bottom: 54px;
}

.formats__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
}

.format {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.format--main {
  background: var(--accent);
  color: var(--accent-ink);
}

.format--main p {
  color: color-mix(in srgb, var(--accent-ink) 72%, transparent);
}

.format p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
}

.format .text-link {
  width: fit-content;
}

.clarity__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(54px, 10vw, 140px);
  align-items: start;
}

.clarity__statement {
  position: sticky;
  top: 130px;
}

.clarity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 34px;
  margin: 0;
}

.clarity-list div {
  min-height: 190px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.clarity-list dt {
  margin-bottom: 52px;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.clarity-list dd {
  margin: 0;
  color: var(--muted);
}

.faq {
  background: var(--page-soft);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(54px, 9vw, 132px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  font-size: 18px;
  font-weight: 620;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 1px;
  background: var(--text);
  content: "";
  transition: transform 220ms var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 58ch;
  padding: 0 48px 26px 0;
  margin: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 80px;
}

.contact__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 10vw, 140px);
  padding: clamp(34px, 7vw, 88px);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.contact__copy {
  align-self: start;
}

.contact__note {
  max-width: 46ch !important;
  padding-top: 22px;
  margin-top: 34px !important;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 680;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-solid);
  color: var(--text);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field input {
  min-height: 52px;
  padding: 0 16px;
}

.field textarea {
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 68%, var(--text));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}

.field__help,
.field__error,
.form-status {
  margin: 0;
  font-size: 13px;
}

.field__help {
  color: var(--muted);
}

.field__error {
  min-height: 1.2em;
  color: var(--danger);
}

.contact-form__submit {
  width: fit-content;
  min-width: 190px;
}

.form-status {
  min-height: 1.5em;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 46px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.footer__grid p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer__grid p:last-child {
  text-align: right;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 80ms;
}

.reveal--delay-2 {
  transition-delay: 150ms;
}

.reveal--delay-3 {
  transition-delay: 220ms;
}

.reveal-group > .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-group > .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.reveal-group > .reveal:nth-child(4) {
  transition-delay: 210ms;
}

@media (prefers-reduced-transparency: reduce) {
  .glass-panel {
    background: var(--surface-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6.2vw, 4rem);
  }

  .nav-menu {
    margin-left: 30px;
  }

  .nav-links {
    gap: 18px;
  }

  .theme-toggle span:first-child {
    display: none;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .nav-shell {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 22px;
    padding: 24px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .nav-links,
  .nav-actions {
    align-items: stretch;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .nav-actions {
    justify-content: space-between;
  }

  .theme-toggle span:first-child {
    display: inline;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

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

  .hero__content {
    max-width: 690px;
  }

  .hero-visual {
    width: min(100%, 760px);
    justify-self: end;
  }

  .principles__grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle:nth-child(3) {
    grid-column: 1 / 3;
    padding-left: 0;
    border-left: 0;
  }

  .process-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .process-list li:nth-child(n + 3) {
    margin-top: 36px;
  }

  .work-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
  }

  .work-caption {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .clarity__grid,
  .faq__grid,
  .contact__shell {
    grid-template-columns: 1fr;
  }

  .clarity__statement {
    position: static;
  }
}

@media (max-width: 767px) {
  .section {
    padding-block: 82px;
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.2vw, 4rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero__lead {
    max-width: 36ch;
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual img {
    aspect-ratio: 1.22;
    object-position: 58% center;
  }

  .principles {
    padding-top: 14px;
  }

  .principles__grid,
  .process-list,
  .formats__grid,
  .clarity-list {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle,
  .principle:nth-child(3) {
    grid-column: auto;
    padding: 22px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .process-intro,
  .formats__intro {
    margin-bottom: 38px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .service-card--primary {
    grid-row: auto;
    min-height: 470px;
  }

  .service-card--glass,
  .service-card--dark {
    min-height: 250px;
  }

  .work-heading {
    margin-left: 0;
  }

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

  .work-item--offset {
    width: 86%;
    margin-top: 24px;
    margin-left: auto;
  }

  .process-list li,
  .process-list li + li,
  .process-list li:nth-child(3),
  .process-list li:nth-child(n + 3) {
    min-height: auto;
    padding: 22px 0 32px;
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list h3 {
    margin-top: 32px;
  }

  .formats__shell,
  .contact__shell {
    padding: 28px 22px;
  }

  .format {
    min-height: 260px;
  }

  .clarity__grid,
  .faq__grid,
  .contact__shell {
    gap: 46px;
  }

  .clarity-list {
    gap: 24px;
  }

  .clarity-list div {
    min-height: auto;
    padding-bottom: 18px;
  }

  .clarity-list dt {
    margin-bottom: 24px;
  }

  .contact-form__submit {
    width: 100%;
  }

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

  .footer__grid p:last-child {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 8px 8px 8px 14px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }

  .work-item--offset {
    width: 92%;
  }

  .nav-actions .button {
    padding-inline: 14px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
