:root {
  color-scheme: light;
  --ink: #17191c;
  --ink-2: #24272b;
  --ink-3: #34383d;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --surface: #ffffff;
  --text: #222428;
  --muted: #62666b;
  --line: #d8d5ce;
  --accent: #b94312;
  --accent-hover: #96350d;
  --accent-light: #ff8b50;
  --accent-focus: rgba(185, 67, 18, .18);
  --accent-tint: #fff8f4;
  --on-accent: #ffffff;
  --on-dark: #ffffff;
  --header-bg: rgba(255, 255, 255, .94);
  --header-text: #17191c;
  --header-muted: #4e5257;
  --header-subtitle: #62666b;
  --header-line: rgba(23, 25, 28, .09);
  --header-control: #ffffff;
  --header-control-line: #d8d5ce;
  --line-strong: #c9c6bf;
  --line-hover: #bdb9b0;
  --footer-bg: #111316;
  --footer-text: #ffffff;
  --footer-copy: rgba(255, 255, 255, .59);
  --footer-heading: rgba(255, 255, 255, .54);
  --footer-link: rgba(255, 255, 255, .75);
  --footer-small: rgba(255, 255, 255, .52);
  --footer-bottom: rgba(255, 255, 255, .46);
  --footer-line: rgba(255, 255, 255, .11);
  --footer-accent-text: rgba(255, 255, 255, .75);
  --footer-accent-span: rgba(255, 255, 255, .52);
  --success: #246b47;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 22px 70px rgba(23, 25, 28, .11);
  --container: 1220px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: none;
}

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

.eyebrow,
.kicker {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.detail-hero .eyebrow,
.home-hero .eyebrow,
.content-panel--dark .eyebrow {
  color: var(--accent-light);
}

h1,
h2,
h3 {
  font-weight: 780;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.4vw, 6.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4.4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--on-dark);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand__text strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.site-header .brand__text strong {
  color: var(--header-text);
}

.brand__text small {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .05em;
}

.site-header .brand__text small {
  color: var(--header-subtitle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: var(--header-muted);
  font-size: .91rem;
  font-weight: 700;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent);
  content: "";
  transition: transform .22s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--header-text);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--header-control-line);
  border-radius: var(--radius-sm);
  background: var(--header-control);
  color: var(--header-text);
}

.mobile-toggle svg,
.mobile-menu__close svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--on-dark);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--ink-3);
}

.btn--small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: .85rem;
}

.btn--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.btn--accent:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.btn--light {
  border-color: var(--on-dark);
  background: var(--on-dark);
  color: var(--ink);
}

.btn--light:hover {
  border-color: color-mix(in srgb, var(--on-dark) 88%, var(--ink));
  background: color-mix(in srgb, var(--on-dark) 88%, var(--ink));
}

.btn--ghost-light {
  border-color: color-mix(in srgb, var(--on-dark) 35%, transparent);
  background: transparent;
  color: var(--on-dark);
}

.btn--ghost-light:hover {
  border-color: var(--on-dark);
  background: color-mix(in srgb, var(--on-dark) 9%, transparent);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-actions {
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 850;
}

.text-link:hover {
  color: var(--accent-hover);
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  background: rgba(9, 10, 12, .68);
  transition: opacity .25s ease;
}

.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 160;
  display: flex;
  width: min(420px, 100%);
  max-height: 100dvh;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(105%);
  background: var(--ink);
  color: var(--on-dark);
  padding: 26px;
  transition: transform .28s ease;
}

.mobile-menu.open {
  transform: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mobile-menu .brand__text strong,
.mobile-menu .brand__text small {
  color: var(--on-dark);
}

.mobile-menu .brand__mark {
  background: var(--accent);
  color: var(--on-accent);
}

.mobile-menu__close {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--on-dark);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  margin: 58px 0 34px;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent);
  color: color-mix(in srgb, var(--on-dark) 76%, transparent);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 720;
  letter-spacing: -.03em;
}

.mobile-menu nav a.active,
.mobile-menu nav a:hover {
  color: var(--on-dark);
}

.mobile-menu__bottom {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.mobile-menu__bottom p {
  color: color-mix(in srgb, var(--on-dark) 66%, transparent);
  font-size: .94rem;
}

.home-hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  background: var(--ink);
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(64px, 8vw, 126px) max(36px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: clamp(36px, 6vw, 88px);
}

.home-hero__copy::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image: linear-gradient(color-mix(in srgb, var(--on-dark) 17%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--on-dark) 17%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 90%);
}

.home-hero__copy h1 {
  max-width: 770px;
  margin-top: 18px;
  color: var(--on-dark);
}

.home-hero__copy .lead {
  max-width: 670px;
  margin-top: 28px;
  color: color-mix(in srgb, var(--on-dark) 72%, transparent);
}

.home-hero__copy .button-row {
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vw, 82px);
  border: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent);
  background: color-mix(in srgb, var(--on-dark) 16%, transparent);
}

.hero-proof div {
  min-width: 0;
  padding: 18px;
  background: var(--ink-2);
}

.hero-proof strong {
  display: block;
  color: var(--on-dark);
  font-size: .94rem;
}

.hero-proof span {
  display: block;
  margin-top: 4px;
  color: color-mix(in srgb, var(--on-dark) 58%, transparent);
  font-size: .78rem;
}

.home-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.home-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 25, 28, .28), transparent 30%), linear-gradient(0deg, rgba(23, 25, 28, .72), transparent 34%);
  content: "";
  pointer-events: none;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.photo-caption {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.photo-caption::before {
  width: 26px;
  height: 2px;
  background: var(--accent-light);
  content: "";
}

.section {
  padding: clamp(76px, 9vw, 126px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-intro h2 {
  max-width: 880px;
  margin-top: 12px;
}

.section-intro > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-intro--light > p,
.section-intro--light .text-link {
  color: color-mix(in srgb, var(--on-dark) 68%, transparent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow);
}

.service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.service-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 25, 28, .42), transparent 55%);
  content: "";
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}

.service-card:nth-child(2) .service-card__media img {
  object-position: 50% 42%;
}

.service-card:nth-child(3) .service-card__media img,
.service-card:nth-child(4) .service-card__media img {
  object-position: 50% 62%;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__media > span {
  position: absolute;
  right: 18px;
  bottom: 15px;
  z-index: 2;
  color: #fff;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.service-card__body {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.service-card__body h3 {
  margin-top: 10px;
}

.service-card__body > p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
}

.service-card__body .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.service-card--compact .service-card__body {
  min-height: 260px;
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 18px;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  grid-column: span 4;
  grid-row: span 2;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink-2);
  color: #fff;
  text-align: left;
}

.project-card--wide {
  grid-column: span 7;
}

.project-card--tall {
  grid-column: span 5;
  grid-row: span 3;
}

.project-card--short {
  grid-column: span 7;
  grid-row: span 1;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 15, 17, .88), rgba(14, 15, 17, .02) 64%);
  content: "";
}

.project-card__label {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.project-card__label span {
  color: var(--accent-light);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-card__label strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.process-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
}

.process-card > span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.process-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .94rem;
}

.proof-band {
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
}

.proof-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: clamp(54px, 7vw, 86px) 0;
}

.proof-band h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.proof-band p {
  max-width: 700px;
  margin-top: 16px;
  color: color-mix(in srgb, var(--on-accent) 82%, transparent);
}

.page-hero {
  padding: clamp(68px, 8vw, 112px) 0;
  background: var(--paper);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.page-hero__grid > *,
.detail-hero__grid > *,
.section-intro > *,
.about-grid > *,
.contact-shell > * {
  min-width: 0;
}

.page-hero__copy h1 {
  margin-top: 15px;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
}

.page-hero__copy .lead {
  max-width: 660px;
  margin-top: 24px;
}

.page-hero__copy .button-row {
  margin-top: 30px;
}

.page-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.page-hero__media::before {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 0;
  width: 44%;
  height: 44%;
  border-top: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
  content: "";
}

.page-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 60%;
  box-shadow: var(--shadow);
}

.page-hero__media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(23, 25, 28, .86);
  color: #fff;
  font-size: .73rem;
  font-weight: 750;
}

.filter-bar {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 32px;
  padding-bottom: 5px;
  scrollbar-width: thin;
}

.filter-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.section--dark .filter-button {
  border-color: color-mix(in srgb, var(--on-dark) 22%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--on-dark) 72%, transparent);
}

.section--dark .filter-button:hover,
.section--dark .filter-button.active {
  border-color: var(--on-dark);
  background: var(--on-dark);
  color: var(--ink);
}

.additional-services {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.additional-services h2 {
  margin-top: 12px;
}

.additional-services__aside p {
  color: color-mix(in srgb, var(--on-dark) 68%, transparent);
}

.additional-services__note {
  margin-top: 24px;
}

.tag-list,
.additional-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.additional-list {
  margin-top: 28px;
}

.tag-list li,
.additional-list li {
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--on-dark) 20%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--on-dark) 86%, transparent);
  font-size: .88rem;
  font-weight: 700;
}

.detail-hero {
  padding: clamp(64px, 8vw, 108px) 0;
  background: var(--ink);
  color: var(--on-dark);
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.detail-hero__copy h1 {
  margin-top: 14px;
  font-size: clamp(3.1rem, 5.4vw, 5.7rem);
}

.detail-hero__copy .lead {
  margin-top: 24px;
  color: color-mix(in srgb, var(--on-dark) 70%, transparent);
}

.detail-hero__copy .button-row {
  margin-top: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: color-mix(in srgb, var(--on-dark) 65%, transparent);
  font-size: .86rem;
  font-weight: 750;
}

.back-link::before {
  content: "←";
}

.back-link:hover {
  color: var(--on-dark);
}

.detail-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.detail-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 55%;
}

.detail-hero__media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(23, 25, 28, .86);
  color: #fff;
  font-size: .73rem;
  font-weight: 750;
}

.detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 22px;
}

.content-panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-panel h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.content-panel--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.check-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.check-list li::before {
  color: var(--accent);
  content: "↗";
}

.content-panel .tag-list {
  margin-top: 30px;
}

.panel-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent);
  color: color-mix(in srgb, var(--on-dark) 61%, transparent);
  font-size: .9rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.15fr .925fr .925fr;
  gap: 18px;
}

.detail-gallery__item {
  min-width: 0;
}

.detail-gallery__item button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink-2);
}

.detail-gallery__item:first-child button {
  aspect-ratio: 4 / 5;
}

.detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.detail-gallery__item button:hover img {
  transform: scale(1.03);
}

.detail-gallery__item figcaption {
  display: flex;
  gap: 16px;
  padding-top: 15px;
  color: color-mix(in srgb, var(--on-dark) 70%, transparent);
  font-size: .88rem;
}

.detail-gallery__item figcaption span {
  color: var(--accent-light);
  font-weight: 850;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
}

.about-grid__copy h2 {
  margin-top: 12px;
}

.about-grid__copy .lead {
  margin-top: 26px;
}

.principle-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.principle-list span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.principle-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.principle-list p {
  color: var(--muted);
  font-size: .94rem;
}

.about-collage {
  position: relative;
  min-height: 660px;
}

.about-collage img {
  position: absolute;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-collage img:first-child {
  inset: 0 0 80px 14%;
  width: 86%;
  height: calc(100% - 80px);
  object-position: center 55%;
}

.about-collage img:last-child {
  bottom: 0;
  left: 0;
  width: 46%;
  height: 290px;
  border: 8px solid var(--paper);
  object-position: center 58%;
}

.contact-hero {
  padding: clamp(64px, 8vw, 104px) 0 0;
  background: var(--ink);
  color: var(--on-dark);
}

.contact-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 52px;
  align-items: end;
  padding-bottom: clamp(52px, 7vw, 86px);
}

.contact-hero h1 {
  margin-top: 14px;
  font-size: clamp(3.1rem, 6vw, 6.3rem);
}

.contact-hero__intro > p {
  color: color-mix(in srgb, var(--on-dark) 66%, transparent);
  font-size: 1.08rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  background: var(--paper);
}

.contact-aside h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.contact-aside > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  font-style: normal;
}

.contact-direct a,
.contact-direct > p {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-direct span,
.contact-direct > p span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-direct strong,
.contact-direct > p strong {
  font-size: 1.08rem;
}

.contact-hint {
  margin-top: auto !important;
  padding-top: 36px;
  font-size: .86rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid details {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-grid summary {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.faq-grid details p {
  margin-top: 16px;
  color: var(--muted);
  font-size: .92rem;
}

.contact-form-wrap {
  padding: clamp(30px, 5vw, 64px);
}

.contact-form-wrap h2 {
  margin-bottom: 32px;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .84rem;
  font-weight: 800;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.textarea {
  min-height: 160px;
  resize: vertical;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .84rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.check-field a {
  color: var(--accent);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.form-actions p {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.form-actions button:disabled {
  cursor: wait;
  opacity: .68;
}

.form-status {
  min-height: 1.5em;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}

.form-status:empty {
  min-height: 0;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: #a1301b;
}

.legal-page {
  min-height: 64vh;
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--paper);
}

.legal-head {
  max-width: 840px;
  margin-bottom: 44px;
}

.legal-head h1 {
  margin-top: 12px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.legal-head p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-layout {
  display: grid;
  max-width: 920px;
  gap: 18px;
}

.legal-layout--wide {
  max-width: 1040px;
}

.legal-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-wrap: anywhere;
}

.legal-card--notice {
  border-left: 5px solid var(--accent);
  background: var(--accent-tint);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card .text-link {
  display: inline;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.legal-document {
  overflow-wrap: anywhere;
}

.legal-document > h2 {
  margin-top: 44px;
  padding-top: 4px;
}

.legal-document > h2:first-child,
.legal-document > p:first-child + h2 {
  margin-top: 0;
}

.legal-document h2[id],
.withdrawal-form h2[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-left: 1.3rem;
}

.legal-document li::marker {
  color: var(--accent);
  font-weight: 800;
}

.legal-document code {
  padding: .12em .38em;
  border-radius: 4px;
  background: var(--paper-2);
  font-size: .92em;
}

.legal-address {
  margin-top: 16px;
  font-style: normal;
}

.legal-toc {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px 20px 20px 42px !important;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.legal-toc a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 3px;
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-emphasis {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  font-weight: 650;
}

.withdrawal-form {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 2px solid var(--line-strong);
}

.withdrawal-form h2 {
  margin-bottom: 16px;
}

.form-line {
  height: 34px;
  border-bottom: 1px solid var(--text);
}

.form-line--short {
  max-width: 320px;
}

.form-line-label {
  margin-top: 5px !important;
  color: var(--muted);
  font-size: .85rem;
}

.legal-source {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

.legal-source img {
  width: auto;
  height: 55px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 0;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%),
    var(--paper);
}

.error-page__content {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.error-page__content > .brand {
  margin-bottom: clamp(72px, 10vw, 120px);
}

.error-page__number {
  position: absolute;
  top: 42px;
  right: clamp(20px, 5vw, 64px);
  color: color-mix(in srgb, var(--accent) 10%, transparent);
  font-size: clamp(7rem, 20vw, 18rem);
  font-weight: 950;
  letter-spacing: -.1em;
  line-height: .75;
  pointer-events: none;
}

.error-page h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.error-page__content > p:not(.eyebrow, .error-page__number) {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.error-page .button-row {
  margin-top: 30px;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .55fr) minmax(250px, .75fr);
  gap: 52px;
  padding: 68px 0 54px;
}

.site-footer .brand__mark {
  background: var(--accent);
  color: var(--on-accent);
}

.site-footer .brand__text strong,
.site-footer .brand__text small {
  color: var(--footer-text);
}

.footer-about p {
  max-width: 430px;
  margin-top: 20px;
  color: var(--footer-copy);
}

.footer-main h2 {
  margin-bottom: 18px;
  color: var(--footer-heading);
  font-size: .73rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--footer-link);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--footer-text);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 14px;
  font-style: normal;
}

.footer-contact strong {
  display: block;
  color: var(--footer-text);
  font-size: 1.1rem;
}

.footer-contact span {
  display: block;
  color: var(--footer-small);
  font-size: .82rem;
}

.footer-contact .btn--accent,
.footer-contact .btn--accent span {
  color: var(--footer-accent-text);
}

.footer-contact .btn--accent span {
  color: var(--footer-accent-span);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-bottom);
  font-size: .8rem;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom a[aria-current="page"] {
  color: var(--footer-text);
}

.footer-bottom a:hover {
  color: var(--footer-text);
}

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

.theme-designer {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}

.theme-designer__toggle {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  min-width: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #17191c;
  box-shadow: 0 14px 42px rgba(12, 14, 12, .24);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  pointer-events: auto;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.theme-designer__toggle:hover {
  background: #2a2e29;
}

.theme-designer__toggle svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: #b7c976;
}

.theme-designer__dialog {
  --customizer-ink: #17191c;
  --customizer-muted: #626761;
  --customizer-line: #d7d9d1;
  --customizer-paper: #f6f7f2;
  --customizer-surface: #ffffff;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  min-width: 0;
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--customizer-line);
  margin: 0 0 0 auto;
  background: var(--customizer-paper);
  box-shadow: -24px 0 80px rgba(12, 14, 12, .22);
  color: var(--customizer-ink);
  pointer-events: auto;
}

.theme-designer__dialog[open] {
  display: flex;
  flex-direction: column;
}

.theme-designer__dialog::backdrop {
  background: rgba(10, 12, 10, .58);
  backdrop-filter: blur(4px);
}

.theme-designer__dialog :focus-visible {
  outline-color: #70823d;
}

.theme-designer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--customizer-line);
  background: var(--customizer-surface);
}

.theme-designer__head > div {
  min-width: 0;
}

.theme-designer__head p {
  margin-bottom: 5px;
  color: #667542;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.theme-designer__head h2 {
  font-size: 1.72rem;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.theme-designer__close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 1px solid var(--customizer-line);
  border-radius: 9px;
  background: var(--customizer-paper);
  color: var(--customizer-ink);
  font-size: 1.45rem;
  line-height: 1;
}

.theme-designer__body {
  min-width: 0;
  overflow-y: auto;
  padding: 24px 26px 30px;
}

.theme-designer__intro {
  margin-bottom: 24px;
  color: var(--customizer-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.theme-designer fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.theme-designer fieldset + fieldset {
  margin-top: 28px;
}

.theme-designer legend {
  width: 100%;
  margin-bottom: 12px;
  color: var(--customizer-ink);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.theme-presets {
  display: grid;
  gap: 9px;
}

.theme-preset {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid var(--customizer-line);
  border-radius: 10px;
  background: var(--customizer-surface);
  color: var(--customizer-ink);
  text-align: left;
}

.theme-preset:hover {
  border-color: #9da58d;
}

.theme-preset[aria-pressed="true"] {
  border-color: #657437;
  box-shadow: 0 0 0 2px rgba(101, 116, 55, .15);
}

.theme-preset__swatches {
  display: flex;
  overflow: hidden;
  width: 68px;
  height: 36px;
  border: 1px solid rgba(23, 25, 28, .12);
  border-radius: 7px;
}

.theme-preset__swatches i {
  flex: 1;
}

.theme-preset strong,
.theme-preset small {
  display: block;
  overflow-wrap: anywhere;
}

.theme-preset strong {
  font-size: .88rem;
}

.theme-preset small {
  margin-top: 2px;
  color: var(--customizer-muted);
  font-size: .72rem;
}

.theme-preset__check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #657437;
  color: #fff;
  font-size: .72rem;
  opacity: 0;
}

.theme-preset[aria-pressed="true"] .theme-preset__check {
  opacity: 1;
}

.theme-color-list {
  display: grid;
  gap: 9px;
}

.theme-color-control {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid var(--customizer-line);
  border-radius: 10px;
  background: var(--customizer-surface);
}

.theme-color-control label {
  min-width: 0;
  font-size: .82rem;
  font-weight: 750;
}

.theme-color-control label small {
  display: block;
  margin-top: 2px;
  color: var(--customizer-muted);
  font-size: .69rem;
  font-weight: 550;
  line-height: 1.35;
}

.theme-color-control__picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-color-control input[type="color"] {
  width: 46px;
  height: 38px;
  padding: 3px;
  border: 1px solid #c5c9bd;
  border-radius: 8px;
  background: #fff;
}

.theme-color-control output {
  min-width: 62px;
  color: #5c6159;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.theme-designer__status {
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 12px;
  border-left: 3px solid #657437;
  border-radius: 4px;
  background: #ecefe4;
  color: #48503f;
  font-size: .76rem;
  line-height: 1.45;
}

.theme-designer__actions {
  display: flex;
  min-width: 0;
  gap: 9px;
  padding: 16px 26px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--customizer-line);
  background: var(--customizer-surface);
}

.theme-designer__action {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #242824;
  border-radius: 8px;
  background: #242824;
  color: #fff;
  font-size: .77rem;
  font-weight: 800;
}

.theme-designer__action--secondary {
  border-color: var(--customizer-line);
  background: var(--customizer-paper);
  color: var(--customizer-ink);
}

.lightbox {
  width: min(1100px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0f1113;
  color: #fff;
  box-shadow: 0 30px 120px rgba(0, 0, 0, .5);
}

.lightbox::backdrop {
  background: rgba(4, 5, 6, .86);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  display: grid;
  max-height: calc(100dvh - 36px);
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox img {
  width: 100%;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
}

.lightbox figcaption {
  padding: 16px 22px;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(15, 17, 19, .82);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

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

.js .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal {
  transition: opacity .6s ease, transform .6s ease;
}

@media (max-width: 1080px) {
  .nav {
    gap: 20px;
  }

  .header-actions > .btn {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-mosaic {
    grid-auto-rows: 170px;
  }

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

  .process-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-hero__grid,
  .detail-hero__grid {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

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

  .nav,
  .header-actions > .btn {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    min-height: 640px;
    padding: 76px max(24px, calc((100vw - var(--container)) / 2 + 16px));
  }

  .home-hero__media {
    min-height: 540px;
  }

  .section-intro,
  .page-hero__grid,
  .detail-hero__grid,
  .detail-overview,
  .additional-services,
  .about-grid,
  .contact-hero__intro,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .section-intro {
    align-items: start;
  }

  .page-hero__media,
  .detail-hero__media {
    width: min(100%, 680px);
  }

  .project-card,
  .project-card--wide,
  .project-card--tall,
  .project-card--short {
    grid-column: span 6;
    grid-row: span 2;
  }

  .project-card--wide {
    grid-column: span 12;
  }

  .proof-band__grid {
    grid-template-columns: 1fr;
  }

  .proof-band__grid .btn {
    justify-self: start;
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery__item:first-child {
    grid-column: span 2;
  }

  .detail-gallery__item:first-child button {
    aspect-ratio: 16 / 10;
  }

  .about-collage {
    min-height: 590px;
    order: -1;
  }

  .contact-hero__intro {
    align-items: start;
  }

  .contact-aside {
    order: 0;
  }

  .contact-form-wrap {
    order: 1;
  }

  .footer-main {
    grid-template-columns: 1.2fr .8fr;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

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

  .brand__text small {
    display: none;
  }

  .page-hero__copy,
  .detail-hero__copy,
  .page-hero__copy h1,
  .detail-hero__copy h1,
  .section-intro h2,
  .contact-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .home-hero__copy {
    min-height: auto;
    padding: 68px 18px 54px;
  }

  .home-hero__copy h1 {
    font-size: clamp(2.85rem, 14vw, 4.5rem);
  }

  .home-hero__media {
    min-height: 410px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-proof div {
    padding: 14px 16px;
  }

  .photo-caption {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
  }

  .service-grid,
  .service-grid--three {
    grid-template-columns: 1fr;
  }

  .service-card__body,
  .service-card--compact .service-card__body {
    min-height: auto;
  }

  .project-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .project-card,
  .project-card--wide,
  .project-card--tall,
  .project-card--short {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

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

  .process-grid--three {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 170px;
  }

  .process-card > span {
    margin-bottom: 34px;
  }

  .page-hero__media::before {
    top: -9px;
    right: -5px;
  }

  .detail-gallery,
  .detail-gallery__item:first-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .detail-gallery__item button,
  .detail-gallery__item:first-child button {
    aspect-ratio: 4 / 5;
  }

  .about-collage {
    min-height: 430px;
  }

  .about-collage img:first-child {
    bottom: 55px;
    left: 9%;
    width: 91%;
    height: calc(100% - 55px);
  }

  .about-collage img:last-child {
    width: 52%;
    height: 190px;
    border-width: 5px;
  }

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

  .field--full,
  .check-field,
  .form-actions {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-head h1 {
    font-size: clamp(2.15rem, 8.8vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .legal-card {
    padding: 22px 18px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-source {
    align-items: flex-start;
    flex-direction: column;
  }

  .error-page {
    padding: 12px 0;
  }

  .error-page__content {
    min-height: calc(100vh - 24px);
    padding: 28px 20px;
  }

  .error-page__content > .brand {
    margin-bottom: 100px;
  }

  .error-page__number {
    top: 108px;
    right: 24px;
  }

  .theme-designer__toggle {
    top: calc(var(--header-height) + 12px);
    right: 12px;
    bottom: auto;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    transform: none;
    writing-mode: horizontal-tb;
  }

  .theme-designer__toggle span {
    display: none;
  }

  .theme-designer__dialog {
    inset: auto 0 0;
    width: 100%;
    height: min(88dvh, 760px);
    border-top: 1px solid var(--customizer-line);
    border-left: 0;
    border-radius: 18px 18px 0 0;
    margin: auto 0 0;
  }

  .theme-designer__head {
    padding: 20px 18px 16px;
  }

  .theme-designer__body {
    padding: 20px 18px 26px;
  }

  .theme-designer__actions {
    padding-inline: 18px;
  }

  .theme-designer__action {
    padding-inline: 10px;
    font-size: .72rem;
  }

  .theme-color-control {
    gap: 10px;
  }

  .theme-color-control output {
    display: none;
  }
}

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

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

  .js .reveal:not(.in-view) {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .theme-designer,
  .skip-link {
    display: none !important;
  }

  body,
  .legal-page {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .legal-page {
    padding: 0;
  }

  .container,
  .legal-layout,
  .legal-layout--wide {
    width: 100%;
    max-width: none;
  }

  .legal-head {
    margin-bottom: 24px;
  }

  .legal-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .legal-source {
    break-inside: avoid;
  }
}
