/* ==========================================================================
   Foley Shechter — design.css
   Matches the Figma "Client → To Check" frames. All sizes are taken from the
   1920px desktop frame and scale with the viewport (1 design px = --vw),
   capped at their design value. Below 900px a mobile layout takes over.
   ========================================================================== */

:root {
	--vw: calc(100vw / 1920);
	--ink: #2f2009;
	--ink-soft: rgba(47, 32, 9, 0.78);
	--muted: #8f877d;
	--red: #e72e49;
	--rule: rgba(47, 32, 9, 0.22);
	--paper: #ffffff;
	--walnut: #2f2009;
	--sky-1: #e5f4ff;
	--f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--f-body: "Brandon Grotesque", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--header-h: clamp(64px, calc(110 * var(--vw)), 110px);
	--pad-l: clamp(20px, calc(92 * var(--vw)), 92px);
	--pad-r: clamp(20px, calc(100 * var(--vw)), 100px);
	--side: min(584px, calc(584 * var(--vw)));
	--sec-top: clamp(72px, calc(262 * var(--vw)), 262px);
	--sec-bot: clamp(72px, calc(270 * var(--vw)), 270px);
	/* type scale (design px → fluid) */
	--t-h1: clamp(30px, calc(56 * var(--vw)), 56px);
	--t-h2: clamp(38px, calc(80 * var(--vw)), 80px);
	--t-h3: clamp(26px, calc(64 * var(--vw)), 64px);
	--t-acc: clamp(20px, calc(40 * var(--vw)), 40px);
	--t-h4: clamp(22px, calc(38 * var(--vw)), 38px);
	--t-lead: clamp(18px, calc(34 * var(--vw)), 34px);
	--t-sub: clamp(16px, calc(24 * var(--vw)), 24px);
	--t-ui: clamp(15px, calc(22 * var(--vw)), 22px);
	--t-small: clamp(13px, calc(20 * var(--vw)), 20px);
}

body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-weight: 400; }
body::after { display: none; } /* film grain off: the design is clean photography */
::selection { background: var(--ink); color: #fff; }
.skyline__win { fill: #c9a95a; }

.d-wrap { width: 100%; max-width: 1920px; margin-inline: auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }
.d-sec { position: relative; padding-top: var(--sec-top); padding-bottom: var(--sec-bot); }
.d-split { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; }
.d-split > * { min-width: 0; }
.d-split__side { padding-top: clamp(4px, calc(12 * var(--vw)), 12px); }

/* Section label: red diamond + uppercase */
.d-label { display: flex; align-items: center; gap: clamp(10px, calc(18 * var(--vw)), 18px); font-size: var(--t-ui); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); }
.d-label::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: none; }

.d-h2 { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2); line-height: 1; text-transform: uppercase; letter-spacing: 0; color: var(--ink); }
.d-h4 { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h4); line-height: 1.1; color: var(--ink); }
.d-lead { margin-top: clamp(24px, calc(52 * var(--vw)), 52px); font-size: var(--t-lead); line-height: 1.412; max-width: 17em; }

/* Bracketed numbers [01] */
.d-num { display: inline-flex; align-items: center; gap: 2px; font-family: var(--f-body); font-size: clamp(10px, calc(14 * var(--vw)), 14px); color: var(--muted); line-height: 1; flex: none; }
.d-num i { font-style: normal; font-family: var(--f-display); font-weight: 300; font-size: 2.3em; line-height: 0.8; color: var(--muted); }
.d-num i:first-child { margin-right: 3px; }
.d-num i:last-child { margin-left: 3px; }

/* Learn more ›  */
.d-more { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); line-height: 1; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--ink); transition: gap 0.4s var(--ease); }
.d-more:hover { gap: 14px; }

/* Buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: clamp(10px, calc(16 * var(--vw)), 16px); font-family: var(--f-body); font-weight: 500; font-size: clamp(20px, calc(36 * var(--vw)), 36px); line-height: 1; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s; will-change: transform; }
.d-btn--glass { width: clamp(240px, calc(410 * var(--vw)), 410px); height: clamp(60px, calc(96 * var(--vw)), 96px); color: var(--ink); background: rgba(255, 255, 255, 0.34); border: 1px solid rgba(255, 255, 255, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.d-btn--glass:hover { background: rgba(255, 255, 255, 0.7); }
.d-btn--dark { background: var(--walnut); color: #fff; padding: 0 2em; height: clamp(56px, calc(95 * var(--vw)), 95px); }
.d-btn--dark:hover { background: #4a3517; }
.d-btn--block { width: 100%; }

/* ---------- Header ---------- */
.d-header { background: transparent; }
.d-header__inner { display: flex; align-items: center; height: var(--header-h); }
.d-logo { flex: none; display: block; width: var(--side); }
.d-logo__img { height: clamp(30px, calc(50 * var(--vw)), 50px); width: auto; }
.d-nav { display: none; }
.d-cta-link { display: none; }
@media (min-width: 900px) {
	.d-nav { display: block; flex: 1; }
	.d-nav .nav__list { display: flex; align-items: center; }
	.d-nav li { display: flex; align-items: center; }
	.d-nav li + li::before { content: ""; width: 1px; height: clamp(16px, calc(26 * var(--vw)), 26px); background: rgba(47, 32, 9, 0.35); margin-inline: clamp(18px, calc(39 * var(--vw)), 39px); }
	.d-nav .nav__link { font-size: var(--t-ui); line-height: 1; padding: 6px 0; color: var(--ink); }
	.d-cta-link { display: inline-block; margin-left: auto; font-size: var(--t-ui); line-height: 1; padding-bottom: 7px; border-bottom: 1px solid var(--ink); color: var(--ink); }
	.d-cta-link:hover { opacity: 0.7; }
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); }
.d-header .burger { margin-left: auto; border-color: var(--rule); }

/* ---------- Hero ---------- */
.d-hero { position: relative; height: clamp(600px, calc(1076 * var(--vw)), 1076px); overflow: hidden; background: #f3d9cc; }
.d-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.d-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(118px, calc(172 * var(--vw)), 172px); padding-inline: 20px; }
.d-hero__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h1); line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.d-hero__sub { margin-top: clamp(12px, calc(24 * var(--vw)), 24px); font-family: var(--f-display); font-weight: 600; font-size: var(--t-sub); line-height: 1.2; color: var(--ink); }
.d-hero__text { margin-top: clamp(10px, calc(14 * var(--vw)), 14px); max-width: 23.5em; font-size: var(--t-ui); line-height: 1.32; color: var(--ink); }
.d-hero__mark { margin-top: clamp(14px, calc(22 * var(--vw)), 22px); width: clamp(36px, calc(52 * var(--vw)), 52px); height: auto; color: var(--ink); }
.d-hero .d-btn--glass { margin-top: clamp(18px, calc(26 * var(--vw)), 26px); }

/* ---------- Services ---------- */
.d-services { overflow: hidden; padding-bottom: clamp(72px, calc(282 * var(--vw)), 282px); }
.d-services__statue { position: absolute; left: 0; top: clamp(200px, calc(354 * var(--vw)), 354px); width: min(660px, calc(660 * var(--vw))); height: auto; pointer-events: none; }
.d-services .d-split { position: relative; }
.d-acc { margin-top: clamp(28px, calc(48 * var(--vw)), 48px); }
.d-acc__item { border-bottom: 1px solid var(--rule); }
.d-acc__btn { display: flex; align-items: center; gap: clamp(14px, calc(26 * var(--vw)), 26px); width: 100%; text-align: left; padding: clamp(18px, calc(33 * var(--vw)), 33px) 0; color: var(--ink); }
.d-acc__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-acc); line-height: 1.05; letter-spacing: 0.01em; transition: font-size 0.5s var(--ease), transform 0.5s var(--ease); }
.d-acc--services .d-acc__item.is-open .d-acc__title { font-size: var(--t-h3); }
@media (hover: hover) { .d-acc__btn:hover .d-acc__title { transform: translateX(6px); } }
.d-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.d-acc__item.is-open .d-acc__panel { grid-template-rows: 1fr; }
.d-acc__inner { overflow: hidden; padding-left: calc(clamp(14px, calc(26 * var(--vw)), 26px) + clamp(30px, calc(44 * var(--vw)), 44px)); }
.d-acc--services .d-acc__inner p { font-size: var(--t-lead); line-height: 1.412; max-width: 22em; }
.d-acc--services .d-acc__inner .d-more { margin-top: clamp(18px, calc(32 * var(--vw)), 32px); margin-bottom: clamp(22px, calc(34 * var(--vw)), 34px); }
.d-acc--services .d-acc__item.is-open .d-acc__btn { padding-bottom: clamp(10px, calc(18 * var(--vw)), 18px); }

/* ---------- Clients ---------- */
.d-clients { background: #eaf3fa url("../img/clients-bg.webp") center bottom / cover no-repeat; padding-bottom: clamp(72px, calc(304 * var(--vw)), 304px); }
.d-clients__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(40px, calc(102 * var(--vw)), 102px); padding-left: clamp(0px, calc(54 * var(--vw)), 54px); padding-right: clamp(0px, calc(46 * var(--vw)), 46px); }
.d-clients__img { width: auto; height: clamp(28px, calc(62 * var(--vw)), 62px); }
.d-clients__img--trethera { height: clamp(14px, calc(32 * var(--vw)), 32px); }
.d-clients__img--symphony { height: clamp(28px, calc(72 * var(--vw)), 72px); }
.d-clients__img--carmel { height: clamp(26px, calc(72 * var(--vw)), 72px); }

/* ---------- Photo band ---------- */
.d-band { position: relative; overflow: hidden; aspect-ratio: 1920 / 1036; background: #4b3cc8; }
.d-band img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }

/* ---------- Approach ---------- */
.d-approach { overflow: hidden; }
.d-approach__lines { position: absolute; right: 0; top: clamp(200px, calc(486 * var(--vw)), 486px); width: min(478px, calc(478 * var(--vw))); height: auto; pointer-events: none; }
.d-approach__body { margin-top: clamp(28px, calc(66 * var(--vw)), 66px); }
.d-approach__body p { font-size: var(--t-lead); line-height: 1.412; max-width: 22em; }
.d-approach__body p + p { margin-top: clamp(16px, calc(44 * var(--vw)), 44px); }

/* ---------- Results ---------- */
.d-results { background: linear-gradient(180deg, #fff 0%, #fefeff 20%, var(--sky-1) 100%); padding-top: clamp(72px, calc(279 * var(--vw)), 279px); }
.d-tabs { position: relative; margin-top: clamp(22px, calc(42 * var(--vw)), 42px); }
.d-tabs__list { display: flex; gap: clamp(40px, calc(116 * var(--vw)), 116px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule); padding-bottom: clamp(14px, calc(30 * var(--vw)), 30px); margin-right: calc(var(--pad-r) * -1); }
.d-tabs__list::-webkit-scrollbar { display: none; }
.d-tabs__tab { display: inline-flex; align-items: center; gap: clamp(10px, calc(14 * var(--vw)), 14px); white-space: nowrap; font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, calc(48 * var(--vw)), 48px); line-height: 1; text-transform: uppercase; color: #a39b92; transition: color 0.3s; }
.d-tabs__tab[aria-selected="true"], .d-tabs__tab:hover { color: var(--ink); }
.d-tabs__tab[aria-selected="true"] .d-num, .d-tabs__tab[aria-selected="true"] .d-num i { color: var(--ink); }
.d-tabs__panel { animation: d-panel 0.8s var(--ease); }
@keyframes d-panel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.d-case { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, calc(36 * var(--vw)), 36px); margin-top: clamp(28px, calc(48 * var(--vw)), 48px); }
.d-case p, .d-bullets li { font-size: var(--t-lead); line-height: 1.412; font-weight: 300; color: var(--ink); }
.d-case .d-h4 { margin-bottom: clamp(2px, calc(6 * var(--vw)), 6px); }
.d-case__about .d-more { margin-top: clamp(22px, calc(36 * var(--vw)), 36px); }
.d-bullets li { position: relative; padding-left: 1em; }
.d-bullets li::before { content: "•"; position: absolute; left: 0.1em; font-size: 0.7em; top: 0.2em; }
.d-case__why { grid-column: 1 / -1; margin-top: clamp(40px, calc(80 * var(--vw)), 80px); }
.d-case__why p { max-width: 33.5em; }
.d-results__cut { position: absolute; left: 0; top: clamp(250px, calc(460 * var(--vw)), 460px); height: auto; pointer-events: none; z-index: 0; }
.d-results__cut--podcastone { width: min(606px, calc(606 * var(--vw))); left: max(-306px, calc(-306 * var(--vw))); }
.d-results__cut--ekso-bionics { width: min(263px, calc(263 * var(--vw))); left: calc(150 * var(--vw)); }
.d-results .d-tabs__panel { position: static; }
.d-results .d-split, .d-results .d-tabs { position: static; }

/* ---------- Statement ---------- */
.d-statement { position: relative; padding-top: clamp(80px, calc(270 * var(--vw)), 270px); padding-bottom: clamp(80px, calc(279 * var(--vw)), 279px); background: #dfeaf2 var(--bg) center / cover no-repeat; text-align: center; }
.d-statement__mark { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(50px, calc(90 * var(--vw)), 90px); line-height: 0.5; height: clamp(26px, calc(42 * var(--vw)), 42px); color: var(--ink); }
.d-statement__text { max-width: min(1180px, calc(1180 * var(--vw))); margin: clamp(30px, calc(60 * var(--vw)), 60px) auto 0; font-family: var(--f-body); font-weight: 400; font-size: clamp(26px, calc(88 * var(--vw)), 88px); line-height: 1.4; text-transform: uppercase; text-align: justify; text-align-last: left; letter-spacing: 0.005em; color: var(--ink); }

/* ---------- Carousels (team + testimonials) ---------- */
.d-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.d-arrows { display: flex; gap: clamp(60px, calc(210 * var(--vw)), 210px); padding-bottom: clamp(2px, calc(8 * var(--vw)), 8px); }
.d-arrows button { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink); }
.d-arrows .d-chev { width: clamp(9px, calc(14 * var(--vw)), 14px); height: auto; }
.d-arrows button:hover { opacity: 0.6; }
.d-rail { display: flex; gap: clamp(12px, calc(24 * var(--vw)), 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: max(var(--pad-l), calc((100vw - 1920px) / 2 + 92px)); scroll-padding-left: max(var(--pad-l), calc((100vw - 1920px) / 2 + 92px)); padding-right: var(--pad-r); margin-top: clamp(28px, calc(63 * var(--vw)), 63px); }
.d-rail::-webkit-scrollbar { display: none; }
.d-rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }

.d-team { padding-bottom: 0; }
.d-card { flex: 0 0 clamp(270px, calc(560 * var(--vw)), 560px); scroll-snap-align: start; }
.d-card__photo { display: block; aspect-ratio: 560 / 600; overflow: hidden; background: #e7edf0; }
.d-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.d-card__link:hover .d-card__photo img { transform: scale(1.04); }
.d-card__mono { display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-size: 5rem; color: #fff; background: linear-gradient(160deg, #dce6ec, #bccbd6); }
.d-card__meta { position: relative; display: block; padding: clamp(14px, calc(30 * var(--vw)), 30px) 30px 0 0; }
.d-card__name { display: block; font-weight: 500; font-size: clamp(18px, calc(34 * var(--vw)), 34px); line-height: 1.25; }
.d-card__role { display: block; font-weight: 300; font-size: clamp(16px, calc(32 * var(--vw)), 32px); line-height: 1.3; margin-top: 2px; }
.d-card__meta .d-chev { position: absolute; right: 2px; top: clamp(20px, calc(40 * var(--vw)), 40px); width: clamp(8px, calc(12 * var(--vw)), 12px); height: auto; }

/* ---------- Collage ---------- */
.d-collage { position: relative; overflow: hidden; padding-top: clamp(60px, calc(270 * var(--vw)), 270px); padding-bottom: clamp(72px, calc(270 * var(--vw)), 270px); }
.d-collage__marquee { position: absolute; left: 0; right: 0; top: calc(clamp(60px, calc(270 * var(--vw)), 270px) + calc(12 * var(--vw))); overflow: hidden; }
.d-collage__track { display: flex; width: max-content; animation: d-marquee 60s linear infinite; }
.d-collage__track span { display: flex; align-items: center; white-space: nowrap; font-family: var(--f-body); font-weight: 300; font-size: clamp(48px, calc(140 * var(--vw)), 140px); line-height: 1; text-transform: uppercase; color: #dcd7d1; }
.d-collage__track i { display: inline-block; width: 0.16em; height: 0.16em; margin: 0 0.18em; background: #f3aab5; transform: rotate(45deg); }
@keyframes d-marquee { to { transform: translateX(-50%); } }
.d-collage__stage { position: relative; width: 100%; max-width: 1920px; margin-inline: auto; aspect-ratio: 1920 / 940; }
.d-collage__img { position: absolute; margin: 0; overflow: hidden; }
.d-collage__img img { width: 100%; height: 100%; object-fit: cover; }
.d-collage__img--la-palms { left: 17.92%; top: 18.19%; width: 15.94%; aspect-ratio: 306 / 288; }
.d-collage__img--empire { left: 35.31%; top: 1.06%; width: 29.17%; aspect-ratio: 560 / 450; z-index: 1; }
.d-collage__img--hollywood { left: 65.52%; top: 18.19%; width: 13.96%; aspect-ratio: 268 / 288; }
.d-collage__img--brooklyn { left: 18.54%; top: 51.28%; width: 20%; aspect-ratio: 384 / 325; }
.d-collage__img--midtown { left: 39.79%; top: 51.28%; width: 23.7%; aspect-ratio: 455 / 457; }
.d-collage__img--skyline { left: 64.74%; top: 52.77%; width: 14.17%; aspect-ratio: 272 / 247; }
.d-collage__sq { position: absolute; width: 0.84%; aspect-ratio: 1; background: var(--red); z-index: 2; }
.d-collage__sq--1 { left: 33.02%; top: 13.83%; }
.d-collage__sq--2 { left: 65.52%; top: 13.83%; }
.d-collage__sq--3 { left: 64.74%; top: 81.6%; }
.d-collage__sq--4 { left: 37.71%; top: 88.5%; }

/* ---------- Testimonials + FAQ zone ---------- */
.d-lightzone { background: linear-gradient(180deg, transparent 0, transparent 1100px, #e9eff4 1300px, #ffffff 100%), #d9e6ef url("../img/testimonials-bg.webp") center top / 100% auto no-repeat; }
.d-quotes { padding-top: clamp(72px, calc(279 * var(--vw)), 279px); padding-bottom: clamp(48px, calc(330 * var(--vw)), 330px); }
.d-quote { flex: 0 0 clamp(280px, calc(560 * var(--vw)), 560px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(320px, calc(646 * var(--vw)), 646px); padding: clamp(24px, calc(48 * var(--vw)), 48px); background: rgba(255, 255, 255, 0.36); border: 1px solid rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.d-quote__text { font-size: var(--t-lead); line-height: 1.412; color: var(--ink); }
.d-quote__text p + p { margin-top: clamp(8px, calc(16 * var(--vw)), 16px); }
.d-quote__by { margin-top: 24px; font-size: var(--t-ui); text-transform: uppercase; letter-spacing: 0.01em; }
.d-faq { padding-top: clamp(40px, calc(278 * var(--vw)), 278px); padding-bottom: clamp(72px, calc(164 * var(--vw)), 164px); }
.d-acc--faq { margin-top: 0; border-top: 1px solid var(--rule); }
.d-acc--faq .d-acc__btn { padding: clamp(16px, calc(27 * var(--vw)), 27px) 0; }
.d-acc--faq .d-acc__title { flex: 1; font-family: var(--f-body); font-size: var(--t-lead); line-height: 1.2; letter-spacing: 0; }
.d-acc--faq .d-chev { flex: none; width: clamp(12px, calc(15 * var(--vw)), 15px); height: auto; margin-right: clamp(4px, calc(10 * var(--vw)), 10px); transition: transform 0.4s var(--ease); }
.d-acc--faq .is-open .d-chev { transform: rotate(180deg); }
.d-acc--faq .d-acc__inner { color: var(--muted); font-size: clamp(16px, calc(30 * var(--vw)), 30px); line-height: 1.6; padding-right: 10%; }
.d-acc--faq .d-acc__inner > :last-child { padding-bottom: clamp(16px, calc(26 * var(--vw)), 26px); }
.d-acc--faq .is-open .d-acc__btn { padding-bottom: clamp(4px, calc(8 * var(--vw)), 8px); }
.d-faq .d-h2 { line-height: 1; }

/* ---------- Contact band ---------- */
.d-cta { padding-top: clamp(72px, calc(290 * var(--vw)), 290px); padding-bottom: clamp(72px, calc(270 * var(--vw)), 270px); background: #e9eef1 var(--bg) center bottom / cover no-repeat; }
.d-cta__box { width: min(100%, max(320px, calc(560 * var(--vw)))); margin-inline: auto; text-align: center; }
.d-cta__kicker { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, calc(46 * var(--vw)), 46px); line-height: 1; text-transform: uppercase; }
.d-cta__title { margin-top: clamp(8px, calc(26 * var(--vw)), 26px); font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2); line-height: 1; text-transform: uppercase; }
.d-cta__sub { margin-top: clamp(10px, calc(20 * var(--vw)), 20px); font-size: clamp(22px, calc(44 * var(--vw)), 44px); line-height: 1.2; }
.d-form { display: grid; gap: clamp(14px, calc(32 * var(--vw)), 32px); margin-top: clamp(28px, calc(58 * var(--vw)), 58px); text-align: left; }
.d-form input, .d-form textarea { width: 100%; height: clamp(50px, calc(64 * var(--vw)), 64px); padding: 0 clamp(14px, calc(24 * var(--vw)), 24px); border: 0; border-radius: 0; background: #fff; font: inherit; font-size: var(--t-ui); color: var(--ink); outline: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.3s; }
.d-form textarea { height: clamp(110px, calc(140 * var(--vw)), 140px); padding-top: clamp(14px, calc(20 * var(--vw)), 20px); resize: vertical; }
.d-form input::placeholder, .d-form textarea::placeholder { color: #9d968d; opacity: 1; }
.d-form input:focus, .d-form textarea:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.d-form .d-btn { margin-top: clamp(6px, calc(4 * var(--vw)), 4px); }
.d-cta .form-status { min-height: 1.4em; font-size: var(--t-small); text-align: center; }
.d-cta__details { display: grid; gap: 1.25rem; margin-bottom: clamp(48px, calc(96 * var(--vw)), 96px); text-align: center; }
.d-cta__offices { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h4); text-transform: uppercase; }
.d-cta__details dl { display: grid; gap: 1rem; justify-content: center; }
.d-cta__details dt { font-size: var(--t-small); color: var(--muted); }
.d-cta__details dd { font-size: var(--t-lead); line-height: 1.35; }

/* ---------- Footer ---------- */
.d-footer { background: var(--walnut); color: #fff; padding-top: clamp(56px, calc(80 * var(--vw)), 80px); padding-bottom: calc(clamp(24px, calc(40 * var(--vw)), 40px) + env(safe-area-inset-bottom, 0px)); }
.d-footer a { transition: opacity 0.3s; }
.d-footer a:hover { opacity: 0.7; }
.d-footer__top { display: grid; grid-template-columns: min(292px, calc(292 * var(--vw))) minmax(0, 1fr) min(505px, calc(505 * var(--vw))); padding-bottom: clamp(40px, calc(100 * var(--vw)), 100px); border-bottom: 1px solid rgba(255, 255, 255, 0.55); }
.d-footer__list { display: grid; gap: clamp(14px, calc(34 * var(--vw)), 34px); font-size: var(--t-ui); line-height: 1; }
.d-footer__list--tight { gap: clamp(12px, calc(26 * var(--vw)), 26px); }
.d-footer__h { font-size: var(--t-ui); line-height: 1; margin-bottom: clamp(18px, calc(42 * var(--vw)), 42px); }
.d-footer__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, calc(46 * var(--vw)), 46px); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.d-news { display: grid; gap: clamp(12px, calc(22 * var(--vw)), 22px); margin-top: clamp(12px, calc(20 * var(--vw)), 20px); }
.d-news__field input { width: 100%; padding: 6px 0 8px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.75); background: transparent; color: #fff; font: inherit; font-size: var(--t-ui); outline: none; border-radius: 0; }
.d-news__field input::placeholder { color: #fff; opacity: 1; }
.d-news__btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: clamp(54px, calc(74 * var(--vw)), 74px); border: 1px solid rgba(255, 255, 255, 0.8); color: #fff; font-size: var(--t-ui); transition: background 0.3s, color 0.3s; }
.d-news__btn:hover { background: #fff; color: var(--walnut); }
.d-footer .form-status { font-size: var(--t-small); min-height: 0; }
.d-social { display: flex; gap: 18px; margin-top: 4px; }
.d-social a { display: grid; place-items: center; width: 24px; height: 24px; }
.d-footer__legal { margin-top: clamp(12px, calc(20 * var(--vw)), 20px); font-size: clamp(10px, calc(11 * var(--vw)), 11px); line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
.d-footer__word { margin-top: clamp(24px, calc(32 * var(--vw)), 32px); font-family: var(--f-body); font-weight: 300; font-size: clamp(16px, calc(57 * var(--vw)), 57px); line-height: 1; letter-spacing: 0.36em; margin-right: -0.36em; text-transform: uppercase; color: #8b816f; white-space: nowrap; text-align: center; }
.d-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(24px, calc(56 * var(--vw)), 56px); font-size: clamp(11px, calc(14 * var(--vw)), 14px); line-height: 1; color: #fff; }

/* ==========================================================================
   Tablet / mobile
   ========================================================================== */
@media (max-width: 899px) {
	:root { --sec-top: 72px; --sec-bot: 72px; }
	.d-split { grid-template-columns: 1fr; }
	.d-split > * { min-width: 0; }
.d-split__side { padding-top: 0; margin-bottom: 14px; }
	.d-label { font-size: 13px; }
	.d-h2 { font-size: 40px; }
	.d-lead, .d-acc--services .d-acc__inner p, .d-approach__body p, .d-case p, .d-bullets li, .d-quote__text, .d-acc--faq .d-acc__title { font-size: 18px; line-height: 1.5; max-width: none; }
	.d-lead { margin-top: 18px; }

	.d-logo { width: auto; }
	.d-logo__img { height: 32px; }
	.d-header .burger { width: 44px; height: 44px; }

	.d-hero { height: max(600px, 100svh); }
	.d-hero__bg { object-position: 62% 100%; }
	.d-hero__inner { padding-top: calc(var(--header-h) + 48px + env(safe-area-inset-top, 0px)); }
	.d-hero__title { font-size: 30px; max-width: 11em; }
	.d-hero__sub { font-size: 17px; margin-top: 14px; }
	.d-hero__text { font-size: 16px; line-height: 1.45; max-width: 21em; }
	.d-btn--glass { width: 230px; height: 58px; font-size: 21px; }

	.d-services__statue { width: 46vw; top: 140px; left: -12vw; opacity: 0.45; }
	.d-acc { margin-top: 24px; }
	.d-acc__btn { gap: 12px; padding: 18px 0; }
	.d-acc__title { font-size: 21px; }
	.d-acc--services .d-acc__item.is-open .d-acc__title { font-size: 28px; }
	.d-acc__inner { padding-left: 48px; }
	.d-num { font-size: 10px; }

	.d-clients__row { flex-wrap: wrap; justify-content: center; gap: 28px 40px; margin-top: 32px; padding: 0; }
	.d-clients__img { height: 30px; }
	.d-clients__img--trethera { height: 16px; }
	.d-clients__img--symphony, .d-clients__img--carmel { height: 36px; }

	.d-band { aspect-ratio: 4 / 3; }
	.d-approach__lines { width: 34vw; top: auto; bottom: 0; opacity: 0.8; }
	.d-approach__body { margin-top: 24px; }
	.d-approach__body p + p { margin-top: 16px; }

	.d-results { padding-bottom: 72px; }
	.d-tabs__list { gap: 28px; margin-right: -20px; padding-right: 20px; padding-bottom: 14px; }
	.d-tabs__tab { font-size: 22px; }
	.d-case { grid-template-columns: 1fr; row-gap: 28px; margin-top: 24px; }
	.d-case .d-h4 { font-size: 22px; }
	.d-case__why { margin-top: 4px; }
	.d-results__cut { position: relative; display: block; top: auto; left: auto !important; margin: 0 0 8px -20px; width: 46vw !important; max-width: 240px; }
	.d-results__cut--ekso-bionics { width: 28vw !important; margin-left: 0; }

	.d-statement { padding: 80px 0; }
	.d-statement__text { font-size: 27px; line-height: 1.35; text-align: left; margin-top: 18px; }

	.d-headrow { align-items: center; }
	.d-headrow .d-h2 { font-size: 36px; }
	.d-arrows { gap: 18px; }
	.d-rail { padding-left: 20px; scroll-padding-left: 20px; padding-right: 20px; margin-top: 24px; }
	.d-card { flex-basis: 76vw; max-width: 340px; }
	.d-card__name { font-size: 19px; }
	.d-card__role { font-size: 16px; }
	.d-card__meta .d-chev { top: 20px; width: 8px; }

	.d-collage { padding: 64px 0 72px; }
	.d-collage__marquee { position: relative; top: auto; margin-bottom: 20px; }
	.d-collage__track span { font-size: 48px; }
	.d-collage__stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-inline: 20px; }
	.d-collage__img { position: relative; left: auto !important; top: auto !important; width: auto !important; aspect-ratio: 1 / 1 !important; }
	.d-collage__img--empire, .d-collage__img--midtown { grid-column: span 2; aspect-ratio: 16 / 10 !important; }
	.d-collage__sq { display: none; }

	.d-lightzone { background: linear-gradient(180deg, transparent 0, transparent 60%, #ffffff 100%), #d9e6ef url("../img/testimonials-bg.webp") center top / 220% auto no-repeat; }
	.d-quotes { padding-bottom: 56px; }
	.d-quote { flex-basis: 82vw; max-width: 360px; min-height: 300px; padding: 26px; }
	.d-quote__by { font-size: 13px; }
	.d-faq { padding-top: 40px; }
	.d-faq .d-split__side { margin-bottom: 20px; }
	.d-acc--faq .d-acc__btn { padding: 18px 0; }
	.d-acc--faq .d-acc__inner { font-size: 16px; padding-right: 0; }

	.d-cta { padding: 72px 0; }
	.d-cta__kicker { font-size: 24px; }
	.d-cta__title { font-size: 40px; }
	.d-cta__sub { font-size: 22px; }
	.d-form { gap: 14px; margin-top: 28px; }
	.d-form input, .d-form textarea { font-size: 16px; }
	.d-btn--dark { font-size: 21px; height: 58px; }

	.d-footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.d-footer__col--services { grid-column: 2; }
	.d-footer__news { grid-column: 1 / -1; }
	.d-footer__list, .d-footer__h { font-size: 15px; }
	.d-footer__list { gap: 16px; }
	.d-footer__list--tight { gap: 12px; }
	.d-footer__title { font-size: 26px; }
	.d-footer__word { font-size: 3.15vw; letter-spacing: 0.3em; margin-right: -0.3em; }
	.d-footer__bar { justify-content: flex-start; gap: 12px 22px; font-size: 12px; }
	.d-footer__legal { font-size: 11px; }
}
@media (max-width: 899px) and (min-width: 600px) {
	.d-hero__title { font-size: 40px; }
	.d-statement__text { font-size: 36px; }
	.d-footer__top { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 420px) {
	.d-footer__top { grid-template-columns: 1fr; }
	.d-footer__col--services { grid-column: auto; }
}
