/* ============================================================
   Tømmer & Stein — Editorial Luxury / Oslo craft build
   Palette: warm cream · espresso · muted sage · brass hairlines
   ============================================================ */

:root {
  --bg: #F6F1E7;
  --bg-2: #EFE7D7;
  --card: #FBF7EF;
  --ink: #241B12;
  --ink-70: rgba(36, 27, 18, .70);
  --ink-55: rgba(36, 27, 18, .55);
  --ink-40: rgba(36, 27, 18, .40);
  --hair: rgba(36, 27, 18, .14);
  --hair-soft: rgba(36, 27, 18, .08);
  --sage: #5B6A4E;
  --brass: #A8854F;
  --dark: #1C150F;
  --cream-d: #F1E9DA;
  --serif: "Fraunces", Georgia, serif;
  --sans: "General Sans", "Avenir Next", system-ui, sans-serif;
  --ez: cubic-bezier(.32, .72, 0, 1);
  --ez-out: cubic-bezier(.22, .65, .1, 1);
  --r-shell: 2rem;
  --r-core: calc(var(--r-shell) - .5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brass); color: #fff; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

h1, h2, h3, .stat-n, .nav-logo, .menu-link, .proj-name, .hb-title {
  font-family: var(--serif);
  font-weight: 390;
  letter-spacing: -.018em;
}
h2 em, h1 em { font-style: italic; font-weight: 340; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 80;
  pointer-events: none; opacity: .05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.55"/></svg>');
  background-size: 180px;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .95rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-55);
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage);
}
.eyebrow-dark { border-color: rgba(241, 233, 218, .25); color: rgba(241, 233, 218, .7); }
.eyebrow-dark::before { background: var(--brass); }

/* ---------- double-bezel shells ---------- */
.shell {
  background: rgba(36, 27, 18, .05);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-shell);
  padding: .5rem;
  box-shadow: 0 30px 70px -38px rgba(36, 27, 18, .28);
}
.core {
  background: var(--card);
  border-radius: var(--r-core);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55);
}
.core-media img { width: 100%; height: 100%; object-fit: cover; }
.shell-dark { background: rgba(36, 27, 18, .14); border-color: rgba(36, 27, 18, .18); }
.core-dark {
  background: var(--dark);
  color: var(--cream-d);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .07);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .85rem;
  border: 0; cursor: default;
  font-weight: 500; font-size: .95rem;
  border-radius: 999px;
  padding: .5rem .5rem .5rem 1.5rem;
  background: transparent; color: inherit;
  transition: transform .5s var(--ez), background .5s var(--ez), box-shadow .5s var(--ez);
}
.btn:active { transform: scale(.98); }
.btn-orb {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(241, 233, 218, .16);
  transition: transform .5s var(--ez), background .5s var(--ez);
}
.btn-orb svg, .icon-orb svg, .check svg {
  fill: none; stroke: currentColor;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn-orb svg { width: 1rem; height: 1rem; stroke-width: 1.5; }
.btn:hover .btn-orb { transform: translate(3px, -2px) scale(1.07); background: rgba(241, 233, 218, .28); }

.btn-primary {
  background: var(--ink); color: var(--cream-d);
  box-shadow: 0 18px 44px -18px rgba(36, 27, 18, .55);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--hair);
  padding: .82rem 1.6rem;
}
.btn-ghost:hover { background: rgba(36, 27, 18, .05); }
.btn-cream { background: var(--cream-d); color: var(--ink); }
.btn-orb-cream { background: rgba(36, 27, 18, .1); }
.btn-cream:hover .btn-orb-cream { background: rgba(36, 27, 18, .18); }
.btn-mini { background: var(--ink); color: var(--cream-d); padding: .42rem .42rem .42rem 1.1rem; font-size: .85rem; }
.btn-orb-sm { width: 1.8rem; height: 1.8rem; }
.btn-orb-sm svg { width: .85rem; height: .85rem; }

/* ---------- icon orbs ---------- */
.icon-orb {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; flex: none;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, .55);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.icon-orb svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.3; }
.icon-orb-dark { border-color: rgba(241, 233, 218, .22); background: rgba(241, 233, 218, .07); color: var(--cream-d); }

/* ---------- floating island nav ---------- */
.nav {
  position: fixed; top: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content; max-width: calc(100vw - 2rem);
  padding: .55rem .55rem .55rem 1.4rem;
  border-radius: 999px;
  background: rgba(247, 242, 231, .72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(36, 27, 18, .1);
  box-shadow: 0 18px 50px -24px rgba(36, 27, 18, .4);
}
.nav-logo { font-size: 1.12rem; }
.amp { font-style: italic; color: var(--brass); }
.nav-links { display: flex; gap: .35rem; }
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--ink-70);
  padding: .4rem .6rem; position: relative;
  transition: color .45s var(--ez);
}
.nav-links a::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .12rem;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ez);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none; position: relative;
  width: 2.5rem; height: 2.5rem; flex: none;
  border: 1px solid var(--hair); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.nav-burger span {
  position: absolute; left: 50%; width: 1.05rem; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ez), top .5s var(--ez);
}
.nav-burger span:nth-child(1) { top: calc(50% - 3.5px); transform: translateX(-50%); }
.nav-burger span:nth-child(2) { top: calc(50% + 2px); transform: translateX(-50%); }
.nav-burger.open span:nth-child(1) { top: 50%; transform: translateX(-50%) rotate(45deg); }
.nav-burger.open span:nth-child(2) { top: 50%; transform: translateX(-50%) rotate(-45deg); }

/* fullscreen menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(247, 242, 231, .82);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ez), visibility 0s .6s;
}
.menu-overlay.open { opacity: 1; visibility: visible; transition-delay: 0s, 0s; }
.menu-inner {
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2.25rem 3rem;
}
.menu-link {
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  padding: .3rem 0; width: max-content;
  opacity: 0; transform: translateY(3rem);
}
.menu-foot {
  margin-top: 2.75rem; display: flex; flex-direction: column; gap: .3rem;
  font-size: .85rem; color: var(--ink-55);
  opacity: 0; transform: translateY(3rem);
}
.menu-overlay.open .menu-link,
.menu-overlay.open .menu-foot {
  opacity: 1; transform: translateY(0);
  transition: opacity .8s var(--ez-out), transform .8s var(--ez-out);
  transition-delay: calc(.1s + var(--d) * .07s);
}

/* ---------- hero ---------- */
.hero { padding-bottom: clamp(4rem, 8vh, 6rem); }
.hero-top { padding-top: clamp(8.5rem, 18vh, 11.5rem); }
.hero-h {
  margin-top: 1.6rem;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.022em;
}
.l { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.li { display: inline-block; transform: translateY(112%); animation: rise 1.25s var(--ez-out) both; }
.l:nth-child(1) .li { animation-delay: .12s; }
.l:nth-child(2) .li { animation-delay: .26s; }
@keyframes rise { to { transform: translateY(0); } }

.rv-load {
  opacity: 0;
  animation: rise-in 1.1s var(--ez-out) both;
  animation-delay: calc(var(--d, 0) * .12s + .15s);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(38px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);  filter: blur(0); }
}

.hero-sub {
  margin-top: 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2.5rem; flex-wrap: wrap;
}
.hero-sub p { max-width: 33rem; color: var(--ink-70); font-size: 1.06rem; line-height: 1.65; }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-media { margin-top: clamp(3rem, 6vh, 4.5rem); }
.hero-frame {
  position: relative;
  height: clamp(420px, 86vh, 780px);
  clip-path: inset(0 4.5% round 2.4rem);
  overflow: clip;
  transform: translateZ(0);
}
.hero-zoom { position: absolute; inset: 0; }
.hero-zoom img {
  width: 100%; height: 100%; object-fit: cover;
  animation: settle 2.6s var(--ez-out) both;
}
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }

/* 2026: scroll-driven un-clip to full bleed */
@supports (animation-timeline: view()) {
  .hero-frame {
    animation: unclip linear both;
    animation-timeline: view();
    animation-range: entry 60% cover 42%;
  }
  .hero-zoom {
    animation: unzoom linear both;
    animation-timeline: view();
    animation-range: entry 60% cover 45%;
  }
}
@keyframes unclip {
  from { clip-path: inset(0 4.5% round 2.4rem); }
  to   { clip-path: inset(0 0% round 0rem); }
}
@keyframes unzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-badge {
  position: absolute; left: calc(4.5% + 1.5rem); bottom: 1.5rem;
  background: rgba(24, 18, 12, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.1rem;
  padding: .85rem 1.25rem;
  color: var(--cream-d);
}
.hero-badge figcaption { display: flex; flex-direction: column; gap: .1rem; }
.hb-title { font-size: 1.05rem; }
.hb-meta { font-size: 10.5px; text-transform: uppercase; letter-spacing: .13em; color: rgba(241, 233, 218, .65); }

.hero-stats {
  margin-top: clamp(3rem, 6vh, 4.25rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { border-left: 1px solid var(--hair); padding-left: 1.4rem; display: flex; flex-direction: column; gap: .25rem; }
.stat-n { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.stat-l { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-55); }

/* ---------- marquee ---------- */
.marq {
  overflow: hidden;
  border-top: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
  padding: 1.05rem 0;
}
.marq-track { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marq-set { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marq-set span {
  font-family: var(--serif); font-style: italic; font-weight: 360;
  font-size: 1.08rem; color: var(--ink-70); white-space: nowrap;
}
.marq-set i { font-style: normal; font-size: .6rem; color: var(--brass); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.manifesto, .services, .projects, .process, .craft, .quote { padding: clamp(6.5rem, 11vw, 10rem) 0; }
.sec-head h2, .mani-h {
  margin-top: 1.3rem;
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 1.03;
}
.sec-head-split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
}
.sec-note { max-width: 23rem; color: var(--ink-55); font-size: .98rem; padding-bottom: .5rem; }

/* scroll reveals */
.rv {
  opacity: 0; transform: translateY(46px); filter: blur(10px);
  transition: opacity 1s var(--ez-out), transform 1s var(--ez-out), filter 1s var(--ez-out);
  transition-delay: calc(var(--d, 0) * .1s);
}
.rv.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- manifesto ---------- */
.mani-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: end; }
.mani-left { grid-column: 1 / 8; }
.mani-right { grid-column: 9 / 13; color: var(--ink-70); display: flex; flex-direction: column; gap: 1.1rem; padding-bottom: .4rem; }
.mani-media { margin-top: 4rem; }
.mani-media .core-media { aspect-ratio: 16 / 7.2; }

/* ---------- services: sticky stack ---------- */
.svc-stack { margin-top: 3.5rem; padding-bottom: 1rem; }
.svc-card {
  position: sticky;
  top: calc(6.5rem + var(--i) * 1.2rem);
  margin-bottom: 2rem;
}
.svc-core { padding: clamp(2rem, 4.5vw, 3.4rem); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(3rem, 6vw, 4.6rem); line-height: .8;
  color: rgba(36, 27, 18, .1);
}
.core-dark .svc-num { color: rgba(241, 233, 218, .12); }
.svc-core h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.svc-core p { max-width: 38rem; color: var(--ink-70); margin-top: .9rem; }
.core-dark p { color: rgba(241, 233, 218, .72); }
.tags { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.9rem; }
.tags span {
  font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-55);
  border: 1px solid var(--hair);
  border-radius: 999px; padding: .42rem .95rem;
}
.tags-dark span { color: rgba(241, 233, 218, .75); border-color: rgba(241, 233, 218, .22); }

/* ---------- projects ---------- */
.proj-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
}
.p1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.p2 { grid-column: 8 / 13; grid-row: 1; }
.p3 { grid-column: 8 / 13; grid-row: 2; }
.proj { display: flex; }
.proj .core { display: flex; flex-direction: column; width: 100%; }
.proj-img { overflow: hidden; flex: 1; min-height: 0; }
.p2 .proj-img, .p3 .proj-img { aspect-ratio: 4 / 3; }
.proj-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ez);
}
.proj:hover .proj-img img { transform: scale(1.05); }
.proj-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.25rem 1.5rem; flex: none;
}
.proj-name { font-size: 1.35rem; }
.proj-meta { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-55); white-space: nowrap; }

/* ---------- process ---------- */
.steps { margin-top: 3.5rem; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { border-top: 1px solid var(--hair); padding-top: 1.6rem; position: relative; }
.step-n {
  position: absolute; top: 1.2rem; right: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2.6rem; color: rgba(36, 27, 18, .1); line-height: 1;
}
.step .icon-orb { width: 3rem; height: 3rem; }
.step .icon-orb svg { width: 1.35rem; height: 1.35rem; }
.step h3 { font-size: 1.32rem; margin-top: 1.4rem; }
.step p { font-size: .95rem; color: var(--ink-70); margin-top: .55rem; }

/* ---------- craft ---------- */
.craft { background: var(--bg-2); }
.craft-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; align-items: center; }
.craft-media { grid-column: 1 / 6; }
.craft-media .core-media { aspect-ratio: 1 / 1; }
.craft-text { grid-column: 7 / 13; }
.craft-text h2 { margin-top: 1.3rem; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.05; }
.craft-text > p { margin-top: 1.4rem; color: var(--ink-70); max-width: 34rem; }
.checks { list-style: none; margin-top: 1.9rem; }
.checks li {
  display: flex; align-items: center; gap: .95rem;
  padding: .85rem 0; font-weight: 500; font-size: .98rem;
  border-bottom: 1px solid var(--hair-soft);
}
.check { width: 1.5rem; height: 1.5rem; flex: none; color: var(--brass); }
.check svg { width: 100%; height: 100%; stroke-width: 1.3; }

/* ---------- quote ---------- */
.quote blockquote { max-width: 58rem; margin-inline: auto; text-align: center; }
.quote p {
  font-family: var(--serif); font-style: italic; font-weight: 350;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.28;
  letter-spacing: -.01em;
}
.quote cite {
  display: block; margin-top: 2.2rem; font-style: normal;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-55);
}

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(5rem, 9vw, 8rem); }
.cta-panel {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--cream-d);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 2.5rem;
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-glow {
  position: absolute; inset: -40%;
  background: radial-gradient(closest-side at 32% 22%, rgba(198, 148, 77, .3), transparent 62%);
  animation: glow-drift 16s var(--ez) infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  from { transform: translate(-4%, -2%) scale(1); }
  to   { transform: translate(6%, 5%) scale(1.18); }
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); margin-top: 1.5rem; line-height: 1.02; }
.cta-sub { margin-top: 1.3rem; color: rgba(241, 233, 218, .7); max-width: 30rem; margin-inline: auto; }
.cta-panel .btn { margin-top: 2.6rem; }
.cta-contacts {
  margin-top: 3.2rem;
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(241, 233, 218, .55);
}

/* ---------- footer ---------- */
.footer { padding: 1rem 0 3rem; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.foot-brand { grid-column: 1 / 6; }
.foot-brand .nav-logo { font-size: 1.4rem; }
.foot-brand p { margin-top: .9rem; color: var(--ink-55); font-size: .95rem; max-width: 20rem; }
.foot-col { display: flex; flex-direction: column; gap: .45rem; font-size: .93rem; color: var(--ink-70); }
.foot-col:nth-child(2) { grid-column: 7 / 10; }
.foot-col:nth-child(3) { grid-column: 10 / 13; }
.foot-h {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-40); margin-bottom: .5rem;
}
.foot-col a { width: max-content; transition: color .45s var(--ez); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 3.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--hair-soft);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--ink-40);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav .btn-mini { display: none; }
  .nav-burger { display: block; }
  .nav { gap: 1rem; }

  .hero-top { padding-top: 7.5rem; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 1.8rem; }
  .hero-frame { height: clamp(360px, 62vh, 560px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }

  .mani-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .mani-left, .mani-right { grid-column: auto; }
  .mani-media .core-media { aspect-ratio: 16 / 10; }

  .svc-card { top: calc(5.5rem + var(--i) * .9rem); margin-bottom: 1.25rem; }

  .proj-grid { gap: 1.25rem; }
  .p1, .p2, .p3 { grid-column: 1 / -1; grid-row: auto; }
  .p1 .proj-img { aspect-ratio: 4 / 3.2; }

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

  .craft-grid { grid-template-columns: 1fr; }
  .craft-media, .craft-text { grid-column: auto; }

  .foot-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .foot-brand, .foot-col:nth-child(2), .foot-col:nth-child(3) { grid-column: auto; }

  .cta-panel { border-radius: 1.75rem; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-badge { left: calc(4.5% + .75rem); bottom: .75rem; padding: .7rem 1rem; }
  .proj-cap { flex-direction: column; align-items: flex-start; gap: .2rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .rv, .rv-load, .li { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
