/* Habiko Studio — areas & projects. Bone-white editorial theme.
   Light paper background, ink type, bronze labels; images keep white type over a soft dark veil. */
:root {
  --bg: #f4f0e8; --bg-2: #ebe5da; --ink: #1c1a16; --ink-2: #4c4840; --muted: #8b8478; --line: rgba(28, 26, 22, .14);
  --paper: #efe9de; --on: #f7f3ec; --on-2: rgba(247, 243, 236, .82);
  --accent: #9a6c45;
  --veil: rgba(18, 16, 13, .78);
  --display: "Italiana", "Cormorant Garamond", Georgia, serif;
  --ui: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pos: 50%;
  --gx: clamp(16px, 3.4vw, 56px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--ui); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.scene { position: relative; transition: opacity .35s linear; }
.blk { min-height: 100vh; min-height: 100svh; }
.full { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.label { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.disp { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .98; }
[data-r] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
[data-r].in { opacity: 1; transform: none; }

/* header: always a quiet bone bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gx) 12px; background: rgba(244, 240, 232, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { justify-self: start; display: inline-flex; }
.brand img { height: 36px; width: auto; }
.title { font-family: var(--display); font-size: clamp(.95rem, 1.5vw, 1.25rem); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; text-align: center; }
.links { display: flex; gap: 26px; justify-self: end; font-size: .66rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }
.links a { color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.links a:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 860px) { .links { display: none; } .top { grid-template-columns: 1fr auto; } .brand img { height: 28px; } .title { font-size: .76rem; letter-spacing: .14em; } }

/* ---------- mosaic intro (area pages) ---------- */
.mosaic { height: 360vh; background: var(--bg); }
.mosaic__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.mosaic__title { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; padding: 0 var(--gx); pointer-events: none; }
.mosaic__title h1 { font-size: clamp(3.6rem, 12vw, 11rem); color: var(--ink); }
.mosaic__title p { margin: 18px auto 0; max-width: 42ch; color: var(--ink-2); font-size: 1.02rem; font-weight: 400; }
.mosaic__title .label { margin: 0 auto 16px; }
.tile { position: absolute; z-index: 2; will-change: transform, opacity; }
.tile .fl { width: 100%; height: 100%; overflow: hidden; box-shadow: 0 30px 50px -34px rgba(40, 30, 20, .55); animation: float 11s ease-in-out infinite alternate; }
.tile img { width: 100%; height: 100%; object-fit: cover; animation: breathe 18s ease-in-out infinite alternate; }
.tile:nth-child(2n) .fl { animation-duration: 13s; animation-delay: -4s; }
.tile:nth-child(3n) .fl { animation-duration: 9s; animation-delay: -7s; animation-direction: alternate-reverse; }
.tile:nth-child(2n) img { animation-delay: -9s; }
@keyframes float { from { transform: translate3d(0, -14px, 0); } to { transform: translate3d(8px, 14px, 0); } }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.mosaic__hero { position: absolute; inset: 0; z-index: 4; clip-path: inset(38% 40% 38% 40%); opacity: 0; will-change: clip-path; pointer-events: none; }
.mosaic__hero img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__hero::after, .open::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18,16,13,.18) 0%, rgba(18,16,13,0) 30%, rgba(18,16,13,.25) 55%, var(--veil) 100%); }
.mosaic__cap { position: absolute; z-index: 2; inset: 0; opacity: 0; }
.tabs { position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .64rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; }
.tabs a { color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.tabs a:hover, .tabs a[aria-current] { color: var(--ink); border-color: var(--ink); }

/* ---------- opening spread (white type on image) ---------- */
.open img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spread { position: absolute; z-index: 2; left: var(--gx); right: var(--gx); bottom: calc(clamp(30px, 7vh, 70px) + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto 1fr auto; gap: 18px 44px; align-items: end; color: var(--on); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.spread .no { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.8rem); color: #e2c4a2; line-height: .8; }
.spread h1, .spread h2 { font-size: clamp(3.2rem, 8.4vw, 8.4rem); color: var(--on); }
.spread small { display: block; font-family: var(--ui); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--on-2); margin-top: 16px; }
.spread dl { display: grid; gap: 12px; text-align: right; font-size: .95rem; font-weight: 400; }
.spread dt { font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #e2c4a2; }
.spread dd { color: var(--on); }
@media (max-width: 760px) { .spread { grid-template-columns: 1fr; } .spread dl { text-align: left; grid-template-columns: 1fr 1fr; } .spread .no { display: none; } }

/* ---------- statement + facts ---------- */
.statement { display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gx) 70px; }
.statement .label { margin-bottom: 30px; }
.statement blockquote { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 5rem); line-height: 1.05; max-width: 19ch; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(50px, 9vh, 100px); border-top: 1px solid var(--ink); }
.facts div { padding: 22px 26px 0 0; }
.facts div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.facts dt { font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.facts dd { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.35; color: var(--ink); font-weight: 300; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; } }

/* ---------- image + text ---------- */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; padding: 100px var(--gx) 60px; }
.split.rev { grid-template-columns: 1fr 1.5fr; }
.split.rev figure { order: 2; }
.split figure { height: calc(100vh - 180px); min-height: 380px; overflow: hidden; background: var(--bg-2); }
.split figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.split figure:hover img { transform: scale(1.03); }
.note .label { display: block; margin-bottom: 20px; }
.note h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 3.8vw, 3.8rem); line-height: 1.02; margin-bottom: 22px; color: var(--ink); }
.note p { color: var(--ink-2); max-width: 38ch; font-size: 1.05rem; font-weight: 400; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev figure { order: 0; } .split figure { height: 56vh; } }

/* ---------- full bleed with oversized word ---------- */
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,16,13,0) 45%, rgba(18,16,13,.62)); pointer-events: none; }
.bleed .word { position: absolute; z-index: 2; left: var(--gx); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-family: var(--display); font-size: clamp(4.2rem, 16vw, 15rem); line-height: .8; color: var(--on); text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.bleed .cap { position: absolute; z-index: 2; right: var(--gx); bottom: calc(30px + env(safe-area-inset-bottom, 0px)); max-width: 30ch; text-align: right; font-size: .95rem; font-weight: 400; color: var(--on); }
.bleed .cap b { display: block; font-weight: 500; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: #e2c4a2; margin-bottom: 6px; }
@media (max-width: 760px) { .bleed .cap { left: var(--gx); right: auto; text-align: left; bottom: auto; top: 86px; } }

/* ---------- drawing on paper ---------- */
.sheet { background: var(--paper); display: grid; grid-template-columns: 1fr 3fr; gap: clamp(20px, 3vw, 50px); align-items: center; padding: 100px var(--gx) 60px; }
.sheet figure { height: calc(100vh - 180px); min-height: 360px; display: flex; align-items: center; justify-content: center; }
.sheet figure img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 860px) { .sheet { grid-template-columns: 1fr; } .sheet figure { height: 52vh; } }

/* ---------- previous / proposed, side by side ---------- */
.compare { background: var(--paper); display: grid; grid-template-rows: auto 1fr; gap: 26px; padding: 100px var(--gx) 50px; }
.compare .note { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px 50px; align-items: end; }
.compare .note h3 { margin-bottom: 0; }
.compare .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 40px); min-height: 0; }
.compare figure { position: relative; display: flex; flex-direction: column; min-height: 0; border-top: 1px solid var(--ink); padding-top: 12px; }
.compare figcaption { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.compare figcaption span { color: var(--muted); font-weight: 400; }
.compare figure.after figcaption { color: var(--accent); }
.compare figure img { flex: 1; min-height: 0; width: 100%; height: calc(100vh - 360px); object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 860px) { .compare .note, .compare .pair { grid-template-columns: 1fr; } .compare figure img { height: 38vh; } }

/* ---------- two images ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 96px var(--gx) 60px; }
.duo figure { position: relative; overflow: hidden; background: var(--bg-2); }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.duo figure:hover img { transform: scale(1.03); }
.duo.paper { background: var(--paper); }
.duo.paper figure { background: transparent; }
.duo.paper img { object-fit: contain; padding: 4%; mix-blend-mode: multiply; }
.duo figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .62rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--on); text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.duo.paper figcaption { color: var(--ink); text-shadow: none; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; height: auto; } .duo figure { height: 42vh; } }

/* ---------- before / after (photos) ---------- */
.ba { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(18,16,13,0) 50%, rgba(18,16,13,.62)); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255,255,255,.85); transform: translateX(-.5px); pointer-events: none; z-index: 2; }
.knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(244,240,232,.9); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: .85rem; }
.ba-tag { position: absolute; z-index: 3; top: calc(84px + env(safe-area-inset-top, 0px)); font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); background: rgba(244,240,232,.88); padding: 7px 11px; }
.ba-tag.l { left: var(--gx); } .ba-tag.r { right: var(--gx); }
.ba .ba-note { position: absolute; z-index: 3; left: var(--gx); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); max-width: min(680px, 84vw); pointer-events: none; }
.ba .ba-note .label { color: #e2c4a2; }
.ba .ba-note h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.05; color: var(--on); margin-top: 10px; }
.ba input[type=range] { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; height: 1px; pointer-events: none; }

/* ---------- quote ---------- */
.quote { display: grid; place-content: center; text-align: center; padding: 100px var(--gx); background: var(--bg-2); }
.quote p { font-family: var(--display); font-size: clamp(2.3rem, 5.6vw, 5.6rem); line-height: 1.04; max-width: 17ch; margin: 0 auto; color: var(--ink); }
.quote span { display: block; margin-top: 30px; }

/* ---------- 360 + video ---------- */
.tour { background: #000; }
.tour .cover { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 20px; background-size: cover; background-position: center; color: var(--on); }
.tour .cover::after { content: ""; position: absolute; inset: 0; background: rgba(18,16,13,.42); }
.tour .cover > * { position: relative; z-index: 1; }
.tour .cover .label { color: #e2c4a2; }
.tour .cover h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 5rem); }
.btn { display: inline-block; justify-self: center; padding: 16px 40px; border: 1px solid var(--on); background: rgba(244,240,232,.12); backdrop-filter: blur(6px); color: var(--on); font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: var(--on); color: var(--ink); }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.exit { position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); right: var(--gx); z-index: 5; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(244,240,232,.92); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.vid { background: #1a1815; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,16,13,0) 50%, rgba(18,16,13,.7)); pointer-events: none; }
.vid .bleed-note { position: absolute; z-index: 2; left: var(--gx); bottom: calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--on); }
.vid .bleed-note .label { color: #e2c4a2; }
.vid .bleed-note h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.8rem); margin-top: 8px; }
.vid .btn { position: absolute; z-index: 3; right: var(--gx); bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }

/* ---------- all images ---------- */
.images { padding: clamp(100px, 14vh, 150px) var(--gx) 40px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; padding-top: 24px; border-top: 1px solid var(--ink); }
.head-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.head-row span { font-size: .64rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.head-row span a { color: var(--ink-2); } .head-row span a:hover { color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.grid figure { position: relative; overflow: hidden; cursor: zoom-in; background: var(--bg-2); grid-column: span 4; aspect-ratio: 4 / 3; }
.grid figure.w { grid-column: span 8; aspect-ratio: auto; }
.grid figure.paper { background: var(--paper); }
.grid figure.paper img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.grid figure:hover img { transform: scale(1.035); }
.grid figcaption { display: none; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } .grid figure, .grid figure.w { grid-column: auto; aspect-ratio: 1; } }

/* ---------- more projects ---------- */
.more { padding: clamp(100px, 14vh, 150px) var(--gx) 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { display: block; }
.card .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph img { transform: scale(1.05); }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,16,13,0) 50%, rgba(18,16,13,.66)); }
.card .ph b { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1; color: var(--on); }
.card .row { display: flex; justify-content: space-between; margin-top: 14px; font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.end { margin-top: clamp(80px, 12vh, 130px); padding: 40px 0 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; font-size: .8rem; letter-spacing: .1em; color: var(--ink-2); }
.end img { height: 46px; width: auto; }
.end a.cta { color: var(--ink); font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: .01em; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.end-id { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(244,240,232,.97); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.on { display: flex; }
.lb img { max-height: 88vh; max-width: 94vw; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: var(--ink); font-size: 2rem; cursor: pointer; padding: 14px; line-height: 1; }
.lb .x { top: 6px; right: 10px; } .lb .p { left: 6px; top: 50%; } .lb .n { right: 6px; top: 50%; }
.lb p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--ink-2); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; }

@media (max-width: 760px) {
  .tile { width: 30vw !important; height: 17vh !important; }
  .tile:nth-child(n+9) { display: none; }
  .mosaic__title p { background: rgba(244,240,232,.86); padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-r] { opacity: 1; transform: none; } .scene { transition: none; } .tile .fl, .tile img { animation: none; } }

/* ---------- v5: drawings as mosaic tiles, concept poster, smaller "more" grid ---------- */
.tile.paper .fl { background: #fbf9f4; }
.tile.paper img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; animation: none; }

.poster { display: grid; grid-template-columns: minmax(260px, 1fr) 2.6fr; align-items: center; gap: clamp(20px, 3vw, 50px); padding: 90px var(--gx) 50px; color: #fff; }
.poster .note .label { color: rgba(255,255,255,.78); }
.poster .note h3 { color: #fff; font-weight: 400; }
.poster .note p { color: rgba(255,255,255,.9); }
.poster__line { display: block; position: relative; margin-top: 34px; width: 70%; height: 1px; background: rgba(255,255,255,.75); }
.poster__line::after { content: ""; position: absolute; right: -2px; top: -4px; width: 9px; height: 9px; border-top: 1px solid rgba(255,255,255,.9); border-right: 1px solid rgba(255,255,255,.9); transform: rotate(45deg); }
.poster figure { height: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.poster figure img { width: 100%; height: auto; max-height: calc(100vh - 150px); object-fit: contain; }
@media (max-width: 860px) { .poster { grid-template-columns: 1fr; align-content: center; } .poster figure { height: auto; } }

.more .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more .card { transition: opacity .6s cubic-bezier(.2,.7,.2,1); }
.more .card .ph { aspect-ratio: 4 / 3; }
.more .card .ph img { filter: brightness(.82); transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .8s; }
.more .card .ph b { font-size: clamp(1.5rem, 2vw, 2.1rem); }
@media (hover: hover) {
  .more .cards:hover .card { opacity: .45; }
  .more .cards:hover .card:hover { opacity: 1; }
  .more .card:hover .ph img { transform: scale(1.06); filter: brightness(.95); }
}
@media (max-width: 760px) { .more .cards { grid-template-columns: 1fr; } }

/* ---------- v6: case-study text blocks ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 110px); align-content: center; padding: 110px var(--gx) 70px; }
.story__head .label { display: block; margin-bottom: 20px; }
.story__head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 4.2rem); line-height: 1.02; max-width: 14ch; color: var(--ink); }
.story__body { max-width: 56ch; }
.story__body p { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.story__body p + p { margin-top: 16px; }
.story__list { list-style: none; margin-top: 30px; border-top: 1px solid var(--ink); }
.story__list li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: .98rem; color: var(--ink); }
.story__list li::before { content: counter(li, decimal-leading-zero); counter-increment: li; position: absolute; left: 0; top: 13px; font-size: .62rem; letter-spacing: .1em; color: var(--accent); font-weight: 500; }
.story__list { counter-reset: li; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 26px; } }
