/* ==========================================================================
   심리상담센터 청연 — Scroll Edition
   editorial, slow, quiet. all tokens theme-driven (cream / sand / linen)
   ========================================================================== */

:root{
  --serif:'Noto Serif KR', serif;
  --sans:'Pretendard Variable','Pretendard', -apple-system, sans-serif;
}
/* Theme 1 — Cream & Navy (default) */
body[data-theme="cream"]{
  --bg:#FAF5EC; --bg-alt:#F2E9DA; --bg-deep:#EFE4D2;
  --surface:#FFFFFF; --surface-warm:#FCF8F1;
  --ink:#16243F; --brand:#15233E; --brand-hover:#0E1930;
  --accent:#B57A52; --accent-soft:#E9D6C5; --accent-tint:#F4E8DC;
  --text:#4C443A; --text-strong:#332E27; --muted:#8C8073;
  --border:#E8DCCB; --border-soft:#EFE7D9;
  --radius:18px; --radius-sm:12px;
  --shadow:0 18px 44px -22px rgba(50,35,15,.30); --shadow-sm:0 6px 18px -10px rgba(50,35,15,.20);
  --hero-grad:linear-gradient(180deg, rgba(28,30,42,.30) 0%, rgba(28,28,38,.20) 40%, rgba(74,52,30,.55) 100%);
}
/* Theme 2 — Sand & Sage */
body[data-theme="sand"]{
  --bg:#F1EBDC; --bg-alt:#E8E0CD; --bg-deep:#E2D8C2;
  --surface:#FBF7EE; --surface-warm:#F5EFE2;
  --ink:#283A3A; --brand:#2C3D3B; --brand-hover:#1F2C2B;
  --accent:#7D8B66; --accent-soft:#D6DCC4; --accent-tint:#E7EAD9;
  --text:#48463C; --text-strong:#33322A; --muted:#88806E;
  --border:#DBD0BA; --border-soft:#E6DDC9;
  --radius:26px; --radius-sm:18px;
  --shadow:0 10px 30px -16px rgba(60,55,25,.26); --shadow-sm:0 4px 14px -8px rgba(60,55,25,.18);
  --hero-grad:linear-gradient(180deg, rgba(35,42,38,.30) 0%, rgba(40,45,38,.18) 40%, rgba(58,66,42,.58) 100%);
}
/* Theme 3 — Linen & Deep Navy + Gold */
body[data-theme="linen"]{
  --bg:#F2ECE0; --bg-alt:#E9E0CF; --bg-deep:#E4DAC6;
  --surface:#FCFAF3; --surface-warm:#F7F2E8;
  --ink:#0F1E3A; --brand:#10203D; --brand-hover:#0A1730;
  --accent:#BE9750; --accent-soft:#E7D6AF; --accent-tint:#F1E7CE;
  --text:#433C30; --text-strong:#2E2920; --muted:#857B68;
  --border:#E2D7C2; --border-soft:#ECE3D2;
  --radius:8px; --radius-sm:6px;
  --shadow:0 22px 50px -24px rgba(15,25,55,.32); --shadow-sm:0 8px 20px -12px rgba(15,25,55,.22);
  --hero-grad:linear-gradient(180deg, rgba(15,22,45,.42) 0%, rgba(15,22,45,.26) 38%, rgba(15,22,45,.72) 100%);
}

/* ============================== BASE ============================== */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html{background-color:var(--bg) !important;}
body{
  margin:0; font-family:var(--sans); color:var(--text);
  background-color:var(--bg) !important; line-height:1.7; -webkit-font-smoothing:antialiased;
  letter-spacing:-.01em; overflow-x:clip;
}
/* theme vars also on :root so html paints correctly before body */
:root{--bg:#FAF5EC;}
h1,h2,h3,h4{font-family:var(--serif); color:var(--ink); margin:0; line-height:1.32; letter-spacing:-.02em; word-break:keep-all;}
p{margin:0; word-break:keep-all;}
img{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
p a, .val a{color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; transition:color .2s;}
p a:hover, .val a:hover{color:var(--brand);}
::selection{background:var(--accent); color:#fff;}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:3px;}
section[id]{scroll-margin-top:90px;}
.wrap{max-width:1200px; margin:0 auto; padding:0 clamp(22px,4vw,48px);}

.eyebrow{font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:.22em;
  text-transform:uppercase; color:var(--accent); display:inline-flex; align-items:center; gap:12px;}
.eyebrow::before{content:""; width:30px; height:1px; background:var(--accent); display:inline-block;}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; font-family:var(--sans);
  font-weight:600; font-size:16px; padding:16px 30px; border-radius:var(--radius-sm); cursor:pointer;
  transition:transform .3s cubic-bezier(.22,.61,.36,1), background .3s ease, box-shadow .3s ease, color .3s ease; border:none;}
.btn svg{width:18px; height:18px; transition:transform .3s cubic-bezier(.22,.61,.36,1);}
.btn:hover svg{transform:translateX(4px);}
.btn-primary{background:var(--brand); color:#fff; box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:var(--brand-hover); transform:translateY(-2px);}
.btn-ghost{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.62);}
.btn-ghost:hover{background:rgba(255,255,255,.14); transform:translateY(-2px);}

/* ============================== MOTION UTILITIES ============================== */
.reveal{opacity:0; transform:translateY(30px); transition:opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);}
.reveal.in{opacity:1; transform:none;}
.d1{transition-delay:.06s;} .d2{transition-delay:.12s;} .d3{transition-delay:.18s;} .d4{transition-delay:.24s;}

/* masked line reveal (headings) */
.lines .ln{display:block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.08em;}
.lines .ln > span{display:block; transform:translateY(112%); transition:transform .55s cubic-bezier(.22,.61,.36,1);}
.lines .ln:nth-child(2) > span{transition-delay:.08s;}
.lines .ln:nth-child(3) > span{transition-delay:.16s;}
.lines.in .ln > span{transform:none;}

/* film grain */
.grain{position:fixed; inset:-60%; z-index:2000; pointer-events:none; opacity:.05;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:220px 220px; animation:grain 9s steps(8) infinite;}
@keyframes grain{
  0%,100%{transform:translate(0,0);} 12%{transform:translate(-3%,2%);} 25%{transform:translate(2%,-3%);}
  37%{transform:translate(-2%,-2%);} 50%{transform:translate(3%,3%);} 62%{transform:translate(-3%,1%);}
  75%{transform:translate(2%,2%);} 87%{transform:translate(-1%,-3%);}
}

/* scroll progress hairline */
.progress{position:fixed; top:0; left:0; right:0; height:2px; z-index:300; pointer-events:none;}
.progress i{display:block; height:100%; background:var(--accent); transform:scaleX(0); transform-origin:0 50%;}

/* chapter rail */
.rail{position:fixed; right:28px; top:50%; transform:translateY(-50%); z-index:90;
  display:flex; flex-direction:column; gap:18px; align-items:flex-end;}
.rail a{display:flex; align-items:center; gap:10px; color:var(--muted); font-size:11px;
  font-weight:600; letter-spacing:.16em;}
.rail a span{opacity:0; transform:translateX(8px); transition:opacity .3s, transform .3s;}
.rail a i{width:20px; height:1px; background:var(--muted); opacity:.5; transition:all .35s cubic-bezier(.22,.61,.36,1); flex-shrink:0;}
.rail a:hover span{opacity:1; transform:none;}
.rail a.on{color:var(--accent);}
.rail a.on span{opacity:1; transform:none;}
.rail a.on i{background:var(--accent); width:34px; opacity:1;}
@media(max-width:1319px){.rail{display:none;}}

/* ============================== HEADER ============================== */
header{position:fixed; top:0; left:0; right:0; z-index:120; color:#fff;
  background:linear-gradient(180deg, rgba(12,17,30,.44), rgba(12,17,30,0));
  border-bottom:1px solid transparent;
  transition:background .5s ease, color .4s ease, border-color .5s ease, backdrop-filter .5s ease;}
header.solid{color:var(--ink); background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:saturate(1.4) blur(16px); -webkit-backdrop-filter:saturate(1.4) blur(16px);
  border-bottom-color:var(--border-soft);}
.nav{display:flex; align-items:center; justify-content:space-between; height:74px;}
.brand{font-family:var(--serif); font-weight:600; font-size:20px; color:currentColor; letter-spacing:-.01em;
  display:flex; align-items:baseline; gap:8px; white-space:nowrap;}
.brand small{font-family:var(--serif); font-size:12px; font-weight:400; color:var(--accent-soft); letter-spacing:.14em; transition:color .4s;}
header.solid .brand small{color:var(--accent);}
.menu{display:flex; align-items:center; gap:0;}
.menu a.link{padding:8px 11px; font-size:13.5px; font-weight:500; color:currentColor; opacity:.94; border-radius:7px;
  transition:color .2s, background .2s, opacity .2s; white-space:nowrap;}
.menu a.link:hover{opacity:1; background:rgba(255,255,255,.13);}
header.solid .menu a.link:hover{color:var(--ink); background:var(--accent-tint);}
.menu .vsep{width:1px; height:16px; background:currentColor; margin:0 8px; flex-shrink:0; opacity:.28;}
.menu .cta{margin-left:12px; background:#fff; color:var(--ink); padding:9px 18px; border-radius:var(--radius-sm);
  font-weight:600; font-size:13px; transition:background .3s, color .3s, transform .2s; white-space:nowrap;}
.menu .cta:hover{transform:translateY(-1px); background:var(--accent-soft);}
header.solid .menu .cta{background:var(--brand); color:#fff;}
header.solid .menu .cta:hover{background:var(--brand-hover);}
/* dropdown */
.menu-item{position:relative; display:inline-flex; align-items:center;}
.menu-item > .link{display:inline-flex; align-items:center; gap:3px;}
.menu-item .chev{width:11px; height:11px; flex-shrink:0; opacity:.45; transition:transform .2s, opacity .2s;}
.menu-item:hover .chev{transform:rotate(180deg); opacity:.75;}
.dd{position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(-4px);
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm);
  box-shadow:var(--shadow); min-width:190px; padding:8px 5px 5px;
  opacity:0; visibility:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index:100; pointer-events:none;}
.dd::before{content:""; position:absolute; top:-10px; left:0; right:0; height:10px;}
.menu-item.open .dd, .menu-item:focus-within .dd{opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
  transition:opacity .18s ease, transform .18s ease; pointer-events:auto;}
.dd a{display:block; padding:8px 12px; font-size:13px; color:var(--text);
  border-radius:6px; transition:background .12s, color .12s; white-space:nowrap;}
.dd a:hover{background:var(--accent-tint); color:var(--ink);}
.dd-sep{height:1px; background:var(--border-soft); margin:4px 6px;}
.hamburger{display:none; background:none; border:none; color:currentColor; cursor:pointer; padding:8px;}
@media(max-width:1080px){ .menu{display:none;} .hamburger{display:block;} }

/* ============================== MOBILE DRAWER ============================== */
.drawer-wrap{position:fixed; inset:0; z-index:400; display:none;}
.drawer-wrap.open{display:block;}
.drawer-bd{position:absolute; inset:0; background:rgba(22,30,52,.38); backdrop-filter:blur(3px); cursor:pointer;}
.drawer{position:absolute; top:0; right:0; width:min(320px,88vw); height:100%;
  background:var(--surface); overflow-y:auto; box-shadow:-10px 0 40px rgba(0,0,0,.18);
  transform:translateX(100%); transition:transform .32s cubic-bezier(.22,.61,.36,1);}
.drawer-wrap.open .drawer{transform:translateX(0);}
.drawer-hd{display:flex; align-items:center; justify-content:space-between;
  padding:22px 22px 18px; border-bottom:1px solid var(--border-soft);}
.drawer-logo{font-family:var(--serif); font-weight:700; font-size:16px; color:var(--ink);}
.drawer-x{background:none; border:none; color:var(--muted); cursor:pointer; padding:6px;
  border-radius:8px; transition:background .15s; display:flex;}
.drawer-x:hover{background:var(--accent-tint);}
.drawer-body{padding:14px 12px 32px;}
.dmenu{display:flex; flex-direction:column; gap:2px;}
.dmenu .fl{display:block; padding:11px 13px; font-size:15px; font-weight:500;
  color:var(--text); border-radius:9px; transition:background .15s, color .15s;}
.dmenu .fl:hover{background:var(--accent-tint); color:var(--ink);}
.dmenu .dparent{display:flex; align-items:center; justify-content:space-between;
  padding:11px 13px; font-size:15px; font-weight:500; color:var(--text);
  border-radius:9px; cursor:pointer; user-select:none; transition:background .15s, color .15s;}
.dmenu .dparent:hover{background:var(--accent-tint); color:var(--ink);}
.dmenu .dparent .chev{width:16px; height:16px; opacity:.5; transition:transform .2s;}
.dmenu .dparent.open .chev{transform:rotate(180deg);}
.dsub{display:none; padding-left:8px; margin:2px 0 4px;}
.dsub.open{display:block;}
.dsub a{display:block; padding:9px 13px; font-size:14px; color:var(--muted);
  border-radius:8px; transition:background .12s, color .12s;}
.dsub a:hover{background:var(--accent-tint); color:var(--ink);}
.dsep{height:1px; background:var(--border-soft); margin:8px 4px;}
.dcta{display:block; margin-top:14px; background:var(--brand); color:#fff; text-align:center;
  padding:14px; border-radius:var(--radius-sm); font-weight:600; font-size:16px; transition:background .2s;}
.dcta:hover{background:var(--brand-hover);}

/* ============================== HERO ============================== */
.hero{position:relative; min-height:100vh; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden;}
.hero-img{position:absolute; inset:-8% 0 0; will-change:transform;}
.hero-img .im{position:absolute; inset:0; background-size:cover; background-position:center 30%;
  filter:saturate(1.06) brightness(.93); animation:heroZoom 3s cubic-bezier(.22,.61,.36,1) both;}
.hero-img::after{content:""; position:absolute; inset:0; background:var(--hero-grad);}
@keyframes heroZoom{from{transform:scale(1.13);} to{transform:scale(1.035);}}
/* padding-bottom: 스크롤 큐(높이 82px + bottom 26px)와 CTA가 겹치지 않도록 최소 132px 확보 */
.hero-inner{position:relative; z-index:2; padding-bottom:max(13vh, 132px); padding-top:18vh; max-width:920px; will-change:transform,opacity;}
.hero .eyebrow{color:var(--accent-soft); opacity:0; animation:fadeUp .5s cubic-bezier(.22,.61,.36,1) .1s forwards;}
.hero .eyebrow::before{background:var(--accent-soft);}
.hero h1{color:#fff; font-size:clamp(40px,6.6vw,84px); font-weight:600; line-height:1.18;
  text-shadow:0 2px 30px rgba(0,0,0,.32); margin-top:28px;}
.hero h1 .ln{display:block; overflow:hidden; padding-bottom:.1em; margin-bottom:-.1em;}
.hero h1 .ln > span{display:block; transform:translateY(112%); animation:lift .6s cubic-bezier(.22,.61,.36,1) .15s forwards;}
.hero h1 .ln:nth-child(2) > span{animation-delay:.25s;}
@keyframes lift{to{transform:none;}}
.hero h1 .em{position:relative; white-space:nowrap;}
.hero h1 .em::after{content:""; position:absolute; left:0; right:0; bottom:.05em; height:.15em;
  background:color-mix(in srgb, var(--accent) 82%, white); opacity:.95; z-index:-1; border-radius:2px;
  transform:scaleX(0); transform-origin:left; animation:underline .5s cubic-bezier(.22,.61,.36,1) .55s forwards;}
@keyframes underline{to{transform:scaleX(1);}}
.hero p{color:rgba(255,255,255,.93); font-size:clamp(16px,1.9vw,20px); line-height:1.85; margin-top:28px; max-width:640px;
  text-shadow:0 1px 12px rgba(0,0,0,.35); opacity:0; animation:fadeUp .5s cubic-bezier(.22,.61,.36,1) .35s forwards;}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; opacity:0;
  animation:fadeUp .5s cubic-bezier(.22,.61,.36,1) .4s forwards;}
@keyframes fadeUp{from{opacity:0; transform:translateY(26px);} to{opacity:1; transform:none;}}
.scroll-cue{position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  color:rgba(255,255,255,.72); font-size:10.5px; font-weight:600; letter-spacing:.3em;
  opacity:0; animation:fadeUp .6s ease .6s forwards;}
.scroll-cue .line{width:1px; height:52px; background:rgba(255,255,255,.25); position:relative; overflow:hidden;}
.scroll-cue .line::after{content:""; position:absolute; left:0; top:-55%; width:100%; height:55%;
  background:#fff; animation:cue 2.3s cubic-bezier(.6,.05,.3,.95) infinite;}
@keyframes cue{to{top:115%;}}

/* ============================== TRUST ============================== */
.trust{background:var(--brand); color:#fff; position:relative; z-index:4;}
.trust .wrap{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px 46px; padding:27px 28px;}
.trust .ti{display:flex; align-items:center; gap:11px; font-size:15px; font-weight:500; color:rgba(255,255,255,.92);}
.trust .ti svg{width:20px; height:20px; color:var(--accent-soft);}
.trust .sep{width:1px; height:22px; background:rgba(255,255,255,.2);}
@media(max-width:720px){.trust .sep{display:none;} .trust .wrap{gap:12px 28px; padding:22px 24px;}}

/* ============================== SECTIONS ============================== */
section.band{padding:clamp(100px,14vw,190px) 0; position:relative;}
.bg-alt{background:var(--bg-alt);}
.bg-deep{background:var(--bg-deep);}
.sec-head{max-width:820px; margin-bottom:clamp(48px,7vw,84px);}
.sec-head .eyebrow{margin-bottom:22px;}
.sec-head h2{font-size:clamp(30px,4.4vw,54px); font-weight:600; line-height:1.3;}
.sec-head p{margin-top:20px; font-size:18px; color:var(--muted); line-height:1.85;}
.sec-head.center{text-align:center; margin-left:auto; margin-right:auto;}
.sec-head.center .eyebrow{justify-content:center;}

/* ============================== ABOUT ============================== */
#about{overflow:clip;}
.hanja{position:absolute; right:-3vw; top:4%; font-family:var(--serif); font-weight:600;
  font-size:clamp(220px,30vw,480px); line-height:.95; color:var(--ink); opacity:.045;
  pointer-events:none; user-select:none; z-index:0; will-change:transform;}
.about-grid{display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(40px,6vw,96px); align-items:center; position:relative; z-index:1;}
.about-figure{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); aspect-ratio:4/5; margin:0;}
.about-figure img{width:100%; height:112%; margin-top:-6%; object-fit:cover; will-change:transform;}
.about-figure .quote{position:absolute; left:26px; right:26px; bottom:26px; color:#fff; font-family:var(--serif);
  font-size:19px; line-height:1.65; text-shadow:0 2px 14px rgba(0,0,0,.5); z-index:2;}
.about-figure::after{content:""; position:absolute; inset:0; background:linear-gradient(transparent 55%, rgba(20,18,15,.55)); z-index:1;}
.about-body .name{font-family:var(--serif); font-size:clamp(34px,4.4vw,56px); color:var(--ink); font-weight:600; line-height:1.24;}
.about-body .name b{color:var(--accent); font-weight:600;}
.about-body .lede{margin-top:24px; font-size:18px; line-height:2; color:var(--text);}
.about-body .lede + .lede{margin-top:18px;}
.about-body .lede.lead-line{font-size:21px; line-height:1.8;}
.about-body .p-more{margin-top:30px;}
.about-body strong{color:var(--text-strong); font-weight:700;}
@media(max-width:860px){.about-grid{grid-template-columns:1fr;} .about-figure{aspect-ratio:16/11; max-height:440px;}}

/* ============================== STATEMENT (scroll-scrub) ============================== */
.scrub-sec{position:relative; height:175vh;}
.scrub-pin{position:sticky; top:0; height:100vh; display:flex; align-items:center; justify-content:center; overflow:clip;}
.statement{text-align:center; max-width:940px; margin:0 auto; padding:0 clamp(22px,5vw,48px);}
.statement h2{font-size:clamp(30px,5vw,60px); font-weight:600; line-height:1.44;}
.statement h2 .w{opacity:.13; will-change:opacity;}
.statement p{margin-top:32px; font-size:clamp(16px,1.7vw,20px); line-height:1.95; color:var(--muted);}
.statement .mark{display:inline-flex; width:82px; height:82px; align-items:center; justify-content:center;
  border-radius:50%; background:var(--accent-tint); color:var(--accent); margin:0 auto 32px;}
.statement .mark svg{width:36px; height:36px;}
@media(max-width:860px){.scrub-sec{height:150vh;}}

/* ============================== STANDARD / CRITERIA ============================== */
.std-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(48px,7vw,120px); align-items:start;}
.std-sticky{position:sticky; top:120px;}
.std-sticky .eyebrow{margin-bottom:22px;}
.std-sticky h2{font-size:clamp(30px,3.8vw,48px); font-weight:600; line-height:1.32;}
.std-sticky p{margin-top:20px; font-size:17px; color:var(--muted); line-height:1.9; max-width:40ch;}
.steps{border-bottom:1px solid var(--border);}
.step{position:relative; display:grid; grid-template-columns:clamp(64px,7vw,100px) 1fr;
  gap:clamp(16px,3vw,36px); padding:clamp(32px,4vw,48px) 0; border-top:1px solid var(--border);}
.step::before{content:""; position:absolute; top:-1px; left:0; height:1px; width:100%; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform 1.5s cubic-bezier(.22,.61,.36,1) .15s;}
.step.in::before{transform:scaleX(1);}
.step .n{font-family:var(--serif); font-size:clamp(28px,3.2vw,42px); color:var(--accent); line-height:1.15; font-weight:500;}
.step .tt{display:flex; align-items:center; gap:14px;}
.step .ic{width:46px; height:46px; border-radius:12px; background:var(--accent-tint); color:var(--accent);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.step .ic svg{width:23px; height:23px;}
.step h3{font-size:clamp(20px,2.2vw,26px); font-weight:600;}
.step > div > p{margin-top:14px; font-size:16px; color:var(--muted); line-height:1.9; max-width:54ch;}
.step .note{margin-top:18px; font-size:13px; color:var(--muted); opacity:.82; line-height:1.95;
  border-top:1px dashed var(--border); padding-top:14px; max-width:54ch;}
@media(max-width:900px){.std-grid{grid-template-columns:1fr;} .std-sticky{position:static;}}

/* ============================== THERAPISTS ============================== */
.profiles{display:grid; gap:clamp(84px,10vw,150px);}
.profile{position:relative;}
.p-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap;
  border-bottom:1px solid var(--border); padding-bottom:28px; margin-bottom:clamp(32px,4vw,52px);}
.p-idx{display:block; font-family:var(--serif); color:var(--accent); font-size:14px; letter-spacing:.2em;}
.p-name{font-size:clamp(38px,5vw,66px); font-weight:600; line-height:1.12; margin-top:12px; letter-spacing:.02em;}
.p-role{display:block; margin-top:14px; color:var(--accent); font-weight:600; font-size:15px; letter-spacing:.03em;}
.p-more{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600;
  color:var(--muted); padding-bottom:6px; transition:color .25s; white-space:nowrap;}
.p-more svg{width:15px; height:15px; transition:transform .25s;}
.p-more:hover{color:var(--ink);}
.p-more:hover svg{transform:translateX(4px);}
.p-body{display:grid; grid-template-columns:.5fr 1.5fr; gap:clamp(36px,5vw,84px); align-items:start;}
.profile.alt .p-body{grid-template-columns:1.5fr .5fr;}
.profile.alt .p-fig{order:2;}
.p-fig{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  aspect-ratio:3/3.4; display:block; max-width:360px; width:100%;}
.profile.alt .p-fig{justify-self:end;}
.p-fig img{width:100%; height:112%; margin-top:-6%; object-fit:cover; object-position:center top; will-change:transform;}
.cert{display:inline-block; font-size:13.5px; font-weight:700; color:var(--brand);
  background:var(--accent-tint); border:1px solid var(--accent-soft); padding:7px 16px; border-radius:999px;}
.pitch{font-family:var(--serif); font-size:clamp(19px,2.1vw,25px); line-height:1.72; color:var(--text-strong);
  margin-top:22px; font-weight:500;}
.tgrid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,3vw,44px); margin-top:36px;
  border-top:1px solid var(--border-soft); padding-top:32px;}
.tgrid h4{font-size:12.5px; font-weight:700; color:var(--accent); letter-spacing:.16em; margin:0 0 15px;
  font-family:var(--sans); text-transform:uppercase;}
.tlist{list-style:none; padding:0; margin:0; font-size:14.5px;}
.tlist li{position:relative; padding-left:18px; margin-bottom:11px; line-height:1.62; color:var(--text);}
.tlist li::before{content:""; position:absolute; left:0; top:10px; width:5px; height:5px; border-radius:50%; background:var(--accent);}
.tlist li .sub{display:block; font-size:12.5px; color:var(--muted); margin-top:2px;}
@media(max-width:860px){
  .p-body{grid-template-columns:1fr !important;}
  .profile.alt .p-fig{order:0; justify-self:start;}
  .p-fig{max-width:300px; aspect-ratio:4/4.3;}
  .tgrid{grid-template-columns:1fr;}
}

/* ============================== GALLERY (pinned horizontal) ============================== */
.gal-wrap{position:relative; height:200vh; background:var(--bg-deep);}
.gal-pin{position:sticky; top:0; height:100vh; overflow:clip; display:flex; flex-direction:column; justify-content:center;}
.gal-head{position:absolute; top:0; left:0; right:0; display:flex; justify-content:space-between; align-items:flex-end;
  padding:calc(74px + clamp(20px,4vh,44px)) clamp(22px,5vw,64px) 0;}
.gal-head .eyebrow{margin-bottom:0;}
.gal-count{font-family:var(--serif); font-size:14px; color:var(--muted); letter-spacing:.18em; font-variant-numeric:tabular-nums;}
.gal-track{display:flex; gap:clamp(24px,4vw,64px); padding:0 clamp(22px,8vw,11vw); align-items:center; will-change:transform;}
.gal-panel{flex:0 0 auto; width:min(74vw,1080px);}
.gal-panel figure{margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  height:min(62vh,640px); min-height:340px;}
.gal-panel img{width:100%; height:100%; object-fit:cover;}
.gal-cap{display:flex; align-items:baseline; gap:16px; margin-top:20px;}
.gal-cap .i{font-family:var(--serif); color:var(--accent); font-size:14px; letter-spacing:.12em;}
.gal-cap h3{font-size:clamp(20px,2.4vw,29px); font-weight:500;}
.gal-cta{text-align:center; padding:clamp(56px,8vw,96px) 28px; background:var(--bg-deep);}
@media(max-width:860px){
  .gal-wrap{height:auto; padding:clamp(80px,12vw,110px) 0 8px;}
  .gal-pin{position:static; height:auto; overflow:visible;}
  .gal-head{position:static; padding:0 22px clamp(28px,6vw,40px);}
  .gal-count{display:none;}
  .gal-track{flex-direction:column; transform:none !important; padding:0 22px; gap:52px; align-items:stretch;}
  .gal-panel{width:100%;}
  .gal-panel figure{height:58vh; min-height:300px;}
}

/* ============================== VOUCHER (dark band) ============================== */
.voucher-band{background:var(--brand); color:rgba(255,255,255,.82); position:relative; overflow:clip;}
.voucher-band .ghost{position:absolute; left:-4vw; bottom:-14%; font-family:var(--serif); font-weight:600;
  font-size:clamp(240px,34vw,560px); line-height:.9; color:#fff; opacity:.035; pointer-events:none; user-select:none; will-change:transform;}
.voucher{text-align:center; max-width:840px; margin:0 auto; position:relative; z-index:1;}
.voucher .pill{display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18); color:#fff; font-weight:600; font-size:14px; padding:9px 20px;
  border-radius:999px; margin-bottom:30px;}
.voucher .pill svg{width:17px; height:17px; color:var(--accent-soft);}
.voucher h2{color:#fff; font-size:clamp(30px,4.6vw,54px); font-weight:600; line-height:1.34;}
.voucher .amount{font-family:var(--serif); margin-top:30px; font-size:clamp(20px,2.6vw,28px);
  color:var(--accent-soft); font-weight:500; line-height:1.5;}
.voucher .amount b{font-size:clamp(44px,6.4vw,80px); color:#fff; font-weight:600; line-height:1;
  font-variant-numeric:tabular-nums; letter-spacing:-.01em; padding:0 .06em;}
.voucher > p{margin-top:28px; font-size:17px; line-height:2; color:rgba(255,255,255,.72);}
.voucher .btn{margin-top:40px; background:#fff; color:var(--ink); box-shadow:none;}
.voucher .btn:hover{background:var(--accent-soft); transform:translateY(-2px);}

/* ============================== CONTACT ============================== */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(44px,6vw,80px); align-items:start;}
.contact-grid h2{font-size:clamp(28px,3.6vw,44px); margin-top:16px; line-height:1.3;}
.contact-lede{margin-top:18px; color:var(--muted); font-size:17px;}
.channels{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:34px;}
.chan{display:flex; align-items:center; gap:11px; padding:17px 19px; border-radius:var(--radius-sm);
  background:var(--surface); border:1px solid var(--border); font-weight:600; font-size:15px; color:var(--text-strong);
  transition:transform .25s, box-shadow .25s, border-color .25s;}
.chan:hover{transform:translateY(-2px); box-shadow:var(--shadow-sm); border-color:var(--accent);}
.chan svg{width:20px; height:20px; color:var(--accent);}
.info{margin-top:38px; padding-top:32px; border-top:1px solid var(--border); display:grid; gap:20px;}
.info .row{display:flex; gap:14px; align-items:flex-start;}
.info .row svg{width:20px; height:20px; color:var(--accent); margin-top:4px; flex-shrink:0;}
.info .row .lbl{font-weight:700; color:var(--text-strong); font-size:14px;}
.info .row .val{color:var(--muted); font-size:15px; line-height:1.65;}
.map-card{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--border);}
.map-ph{height:360px; background:var(--surface-warm); display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:12px; color:var(--muted); text-align:center; padding:24px;}
.map-ph svg{width:40px; height:40px; color:var(--accent);}
.subway{margin-top:18px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px;}
.subway img{margin:0 auto;}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr;}}
@media(max-width:520px){.channels{grid-template-columns:1fr;}}

/* ============================== FOOTER ============================== */
footer{background:var(--ink); color:rgba(255,255,255,.6); padding:clamp(52px,7vw,76px) 0; text-align:center; font-size:13.5px; line-height:1.95;}
footer .fbrand{font-family:var(--serif); color:#fff; font-size:19px; margin-bottom:14px; letter-spacing:.02em;}
footer .fbrand small{font-size:12px; color:var(--accent-soft); letter-spacing:.14em; margin-left:6px;}

/* ============================== EMBED / SMALL ============================== */
.embedded header{position:relative;}
.embedded header:not(.solid){color:var(--ink); background:var(--bg);}
.embedded .rail, .embedded .progress, .embedded .grain{display:none;}
@media(max-width:640px){
  .hero-inner{padding-bottom:16vh;}
  .hero-actions .btn{width:100%;}
  .p-head{align-items:flex-start; flex-direction:column;}
  .step{grid-template-columns:1fr;}
  .step .n{font-size:22px;}
}

/* ============================== REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .reveal, .lines .ln > span{opacity:1; transform:none; transition:none;}
  .hero-img .im, .hero h1 .ln > span, .hero .eyebrow, .hero p, .hero-actions,
  .hero h1 .em::after, .scroll-cue, .scroll-cue .line::after{animation:none !important; transform:none; opacity:1;}
  .hero h1 .em::after{transform:scaleX(1);}
  .grain{animation:none;}
  .statement h2 .w{opacity:1 !important;}
  .scrub-sec{height:auto; padding:clamp(100px,14vw,180px) 0;}
  .scrub-pin{position:static; height:auto;}
  .step::before{transition:none; transform:scaleX(1);}
  .gal-wrap{height:auto; padding:clamp(80px,12vw,110px) 0 8px;}
  .gal-pin{position:static; height:auto; overflow:visible;}
  .gal-head{position:static; padding:0 22px 40px;}
  .gal-count{display:none;}
  .gal-track{flex-direction:column; transform:none !important; padding:0 clamp(22px,5vw,64px); gap:52px; align-items:stretch;}
  .gal-panel{width:100%;}
}
