/* ==========================================================================
   NORTH/STUDIO
   ========================================================================== */

:root {
  --bg: #050505;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.66);
  --fg-3: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.045);

  --pad: clamp(20px, 5.5vw, 84px);
  --max: 1440px;
  --gutter: max(var(--pad), calc((100vw - var(--max)) / 2));

  --r-lg: 20px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

/* Fine film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { padding-inline: var(--gutter); }

/* Icons */
.icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Small caps label with rule */
.label {
  font-size: 0.6875rem;
  line-height: 1.75;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 400;
}
.label::after {
  content: "";
  display: block;
  width: 22px; height: 1px;
  margin-top: 12px;
  background: currentColor;
  opacity: 0.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-light { background: #fff; color: #050505; }
.btn-light:hover { background: #dcdcdc; }

.btn-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

.btn-outline {
  height: 40px; padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}
.btn-outline:hover { background: #fff; color: #050505; border-color: #fff; }

.round-btn {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.round-btn .icon { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.round-btn:hover { background: #fff; color: #050505; border-color: #fff; }
.round-btn:hover .icon { transform: translateX(2px); }
.round-btn[hidden] { display: none; }

/* Make the arrow link cover its whole card */
.work-card .round-btn::after,
.service-card .round-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.work-card .round-btn::after,
.service-card .round-btn::after { border-radius: var(--r-lg); }

/* ---------- Media placeholders ---------- */
.media { position: relative; overflow: hidden; }
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.media img.is-loaded { opacity: 1; }

/* Shown only while an image file is missing */
.media.is-missing::before {
  content: attr(data-placeholder);
  position: absolute; z-index: 3;
  font: 500 0.625rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  bottom: 10px; left: 10px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(5, 5, 5, 0.66);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center;
  padding-inline: var(--gutter);
}
.brand {
  font-size: 1.125rem; font-weight: 400; letter-spacing: 0.07em; white-space: nowrap;
}
.header-divider {
  width: 1px; height: 28px; background: var(--line-2);
  margin-inline: clamp(20px, 3.4vw, 48px) clamp(8px, 1.6vw, 24px);
}
.nav { display: flex; align-items: center; }
.nav a {
  position: relative;
  padding: 8px clamp(10px, 1.5vw, 20px);
  font-size: 0.8125rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 0; height: 1px; background: #fff;
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: calc(100% - 28px); left: 14px; }
.header-cta { margin-left: auto; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  place-items: center; align-content: center; gap: 6px;
}
.menu-toggle span {
  display: block; width: 18px; height: 1.5px; background: #fff;
  transition: transform 0.35s var(--ease);
}
.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--pad) calc(32px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 5, 0.97);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 18px 0;
  font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { justify-content: center; height: 54px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(620px, 59vw, 880px);
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 60% at 66% 58%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(28% 40% at 80% 28%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--bg);
  animation: fadeIn 1.4s var(--ease) both;
}
.hero-media.is-missing::before { left: auto; right: var(--gutter); bottom: 24px; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.4) 38%, transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, transparent 24%, transparent 78%, var(--bg) 100%);
}
.parallax {
  position: absolute; inset: -3%;
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0) scale(1.03);
  will-change: transform;
}
.parallax img {
  object-position: 62% 50%;
  animation: float 14s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + clamp(28px, 5.5vw, 80px));
}
.hero-title {
  font-size: clamp(2.75rem, 5.9vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.1em; }
.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.22s; }

.hero-sub {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 28ch;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.45;
  color: var(--fg-2);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3.2vw, 36px); }

.rise {
  opacity: 0; transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

.corner { position: absolute; z-index: 2; }
.corner-tr { right: var(--gutter); top: clamp(112px, 11.4vw, 160px); }
.corner-bl { left: var(--gutter); bottom: clamp(36px, 5vw, 64px); }
.corner-br { right: var(--gutter); bottom: clamp(36px, 5vw, 64px); }

/* ---------- Concept brand strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); }
.trust-inner {
  display: flex; align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: clamp(84px, 9.8vw, 104px);
}
.trust .label { flex: none; width: 150px; }
.trust-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 86%, transparent);
}
.trust-track { display: flex; align-items: center; width: max-content; }
.trust-track.is-animated { animation: marquee 48s linear infinite; }
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-track li { padding-right: clamp(48px, 7.2vw, 108px); }

.wordmark {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.8125rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
.wordmark .icon { width: 22px; height: 22px; stroke-width: 1.2; }
.wordmark small { font-size: 0.4375rem; letter-spacing: 0.34em; color: var(--fg-3); }
.wordmark--inline { flex-direction: row; gap: 10px; }

/* ---------- Selected work ---------- */
.work { padding-block: clamp(56px, 7.4vw, 96px); }
.work-grid {
  display: grid;
  grid-template-columns: clamp(150px, 17.5vw, 250px) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: start;
  padding-left: var(--gutter);
}
.work-head h2 {
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.035em;
}
.work-sub { margin-top: 14px; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.5; font-weight: 300; }
.work-head .round-btn { margin-top: 26px; width: 38px; height: 38px; }
.work-note { margin-top: 22px; max-width: 24ch; font-size: 0.6875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.3); }

.work-scroller {
  display: flex; gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  padding: 2px var(--gutter) 8px 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.work-scroller::-webkit-scrollbar { display: none; }

.work-card {
  position: relative;
  flex: 0 0 var(--cw, clamp(180px, 17.6vw, 300px));
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-card.is-wide { --cw: clamp(210px, 20.3vw, 340px); }

.work-media { aspect-ratio: 1 / 1.16; background: #0b0b0b; }
.work-card.is-wide .work-media { aspect-ratio: 1.02 / 1; }

.mock {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 14%;
  background:
    radial-gradient(90% 70% at 72% 28%, rgba(255, 255, 255, 0.14), transparent 65%),
    linear-gradient(160deg, #1d1d1d, #090909);
  transition: opacity 0.6s var(--ease);
}
.mock span {
  max-width: 9ch;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  line-height: 1.15; letter-spacing: -0.01em; font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.media.is-loaded .mock { opacity: 0; }

.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 9px; border-radius: 999px;
  font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.work-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 16px;
}
.work-meta h3 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.work-meta p { margin-top: 2px; font-size: 0.75rem; color: var(--fg-3); }

/* ---------- Services ---------- */
.services { padding-block: clamp(40px, 5vw, 64px) clamp(44px, 5.6vw, 72px); border-top: 1px solid var(--line); }
.services-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.services-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.875rem);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.035em;
}
.services-aside { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding-top: 6px; }
.services-aside .label::after { margin-top: 8px; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin-top: clamp(20px, 2.6vw, 32px);
}

.glass {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.glass:hover { border-color: var(--line-2); transform: translateY(-4px); }
.glass:hover::before { opacity: 1; }

.service-card {
  aspect-ratio: 1.32 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: clamp(16px, 2vw, 24px);
}
.service-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 90% at 38% 30%, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(160deg, #161616, #080808);
}
.service-card:nth-child(2) .service-media {
  background:
    radial-gradient(60% 80% at 45% 40%, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(160deg, #181818, #080808);
}
.service-card:nth-child(3) .service-media {
  background:
    radial-gradient(60% 90% at 78% 40%, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(160deg, #161616, #080808);
}
.service-media.is-missing::before { top: 10px; right: 10px; left: auto; bottom: auto; }
.service-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.72), transparent 62%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.5), transparent 55%);
}
.service-text { position: relative; z-index: 2; }
.service-icon { width: 22px; height: 22px; margin-bottom: 10px; }
.service-card h3 { font-size: clamp(1.05rem, 1.7vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em; }
.service-card p { margin-top: 2px; font-size: 0.8125rem; color: var(--fg-2); font-weight: 300; }
.service-card .round-btn { position: static; z-index: 2; }

/* ---------- CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 1px solid var(--line);
  min-height: clamp(440px, 46vw, 620px);
  display: flex; align-items: flex-end;
  padding-block: clamp(72px, 10.5vw, 140px) clamp(56px, 7vw, 96px);
}
.cta-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(75% 95% at 50% 135%, rgba(255, 255, 255, 0.2), transparent 62%),
    var(--bg);
}
.cta-media.is-missing::before { top: 12px; right: var(--gutter); left: auto; bottom: auto; }
.cta-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 34%, transparent 68%, rgba(5, 5, 5, 0.7) 100%);
}
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px); align-items: end;
}
.cta .label { margin-bottom: clamp(16px, 2vw, 24px); }
.cta h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.035em;
}
.cta-action p { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.5; font-weight: 300; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 32px calc(40px + env(safe-area-inset-bottom));
  font-size: 0.8125rem; color: var(--fg-3);
}
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { color: #fff; letter-spacing: 0.07em; margin-bottom: 8px; font-size: 0.9375rem; }
.footer-about { max-width: 46ch; }
.footer-contact { text-align: right; }
.footer-contact a { color: #fff; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s; }
.footer-contact a:hover { border-color: #fff; }
.footer-contact p { margin-top: 8px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .service-card[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ---------- Keyframes ---------- */
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { from { transform: translateY(0) scale(1); } to { transform: translateY(-10px) scale(1.012); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-head { flex-direction: column; gap: 18px; }
  .services-aside { padding-top: 0; }
}

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

  .nav, .header-divider, .header-cta { display: none; }
  .menu-toggle { display: grid; }

  /* Hero stacks: copy first, image below */
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); }
  .hero-title { font-size: clamp(2.6rem, 12.5vw, 3.75rem); }
  .hero-sub { max-width: 30ch; }
  .hero-media {
    position: relative; inset: auto; z-index: 0; order: 2;
    aspect-ratio: 1 / 0.86; margin-top: 12px;
  }
  .hero-media::after {
    background: linear-gradient(180deg, var(--bg) 0%, transparent 28%, transparent 76%, var(--bg) 100%);
  }
  .hero-media.is-missing::before { right: 16px; }
  .corner { display: none; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .trust .label { width: auto; }
  .trust-marquee { width: 100%; flex: none; }

  .work-grid { grid-template-columns: 1fr; padding-left: 0; gap: 24px; }
  .work-head { padding-inline: var(--gutter); }
  .work-head .round-btn { display: none; }
  .work-note { max-width: none; margin-top: 14px; }
  .work-scroller { padding-left: var(--gutter); }
  .work-card, .work-card.is-wide { --cw: min(72vw, 320px); }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 1.6 / 1; }

  .cta { min-height: clamp(380px, 92vw, 520px); align-items: flex-end; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }

  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .services-aside { flex-wrap: wrap; }
  .service-card { aspect-ratio: 1.35 / 1; }
}

/* Touch devices: no hover lift */
@media (hover: none) {
  .work-card:hover, .glass:hover { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .parallax img { animation: none; }
  .trust-track { flex-wrap: wrap; row-gap: 20px; width: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
