/* Procut Painters — homepage painting & decorating styles */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #12151a;
  --ink-soft: #4a515c;
  --paper: #eef0f2;
  --paper-deep: #e2e5e9;
  --surface: #fafbfc;
  --accent: #2f5d56;
  --accent-deep: #234842;
  --brass: #9a8158;
  --line: rgba(18, 21, 26, 0.11);
  --line-strong: rgba(18, 21, 26, 0.18);
  --max: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(18, 21, 26, 0.12);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* Shared content rail — keeps header + hero + sections aligned */
.site-rail {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* ——— Header ——— */
.atelier-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-quote {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.8rem;
  box-shadow: none;
}

.header-inner-spacer {
  display: none;
}

.atelier-header .brand,
.atelier-header .nav,
.atelier-header .header-actions {
  position: relative;
  z-index: 1;
}

/* Keep header content on the same centered rail as the page */
.atelier-header::before {
  content: none;
}

.atelier-header.is-scrolled {
  background: rgba(238, 240, 242, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.atelier-header.is-hero-light .brand-mark,
.atelier-header.is-hero-light .nav-link,
.atelier-header.is-hero-light .menu-toggle span {
  color: #f5f6f7;
}

.atelier-header.is-hero-light .menu-toggle span {
  background: #f5f6f7;
}

.atelier-header.is-scrolled.is-hero-light .brand-mark,
.atelier-header.is-scrolled.is-hero-light .nav-link {
  color: var(--ink);
}

.atelier-header.is-scrolled.is-hero-light .menu-toggle span {
  background: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  box-shadow: 0 6px 16px rgba(18, 21, 26, 0.08);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

/* Avoid double logos: hide header logo while the hero brand is in view */
.atelier-header.is-hero-light:not(.is-scrolled) .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}

.brand-logo {
  display: block;
  width: clamp(120px, 16vw, 148px);
  height: auto;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.atelier-header.is-hero-light:not(.is-scrolled) .brand-sub {
  color: rgba(245, 246, 247, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7faf9;
  box-shadow: 0 14px 34px rgba(47, 93, 86, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.btn-ghost-light {
  background: transparent;
  color: #f5f6f7;
  border: 1px solid rgba(245, 246, 247, 0.45);
}

.btn-ghost-light:hover {
  background: rgba(245, 246, 247, 0.1);
}

.btn-on-dark {
  background: #f5f6f7;
  color: var(--ink);
}

.btn-on-dark:hover {
  background: #fff;
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 6px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #f5f6f7;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: hero-settle 4.8s var(--ease) forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.45) 0%, rgba(10, 12, 16, 0.2) 40%, rgba(10, 12, 16, 0.78) 100%);
}

.hero-rail {
  position: relative;
  z-index: 1;
  /* Keep on the same max-width rail as the header (do not full-bleed) */
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 56px;
  display: flex;
  justify-content: flex-start;
}

.hero-content {
  width: 100%;
  max-width: 36rem;
  text-align: left;
  margin-inline: 0;
}

.hero-brand {
  margin: 0 0 16px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-logo {
  display: block;
  width: clamp(160px, 28vw, 240px);
  height: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 12, 16, 0.22);
}

.hero h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.4rem);
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: 14px;
  margin-inline: 0;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 36ch;
  margin-inline: 0;
  color: rgba(245, 246, 247, 0.88);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.52s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust strip — early proof without crowding the hero */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  padding: 16px var(--gutter);
  background: var(--ink);
  color: rgba(238, 240, 242, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.trust-strip span {
  position: relative;
}

.trust-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-50%);
}

/* ——— Sections ——— */
.section {
  padding: clamp(56px, 8vw, 100px) var(--gutter);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-narrow {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Intro */
.intro {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.intro-stat {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--accent);
}

.intro-stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 18ch;
}

.intro-copy h2 {
  max-width: 16ch;
}

/* Work */
.work {
  background: var(--paper);
}

.work-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.work-feature {
  position: relative;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}

.work-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.work-feature:hover img {
  transform: scale(1.04);
}

.work-feature figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.72));
  color: #f5f6f7;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.work-rail figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  position: relative;
}

.work-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.work-rail figure:hover img {
  transform: scale(1.05);
}

.work-rail figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.7));
  color: #f5f6f7;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Before / after comparison */
.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;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.compare-card {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.compare-meta {
  margin-bottom: 0;
  max-width: 36rem;
}

.compare-meta h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  margin-bottom: 6px;
}

.compare-meta p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.compare {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 720px;
  background: #1a1d22;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow-soft);
}

.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

img[data-src] {
  background: var(--paper-deep);
}

img.is-lazy-loaded {
  animation: lazyFade 0.35s var(--ease) both;
}

@keyframes lazyFade {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  img.is-lazy-loaded {
    animation: none;
  }
}

.compare-before {
  position: absolute;
  inset: 0;
}

.compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.compare-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.62);
  color: #f5f6f7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-label-before {
  left: 14px;
}

.compare-label-after {
  right: 14px;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.compare-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #f5f6f7;
  box-shadow: 0 0 0 1px rgba(10, 12, 16, 0.2);
  transform: translateX(-50%);
}

.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f6f7;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(10, 12, 16, 0.28);
  transform: translate(-50%, -50%);
}

.compare-range-label {
  position: absolute;
  inset: 0;
  z-index: 5;
  margin: 0;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
}

.work-rail-wide {
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  align-items: stretch;
}

.work-rail-wide figure {
  aspect-ratio: 4 / 5;
}

.work-rail-wide .work-rail-span {
  aspect-ratio: auto;
}

.work-rail-wide .work-rail-span img {
  min-height: 100%;
}

/* Desktop work gallery */
.work-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  min-height: 520px;
}

.work-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #1a1d22;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease);
}

.work-gallery figure:hover img {
  transform: scale(1.03);
}

.work-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 18px 16px;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.72));
  color: #f5f6f7;
  font-size: 0.88rem;
  font-weight: 600;
}

.work-gallery-main {
  grid-row: 1 / span 2;
  min-height: 520px;
}

.work-gallery-side {
  min-height: 250px;
}

/* Services — editorial list, not cards */
.services {
  background: var(--ink);
  color: #eef0f2;
  text-align: center;
}

.services .eyebrow {
  color: #c4ad7a;
}

.services h2 {
  margin-inline: auto;
  max-width: 18ch;
}

.services .section-lead {
  color: rgba(238, 240, 242, 0.72);
  margin-inline: auto;
  max-width: 42ch;
}

.service-list {
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(238, 240, 242, 0.14);
  max-width: 52rem;
  text-align: left;
}

.service-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(238, 240, 242, 0.14);
  cursor: pointer;
  transition: background 0.25s ease;
  background: transparent;
  border-left: 0;
  border-right: 0;
  width: 100%;
  text-align: left;
  color: inherit;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #c4ad7a;
}

.service-item h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 4px;
}

.service-item p {
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.95rem;
  max-width: 42ch;
}

.service-arrow {
  font-size: 1.4rem;
  color: #c4ad7a;
  transition: transform 0.25s var(--ease);
}

.service-item:hover .service-arrow {
  transform: translateX(6px);
}

/* Approach */
.approach {
  background: var(--surface);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
  counter-reset: step;
}

.approach-step {
  position: relative;
  padding-top: 8px;
}

.approach-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.approach-step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.approach-step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Proof / reviews — wallpaper peel carousel */
.proof {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(47, 93, 86, 0.1), transparent 70%),
    linear-gradient(180deg, #e8ebe8 0%, var(--paper) 45%, #eef0f2 100%);
  overflow: hidden;
}

.proof-carousel {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.proof-head {
  margin-bottom: 28px;
}

.proof-heading {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 500;
  margin: 0 auto 20px;
  max-width: 18ch;
}

.proof-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 21, 26, 0.08);
  box-shadow: 0 10px 28px rgba(18, 21, 26, 0.06);
}

.proof-stars {
  display: block;
  color: var(--brass);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  line-height: 1;
}

.proof-rating-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.25;
}

.proof-rating-copy strong {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.proof-stage {
  position: relative;
  min-height: 320px;
  touch-action: pan-y;
  overflow: hidden;
}

.proof-underlay {
  position: absolute;
  inset: 18px 22px 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f4f1ea, #ebe6dc);
  box-shadow: inset 0 0 0 1px rgba(18, 21, 26, 0.06);
  z-index: 0;
}

.proof-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  z-index: 1;
  contain: layout paint;
}

.proof-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  z-index: 2;
}

.proof-slide.is-entering {
  position: absolute;
  z-index: 2;
  visibility: visible;
  pointer-events: none;
  animation: review-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.proof-slide.is-leaving {
  position: absolute;
  z-index: 3;
  visibility: visible;
  pointer-events: none;
  animation: review-out 0.48s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.proof-paper {
  position: relative;
  width: min(100%, 640px);
  padding: clamp(28px, 4vw, 42px) clamp(22px, 4vw, 40px) clamp(24px, 3.5vw, 34px);
  text-align: left;
  background: linear-gradient(160deg, #f7f4ee 0%, #efeae1 100%);
  border: 1px solid rgba(18, 21, 26, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 32px rgba(18, 21, 26, 0.08);
  overflow: hidden;
}

.proof-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(47, 93, 86, 0.1);
  border: 1px solid rgba(47, 93, 86, 0.16);
}

.proof-slide blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.proof-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.proof-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.proof-meta-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.proof-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #f4f7f6;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(47, 93, 86, 0.28);
}

.proof-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease), border-color 0.2s ease;
  box-shadow: 0 8px 20px rgba(18, 21, 26, 0.06);
}

.proof-nav:hover {
  background: #fff;
  border-color: rgba(47, 93, 86, 0.35);
  transform: translateY(-1px);
}

.proof-nav span {
  display: block;
  margin-top: -2px;
}

/* Smooth quote change — transform + opacity only */
@keyframes review-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-16px, -6px, 0);
  }
}

@keyframes review-in {
  from {
    opacity: 0;
    transform: translate3d(16px, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.proof-progress {
  width: min(220px, 46%);
  height: 2px;
  margin: 18px auto 0;
  background: rgba(18, 21, 26, 0.1);
  overflow: hidden;
  border-radius: 999px;
}

.proof-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--brass));
}

.proof-carousel.is-playing .proof-progress-bar {
  animation: proof-progress var(--proof-interval, 5.8s) linear forwards;
}

@keyframes proof-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.proof-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.proof-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.proof-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 21, 26, 0.18);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, width 0.2s ease;
}

.proof-dot:hover {
  background: rgba(47, 93, 86, 0.55);
}

.proof-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.proof-pause {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 4px;
}

.proof-pause:hover,
.proof-pause[aria-pressed="true"] {
  color: var(--accent-deep);
}

@media (max-width: 760px) {
  .proof-frame {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-nav {
    display: none;
  }

  .proof-stage {
    min-height: 300px;
  }

  .proof-paper {
    text-align: center;
  }

  .proof-meta {
    justify-content: center;
    text-align: left;
  }

  .proof-rating {
    gap: 10px;
    padding: 8px 12px;
  }

  .proof-slide blockquote {
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-slide.is-leaving,
  .proof-slide.is-entering,
  .proof-carousel.is-playing .proof-progress-bar {
    animation: none;
  }

  .proof-slide.is-leaving {
    opacity: 0;
    transform: none;
  }

  .proof-slide.is-entering,
  .proof-slide.is-active {
    opacity: 1;
    transform: none;
  }
}

/* FAQ (SEO / AI answer blocks) */
.faq {
  background: var(--surface);
}

.faq .eyebrow,
.faq h2,
.faq .section-lead {
  text-align: center;
  margin-inline: auto;
}

.faq .section-lead {
  max-width: 42rem;
}

.faq-list {
  max-width: 720px;
  margin: 36px auto 0;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 12px 28px 12px 0;
  position: relative;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-body);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  max-width: 58ch;
}

.faq-item a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

/* Final CTA */
.finale {
  position: relative;
  overflow: hidden;
  color: #f5f6f7;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: center;
}

.finale-media {
  position: absolute;
  inset: 0;
}

.finale-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.finale-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 12, 16, 0.78) 0%, rgba(10, 12, 16, 0.42) 55%, rgba(10, 12, 16, 0.28) 100%);
}

.finale-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(72px, 10vw, 110px) var(--gutter);
  max-width: none;
}

.finale-content > * {
  max-width: 34rem;
}

.finale h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}

.finale p {
  color: rgba(245, 246, 247, 0.82);
  margin-bottom: 28px;
  max-width: 34ch;
}

/* Footer */
.atelier-footer {
  background: var(--ink);
  color: rgba(238, 240, 242, 0.72);
  padding: 48px var(--gutter) 36px;
}

.atelier-footer .footer-top,
.atelier-footer .footer-bottom {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.12);
}

.footer-brand .footer-logo {
  display: block;
  width: min(200px, 70%);
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}

.footer-brand .brand-mark {
  color: #f5f6f7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.footer-links a,
.footer-links button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  color: rgba(238, 240, 242, 0.78);
  cursor: pointer;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #c4ad7a;
  text-decoration: none;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  min-height: 54px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #f7faf9;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 40px rgba(18, 21, 26, 0.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.intake-open .sticky-cta,
body.nav-open .sticky-cta {
  display: none !important;
}

/* Intake modal — atelier skin */
.intake-modal:not(.is-open) {
  display: none !important;
}

.intake-modal.is-open {
  display: grid !important;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 18px;
}

.intake-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.62);
  backdrop-filter: blur(4px);
}

.intake-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: var(--surface);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-soft);
}

.atelier-intake-dialog {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  width: min(880px, 100%);
  max-height: min(92vh, 860px);
  padding: 0;
  overflow: hidden;
  animation: modal-rise 0.34s var(--ease);
}

.intake-aside {
  position: relative;
  min-height: 100%;
  background: var(--ink);
}

.intake-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 420px;
}

.intake-aside-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 22px;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.82));
  color: #f5f6f7;
}

.intake-aside-copy p {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4ad7a;
}

.intake-aside-copy strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.atelier-intake-dialog .intake-form {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  overflow: hidden;
  max-height: min(92vh, 860px);
}

.intake-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.intake-footer-bar {
  flex-shrink: 0;
  padding-top: 12px;
}

.atelier-intake-dialog .intake-close {
  z-index: 2;
  color: #f5f6f7;
  background: rgba(10, 12, 16, 0.35);
}

.intake-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.intake-trust li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 93, 86, 0.1);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.intake-modal.is-open {
  animation: modal-fade 0.28s var(--ease);
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.intake-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

.intake-form .kicker,
.intake-form .eyebrow {
  margin-bottom: 8px;
}

.intake-form h2 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.intake-intro {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.intake-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.intake-form textarea {
  min-height: 96px;
  resize: vertical;
}

.intake-primary-service,
.intake-project-details {
  margin-bottom: 14px;
}

.intake-optional-hint {
  font-weight: 500;
  opacity: 0.7;
}

.intake-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.intake-response-promise {
  margin: 8px 0 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.intake-actions {
  display: flex;
  gap: 10px;
}

.intake-actions .button,
.intake-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #f7faf9;
  font-weight: 700;
  cursor: pointer;
}

.intake-actions .button:hover,
.intake-submit:hover {
  background: var(--accent-deep);
}

.intake-call-alt {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.intake-call-alt a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.intake-form-message {
  min-height: 1.2em;
  margin: 8px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.intake-form-message.is-error {
  color: #9b2c2c;
}

.intake-form-message.is-success {
  color: var(--accent);
}

body.intake-open {
  overflow: hidden;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .intro-grid,
  .approach-steps,
  .work-rail,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compare-meta {
    margin-bottom: 4px;
  }

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

  .work-rail-wide,
  .work-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .work-gallery-main,
  .work-gallery-side {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .work-gallery-side:first-of-type {
    aspect-ratio: 3 / 4;
  }

  .service-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-arrow {
    display: none;
  }

  .atelier-intake-dialog {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .intake-aside {
    display: none;
  }

  .atelier-intake-dialog .intake-close {
    color: var(--ink-soft);
    background: transparent;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .header-quote {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
    right: 14px;
    left: 14px;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  body.nav-open .nav,
  .nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--ink) !important;
    margin: 0;
  }

  .nav-cta {
    display: none;
  }

  .atelier-header.is-hero-light .nav-link {
    color: var(--ink);
  }

  .brand {
    padding: 4px 8px;
  }

  .brand-logo {
    width: clamp(108px, 32vw, 132px);
  }

  .brand-mark {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    max-width: min(38vw, 11rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
  }

  .hero-rail {
    width: 100%;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 20px);
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    text-align: center;
    margin-inline: auto;
  }

  .hero-brand {
    margin-bottom: 12px;
  }

  .hero-logo {
    width: clamp(148px, 48vw, 190px);
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    max-width: 15ch;
    margin-bottom: 12px;
    margin-inline: auto;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: 34ch;
    margin-bottom: 20px;
    margin-inline: auto;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    justify-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    padding: 14px var(--gutter);
    justify-items: center;
  }

  .trust-strip span {
    width: 100%;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .trust-strip span::after {
    display: none;
  }

  .section {
    padding: 52px var(--gutter);
  }

  .section h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .section-lead {
    font-size: 1rem;
  }

  .intro-stat {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .work-feature {
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
  }

  .work-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-rail figure {
    aspect-ratio: 16 / 10;
  }

  .compare-grid {
    width: 100%;
    max-width: none;
  }

  .compare {
    max-width: none;
  }

  .service-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
    min-height: 72px;
    -webkit-tap-highlight-color: transparent;
  }

  .service-item h3 {
    font-size: 1.2rem;
  }

  .service-item p {
    font-size: 0.9rem;
  }

  .approach-step {
    padding-bottom: 8px;
  }

  .proof-slide blockquote {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem);
  }

  .finale {
    min-height: 70svh;
  }

  .finale-content {
    padding: 64px var(--gutter) calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .finale h2 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .finale .btn {
    width: 100%;
    min-height: 52px;
  }

  .atelier-footer {
    padding: 40px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .intake-modal.is-open {
    align-items: end;
    padding: 0;
  }

  .intake-dialog,
  .atelier-intake-dialog {
    width: 100%;
    max-height: min(92dvh, 920px);
    height: auto;
    border-radius: 20px 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .atelier-intake-dialog .intake-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 16px 0;
    max-height: min(92dvh, 920px);
    overflow: hidden;
  }

  .atelier-intake-dialog .intake-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    color: var(--ink-soft);
    background: rgba(238, 240, 242, 0.92);
  }

  /* Compact fields so submit stays on-screen */
  .atelier-intake-dialog .eyebrow {
    margin-bottom: 4px;
    font-size: 0.65rem;
  }

  .atelier-intake-dialog .intake-form h2 {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .atelier-intake-dialog .intake-intro,
  .atelier-intake-dialog .intake-trust,
  .atelier-intake-dialog .intake-response-promise {
    display: none;
  }

  .atelier-intake-dialog .intake-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .atelier-intake-dialog .intake-form label {
    gap: 4px;
    font-size: 0.78rem;
  }

  .atelier-intake-dialog .intake-form input,
  .atelier-intake-dialog .intake-form select,
  .atelier-intake-dialog .intake-form textarea {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .atelier-intake-dialog .intake-form textarea {
    min-height: 64px;
  }

  .atelier-intake-dialog .intake-primary-service,
  .atelier-intake-dialog .intake-project-details {
    margin-top: 10px;
  }

  .atelier-intake-dialog .intake-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .atelier-intake-dialog .intake-footer-bar {
    flex-shrink: 0;
    margin: 0 -16px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 -10px 24px rgba(18, 21, 26, 0.06);
  }

  .atelier-intake-dialog .intake-actions {
    margin: 0;
  }

  .atelier-intake-dialog .intake-actions .button,
  .atelier-intake-dialog .intake-submit {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
  }

  .atelier-intake-dialog .intake-call-alt {
    margin: 8px 0 0;
    font-size: 0.82rem;
    text-align: center;
  }

  .atelier-intake-dialog .intake-form-message:empty {
    display: none;
  }

  .atelier-intake-dialog .intake-form-message:not(:empty) {
    margin-bottom: 8px;
  }

  .compare {
    aspect-ratio: 3 / 2;
  }

  .compare-handle-knob {
    width: 44px;
    height: 44px;
  }

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

  .intake-form input,
  .intake-form select,
  .intake-form textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .sticky-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet — between phone and desktop */
@media (min-width: 761px) and (max-width: 980px) {
  :root {
    --header-h: 72px;
    --max: 920px;
    --gutter: clamp(20px, 3.5vw, 32px);
  }

  .menu-toggle,
  .header-quote {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    margin-left: auto;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav-link {
    width: auto;
    min-height: 0;
    color: inherit;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 70svh;
    max-height: 720px;
  }

  .hero-rail {
    width: min(var(--max), 100%);
    justify-content: flex-start;
  }

  .hero-content {
    text-align: left;
    max-width: 34rem;
    margin-inline: 0;
  }

  .hero h1,
  .hero-lead {
    margin-inline: 0;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: auto;
  }

  .trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
  }

  .trust-strip span {
    flex: 0 1 auto;
    width: auto;
  }

  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Desktop polish — shared rail, left-aligned hero under brand */
@media (min-width: 981px) {
  :root {
    --header-h: 80px;
    --max: 1180px;
    --gutter: clamp(24px, 3vw, 40px);
  }

  .header-quote,
  .menu-toggle,
  .header-actions,
  .sticky-cta {
    display: none !important;
  }

  .hero {
    min-height: 78vh;
    max-height: 800px;
  }

  .hero-rail {
    width: min(var(--max), 100%);
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 72px;
    justify-content: flex-start;
  }

  .hero-content {
    max-width: 38rem;
    text-align: left;
    margin-inline: 0;
  }

  .hero-brand {
    margin-bottom: 18px;
  }

  .hero-logo {
    width: clamp(180px, 20vw, 240px);
  }

  .hero h1 {
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    margin-inline: 0;
  }

  .hero-lead {
    font-size: 1.08rem;
    margin-inline: 0;
  }

  .hero-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    min-height: 52px;
    padding: 0 26px;
    font-size: 0.95rem;
    width: auto;
  }

  .trust-strip {
    justify-content: center;
    gap: 10px 32px;
  }

  .section {
    padding-top: clamp(80px, 8vw, 120px);
    padding-bottom: clamp(80px, 8vw, 120px);
  }

  .work-header {
    margin-bottom: 44px;
  }

  .nav {
    gap: 2px 4px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .nav-cta {
    min-height: 46px;
    padding: 0 20px;
    margin-left: 8px;
  }

  .intro-grid {
    gap: 72px;
  }

  .services .section-lead,
  .approach .section-lead {
    max-width: 48ch;
  }

  .service-item {
    padding: 28px 4px;
  }

  .approach-steps {
    gap: 48px;
  }

  .compare-grid {
    width: min(680px, 100%);
  }

  body {
    padding-bottom: 0;
  }
}

@media (min-width: 1200px) {
  :root {
    --max: 1240px;
  }

  .work-gallery {
    min-height: 560px;
    gap: 20px;
  }

  .finale {
    min-height: 580px;
  }
}
