/* Tishler Studio — food photography */

@font-face { font-family: "Open Sans Hebrew"; src: url("../fonts/opensanshebrew-light-webfont.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Open Sans Hebrew"; src: url("../fonts/opensanshebrew-regular-webfont.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans Hebrew"; src: url("../fonts/opensanshebrew-bold-webfont.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans Hebrew"; src: url("../fonts/opensanshebrew-extrabold-webfont.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --cream: #f5eedf;
  --cream-2: #ede3cd;
  --paper: #fbf7ee;
  --ink: #221e19;
  --ink-soft: rgba(34, 30, 25, .66);
  --line: rgba(34, 30, 25, .18);
  --red: #e8492a;
  --orange: #df5138;
  --green: #0f3d2e;
  --green-2: #164c3a;

  --font: "Open Sans Hebrew", "Open Sans", "Assistant", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 68px;
}

*, *::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(--cream); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .05; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow--red { color: var(--red); }
.display { font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.text-red { color: var(--red); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 34em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream); }
.btn:active { transform: scale(.97); }
.btn-red { --bg: var(--red); --fg: var(--cream); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-cream { --bg: var(--cream); --fg: var(--ink); }
.btn-cream::before { background: var(--red); }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }
.btn-lg { font-size: 17px; padding: 1em 1.8em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(245, 238, 223, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.on-dark:not(.is-solid) { color: var(--cream); }
.logo { font-weight: 800; font-size: 21px; letter-spacing: -.03em; white-space: nowrap; direction: ltr; }
.logo span { color: var(--red); }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a { position: relative; padding-block: 4px; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--green); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: circle(0 at calc(100% - 40px) 34px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
.menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; }
.mobile-menu a.big { font-size: clamp(40px, 12vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; display: block; }
.mobile-menu a.big:hover { color: var(--red); }
.mobile-menu .meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; opacity: .75; font-size: 15px; }

@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: var(--ink); color: var(--cream); }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18, 14, 10, .66) 0%, rgba(18, 14, 10, .48) 60%, rgba(18, 14, 10, .55) 100%); pointer-events: none; }
.hero__content { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.hero__content .wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero__kicker { font-size: 14px; font-weight: 700; letter-spacing: .04em; padding: 7px 16px; border-radius: 999px; background: rgba(245, 238, 223, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 24px; opacity: 0; animation: fade 1s .2s var(--ease) forwards; }
.hero h1 { font-size: clamp(56px, 11vw, 168px); text-shadow: 0 6px 40px rgba(0, 0, 0, .25); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; color: var(--red); }
@keyframes rise { to { transform: none; } }
.hero__sub { font-size: clamp(17px, 1.7vw, 21px); opacity: 0; max-width: 30em; margin-top: 18px; animation: fade 1s .5s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; opacity: 0; animation: fade 1s .7s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.btn-ghost-light { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(245, 238, 223, .65); }
.btn-ghost-light::before { background: var(--cream); }
.btn-ghost-light:hover { color: var(--ink); }
.hero__credit { position: absolute; z-index: 3; bottom: 28px; right: var(--gutter); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(245, 238, 223, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s; }
.hero__credit:hover { background: var(--red); }
.hero__dots { position: absolute; z-index: 3; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(245, 238, 223, .45); transition: width .4s var(--ease), background .3s; }
.hero__dots button.on { width: 28px; background: var(--red); }

.badge-spin { position: absolute; z-index: 3; width: 120px; height: 120px; left: calc(var(--gutter) + 6px); bottom: 24px; color: var(--cream); }
.badge-spin svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin .dot { position: absolute; inset: 50% auto auto 50%; width: 42px; height: 42px; margin: -21px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .badge-spin { display: none; }
  .hero__credit { bottom: 70px; right: 50%; transform: translateX(50%); white-space: nowrap; }
  .hero__dots { bottom: 36px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 4; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee__track span::after { content: "✺"; font-size: .7em; opacity: .85; }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 140px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(40px, 6vw, 76px); }
.section-head h2 sup { font-size: 14px; font-weight: 700; color: var(--red); vertical-align: top; margin-inline-end: 8px; letter-spacing: 0; position: relative; top: .6em; }
.section-head .eyebrow { padding-bottom: 10px; }

.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.intro h2 em { font-style: normal; color: var(--red); }
.intro .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 88px); }
.stat { padding: 28px 0 0; }
.stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.stat b { display: block; font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat b i { font-style: normal; color: var(--red); }
.stat > span { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .stat + .stat { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); margin-top: 28px; } }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; gap: 14px; grid-auto-flow: dense; }
.bento .tall { grid-row: span 2; }
.bento .wide { grid-column: span 2; }
.bento .big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 10px; } }
@media (max-width: 520px) { .bento { grid-auto-rows: 160px; } .bento .big { grid-column: span 2; } }

.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); display: block; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 16, 12, .72)); opacity: 0; transition: opacity .5s var(--ease); }
.tile__label { position: absolute; z-index: 2; inset: auto 16px 14px; color: var(--cream); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.tile__label b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; display: block; }
.tile__label small { font-size: 13px; opacity: .85; }
.tile__label .go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 18px; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::after, .tile:hover .tile__label, .tile:focus-visible::after, .tile:focus-visible .tile__label { opacity: 1; transform: none; }
@media (hover: none) {
  .tile::after { opacity: .9; background: linear-gradient(180deg, transparent 60%, rgba(20, 16, 12, .6)); }
  .tile__label { opacity: 1; transform: none; inset: auto 10px 8px; }
  .tile__label b { font-size: 14px; } .tile__label small, .tile__label .go { display: none; }
}

/* custom cursor */
.cursor { position: fixed; z-index: 150; top: 0; left: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--red); color: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: 14px; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); }
.cursor.is-on { transform: scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- client index ---------- */
.clients { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.client a { display: grid; grid-template-columns: 70px 1fr auto 52px; align-items: center; gap: 20px; padding: 26px 4px; border-bottom: 1px solid var(--line); position: relative; transition: padding .45s var(--ease), color .3s; }
.client .num { font-size: 14px; font-weight: 700; color: var(--red); }
.client h3 { font-size: clamp(28px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.client .cat { font-size: 15px; color: var(--ink-soft); }
.client .go { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font-size: 20px; transition: background .35s, color .35s, box-shadow .35s, transform .45s var(--ease); }
.client a:hover { padding-inline-start: 22px; color: var(--red); }
.client a:hover .go { background: var(--red); color: var(--cream); box-shadow: none; transform: rotate(-45deg); }
.client-preview { position: fixed; z-index: 60; top: 0; left: 0; width: 280px; height: 350px; pointer-events: none; overflow: hidden; border-radius: var(--radius); opacity: 0; transform: scale(.85) rotate(-4deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(34, 30, 25, .45); }
.client-preview.is-on { opacity: 1; transform: scale(1) rotate(-2deg); }
.client-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.client-preview img.is-on { opacity: 1; }
@media (max-width: 700px) { .client a { grid-template-columns: 36px 1fr 44px; gap: 12px; padding: 20px 0; } .client .cat { display: none; } .client .go { width: 44px; height: 44px; } }
@media (hover: none) { .client-preview { display: none; } }

/* ---------- band ---------- */
.band { position: relative; height: clamp(420px, 72vh, 760px); overflow: hidden; color: var(--cream); display: grid; place-items: center; text-align: center; }
.band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(15, 25, 20, .38); }
.band .inner { position: relative; z-index: 2; padding: var(--gutter); }
.band p { font-size: clamp(32px, 6vw, 84px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 14em; margin-inline: auto; }
.chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); margin-bottom: 22px; }

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.service { display: grid; grid-template-columns: 90px 1.1fr 1fr 180px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service .n { font-size: 40px; font-weight: 800; color: var(--red); letter-spacing: -.04em; line-height: 1; }
.service h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.service p { color: var(--ink-soft); font-size: 16px; }
.service .thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(.6); transition: transform .9s var(--ease), filter .6s; }
.service:hover .thumb img { transform: scale(1); filter: none; }
.service ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) { .service { grid-template-columns: 56px 1fr; } .service .n { font-size: 28px; } .service p, .service .thumb { grid-column: 2; } .service .thumb { max-width: 320px; } }

/* ---------- process ---------- */
.process { background: var(--green); color: var(--cream); }
.process .section-head { border-color: rgba(245, 238, 223, .18); }
.process .eyebrow { color: rgba(245, 238, 223, .7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--green-2); border-radius: var(--radius); padding: 28px 24px 30px; position: relative; overflow: hidden; transition: transform .5s var(--ease), background .4s; }
.step:hover { transform: translateY(-6px); background: #1b5944; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--red); margin-bottom: 36px; }
.step h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; opacity: .8; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; aspect-ratio: 5/6; }
.about__media img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.about__media .a { inset: 0 0 18% 28%; width: 72%; height: 82%; }
.about__media .b { inset: auto 52% 0 0; width: 48%; height: 52%; border: 8px solid var(--cream); box-shadow: 0 30px 50px -24px rgba(34, 30, 25, .5); }
.about__media .sticker { position: absolute; z-index: 2; top: 8%; left: 6%; background: var(--red); color: var(--cream); font-weight: 800; padding: 14px 18px; border-radius: 999px; transform: rotate(-8deg); font-size: 15px; line-height: 1.2; text-align: center; }
.about h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 18px 0 22px; }
.about p { color: var(--ink-soft); max-width: 30em; }
.about p + p { margin-top: 14px; }
.about .btn { margin-top: 32px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- follow ---------- */
.follow { padding-block: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.strip a { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); border: 6px solid var(--paper); box-shadow: 0 20px 40px -26px rgba(34, 30, 25, .55); transition: transform .5s var(--ease); }
.strip a:nth-child(odd) { transform: rotate(-2deg); } .strip a:nth-child(even) { transform: rotate(2deg) translateY(18px); }
.strip a:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.follow h2 { font-size: clamp(64px, 15vw, 220px); font-weight: 800; letter-spacing: -.05em; line-height: .8; text-align: center; color: var(--orange); margin-top: clamp(40px, 6vw, 72px); white-space: nowrap; }
.follow .handle { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 760px) { .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); } .strip a { flex: 0 0 46vw; scroll-snap-align: center; } }

/* ---------- contact / footer ---------- */
.contact { background: var(--green); color: var(--cream); padding-top: clamp(80px, 12vw, 150px); text-align: center; position: relative; overflow: hidden; }
.contact h2 { font-size: clamp(44px, 8vw, 112px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 18px auto 22px; max-width: 12em; text-wrap: balance; }
.contact .lead { color: rgba(245, 238, 223, .78); margin-inline: auto; }
.contact .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact .btn-ghost { --fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(245, 238, 223, .5); }
.contact .btn-ghost::before { background: var(--cream); } .contact .btn-ghost:hover { color: var(--ink); }
.footer { margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid rgba(245, 238, 223, .15); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 28px; font-size: 14px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 26px; opacity: .8; }
.footer a:hover { color: var(--red); opacity: 1; }
.footer .copy { opacity: .55; font-size: 13px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }

/* ================= project page ================= */
.p-hero { position: relative; height: 82svh; min-height: 480px; max-height: 900px; overflow: hidden; color: var(--cream); background: var(--ink); }
.p-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); animation: heroZoom 2s var(--ease) forwards; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .4), rgba(20, 16, 12, 0) 30%, rgba(20, 16, 12, .75)); }
.p-hero .wrap { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(28px, 6vh, 60px); }
.p-hero h1 { font-size: clamp(56px, 11vw, 160px); }
.p-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.p-hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.p-hero .en { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; direction: ltr; display: inline-block; margin-bottom: 10px; }
.back { position: absolute; z-index: 3; top: calc(var(--header-h) + 18px); right: var(--gutter); font-size: 14px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(245, 238, 223, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream); transition: background .3s; }
.back:hover { background: var(--red); }

.p-meta { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.p-meta .desc { font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.p-meta dl { margin: 0; } .p-meta dt { font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--ink-soft); margin-bottom: 6px; }
.p-meta dd { margin: 0; font-size: 17px; font-weight: 700; }
@media (max-width: 860px) { .p-meta { grid-template-columns: 1fr 1fr; } .p-meta .desc { grid-column: 1 / -1; } }

.gallery { columns: 3; column-gap: 14px; padding-block: clamp(36px, 5vw, 64px); }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); position: relative; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after { content: "⤢"; position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(245, 238, 223, .92); color: var(--ink); display: grid; place-items: center; font-size: 17px; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.gallery a:hover::after { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 2; column-gap: 8px; } .gallery a { margin-bottom: 8px; } }

.next { display: block; position: relative; height: clamp(320px, 52vh, 520px); overflow: hidden; color: var(--cream); background: var(--ink); }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform 1.2s var(--ease), opacity .6s; }
.next:hover img { transform: scale(1.05); opacity: .78; }
.next .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.next small { font-size: 14px; font-weight: 700; letter-spacing: .03em; opacity: .85; }
.next b { display: block; font-size: clamp(52px, 10vw, 140px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 8px; }
.next .arrow { display: inline-block; transition: transform .5s var(--ease); color: var(--red); }
.next:hover .arrow { transform: translateX(-14px); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(18, 15, 12, .96); display: none; color: var(--cream); touch-action: pan-y; }
.lb.is-open { display: block; animation: fade .3s ease forwards; opacity: 0; }
.lb__stage { position: absolute; inset: 64px 72px 64px; display: grid; place-items: center; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 40px 80px -30px #000; transition: opacity .25s, transform .35s var(--ease); }
.lb__stage img.is-loading { opacity: 0; transform: scale(.98); }
.lb__bar { position: absolute; inset: 0 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); font-size: 14px; font-weight: 700; }
.lb button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: rgba(245, 238, 223, .1); transition: background .3s; }
.lb button:hover { background: var(--red); }
.lb__prev, .lb__next { position: absolute; top: 50%; margin-top: -24px; }
.lb__prev { right: 14px; } .lb__next { left: 14px; }
.lb__thumbs { position: absolute; inset: auto 0 10px; display: flex; justify-content: center; gap: 6px; }
.lb__thumbs i { width: 6px; height: 6px; border-radius: 50%; background: rgba(245, 238, 223, .3); transition: background .3s, width .3s; }
.lb__thumbs i.on { background: var(--red); width: 20px; border-radius: 3px; }
@media (max-width: 700px) { .lb__stage { inset: 64px 8px 40px; } .lb__prev, .lb__next { top: auto; bottom: 22px; margin: 0; } .lb__thumbs { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; } .js .reveal-img { clip-path: none; }
}
