/* ==========================================================================
   Shewo Tattoo — Novi Sad
   ========================================================================== */

:root {
  --bg: #0c0c0b;
  --bg-2: rgba(24, 23, 21, 0.62);
  --bg-solid: #141412;
  --bg-3: #1c1b19;
  --line: rgba(245, 240, 232, 0.12);
  --line-strong: rgba(245, 240, 232, 0.24);
  --text: #f3eee6;
  --muted: #a29d93;
  --dim: #6f6b64;
  --accent: #fcdcbc;
  --accent-glow: 244, 178, 128;
  --accent-ink: #120a06;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
.display, h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8.4vw, 116px); }
h2 { font-size: clamp(38px, 5.2vw, 68px); }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); clip-path: var(--star); flex: none; }
:root { --star: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.6; max-width: 58ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #fff; border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

svg.arrow { width: 18px; height: 18px; flex: none; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .3s, color .3s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Dynamic background ---------- */
main, .site-footer { position: relative; z-index: 1; }
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx__orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; opacity: .55; }
.bg-fx__orb--1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(var(--accent-glow), .55), rgba(var(--accent-glow), 0) 70%); animation: orb1 26s ease-in-out infinite alternate; }
.bg-fx__orb--2 { width: 38vw; height: 38vw; right: -10vw; top: 30vh; background: radial-gradient(circle, rgba(150,60,30,.5), rgba(150,60,30,0) 70%); animation: orb2 32s ease-in-out infinite alternate; }
.bg-fx__orb--3 { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(120,128,80,.38), rgba(120,128,80,0) 70%); animation: orb3 38s ease-in-out infinite alternate; }
@keyframes orb1 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(18vw, 22vh) scale(1.15); } 100% { transform: translate(6vw, 48vh) scale(.9); } }
@keyframes orb2 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-22vw, -18vh) scale(1.2); } 100% { transform: translate(-8vw, 26vh) scale(.95); } }
@keyframes orb3 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20vw, -30vh) scale(1.1); } 100% { transform: translate(16vw, -12vh) scale(1.25); } }

/* faint editorial grid */
.bg-fx__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(245,240,232,.035) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 4) 100%;
  background-position: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

/* cursor spotlight (desktop) */
.bg-fx__spot {
  position: absolute; width: 640px; height: 640px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-glow), .13), rgba(var(--accent-glow), 0) 62%);
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0) translate(-50%, -50%);
  opacity: 0; transition: opacity .6s;
}
.has-pointer .bg-fx__spot { opacity: 1; }

/* animated film grain */
.bg-fx__grain {
  position: absolute; inset: -100%; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0,0); }
}

@keyframes bob { from { transform: rotate(-8deg) translateY(-3px); } to { transform: rotate(6deg) translateY(3px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__grid { position: relative; z-index: 1; }

/* image tiles: subtle sheen on hover */
.work::after, .masonry .tile::after, .hero__gallery figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.work:hover::after, .masonry .tile:hover::after, .hero__gallery figure:hover::after { transform: translateX(120%); }
.hero__gallery figure { position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(12, 12, 11, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 14px; position: relative; }
.logo-badge {
  position: relative; flex: none; width: 112px; height: 112px; margin: 38px 0 -38px -14px;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease);
}
.logo-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; transition: opacity .4s; }
.logo-badge img {
  position: absolute; top: 19%; left: 19%; width: 62%; height: 62%; max-width: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.45)); transition: transform .6s var(--ease);
}
.logo:hover .logo-badge img { transform: rotate(-12deg) scale(1.05); }
.logo-word { font-family: var(--font-display); font-size: 25px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; transform: translateY(38px); transition: transform .5s var(--ease), font-size .5s var(--ease); }
.site-header.is-scrolled .logo-word, .menu-open .site-header .logo-word { transform: none; }
.logo-word em { color: var(--accent); }
/* compact state once scrolled or with menu open */
.site-header.is-scrolled .logo-badge, .menu-open .site-header .logo-badge { width: 50px; height: 50px; margin: 0; }
.site-header.is-scrolled .logo-badge img, .menu-open .site-header .logo-badge img { top: 4%; left: 4%; width: 92%; height: 92%; }
.site-header.is-scrolled .logo-ring, .menu-open .site-header .logo-ring { opacity: 0; }
.logo-badge img { transition: transform .6s var(--ease), top .5s var(--ease), left .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .25s; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop:hover > button, .nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--text); }
.nav > a[aria-current="page"]::after, .nav-drop.is-current > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent);
}
.nav-drop { position: relative; }
.nav-drop svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute; top: 100%; left: -10px; min-width: 270px; padding: 10px;
  background: var(--bg-solid); border: 1px solid var(--line); border-radius: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop__menu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14.5px; color: var(--muted); transition: background .2s, color .2s; }
.nav-drop__menu a:hover, .nav-drop__menu a[aria-current="page"] { background: var(--bg-3); color: var(--text); }
.nav-drop__menu a.all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; border-radius: 0 0 6px 6px; color: var(--text); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu > a { font-family: var(--font-display); font-size: 40px; line-height: 1.25; padding: 4px 0; }
.mobile-menu > a[aria-current="page"] { color: var(--accent); }
.mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 6px 0 14px; padding-left: 2px; }
.mobile-menu .sub a { font-size: 15px; color: var(--muted); padding: 6px 0; }
.mobile-menu > a.btn { margin-top: auto; font-family: var(--font-body); font-size: 16px; line-height: 1; padding: 0 26px; min-height: 56px; flex: none; }
.mobile-menu__meta { margin-top: 20px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.022) 18%, rgba(255,255,255,.022) 82%, rgba(255,255,255,0) 100%); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { max-width: 16ch; margin-top: 18px; }
.section-head .lead { margin: 0; max-width: 46ch; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 8vw, 100px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 28px; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; }
.hero__meta span { font-size: 13px; color: var(--muted); margin-top: 8px; }

.hero__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: min(78vh, 720px); }
.hero__gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.hero__gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero__gallery .col { display: grid; gap: 14px; }
.hero__gallery .col:first-child { grid-template-rows: 1fr; transform: translateY(-28px); }
.hero__gallery .col:last-child { grid-template-rows: 1fr 0.8fr; transform: translateY(28px); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(12,12,11,.35); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 46px); white-space: nowrap; display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px); }
.marquee__track span i { width: 18px; height: 18px; background: var(--accent); clip-path: var(--star); display: inline-block; }
.marquee__track span:nth-child(even) { font-style: italic; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Works grid (home) ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 14px; }
.work { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); margin: 0; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.work:hover img { transform: scale(1.04); }
.work figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease);
}
.work:hover figcaption { opacity: 1; transform: none; }
.works .w1 { grid-column: span 4; grid-row: span 3; }
.works .w2 { grid-column: span 4; grid-row: span 2; }
.works .w3 { grid-column: span 4; grid-row: span 3; }
.works .w4 { grid-column: span 4; grid-row: span 2; }
.works .w5 { grid-column: span 4; grid-row: span 1; }
.works .w6 { grid-column: span 4; grid-row: span 1; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev { grid-template-columns: 1.1fr 0.9fr; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.portrait--cutout { isolation: isolate; }
.portrait--cutout::before {
  content: ""; position: absolute; z-index: -1; left: 18%; top: 4%; width: 78%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-glow), .42), rgba(var(--accent-glow), .12) 45%, transparent 70%);
  filter: blur(30px); animation: halo 9s ease-in-out infinite alternate;
}
@keyframes halo { from { transform: scale(.92) translate(-3%, 2%); opacity: .8; } to { transform: scale(1.08) translate(3%, -2%); opacity: 1; } }
.portrait--cutout img {
  aspect-ratio: auto; border-radius: 0; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 58% 58% at 56% 42%, #000 52%, transparent 98%);
  mask-image: radial-gradient(ellipse 58% 58% at 56% 42%, #000 52%, transparent 98%);
}
.portrait--cutout .portrait__tag { bottom: 22%; }
.portrait__tag {
  position: absolute; right: -18px; bottom: 32px; background: var(--accent); color: var(--accent-ink);
  padding: 14px 20px; border-radius: var(--radius); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.split h2 { margin: 18px 0 28px; }
.quote {
  margin: 36px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3;
}
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .06em; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0 36px; }
.facts div { background: rgba(12,12,11,.6); padding: 20px 22px; }
.section--alt .facts div { background: rgba(20,20,18,.7); }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.4; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .4s var(--ease);
}
.section--alt .card { background: var(--bg-2); }
.section:not(.section--alt) .card { background: var(--bg-2); }
.card .icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); margin-bottom: 10px; }
.card .icon svg { width: 20px; height: 20px; }
.card p { color: var(--muted); margin: 0; }
a.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
a.card .more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: var(--text); }
a.card:hover .more { color: var(--accent); }
.card .num { font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--accent); }

/* ---------- Studio band ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.studio figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.studio img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: step; }
.steps li { list-style: none; padding: 32px 28px 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--accent); margin-bottom: 22px;
}
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 10px; padding: clamp(48px, 7vw, 96px) clamp(26px, 6vw, 80px);
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px;
  background: radial-gradient(circle, rgba(var(--accent-glow), .32), transparent 65%); pointer-events: none;
}
.cta h2 { position: relative; }
.cta__side { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta__side p { color: var(--muted); margin: 0; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(var(--accent-glow), .10), transparent 60%); pointer-events: none;
}
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); margin: 20px 0 24px; max-width: 18ch; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: 13px; color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- Article / guide layout ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.doc-nav h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 14px; font-family: var(--font-body); }
.doc-nav a { display: block; padding: 9px 0 9px 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.4; transition: color .2s, border-color .2s; }
.doc-nav a:hover { color: var(--text); }
.doc-nav a[aria-current="page"] { color: var(--text); border-left-color: var(--accent); font-weight: 600; }
.doc-nav a.btn { margin-top: 28px; width: 100%; display: flex; padding: 0 20px; border-left: 0; color: var(--accent-ink); font-weight: 600; }
.doc-nav a.btn:hover { color: var(--bg); }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 64px 0 22px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 40px 0 12px; font-size: 21px; }
.prose p, .prose li { color: #d6d1c8; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; }
.prose li { list-style: none; position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; background: var(--accent); clip-path: var(--star); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--accent); }
.prose a:not(.btn):not(.card) { color: var(--text); border-bottom: 1px solid var(--accent); }
.prose a:not(.btn):not(.card):hover { color: var(--accent); }
.prose strong { color: var(--text); }

.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; margin: 32px 0;
  border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--bg-2);
}
.callout svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.callout p { margin: 0; color: var(--text); }
.callout p + p { margin-top: 8px; color: var(--muted); }

.tldr {
  font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; margin: 0 0 36px; color: var(--text);
}
.tldr em { color: var(--accent); }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 36px; }
.do-dont > div { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: var(--bg-2); }
.do-dont h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 17px; }
.do-dont h3 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.do-dont .yes h3 span { background: rgba(132, 176, 107, .18); color: #9fd07f; }
.do-dont .no h3 span { background: rgba(var(--accent-glow), .16); color: var(--accent); }
.do-dont ul { margin: 0; }
.do-dont li { font-size: 15.5px; margin-bottom: 8px; }

.timeline { border-left: 1px solid var(--line); margin: 28px 0 36px 6px; }
.timeline > div { position: relative; padding: 0 0 26px 30px; }
.timeline > div::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); }
.timeline strong { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.timeline p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; line-height: 1.45; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq .answer p { color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

.next-topic {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 72px; padding: 30px 32px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .3s, background .3s;
}
.next-topic:hover { border-color: var(--accent); background: var(--bg-2); }
.next-topic small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.next-topic strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.next-topic svg { width: 28px; height: 28px; flex: none; color: var(--accent); }

/* ---------- Guide hub ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-grid .card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.05; }
.guide-grid .card .idx { font-size: 12px; letter-spacing: .16em; color: var(--dim); font-weight: 600; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--muted);
  transition: all .25s;
}
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.filters button sup { font-size: 10px; margin-left: 4px; opacity: .6; }

.masonry { columns: 3; column-gap: 14px; }
.masonry .tile { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--bg-3); display: block; width: 100%; padding: 0; }
.masonry .tile img { width: 100%; transition: transform 1s var(--ease); }
.masonry .tile:hover img { transform: scale(1.035); }
.masonry .tile span {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(12,12,11,.7); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s;
}
.masonry .tile:hover span { opacity: 1; }
.masonry .tile.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,8,7,.96); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 70px 70px 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; max-width: 100%; width: auto; border-radius: var(--radius); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.lightbox button:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 30px; left: 24px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }

/* ---------- Pricing ---------- */
.price-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 64px; }
.price-tile { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--bg-2); }
.price-tile small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.price-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1; display: block; }
.price-tile strong em { color: var(--accent); }
.price-tile p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.contact-list > div { background: var(--bg-2); padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); }
.contact-list .icon svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 18px; font-weight: 600; line-height: 1.45; }
.contact-list a:hover { color: var(--accent); }
.chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chips a { font-size: 13px !important; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; }
.chips a:hover { border-color: var(--accent); }
.map { margin-top: 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 4vw, 44px); }
.form h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 10px; }
.form > p { color: var(--muted); margin-bottom: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(12,12,11,.7); border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text);
  font: inherit; font-size: 16px; padding: 14px 16px; transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field .hint { font-size: 13px; color: var(--dim); }
.form .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--dim); margin: 14px 0 0; text-align: center; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-2); transition: border-color .3s; }
.post-card:hover { border-color: var(--line-strong); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.03); }
.post-card .media { overflow: hidden; }
.post-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.post-card .meta { font-size: 13px; color: var(--muted); }
.post-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.post-card p { color: var(--muted); margin: 0; }
.post-cover { border-radius: 8px; overflow: hidden; margin: 0 0 48px; }
.post-cover img { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 32px; background: linear-gradient(rgba(12,12,11,.2), rgba(12,12,11,.85)); position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top .logo img { height: 84px; width: 84px; }

.footer-top p { color: var(--muted); font-size: 15px; margin: 22px 0 0; max-width: 34ch; }
.footer-top h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 18px; }
.footer-top ul { list-style: none; display: grid; gap: 10px; }
.footer-top li a, .footer-top address { color: var(--muted); font-size: 15px; font-style: normal; transition: color .2s; line-height: 1.6; }
.footer-top li a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 17px; height: 17px; }
.footer-word { font-family: var(--font-display); font-size: clamp(64px, 15.5vw, 230px); line-height: .85; letter-spacing: -0.02em; margin: clamp(56px, 8vw, 100px) 0 28px; color: var(--bg-3); white-space: nowrap; user-select: none; }
.footer-word em { color: rgba(var(--accent-glow), .45); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Floating contact (mobile) ---------- */
.fab { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bg-fx__orb, .bg-fx__grain, .logo-ring, .portrait--cutout::before { animation: none; }
  .bg-fx__spot { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .doc { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .bg-fx__orb { filter: blur(60px); opacity: .45; }
  .bg-fx__orb--1 { width: 90vw; height: 90vw; }
  .bg-fx__orb--2 { width: 80vw; height: 80vw; }
  .bg-fx__orb--3 { width: 80vw; height: 80vw; }
  .hero__grid, .split, .split--rev, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero__gallery { height: 520px; }
  .split--rev .portrait { order: -1; }
  .cards, .guide-grid, .price-hero { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .masonry { columns: 2; }
  .works { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .works .w1, .works .w3 { grid-column: span 1; grid-row: span 2; }
  .works .w2, .works .w4, .works .w5, .works .w6 { grid-column: span 1; grid-row: span 1; }
  .portrait__tag { right: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .logo-badge { width: 92px; height: 92px; margin: 32px 0 -32px -10px; }
  .site-header.is-scrolled .logo-badge, .menu-open .site-header .logo-badge { width: 44px; height: 44px; }
  .logo-word { font-size: 22px; transform: translateY(32px); }
  .page-hero { padding-top: calc(var(--header-h) + 84px); }
  .hero { padding-top: calc(var(--header-h) + 76px); }
  .hero__gallery { height: 400px; gap: 10px; }
  .hero__gallery .col { gap: 10px; }
  .hero__meta { flex-wrap: wrap; gap: 20px 32px; }
  .hero__meta strong { font-size: 30px; }
  .cards, .guide-grid, .price-hero, .posts, .do-dont, .studio { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .works { grid-auto-rows: 180px; gap: 10px; }
  .masonry { column-gap: 10px; }
  .masonry .tile { margin-bottom: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px 90px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 64px); }
  .lightbox .lb-next { right: calc(50% - 64px); }
  .next-topic { padding: 24px; }
  .faq summary { font-size: 16.5px; }
  .faq .answer { padding-right: 0; }
  .fab {
    display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; gap: 8px;
  }
  .fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  .fab a.alt { background: var(--bg-3); color: var(--text); border: 1px solid var(--line-strong); }
  .fab svg { width: 22px; height: 22px; }
  .site-footer { padding-bottom: 96px; }
}
