/* Non-hero presentation layer. Never scope these tokens to :root or the hero. */
/* A static, five-percent warm backdrop; never an emissive halo on the metal. */
.hero-back-glow { position: absolute; z-index: 0; pointer-events: none; left: 48%; top: 46%; width: min(72vw, 72rem); height: min(84svh, 56rem); transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgb(221 197 160 / .05) 0%, rgb(221 197 160 / .025) 35%, transparent 72%); opacity: var(--hero-back-glow-opacity, 1); }
.intro-pending .hero-back-glow { visibility: hidden; }
@media (max-width: 760px) { .hero-back-glow { left: 50%; top: 22rem; width: 100%; height: 32rem; } }
@media (min-width: 761px) {
  .site-header .site-nav { gap: clamp(1.875rem, 3vw, 3rem); }
  .site-header .site-nav a { display: inline-flex; align-items: center; padding-block: .5em; margin-block: -.5em; color: #fff; text-decoration: none; }
  .site-header .site-nav .nav-label { display: inline-flex; pointer-events: none; }
  .site-header .site-nav .nav-letter { display: inline-block; overflow: hidden; }
  .site-header .site-nav .nav-letter > span { display: block; position: relative; }
  .site-header .site-nav .nav-letter > span::after { content: attr(data-letter); position: absolute; top: 135%; left: 0; }
  .site-header .site-nav a:is(:hover, :focus-visible) { color: #fff; }
}
@media (min-width: 761px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header .site-nav .nav-letter > span { transition: transform 220ms cubic-bezier(.25, .1, .25, 1); }
  .site-header .site-nav a:is(:hover, :focus-visible) .nav-letter > span { transform: translateY(-135%); transition-duration: 260ms; transition-delay: calc(var(--letter-index) * 7ms); }
}
/* Figma Services: 24/1200 inset, 68/1200 number column, regular 20/24 capabilities. */
@media (min-width: 761px) {
  body .services-section .service-row { padding-inline: 2cqi; grid-template-columns: 4.666667cqi minmax(0, 1fr) 10% 10%; }
  body .services-section .service-row .service-number { margin-left: 0; }
  body .services-section .service-row p { font-size: clamp(.9375rem, 1.666667cqi, 1.5rem); line-height: 1.2; }
}
body .services-section .service-row p { font-family: 'Helixa', sans-serif; font-weight: 400; font-style: normal; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; font-synthesis: none; letter-spacing: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body .services-section .service-row { position: relative; isolation: isolate; border-radius: 0; border-bottom-color: #3C322D; transition: border-color 300ms ease, opacity 900ms var(--motion-ease), transform 900ms var(--motion-ease); }
body .services-section .service-row::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 1rem; background: var(--beige); opacity: 0; transition: opacity 420ms ease; }
body .services-section .service-list { border-top-color: #3C322D; transition: border-color 300ms ease; }
body .services-section .service-row :is(h3, p, .service-number) { transition: color 360ms ease, opacity 360ms ease, transform 900ms var(--motion-ease); }
@media (hover: hover) {
  body .services-section .service-row:hover { border-bottom-color: transparent; }
  body .services-section .service-row:hover::before { opacity: 1; }
  body .services-section .service-row:has(+ .service-row:hover) { border-bottom-color: transparent; }
  body .services-section .service-list:has(> .service-row:first-child:hover) { border-top-color: transparent; }
  body .services-section .service-row:hover h3 { color: #201E1C; }
  body .services-section .service-row:hover p { color: var(--dark-brown); opacity: 1; }
  body .services-section .service-row:hover .service-number { color: var(--brown); opacity: .45; }
}
body .services-section .service-row:focus-within { border-bottom-color: transparent; }
body .services-section .service-row:focus-within::before { opacity: 1; }
body .services-section .service-row:has(+ .service-row:focus-within) { border-bottom-color: transparent; }
body .services-section .service-list:has(> .service-row:first-child:focus-within) { border-top-color: transparent; }
body .services-section .service-row:focus-within h3 { color: #201E1C; }
body .services-section .service-row:focus-within p { color: var(--dark-brown); opacity: 1; }
body .services-section .service-row:focus-within .service-number { color: var(--brown); opacity: .45; }
@media (prefers-reduced-motion: reduce) {
  body .services-section .service-row, body .services-section .service-row::before, body .services-section .service-row :is(h3, p, .service-number) { transition: none; }
}
/* Desktop scroll cue: supplied mouse artwork, with a stationary outline. */
@media (min-width: 761px) {
  .hero .scroll-cue { bottom: clamp(2.5rem, 5svh, 4rem); }
  .hero .scroll-cue rect { stroke-opacity: 1; }
  .scroll-cue-wheel { animation: scroll-cue-descent 2.2s cubic-bezier(.4, 0, .3, 1) infinite; }
}
@keyframes scroll-cue-descent {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue-wheel { animation: none; } }
:where(.page-section, .hero-statement, .philosophy, .contact-panel) {
  --content-max: 1440px;
  --section-gutter: max(8.333333vw, calc((100vw - var(--content-max)) / 2));
  --section-space: clamp(88px, 10.4vw, 150px);
  --section-heading: clamp(36px, 5vw, 72px);
  --section-body: clamp(16px, 1.25vw, 18px);
  --section-grey: var(--grey);
  --section-radius: 16px;
  --section-gap: clamp(16px, 1.667vw, 24px);
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-fast: 220ms;
  --motion-standard: 480ms;
  --motion-reveal: 800ms;
  --card-hover-duration: 650ms;
  --card-hover-ease: cubic-bezier(.4, 0, .2, 1);
}
body .page-section:not(.founder) {
  width: auto;
  margin-inline: var(--section-gutter);
  padding-block: var(--section-space);
}
body .page-section h2, body .contact-panel h2 {
  font-size: var(--section-heading);
  line-height: 1.166667;
  letter-spacing: .02em;
  font-weight: 500;
}
body .page-section .eyebrow,
body .founder .founder-copy > .eyebrow,
body .philosophy .eyebrow {
  font: var(--eyebrow-weight) var(--eyebrow-size)/1.125 'Helixa', sans-serif;
  font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100;
  font-synthesis: none;
  letter-spacing: .08em;
  color: var(--eyebrow-color);
}
.page-section .center-heading .eyebrow { margin-bottom: 24px; }
.page-section .center-heading { max-width: 900px; margin-inline: auto; }
.page-section .center-heading h2 { background-image: linear-gradient(90deg, var(--beige) 0%, #fff 38%, #fff 100%); }
.page-section :is(h2, h3, p, blockquote) { overflow-wrap: break-word; }
.page-section a:focus-visible, .contact-panel a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

/* Studio and statistics: Figma 588 × 180 cards with a 24px gap. */
body .studio-section.page-section { container-type: inline-size; width: auto; margin-inline: var(--section-gutter); padding-bottom: 80px; }
body .studio-section > .eyebrow { margin: 0 0 32px; }
body .studio-section #studio-title { margin: 0; }
/* Keep the reference's three desktop lines proportional to the section width. */
@media (min-width: 761px) {
  body .studio-section #studio-title { font-size: min(5cqi, 72px); text-indent: 12%; text-wrap: initial; }
  #studio-title .studio-line { display: inline; white-space: nowrap; }
  #studio-title .studio-break { display: inline; }
}
body .studio-section h2 { max-width: 100%; text-indent: 12%; font-family: Arturm, sans-serif; font-size: clamp(32px, 5cqi, 72px); font-weight: 400; line-height: 1.133333; letter-spacing: .02em; background-image: linear-gradient(151.757757deg, var(--beige) 15.031%, rgba(255, 255, 255, .9) 33.319%); background-clip: text; -webkit-background-clip: text; color: transparent; opacity: .96; }
.studio-section .studio-bottom { margin-top: 44px; gap: 40px; }
.studio-section .studio-bottom p { max-width: 476px; font-size: 18px; font-weight: 400; line-height: 1.55; }
body .stats.page-section { padding-top: 0; gap: var(--section-gap); }
.stats article {
  grid-template-columns: minmax(120px, 1fr) minmax(0, 1fr);
  gap: 24px;
  min-height: 176px;
  padding: clamp(28.8px, 3.333333vw, 48px) clamp(24px, 3.333vw, 48px);
  border-radius: var(--section-radius);
}
.stats strong { font-family: Arturm, sans-serif; font-weight: 400; font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1; letter-spacing: 0; font-synthesis: none; color: var(--black); white-space: nowrap; }
.stats span { font-family: 'Helixa', sans-serif; font-weight: 400; font-size: clamp(1rem, 1.388889vw, 1.5rem); line-height: 1.4; letter-spacing: 0; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; font-synthesis: none; max-width: 25ch; color: var(--dark-brown); }
@media (max-width: 760px) { .stats .stat-break { display: none; } }

/* Stable media slots: replace the placeholder class only when real media exists. */
.work-showcase { container-type: inline-size; }
.work-showcase .projects { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); align-items: center; column-gap: 0; row-gap: 6cqi; margin-top: clamp(52px, 10cqi, 120px); }
.work-item { min-width: 0; }
.work-item .project, .work-item .work-caption { cursor: pointer; }
.work-item--1 { grid-column: 1 / span 10; grid-row: 1; }
.work-item--2 { grid-column: 13 / span 8; grid-row: 1; }
.work-item--3 { grid-column: 6 / span 15; grid-row: 2; }
.work-item--4 { grid-column: 1 / span 8; grid-row: 3; }
.work-item--5 { grid-column: 11 / span 10; grid-row: 3; }
.work-item--6 { grid-column: 1 / span 15; grid-row: 4; }
.work-showcase .work-caption { margin: 2cqi 0 0; font: 400 clamp(18px, 2.333333cqi, 28px)/1.285714 'Helixa', sans-serif; letter-spacing: 0; color: #fff; }
/* Preserve the crop offsets from the six Figma image masks. */
.work-item--1 .project-media { inset: -.444444% auto auto -1.166667%; width: 101.666667%; height: 101.777778%; }
.work-item--2 .project-media { inset: -.46875% auto auto -.625%; width: 101.041667%; height: 100.9375%; }
.work-item--3 .project-media { inset: -.181818% auto auto -5.222222%; width: 106.333333%; height: 106%; }
.work-item--4 .project-media { inset: -.3125% auto auto -1.666667%; width: 101.666667%; height: 101.71875%; }
.work-item--5 .project-media { inset: 0 auto auto -18.833333%; width: 123%; height: 123.111111%; }
.work-item--6 .project-media { inset: -.363636% auto auto -.333333%; width: 101.222222%; height: 101.272727%; }
.work-showcase .project {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
}
.project-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.project-media--placeholder { background: var(--cream); }
.stats article, .why-grid article, .project-media--placeholder {
  transition: background-color 480ms var(--motion-ease), opacity var(--motion-reveal, 800ms) var(--motion-ease), transform var(--motion-reveal, 800ms) var(--motion-ease);
}
@media (hover: hover) {
  .stats article:hover, .why-grid article:hover,
  .project:hover .project-media--placeholder { background-color: #fff; }
}
.work-item--2 .project, .work-item--4 .project { aspect-ratio: 3 / 4; }
.work-item--3 .project, .work-item--6 .project { aspect-ratio: 18 / 11; }
.project-media picture { display: block; width: 100%; height: 100%; }
.project-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 500ms var(--motion-ease); }
.project-caption img { filter: brightness(0); }
@media (hover: hover) {
  .project:hover .project-media:not(.project-media--placeholder) img { transform: scale(1.02); }
}

/* Services: 1200px reference, 192px rows, exported frames on the right. */
.services-section { container-type: inline-size; }
.services-section .center-heading { max-width: none; margin-inline: 0; text-align: left; }
.services-section .center-heading h2 { font-size: clamp(28px, 6cqi, 72px); }
.services-section .service-number, .services-section .service-row p { font-family: 'Helixa', sans-serif; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; font-synthesis: none; }
.services-section .service-number { font-weight: 300; line-height: .9; }
.services-section .service-row p { font-weight: 400; }
.services-section .service-list { margin-top: clamp(52px, 6.11vw, 88px); }
.services-section .service-row {
  display: grid;
  grid-template-columns: 6.583333% minmax(0, 1fr) 10% 10%;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0;
  padding-block: 3cqi;
  min-height: 16cqi;
}
.service-row .service-number { grid-column: 1; grid-row: 1; align-self: start; margin: 1.666667cqi 0 0 1cqi; font-size: clamp(16px, 1.666667cqi, 24px); font-weight: 300; letter-spacing: .08em; color: var(--beige); opacity: .30; }
.service-row .service-icon-frame { position: relative; grid-column: 3; grid-row: 1 / 3; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; }
.service-icon-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.services-section .service-row h3 { grid-column: 2; grid-row: 1; margin: 0; color: #fff; font: 400 clamp(28px, 4cqi, 57.6px)/1.166667 'Helixa', sans-serif; }
.services-section .service-row p { grid-column: 2; grid-row: 2; margin: 1cqi 0 0; max-width: none; color: var(--grey); opacity: 1; font-size: clamp(14px, 1.5cqi, 21.6px); font-weight: 400; line-height: 1.333333; white-space: pre-wrap; }
.service-icon-frame img { position: absolute; }
.service-icon-frame--product-design img { width: 150%; height: 150%; left: -25%; top: -25%; }
.service-icon-frame--brand-identity img, .service-icon-frame--web-design img { width: 133.333333%; height: 133.333333%; left: -16.666667%; top: -16.666667%; }
.service-icon-frame--ai-films img { width: 166.666667%; height: 166.666667%; left: -33.333333%; top: -37.5%; }
/* Balance the text group with room below the title; icons do not stretch its rows. */
@media (min-width: 761px) {
  .services-section .service-row { position: relative; grid-template-rows: max-content max-content; align-content: center; row-gap: 2cqi; }
  .services-section .service-row .service-number { align-self: start; margin: 1cqi 0 0 1cqi; }
  .services-section .service-row p { margin-top: 0; }
  .services-section .service-row .service-icon-frame { position: absolute; grid-column: auto; grid-row: auto; width: 10%; right: 10%; top: 50%; translate: 0 -50%; }
}

/* Philosophy retains its orange panel and its own Figma 64/72 type scale. */
@media (min-width: 761px) and (max-width: 1100px) {
  .services-section .service-row .service-icon-frame { width: 12%; right: 4%; }
}
body .philosophy { margin-inline: var(--section-gutter); min-height: 0; padding: clamp(64px, 8.333vw, 144px); background: var(--orange); }
body .philosophy .eyebrow { color: #8C5014; margin: 0; }
body .philosophy h2 { max-width: 85.833333%; font-family: Arturm, sans-serif; font-size: clamp(32px, 6.666667cqi, 76.8px); font-weight: 400; font-synthesis: none; line-height: 1.125; letter-spacing: .02em; margin: 32px 0 68px; color: var(--black); opacity: .96; }
body .philosophy-note { margin: 0; font: 500 clamp(18px, 2.5cqi, 28.8px)/1.333333 'Helixa', sans-serif; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; font-synthesis: none; letter-spacing: 0; color: var(--black); opacity: .8; }

/* Why Artocea: exact exported image frames, equal-height content cards. */
.why .why-grid { grid-auto-rows: 1fr; gap: var(--section-gap); margin-top: clamp(52px, 6.11vw, 88px); }
.why-grid article { container-type: inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, 36%); grid-template-rows: auto 1fr; column-gap: 16px; min-height: 300px; padding: clamp(28px, 3.333vw, 48px); border-radius: var(--section-radius); }
.why-grid .why-copy { grid-column: 1; grid-row: 2; align-self: center; }
/* Shared fluid title scale accommodates the longest heading on one line. */
.page-section .why-grid .eyebrow { grid-column: 1 / -1; margin: 0 0 32px; color: var(--brown); font-size: clamp(12px, 3.252cqi, 18px); line-height: 1.125; letter-spacing: .08em; }
.why-grid h3 { font-family: 'Helixa', sans-serif; font-size: min(34px, 5.4cqi); white-space: nowrap; font-weight: 500; line-height: 1.111111; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; margin-bottom: 16px; }
.why-grid p:not(.eyebrow) { max-width: 28ch; font-family: 'Helixa', sans-serif; font-size: clamp(16px, 3.659cqi, 24px); font-weight: 400; line-height: 1.555556; font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100; color: var(--dark-brown); }
/* Figma: 200px frame, 36px top/right inset on a 588px-wide card. */
.why-art { position: absolute; top: clamp(24px, 2.5vw, 36px); right: 6.122449%; width: 34.013605%; aspect-ratio: 1; overflow: hidden; }
.why-art img { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.why-art--senior img { left: -11.11%; top: -5.56%; width: 111.11%; height: 111.11%; }
.why-art--startup img { top: -1.96%; width: 98.04%; height: 98.04%; }
.why-art--details img { left: -8.83%; top: -7.69%; width: 113.96%; height: 113.96%; }
/* Desktop reference: 588 × 300; all dimensions scale with the card. */
@media (min-width: 761px) {
  .why-grid article { display: grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; row-gap:clamp(40px,5vw,72px); padding:8.163265%; min-height:300px; aspect-ratio:auto; }
  .page-section .why-grid .eyebrow { position: static; margin: 0; font-size: 2.721088cqi; }
  .why-grid .why-copy { position: relative; left:auto; top:auto; width:62%; align-self:end; }
  .why-grid h3 { font-size: 6.122449cqi; line-height: 1.111111; margin: 0 0 2.721088cqi; }
  .why-grid p:not(.eyebrow) { font-size: 3.061224cqi; line-height: 1.555556; max-width: 100%; margin: 0; }
  .why-art { top: 12%; }
  .why-grid article:last-child .why-copy { top:auto; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .why .why-grid { grid-template-columns: 1fr; }
}
@media (hover: hover) {
  .why-grid article.is-visible:hover { transform: translateY(-2px); }
}

/* Carousel geometry remains compatible with the existing infinite scroll math. */
.testimonials .quote-track {
  --card-width: min(960px, 50vw);
  margin-inline: calc(-1 * var(--section-gutter));
  padding-inline: calc((100vw - var(--card-width)) / 2);
  scroll-padding-inline: calc((100vw - var(--card-width)) / 2);
  scroll-behavior: auto;
  gap: 24px;
}
.testimonials .quote-card { flex: 0 0 var(--card-width); min-height: min(640px, 33.333333vw); padding: min(96px, 5vw) min(80px, 4.166667vw); gap: min(80px, 4.166667vw); }
.testimonials .quote-card blockquote { max-width: min(81.5%, 652px); font-size: clamp(20px, 2.083333vw, 40px); font-weight: 350; line-height: 1.25; }
.testimonials .quote-card figcaption span { font-size: clamp(18px, 1.53vw, 22px); font-weight: 500; }
.quote-logo--committee { padding: 7px; }
.testimonials .quote-card > :is(blockquote, figcaption) { opacity: .5; transition: opacity 480ms var(--motion-ease); }
.testimonials .quote-card:is(.is-active, :focus-within) > :is(blockquote, figcaption) { opacity: 1; }
@media (hover: hover) {
  .testimonials .quote-track:not(.is-dragging) .quote-card:hover > :is(blockquote, figcaption) { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials .quote-card > :is(blockquote, figcaption) { transition: none; }
}
.testimonials .quote-controls { margin-block: 48px 80px; }

/* Two slow, opposing logo rows. Without JS they remain native-scroll lists. */
/* Independent translate keeps hover motion separate from scroll-reveal transforms. */
.stats article, .why-grid article, .client-row > li, .testimonials .quote-card, .work-item .project {
  transition-property: background-color, opacity, transform, translate, box-shadow;
  transition-duration: 480ms, 800ms, 800ms, 400ms, 400ms;
  transition-timing-function: var(--motion-ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stats article:hover, .why-grid article.is-visible:hover { translate: 0 -2px; }
  .why-grid article.is-visible:hover { transform: none; }
  .testimonials .quote-track:not(.is-dragging) .quote-card:hover { box-shadow: inset 0 0 0 1px rgba(22, 21, 20, .06); }
}
@media (prefers-reduced-motion: reduce) {
  .stats article, .why-grid article, .client-row > li, .testimonials .quote-card, .work-item .project { transition: none !important; translate: none !important; }
}
.clients-heading { max-width: 927px; }
.clients-heading .eyebrow { margin-bottom: 24px; }
.client-rows { display: grid; gap: 24px; margin-top: 80px; margin-inline: calc(-1 * var(--section-gutter)); }
.client-row { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; list-style: none; margin: 0; padding: 0; scrollbar-width: thin; scrollbar-color: var(--cream) transparent; }
.client-row li { display: grid; place-items: center; flex: 0 0 auto; width: clamp(220px, 25vw, 480px); aspect-ratio: 3 / 2; border-radius: var(--section-radius); background: var(--cream); scroll-snap-align: start; transition: background-color 480ms var(--motion-ease); }
.clients .client-row > li { transition: background-color 480ms var(--motion-ease), translate 400ms var(--motion-ease); }
@media (min-width: 761px) {
  .client-row li { width: clamp(165px, 18.75vw, 360px); }
}
.client-row img { display: block; width: var(--logo-width, 50%); height: var(--logo-height, 40%); object-fit: contain; pointer-events: none; }
/* Individual exported bounds relative to each 360 × 240 Figma card. */
.client-row img[src*="/wearattraction.svg"] { --logo-width: 41.852%; --logo-height: 23.333%; }
.client-row img[src*="/design-by-committee.svg"] { --logo-width: 52.862%; --logo-height: 18.313%; }
.client-row img[src*="/imultifamily.svg"] { --logo-width: 42.726%; --logo-height: 44.583%; }
.client-row img[src*="/goomood.svg"] { --logo-width: 43.524%; --logo-height: 45.417%; }
.client-row img[src*="/onlineminds.svg"] { --logo-width: 51.751%; --logo-height: 11.677%; }
.client-row img[src*="/onivius.svg"] { --logo-width: 45.920%; --logo-height: 47.917%; }
.client-row img[src*="/icarasia.svg"] { --logo-width: 45.356%; --logo-height: 39.583%; }
.client-row img[src*="/happydemy.svg"] { --logo-width: 43.524%; --logo-height: 45.417%; }
.client-row img[src*="/client-09.svg"] { --logo-width: 59.245%; --logo-height: 37.917%; }
.client-row img[src*="/loopify.svg"] { --logo-width: 45.313%; --logo-height: 36.250%; }
.client-row:focus-visible { outline: 2px solid var(--cream); outline-offset: 6px; }
.client-marquee { position: relative; isolation: isolate; min-width: 0; overflow: hidden; padding-block: 8px; margin-block: -8px; }
.client-row.is-marquee { width: max-content; overflow: visible; animation: client-drift 30s linear infinite; animation-play-state: paused; }
.client-marquee:nth-child(2) .client-row.is-marquee { animation-direction: reverse; }
.client-rows.is-in-view .client-row.is-marquee { animation-play-state: running; }
.client-rows:is(:hover, :focus-within) .client-row.is-marquee { animation-play-state: paused; }
@keyframes client-drift { to { transform: translateX(calc(-50% - 12px)); } }

/* Founder composition and signature offsets stay in founder.css. */
body .founder .founder-copy > .eyebrow {
  color: var(--beige);
  font: 500 clamp(.875rem, 1.111111vw, 1.2rem)/1.125 'Helixa', sans-serif;
  letter-spacing: .08em;
}
body .founder .founder-copy > p:not(.eyebrow) {
  max-width: min(100%, 32.9375rem);
  color: var(--grey);
  font: 400 clamp(1rem, 1.388889vw, 1.5rem)/1.5 'Helixa', sans-serif;
  font-optical-sizing: none;
  font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100;
  font-synthesis: none;
  letter-spacing: 0;
  margin: 0 0 1.5em;
}
body .founder .founder-copy h2 { font-size: min(var(--section-heading), 12.56cqi); }
body .founder .founder-photo { --reveal-travel: 12px; --motion-reveal: 700ms; }
body .contact-panel { padding: clamp(64px, 8.333333vw, 144px) max(24px, calc(var(--section-gutter) - 16px)) 32px; min-height: 0; color: var(--black); }
.contact-panel .contact-top { grid-template-columns: 51.916667% minmax(0, 1fr); gap: 0; align-items: start; }
.contact-panel .contact-top > div { container-type: inline-size; min-width: 0; --contact-type-scale: clamp(1.875rem, 10cqi, 6rem); }
.contact-panel .contact-top h2 { max-width: 100%; margin: 0; font-family: Arturm, sans-serif; font-size: var(--contact-type-scale); line-height: 1.142857; font-weight: 500; letter-spacing: 0; font-synthesis: none; color: var(--black); opacity: .96; }
.contact-panel .contact-top p { max-width: 79.821429%; margin: max(1rem, calc(var(--contact-type-scale) * .321429)) 0 max(1.25rem, calc(var(--contact-type-scale) * .428571)); font-family: 'Helixa', sans-serif; font-size: max(1rem, calc(var(--contact-type-scale) * .321429)); line-height: 1.5; font-weight: 350; font-synthesis: none; }
.contact-panel .button { margin: 0; padding: 1.428571em 2em; border-radius: .857143em; font: 600 max(.8125rem, calc(var(--contact-type-scale) * .25))/1.714286 'Helixa', sans-serif; letter-spacing: .02em; color: var(--black); }
/* Shared label weight for filled CTAs and text-style buttons. */
body .button,
body .line-link,
body .founder .founder-copy .line-link {
  font-weight: 600;
  font-synthesis: none;
}
.contact-panel .footer-wordmark { margin: clamp(64px, 6.944444vw, 100px) 0 47px; }
.contact-panel .footer-bottom { display: grid; grid-template-columns: auto auto 1fr; gap: 1.5em; align-items: baseline; border-top: 1px solid var(--black); padding-top: 48px; padding-bottom: 48px; font: 400 clamp(.875rem, calc(.5rem + .5vw), 1.375rem)/1.5 'Helixa', sans-serif; }
.contact-panel .footer-bottom > a, .contact-panel .footer-bottom nav { font-weight: 500; }
/* Move only the label; the link hit area stays still to prevent hover flicker. */
.contact-panel .footer-bottom a { display: inline-block; text-decoration: none; }
.contact-panel .footer-bottom a:hover { text-decoration: none; }
.contact-panel .footer-bottom a > span { display: inline-block; pointer-events: none; translate: 0 0; transition: translate 350ms cubic-bezier(.25, .1, .25, 1); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .contact-panel .footer-bottom a:hover > span { translate: 0 -.07em; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-panel .footer-bottom a > span { transition: none; }
}
.contact-panel .footer-bottom nav { justify-self: end; justify-content: flex-end; flex-wrap: wrap; gap: .75em 1.5em; font-size: inherit; }
@media (max-width: 1100px) {
  .contact-panel .footer-bottom { grid-template-columns: 1fr auto; }
  .contact-panel .footer-bottom nav { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .contact-panel .contact-top { grid-template-columns: 1fr; gap: 40px; }
  .contact-panel .contact-top p { max-width: 100%; }
  .contact-panel .contact-mark { width: 80px; height: 80px; }
  .contact-panel .footer-bottom { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
}

/* Progressive enhancement: visible by default, armed only after observer setup. */
body .page-section.reveal, body .page-section .reveal,
body .philosophy.reveal, body .contact-panel .reveal { opacity: 1; transform: none; }
.page-section [data-reveal], .philosophy [data-reveal], .philosophy[data-reveal], .contact-panel [data-reveal],
.page-section[data-reveal] { transition: opacity var(--motion-reveal, 800ms) var(--motion-ease), transform var(--motion-reveal, 800ms) var(--motion-ease); }
.stats article[data-reveal], .why-grid article[data-reveal] { transition: background-color 480ms var(--motion-ease), opacity var(--motion-reveal, 800ms) var(--motion-ease), transform var(--motion-reveal, 800ms) var(--motion-ease); }
body .reveal-pending:not(.is-visible) { opacity: 0; transform: translateY(var(--reveal-travel, 20px)); }
body .philosophy[data-reveal] { transition: opacity 950ms var(--motion-ease), transform 950ms var(--motion-ease); transform-origin: center bottom; }
body .philosophy.reveal-pending:not(.is-visible) { opacity: 0; transform: translateY(32px) scale(.99); }
/* Override the legacy visible .reveal rule for entire card surfaces. */
body :is(.stats article, .why-grid article, .work-item, .client-marquee, .quote-track).reveal-pending:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px) scale(.985);
}
body :is(.stats article, .why-grid article, .work-item, .client-marquee, .quote-track)[data-reveal] {
  transform-origin: center bottom;
  transition-duration: 900ms;
  transition-timing-function: var(--motion-ease);
}
.service-row { --motion-reveal: 900ms; }
.service-row h3, .service-row p, .service-row .service-number, .service-row .service-icon-frame { transition: opacity 900ms var(--motion-ease), transform 900ms var(--motion-ease); }
.service-row.reveal-pending:not(.is-visible) { opacity: 1; transform: none; border-bottom-color: transparent; }
.service-row.reveal-pending:not(.is-visible) :is(h3, p, .service-number) { opacity: 0; transform: translate(-12px, 12px); }
.service-row.reveal-pending:not(.is-visible) .service-icon-frame { opacity: 0; transform: translateX(24px) scale(.98); }
.service-row.is-visible h3 { transition-delay: 70ms; }
.service-row.is-visible p { transition-delay: 140ms; }
.service-row.is-visible .service-icon-frame { transition-delay: 210ms; }
/* Quiet, one-time entrances; no scroll hijacking or changes to layout. */
.page-section h2[data-reveal] { --reveal-travel: 24px; --motion-reveal: 950ms; }
.page-section .eyebrow[data-reveal] { --reveal-travel: 10px; --motion-reveal: 650ms; }
.client-marquee[data-reveal], .quote-track[data-reveal] { --reveal-travel: 16px; --motion-reveal: 900ms; }
.why-grid .why-copy, .why-grid .why-art { transition: opacity 850ms var(--motion-ease), translate 850ms var(--motion-ease); }
.why-grid article.reveal-pending:not(.is-visible) .why-copy { opacity: 0; translate: 0 12px; }
.why-grid article.reveal-pending:not(.is-visible) .why-art { opacity: 0; translate: 0 16px; }
.why-grid article.is-visible .why-copy { transition-delay: 80ms; }
.why-grid article.is-visible .why-art { transition-delay: 140ms; }
.work-item .project-media { transition: scale 1100ms var(--motion-ease), background-color 480ms var(--motion-ease); }
.work-item.reveal-pending:not(.is-visible) .project-media { scale: 1.025; }
.motion-line { display: block; overflow: hidden; }
.motion-line > span { display: block; transition: transform 820ms var(--motion-ease), opacity 820ms var(--motion-ease); }
.reveal-pending:not(.is-visible) .motion-line > span { transform: translateY(100%); opacity: 0; }
.is-visible .motion-line:nth-child(2) > span { transition-delay: 70ms; }
.is-visible .motion-line:nth-child(3) > span { transition-delay: 140ms; }
.is-visible .motion-line:nth-child(4) > span { transition-delay: 210ms; }
.is-visible .motion-line:nth-child(n+5) > span { transition-delay: 280ms; }
[data-reveal-step="1"].is-visible { transition-delay: 70ms; }
[data-reveal-step="2"].is-visible { transition-delay: 140ms; }
[data-reveal-step="3"].is-visible { transition-delay: 210ms; }
[data-reveal-step="4"].is-visible { transition-delay: 280ms; }

/* Resting cards use the same gentle easing on hover-in and hover-out.
   Keep translate in the transition list so reveal rules cannot make it jump. */
@media (prefers-reduced-motion: no-preference) {
  body .stats article.is-visible,
  body .why-grid article.is-visible,
  .clients .client-row > li,
  .testimonials .quote-card,
  .work-item .project {
    transition: background-color var(--card-hover-duration) var(--card-hover-ease),
      translate var(--card-hover-duration) var(--card-hover-ease),
      box-shadow var(--card-hover-duration) var(--card-hover-ease),
      opacity 900ms var(--motion-ease), transform 900ms var(--motion-ease);
  }
  body .stats article.is-visible,
  body .why-grid article.is-visible { transition-delay: 0s; }
  .testimonials .quote-card > :is(blockquote, figcaption) { transition: opacity var(--card-hover-duration) var(--card-hover-ease); }
  .work-item .project-media { transition: scale 1100ms var(--motion-ease), background-color var(--card-hover-duration) var(--card-hover-ease); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body .why-grid article.is-visible {
    translate: 0 0;
    transition: background-color 450ms var(--card-hover-ease),
      translate 450ms cubic-bezier(.32, 0, .24, 1),
      opacity 900ms var(--motion-ease), transform 900ms var(--motion-ease);
    transition-delay: 0s;
  }
  body .why-grid article.is-visible:hover {
    translate: 0 -4px;
    transition-duration: 650ms, 800ms, 900ms, 900ms;
    transition-timing-function: var(--card-hover-ease), cubic-bezier(.22, .61, .36, 1), var(--motion-ease), var(--motion-ease);
  }
}
body [data-masked].reveal-pending:not(.is-visible) { opacity: 1; transform: none; }

@media (min-width: 761px) and (max-width: 1100px) {
  :where(.page-section, .hero-statement, .philosophy, .contact-panel) { --section-gutter: clamp(48px, 6vw, 64px); }
  .stats article { grid-template-columns: 1fr; gap: 20px; }
  .services-section .service-row { grid-template-columns: 6.583333% minmax(0, 1fr) 12% 4%; min-height: 160px; }
  .why-grid article { grid-template-columns: minmax(0, 1fr); }
  .why-art { width: 34.013605%; }
  .founder.page-section { gap: 40px; }
}
@media (max-width: 760px) {
  :where(.page-section, .hero-statement, .philosophy, .contact-panel) { --section-gutter: clamp(20px, 5.56vw, 24px); --section-space: 88px; }
  body .studio-section h2 { text-indent: 0; }
  .studio-break { display: none; }
  .stats article { grid-template-columns: minmax(112px, .9fr) minmax(0, 1.1fr); gap: 16px; min-height: 144px; padding: 24px; }
  .work-showcase .projects { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .work-showcase .work-item { grid-column: 1; grid-row: auto; }
  .work-showcase .project { min-height: 0; border-radius: 20px; }
  .work-showcase .work-caption { margin-top: 20px; }
  .studio-section .studio-bottom { gap: 24px; }
  .services-section .service-row { grid-template-columns: 24px minmax(0, 1fr) 64px; gap: 16px; min-height: 0; padding-block: 28px; }
  .service-row .service-number { margin: 7px 0 0; }
  .service-row .service-icon-frame { align-self: start; }
  .services-section .service-row h3 { font-size: clamp(26px, 6vw, 36px); }
  .services-section .service-row p { grid-column: 2 / -1; margin: 0; }
  body .philosophy { padding: 64px 24px; }
  body .philosophy h2 { max-width: 100%; margin-block: 32px 48px; }
  .philosophy-break { display: none; }
  .why-grid article { grid-template-columns: minmax(0, 1fr); min-height: 300px; padding: 28px; }
  .why-grid .eyebrow { margin-bottom: 24px; }
  .why-grid h3 { font-size: min(28px, 7cqi); }
  .why-grid p:not(.eyebrow) { max-width: 36ch; }
  .why-art { position: relative; top: auto; right: auto; width: 112px; grid-column: 1; grid-row: 3; justify-self: end; margin-top: 16px; }
  .testimonials .quote-track { --card-width: calc(100vw - 2 * var(--section-gutter)); gap: calc(2 * var(--section-gutter)); }
  .testimonials .quote-card { padding: 28px; min-height: 480px; gap: 32px; }
  .testimonials .quote-card blockquote { max-width: 100%; font-size: clamp(24px, 6vw, 30px); }
  .testimonials .quote-controls { margin-bottom: 56px; }
  .client-rows { margin-top: 48px; gap: 16px; }
  .client-row { gap: 16px; }
  @keyframes client-drift { to { transform: translateX(calc(-50% - 8px)); } }
  body .founder .founder-copy h2 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  body .philosophy.reveal-pending:not(.is-visible) { opacity: 1; transform: none; }
  body :is(.stats article, .why-grid article, .work-item, .client-marquee, .quote-track).reveal-pending:not(.is-visible) { opacity: 1; transform: none; }
  .service-row :is(h3, p, .service-number, .service-icon-frame) { transition: none !important; transform: none !important; }
  [data-reveal], .why-grid .why-copy, .why-grid .why-art, .work-item .project-media, .motion-line > span { transition: none !important; translate: none !important; scale: none !important; }
  .why-grid article .why-copy, .why-grid article .why-art { opacity: 1 !important; }
  .client-row.is-marquee { animation: none; width: auto; overflow-x: auto; }
  .client-row [data-marquee-copy] { display: none; }
  body .reveal-pending:not(.is-visible),
  body .reveal-pending:not(.is-visible) :is(h3, p, .service-icon-frame),
  .reveal-pending:not(.is-visible) .motion-line > span { opacity: 1; transform: none; }
  .project:hover .project-media img, .why-grid article.is-visible:hover { transform: none; }
}
