:root {
  --bg: #faf6f1;
  --bg-2: #f3ece4;
  --surface: #ffffff;
  --ink: #1f1a17;
  --muted: #6f6660;
  --line: rgba(31, 26, 23, .1);
  --accent: #a3133f;
  --accent-soft: #f4e1e3;
  --blush: #efd9d4;
  --sand: #e9dfd2;
  --gold: #b08a5a;

  --cocoa: #2b1d17;
  --cocoa-muted: #7a6458;

  --f-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --wrap: 1200px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -35px rgba(60, 35, 25, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
em { font-family: var(--f-display); font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }

/* ---------- Layout & type ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: 130px 28px; }
.eyebrow {
  font: 600 .74rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; display: flex; gap: .5em; align-items: center;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--accent); }
.h2 {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.08; margin-bottom: 56px;
}
.h2 em, .h3 em { color: var(--accent); }
.h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.015em; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; margin-bottom: 22px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .93rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); box-shadow: 0 14px 30px -14px rgba(163, 19, 63, .55); }
.btn--line { border: 1px solid rgba(31,26,23,.25); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--xl { padding: 20px 36px; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60;
  width: min(calc(100% - 28px), 1200px);
  display: flex; align-items: center; gap: 18px;
  padding: 9px 9px 9px 18px; border-radius: 999px;
  background: rgba(250, 246, 241, .72); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .88); box-shadow: 0 10px 30px -20px rgba(60,35,25,.3); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.08rem; margin-right: auto; white-space: nowrap; }
.nav__mark {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); font-family: var(--f-display); font-style: italic; font-size: 1rem;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .88rem; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__cta { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .85rem; white-space: nowrap; transition: background .3s; }
.nav__cta:hover { background: var(--accent); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.lang button {
  font: 600 .72rem/1 var(--f-body); letter-spacing: .06em; color: var(--muted);
  background: transparent; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(60,35,25,.12); }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 50px;
  max-width: var(--wrap); margin: 0 auto; padding: 140px 28px 90px;
}
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__glow::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -80px; top: 90px; border-radius: 50%;
  background: radial-gradient(circle, var(--blush), transparent 68%); opacity: .9;
}

.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); margin-bottom: 34px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3fa86b; box-shadow: 0 0 0 0 rgba(63,168,107,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,168,107,0); } 100% { box-shadow: 0 0 0 0 rgba(63,168,107,0); } }

.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 6.8vw, 6.2rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > * { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > * { animation-delay: .12s; }
.hero__title .line:nth-child(3) > * { animation-delay: .24s; }
.hero__title em { color: var(--accent); }
.grad { font-style: italic; color: var(--accent); }
@keyframes rise { to { transform: none; } }

.hero__subtitle { font: 600 .82rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; opacity: 0; animation: fade 1s .5s forwards; }
.hero__lead { color: var(--muted); font-size: 1.05rem; max-width: 470px; opacity: 0; animation: fade 1s .65s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: fade 1s .8s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__stack { position: relative; height: 600px; opacity: 0; animation: fade 1.4s .4s forwards; }
.float { position: absolute; will-change: transform; transition: translate .6s var(--ease); }
.float .ph { width: 100%; height: 100%; border-radius: 16px; box-shadow: var(--shadow); border: 6px solid var(--surface); }
.f1 { width: 210px; height: 280px; left: 0; top: 70px; transform: rotate(-5deg); }
.f2 { width: 280px; height: 360px; left: 150px; top: 140px; z-index: 2; }
.f3 { width: 190px; height: 250px; right: 0; top: 30px; transform: rotate(4deg); }
.f4 { width: 170px; height: 210px; right: 20px; bottom: 10px; transform: rotate(-3deg); z-index: 3; }
.f3 img { object-position: center 20%; }
.f1 .ph, .f3 .ph, .f4 .ph { animation: bob 8s ease-in-out infinite alternate; }
.f3 .ph { animation-delay: -3s; } .f4 .ph { animation-delay: -5s; }
@keyframes bob { to { transform: translateY(-10px); } }
.chip {
  position: absolute; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .82rem;
  background: var(--surface); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(60,35,25,.35); white-space: nowrap;
}
.chip--like { left: -34px; bottom: 44px; color: var(--accent); }
.chip--reel { right: -14px; bottom: -12px; }
.badge-ring { position: absolute; left: 40px; bottom: 0; width: 128px; height: 128px; z-index: 4; display: grid; place-items: center; background: var(--surface); border-radius: 50%; box-shadow: var(--shadow); }
.badge-ring svg { position: absolute; inset: 6px; animation: spin 26s linear infinite; }
.badge-ring text { font: 600 13.5px var(--f-body); letter-spacing: 3px; fill: var(--ink); }
.badge-ring span { color: var(--accent); font-size: 1.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 40px; border: 1.5px solid rgba(31,26,23,.25); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(13px); } }

/* placeholders until real photos load */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--blush)); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--surface); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--f-display); font-size: clamp(1.4rem, 2.8vw, 2.2rem); white-space: nowrap; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--accent); }
.marquee b { color: var(--gold); font-size: 1rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.22; letter-spacing: -.02em; max-width: 1060px; margin-bottom: 90px; }
.statement em { color: var(--accent); }
.intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.intro__text { color: var(--muted); font-size: 1.04rem; }
.intro__text strong { color: var(--ink); font-weight: 600; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats li { background: var(--surface); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.stats li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stats__num { font-family: var(--f-display); font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--accent); }
.stats__label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; align-items: center; }
.about__visual { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.portrait { position: relative; width: min(100%, 420px); aspect-ratio: 1; display: grid; place-items: center; }
.portrait::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--blush); transform: translate(14px, 14px); }
.portrait__img { width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 8px var(--surface), var(--shadow); }
.portrait__ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.portrait__ring text { font: 600 10.2px var(--f-body); letter-spacing: 3.2px; fill: var(--muted); }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about__tags span { padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.facts li:hover { padding-left: 8px; }
.facts li p { margin: 0; color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
.facts__i { color: var(--gold); flex: none; font-size: .85rem; padding-top: 3px; }

/* ---------- Case ---------- */
.case { background: var(--bg-2); color: var(--cocoa); }
.case__hero { position: relative; height: 68vh; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.case__heroimg { position: absolute; inset: 0; }
.case__heroimg::after { content: ""; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.case__heroimg img { position: absolute; top: 0; left: 0; right: auto; width: 50%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform: none; }
.case__herotext { position: relative; color: var(--cocoa); width: 43%; max-width: var(--wrap); margin: 0 0 0 54%; padding: 0; text-shadow: none; }
.case__herotext .eyebrow { color: var(--cocoa-muted); }
.case__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 4.5vw, 4.6rem); line-height: .95; letter-spacing: -.035em; white-space: nowrap; }
.case__title em { color: var(--accent); }
.case__meta { margin: 20px 0 0; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; opacity: .9; }
.case__body { padding-top: 110px; }
.case__intro { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.4; letter-spacing: -.01em; max-width: 920px; margin-bottom: 90px; }
.case__herotext .case__intro { max-width: 460px; margin: 28px 0 0; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.35; }
.case .accent { color: var(--accent); }

.concept { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; margin-bottom: 140px; }
.concept__summary { color: var(--cocoa-muted); font-size: 1.08rem; line-height: 1.7; max-width: 510px; }
.mood { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 140px); gap: 12px; }
.mood .ph { border-radius: 16px; }
.mood .ph:hover img { transform: scale(1.06); }
.m1 { grid-column: 1 / 4; grid-row: 1 / 3; }
.m2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.m2 img { object-position: center 42%; }
.m3 { grid-column: 1 / 3; grid-row: 3 / 5; }
.m4 { grid-column: 3 / 5; grid-row: 3 / 5; }
.m4 img { object-position: center 52%; }
.m5 { grid-column: 5 / 7; grid-row: 3 / 5; }

.feed-preview { max-width: 760px; margin: 20px auto 54px; text-align: center; }
.directions { max-width: 760px; margin: 0 auto 90px; }
.directions__title { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 18px; }
.directions ol { list-style: none; counter-reset: pillar; padding: 0; margin: 0; display: grid; gap: 10px; }
.directions li { counter-increment: pillar; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s; }
.directions li::before { content: counter(pillar, decimal-leading-zero); color: var(--accent); font: italic 1.25rem var(--f-display); flex: none; }
.directions li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.directions li > div { flex: 1; }
.directions b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.12rem; color: var(--accent); line-height: 1.2; }
.directions span { font-size: .87rem; color: var(--cocoa-muted); }

/* ---------- Selected projects ---------- */
.projects { padding-top: 120px; padding-bottom: 120px; }
.projects__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.projects__intro { max-width: 620px; margin: -32px 0 38px; color: var(--muted); font-size: 1.02rem; }
.project-card { overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card__image { position: relative; height: clamp(250px, 30vw, 370px); overflow: hidden; background: var(--bg-2); }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.project-card:hover .project-card__image img { transform: scale(1.035); }
.project-card__tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(250,246,241,.9); color: var(--ink); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }
.project-card__body { position: relative; padding: 25px 28px 30px; }
.project-card__number { position: absolute; top: 20px; right: 26px; color: rgba(163,19,63,.22); font: italic 2.8rem/1 var(--f-display); }
.project-card h3 { max-width: 80%; font: 400 clamp(1.65rem, 2.6vw, 2.25rem)/1.12 var(--f-display); margin-bottom: 10px; }
.project-card p { margin: 0; max-width: 470px; color: var(--muted); font-size: .93rem; }

/* ---------- Skills (bento) ---------- */
.skills { padding-top: 30px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 14px; }
.b { position: relative; padding: 30px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.b:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b svg { position: absolute; top: 28px; left: 28px; width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.b h3 { font-family: var(--f-display); font-size: 1.45rem; margin-bottom: 6px; }
.b p { margin: 0; color: var(--muted); font-size: .93rem; }
.b--big { grid-column: span 2; grid-row: span 1; background: var(--cocoa); color: var(--bg); }
.b--big svg { stroke: #f0d9ca; }
.b--big h3 { font-size: clamp(1.85rem, 2.8vw, 2.35rem); font-style: italic; }
.b--big p { color: rgba(250,246,241,.78); font-size: .93rem; max-width: 420px; }
.b--accent { background: var(--accent-soft); }
.b--wide { grid-column: span 2; }
.bars { position: absolute; right: 28px; top: 28px; height: 86px; display: flex; gap: 6px; align-items: flex-end; }
.bars i { width: 12px; height: var(--h); border-radius: 4px; background: var(--sand); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.bars i:last-child { background: var(--accent); }
.b--wide.is-visible .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .06s } .bars i:nth-child(3) { transition-delay: .12s } .bars i:nth-child(4) { transition-delay: .18s }
.bars i:nth-child(5) { transition-delay: .24s } .bars i:nth-child(6) { transition-delay: .3s } .bars i:nth-child(7) { transition-delay: .36s }

/* ---------- Contact ---------- */
.contact { position: relative; text-align: center; padding: 150px 28px 130px; overflow: hidden; max-width: var(--wrap); margin: 0 auto; }
.contact .eyebrow { justify-content: center; }
.contact__glow { position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--blush), transparent 65%); z-index: -1; }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 10vw, 8.4rem); line-height: .98; letter-spacing: -.035em; display: flex; flex-direction: column; }
.contact__title em { color: var(--accent); }
.contact__lead { color: var(--muted); max-width: 520px; margin: 32px auto 40px; font-size: 1.08rem; }
.contact__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact__person { margin: 0 auto 14px; color: var(--ink); font-size: .82rem; font-weight: 600; letter-spacing: .14em; }
.contact__links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding: 8px 4px; transition: color .25s var(--ease), border-color .25s var(--ease); }
.contact__links a:hover { color: var(--accent); border-color: var(--accent); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: var(--wrap); margin: 0 auto; padding: 30px 28px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.bento .reveal:nth-child(3n+2) { transition-delay: .08s; }
.bento .reveal:nth-child(3n) { transition-delay: .16s; }
.tilt { transition: transform .6s var(--ease); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    padding: 14px; border-radius: 24px; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a { padding: 14px 16px; font-size: 1rem; color: var(--ink); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 90px 20px; }
  .hero { grid-template-columns: 1fr; padding: 120px 20px 80px; min-height: auto; }
  .hero__stack { height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
  .f1 { width: 150px; height: 200px; top: 30px; }
  .f2 { width: 200px; height: 260px; left: 50%; margin-left: -100px; top: 90px; }
  .f3 { width: 140px; height: 180px; }
  .f4 { width: 120px; height: 150px; bottom: 0; }
  .badge-ring { width: 100px; height: 100px; left: 10px; }
  .badge-ring text { font-size: 15px; }
  .chip--like { left: -10px; }
  .scroll-hint { display: none; }
  .intro__grid, .about, .concept { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { position: static; }
  .case__hero { height: 62vh; min-height: 430px; }
  .case__heroimg img { left: 0; right: auto; width: 48%; height: 100%; max-width: none; }
  .case__heroimg::after { background: transparent; }
  .case__herotext { width: 44%; margin-left: 52%; padding-right: 0; }
  .case__title { font-size: clamp(1.8rem, 6vw, 2.7rem); white-space: normal; }
  .case__herotext .case__intro { margin-top: 18px; font-size: 1.05rem; }
  .concept { margin-bottom: 90px; }
}
@media (max-width: 640px) {
  .nav { padding: 8px 8px 8px 12px; gap: 8px; }
  .nav__brand { font-size: 0; gap: 0; }
  .nav__cta { display: none; }
  .directions { width: 100%; }
  .projects__grid, .bento { grid-template-columns: 1fr; }
  .b--big, .b--wide { grid-column: auto; grid-row: auto; }
  .b { min-height: 200px; }
  .stats li { padding: 20px 18px; }
  .stats { gap: 8px; }
  .stats li { padding: 18px 10px; }
  .stats__label { font-size: .66rem; letter-spacing: .08em; }
  .mood { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 160px); gap: 8px; }
  .m1 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .m2 { grid-column: 2 / 3; grid-row: 1 / 3; }
  .m3 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .m4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .m5 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .portrait { width: 300px; }
  .project-card__image { height: min(68vw, 360px); }
  .project-card__body { padding: 22px 22px 26px; }
  .contact { padding: 110px 20px 100px; }
}
