/* =========================================================
   KS Studio & Photography — premium black & white theme
   ========================================================= */
:root {
  --ink: #0b0b0b;
  --ink-2: #121212;
  --bone: #f3f1ec;
  --line: rgba(255,255,255,.12);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.76,0,.24,1);
  --header-h: 88px;
}
[x-cloak] { display: none !important; }
html.no-scroll, html.no-scroll body { overflow: hidden; }
body { text-rendering: optimizeLegibility; }
.lang-ja { letter-spacing: .02em; }
.lang-ja .eyebrow { letter-spacing: .14em; }
.lang-ja .font-display { font-family: "Shippori Mincho", "Cormorant Garamond", serif; letter-spacing: .02em; }
.lang-ja h1.font-display, .lang-ja h2.font-display { line-height: 1.2 !important; }
img { -webkit-user-drag: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,.6);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .7; }
.text-center .eyebrow::after, .eyebrow.center::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .7; }
.font-display em, .font-display i { font-style: italic; font-weight: 300; }
.outline-text { -webkit-text-stroke: 1px rgba(255,255,255,.55); color: transparent; }
.outline-text-dark { -webkit-text-stroke: 1px rgba(0,0,0,.5); color: transparent; }

/* ---------- Grain overlay ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 10% { transform: translate(-5%,-10%) } 30% { transform: translate(3%,-15%) }
  50% { transform: translate(12%,9%) } 70% { transform: translate(9%,4%) } 90% { transform: translate(-1%,7%) }
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 1000; background: #050505; display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
#preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
#preloader.skip { display: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.pl-mono { animation: plFade 1.2s var(--ease) both; }
.pl-line { width: 140px; height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.pl-line span { display: block; height: 100%; background: #fff; animation: plLine 1.4s var(--ease) .2s both; transform-origin: left; }
.pl-text { font-size: .65rem; letter-spacing: .5em; text-transform: uppercase; color: rgba(255,255,255,.5); animation: plFade 1s var(--ease) .4s both; }
@keyframes plFade { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes plLine { from { transform: scaleX(0) } to { transform: scaleX(1) } }

/* ---------- Scroll progress ---------- */
#scrollProgress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); z-index: 70; mix-blend-mode: difference; }

/* ---------- Header ---------- */
#siteHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  transition: height .5s var(--ease), background-color .5s var(--ease), border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
#siteHeader.is-scrolled {
  --header-h: 70px;
  background: rgba(8,8,8,.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
#siteHeader.menu-open { background: transparent; border-color: transparent; backdrop-filter: none; }
.site-logo { transition: height .5s var(--ease); }
#siteHeader.is-scrolled .site-logo { height: 2.1rem; }
.nav-link {
  position: relative; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72);
  padding: .5rem 0; transition: color .3s;
}
.lang-ja .nav-link { letter-spacing: .08em; font-size: .82rem; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.lang-switch { display: flex; align-items: center; gap: .45rem; font-size: .72rem; letter-spacing: .12em; }
.lang-switch a { color: rgba(255,255,255,.5); transition: color .3s; }
.lang-switch a.is-on, .lang-switch a:hover { color: #fff; }

.burger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
@media (min-width: 1280px) { .burger { display: none; } }
#siteHeader .btn-line { display: none; }
@media (min-width: 768px) { #siteHeader .btn-line { display: inline-flex; } }
.lb-full { display: none !important; }
@media (min-width: 768px) { .lb-full { display: grid !important; } }
.burger span { display: block; height: 1.5px; background: #fff; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger span:first-child { width: 28px; }
.burger span:last-child { width: 18px; }
.burger:hover span:last-child { width: 28px; }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); width: 26px; }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); width: 26px; }

.mobile-menu { position: fixed; inset: 0; background: #050505; z-index: 55; overflow-y: auto; }
.mm-enter, .mm-leave { transition: clip-path .8s var(--ease-io); }
.mm-enter-start { clip-path: circle(0% at calc(100% - 44px) 44px); }
.mm-enter-end { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mm-link {
  display: flex; align-items: baseline; gap: 1.2rem; padding: .35rem 0;
  font-family: "Cormorant Garamond", "Shippori Mincho", serif; font-weight: 300; font-size: clamp(2.3rem, 9vw, 4.2rem); line-height: 1.05;
  color: rgba(255,255,255,.9); opacity: 0; transform: translateY(30px);
  animation: mmIn .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .06s);
}
.mm-link:hover { color: #fff; font-style: italic; }
.mm-num { font-family: Manrope, sans-serif; font-size: .7rem; letter-spacing: .2em; color: rgba(255,255,255,.35); }
@keyframes mmIn { to { opacity: 1; transform: none; } }
.mm-foot { opacity: 0; animation: mmIn 1s var(--ease) .7s forwards; }

/* ---------- Buttons ---------- */
.btn-line, .btn-solid, .btn-line-dark, .btn-solid-dark {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.7rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  border-radius: 999px; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s, transform .3s;
  white-space: nowrap;
}
.lang-ja .btn-line, .lang-ja .btn-solid, .lang-ja .btn-line-dark, .lang-ja .btn-solid-dark { letter-spacing: .1em; }
.btn-line::before, .btn-solid::before, .btn-line-dark::before, .btn-solid-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn-line:hover::before, .btn-solid:hover::before, .btn-line-dark:hover::before, .btn-solid-dark:hover::before { transform: translateY(0); }
.btn-line { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: #000; border-color: #fff; }
.btn-solid { background: #fff; color: #000; border: 1px solid #fff; }
.btn-solid::before { background: #0b0b0b; }
.btn-solid:hover { color: #fff; }
.btn-line-dark { border: 1px solid rgba(0,0,0,.3); color: #0b0b0b; }
.btn-line-dark::before { background: #0b0b0b; }
.btn-line-dark:hover { color: #fff; border-color: #0b0b0b; }
.btn-solid-dark { background: #0b0b0b; color: #fff; border: 1px solid #0b0b0b; }
.btn-solid-dark::before { background: #fff; }
.btn-solid-dark:hover { color: #0b0b0b; }
.link-arrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow span { background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.94); }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: top; transition: transform 1.4s var(--ease-io); transition-delay: var(--d, 0s); z-index: 2; }
.img-reveal.light::after { background: var(--bone); }
.img-reveal img { transform: scale(1.25); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
.img-reveal.in::after { transform: scaleY(0); }
.img-reveal.in img { transform: scale(1); }

/* split text */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left top; transition: transform 1.3s var(--ease); transition-delay: calc(var(--wi) * .055s + var(--d, 0s)); }
[data-split].in .w > span { transform: none; }
.no-js [data-reveal], .no-js [data-split] .w > span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-split] .w > span, .img-reveal img { transition: none !important; opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  .grain, .marquee-track, .hero-col-track, .kb, .kb-slow { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: #050505; }
.hero-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 12px; }
@media (min-width: 768px) { .hero-cols { grid-template-columns: repeat(3, 1fr); left: auto; width: 62%; gap: 16px; padding: 0 16px 0 0; } }
@media (min-width: 1280px) { .hero-cols { width: 56%; } }
.hero-col { position: relative; overflow: hidden; }
.hero-col-track { display: flex; flex-direction: column; gap: 12px; animation: colUp 60s linear infinite; will-change: transform; }
@media (min-width: 768px) { .hero-col-track { gap: 16px; } }
.hero-col:nth-child(2) .hero-col-track { animation-name: colDown; animation-duration: 70s; }
.hero-col:nth-child(3) .hero-col-track { animation-duration: 55s; }
.hero:hover .hero-col-track { animation-play-state: paused; }
@keyframes colUp { from { transform: translateY(0) } to { transform: translateY(-50%) } }
@keyframes colDown { from { transform: translateY(-50%) } to { transform: translateY(0) } }
.hero-col figure { position: relative; overflow: hidden; border-radius: 2px; }
.hero-col img { width: 100%; aspect-ratio: 2/3; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.hero-col figure:hover img { filter: grayscale(0); transform: scale(1.06); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, #050505 0%, rgba(5,5,5,.92) 30%, rgba(5,5,5,.35) 55%, rgba(5,5,5,.15) 100%),
  linear-gradient(180deg, rgba(5,5,5,.9) 0%, transparent 18%, transparent 80%, #0b0b0b 100%); }
@media (max-width: 767px) { .hero-shade { background: linear-gradient(180deg, rgba(5,5,5,.75) 0%, rgba(5,5,5,.72) 40%, rgba(5,5,5,.88) 75%, #0b0b0b 100%); } }
.hero-title { font-size: clamp(3.2rem, 9.5vw, 9.5rem); line-height: .88; letter-spacing: -.02em; }
.lang-ja .hero-title { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1.12; letter-spacing: .02em; }
.hero-meta { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: .8rem; font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-rotate { display: inline-grid; }
.hero-rotate > span { grid-area: 1/1; opacity: 0; transform: translateY(60%); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero-rotate > span.on { opacity: 1; transform: none; }
.hero-rotate > span.out { opacity: 0; transform: translateY(-60%); }

/* Ken Burns */
.kb { animation: kb 18s ease-in-out infinite alternate; }
.kb-slow { animation: kb 30s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1) } to { transform: scale(1.12) translate(-1.5%, -1%) } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee-star { width: 26px; height: 26px; flex: none; }

/* ---------- Services list (hover image) ---------- */
.svc-row { position: relative; display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem 0; border-top: 1px solid var(--line); transition: padding .6s var(--ease); }
@media (min-width: 768px) { .svc-row { grid-template-columns: 6rem 1fr 1fr auto; padding: 2.6rem 0; } }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row::before { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: 0; }
.svc-row > * { position: relative; z-index: 1; transition: color .5s var(--ease), transform .7s var(--ease); }
@media (hover: hover) {
  .svc-row:hover::before { transform: scaleY(1); }
  .svc-row:hover > * { color: #0b0b0b; }
  .svc-row:hover .svc-title { transform: translateX(1.2rem); }
  .svc-row:hover .svc-arrow { transform: rotate(45deg); }
}
.svc-num { font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.4); }
.svc-title { font-family: "Cormorant Garamond", "Shippori Mincho", serif; font-weight: 300; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; }
.svc-float { position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 3/4; pointer-events: none; z-index: 40; overflow: hidden; border-radius: 4px; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.svc-float img.on { opacity: 1; }

/* ---------- Portfolio cards ---------- */
.work-card { position: relative; display: block; overflow: hidden; background: #111; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.bw-hover img { filter: grayscale(1); }
@media (hover: hover) {
  .work-card:hover img { transform: scale(1.07); filter: grayscale(0); }
}
@media (hover: none) { .bw-hover img { filter: none; } }
.work-card .wc-info { position: absolute; inset: auto 0 0 0; padding: 1.6rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(12px); opacity: .95; transition: transform .7s var(--ease), opacity .7s; }
.work-card:hover .wc-info { transform: none; opacity: 1; }
.work-card .wc-view { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease); }
.work-card:hover .wc-view { transform: scale(1) rotate(0); }

/* ---------- Filter pills ---------- */
.pill { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); transition: all .4s var(--ease); white-space: nowrap; }
.pill:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.pill.on { background: #fff; color: #000; border-color: #fff; }
.pill sup { font-size: .6rem; margin-left: .3rem; opacity: .6; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 14px; } }
@media (min-width: 1280px) { .masonry { columns: 4; column-gap: 16px; } }
.masonry > * { break-inside: avoid; margin-bottom: 10px; }
@media (min-width: 768px) { .masonry > * { margin-bottom: 14px; } }
@media (min-width: 1280px) { .masonry > * { margin-bottom: 16px; } }
.g-item { position: relative; display: block; overflow: hidden; cursor: zoom-in; background: #151515; }
.g-item img { width: 100%; height: auto; display: block; transition: transform 1.4s var(--ease), opacity .8s; }
.g-item img.lazy-fade { opacity: 0; }
.g-item img.loaded { opacity: 1; }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { background: rgba(0,0,0,.25); }
.g-item .g-cap { position: absolute; left: 1rem; bottom: .9rem; right: 1rem; z-index: 2; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.g-item:hover .g-cap { opacity: 1; transform: none; }
.g-anim { animation: gIn .9s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,5,.97); display: flex; flex-direction: column; }
.lb-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-width: 92vw; max-height: calc(100svh - 150px); object-fit: contain; user-select: none; transition: transform .4s var(--ease); }
.lb-stage img.zoomed { transform: scale(1.8); cursor: zoom-out; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; transition: all .3s; background: rgba(0,0,0,.3); }
.lb-btn:hover { background: #fff; color: #000; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 18px; justify-content: safe center; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 56px; height: 56px; opacity: .35; transition: opacity .3s; overflow: hidden; border-radius: 2px; }
.lb-thumbs button.on, .lb-thumbs button:hover { opacity: 1; outline: 1px solid #fff; outline-offset: 2px; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-fade-enter { animation: lbIn .5s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-progress { position: absolute; top: 0; left: 0; height: 2px; background: #fff; }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; padding: 2.6rem 2.2rem; border: 1px solid var(--line); background: #0f0f0f; transition: transform .7s var(--ease), border-color .5s, background .5s; }
.price-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.35); }
.price-card.is-featured { background: #fff; color: #0b0b0b; border-color: #fff; }
.price-card.is-featured .pc-muted { color: rgba(0,0,0,.6); }
.price-card .pc-muted { color: rgba(255,255,255,.55); }
.price-card.is-featured .pc-line { border-color: rgba(0,0,0,.12); }
.pc-line { border-top: 1px solid var(--line); }
.pc-badge { position: absolute; top: -1px; right: 2rem; transform: translateY(-50%); background: #0b0b0b; color: #fff; padding: .45rem .9rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; border: 1px solid #fff; border-radius: 999px; }

/* ---------- Accordion ---------- */
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-light .acc-item { border-color: rgba(0,0,0,.12); }
.acc-btn { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.7rem 0; }
.acc-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; opacity: .6; transition: transform .5s var(--ease), opacity .3s; }
.acc-open .acc-icon { transform: rotate(45deg); opacity: 1; }

/* ---------- Forms ---------- */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); color: #fff;
  padding: 1.6rem 0 .7rem; font-size: 1rem; outline: none; border-radius: 0; transition: border-color .4s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.3'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; padding-right: 2rem; }
.field select option { background: #111; color: #fff; }
.field input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.field label { position: absolute; left: 0; top: 1.6rem; color: rgba(255,255,255,.5); font-size: .95rem; pointer-events: none; transition: all .35s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.static label { top: 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field .err { color: #ff8a8a; font-size: .75rem; margin-top: .4rem; display: block; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span { display: inline-flex; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; cursor: pointer; transition: all .3s; }
.radio-chip input:checked + span { background: #fff; color: #000; border-color: #fff; }
.radio-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Prose (blog / rich text) ---------- */
.prose-ks { color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.9; }
.prose-ks > * + * { margin-top: 1.4em; }
.prose-ks h2 { font-family: "Cormorant Garamond", "Shippori Mincho", serif; font-weight: 400; font-size: 2.3rem; line-height: 1.15; color: #fff; margin-top: 2.2em; }
.prose-ks h3 { font-family: "Cormorant Garamond", "Shippori Mincho", serif; font-weight: 500; font-size: 1.7rem; color: #fff; margin-top: 1.8em; }
.prose-ks h4 { font-weight: 600; color: #fff; }
.prose-ks a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose-ks strong { color: #fff; font-weight: 600; }
.prose-ks ul { list-style: none; padding-left: 0; }
.prose-ks ul li { position: relative; padding-left: 1.6rem; margin-top: .6em; }
.prose-ks ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: .8rem; height: 1px; background: #fff; }
.prose-ks ol { list-style: decimal; padding-left: 1.4rem; }
.prose-ks ol li { margin-top: .6em; }
.prose-ks blockquote { border-left: 1px solid #fff; padding: .4rem 0 .4rem 1.6rem; font-family: "Cormorant Garamond", "Shippori Mincho", serif; font-size: 1.6rem; font-style: italic; color: #fff; line-height: 1.4; }
.prose-ks img { width: 100%; height: auto; margin: 2.4em 0; }
.prose-ks figure figcaption { font-size: .8rem; color: rgba(255,255,255,.45); text-align: center; margin-top: -1.6em; }
.prose-ks hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose-ks .ql-align-center { text-align: center; }
.prose-ks .ql-align-right { text-align: right; }
.prose-ks iframe { width: 100%; aspect-ratio: 16/9; }
.prose-light { color: rgba(0,0,0,.72); }
.prose-light h2, .prose-light h3, .prose-light h4, .prose-light strong, .prose-light a, .prose-light blockquote { color: #0b0b0b; }
.prose-light ul li::before { background: #0b0b0b; }
.prose-light blockquote { border-color: #0b0b0b; }

/* ---------- Footer ---------- */
.footer-h { color: #fff; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.4rem; font-weight: 600; }
.footer-link { transition: color .3s; }
.footer-link:hover { color: #fff; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: rgba(255,255,255,.75); transition: all .4s var(--ease); }
.social-btn:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px); }
/* Giant footer wordmark — letters slide up on scroll-in, then drift with scroll */
.footer-giant { position: relative; font-weight: 300; font-size: clamp(4rem, 17vw, 17rem); line-height: .9; letter-spacing: -.03em; text-align: center; margin: 4rem 0 2.5rem; padding-bottom: .1em; user-select: none; white-space: nowrap; overflow: hidden; }
.fg-track { display: inline-block; will-change: transform; transition: transform .2s linear; }
.fg-ch { display: inline-block; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.32);
  transform: translateY(105%); opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1.4s var(--ease), color .8s var(--ease), -webkit-text-stroke-color .8s;
  transition-delay: calc(var(--i) * .07s); }
.footer-giant.in .fg-ch { transform: none; opacity: 1; }
.footer-giant .fg-ch:hover { color: rgba(255,255,255,.92); -webkit-text-stroke-color: #fff; transition-delay: 0s; }
.fg-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: scaleX(0); transition: transform 1.8s var(--ease) .6s; }
.footer-giant.in .fg-line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .fg-ch { transform: none; opacity: 1; transition: none; } .fg-line { transform: none; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float.is-left { right: auto; left: 22px; align-items: flex-start; }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #0b0b0b; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.45); transition: transform .4s var(--ease), background .3s, color .3s; }
.wa-btn:hover { transform: scale(1.08); background: #25D366; color: #fff; }
.wa-ping { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #fff; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.7); opacity: 0 } }
.chat-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wa-float.is-left .chat-stack { align-items: center; }
.line-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #0b0b0b; --line-ink: #fff; display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0,0,0,.45); transition: transform .4s var(--ease), background .3s, color .3s; animation: chatIn .9s var(--ease) 1.2s both; }
.line-btn.is-main { width: 60px; height: 60px; }
.line-btn:hover { transform: scale(1.1); background: #06C755; color: #fff; --line-ink: #06C755; }
.line-btn svg path:first-child { transition: fill .3s; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }
.chat-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: #fff; color: #0b0b0b; font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .45rem .8rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-float.is-left .chat-tip { right: auto; left: calc(100% + 12px); transform: translate(-6px, -50%); }
.line-btn:hover .chat-tip, .wa-btn:hover .chat-tip { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .chat-tip { display: none; } }
.chip-wa, .chip-line { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; padding: .4rem .75rem; border-radius: 999px; color: #fff; transition: filter .3s; }
.chip-wa { background: #1fa855; } .chip-line { background: #06C755; }
.chip-wa:hover, .chip-line:hover { filter: brightness(1.1); }
.line-card .btn-line:hover { border-color: #06C755; }
.line-card .btn-line::before { background: #06C755; }
.line-card .btn-line:hover { color: #fff; }
.wa-bubble { position: relative; background: #fff; border-radius: 14px; padding: 14px 34px 14px 16px; max-width: 250px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.wa-bubble-x { position: absolute; top: 8px; right: 8px; color: #555; }
#toTop { position: fixed; left: 22px; bottom: 22px; z-index: 79; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,10,.6); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .5s var(--ease); }
#toTop.on { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { background: #fff; color: #000; }
.wa-float.is-left ~ #toTop { left: auto; right: 22px; }

/* ---------- Custom cursor ---------- */
#cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transform: translate(-50%,-50%); transition: width .45s var(--ease), height .45s var(--ease), background .3s; display: none; }
@media (hover: hover) and (pointer: fine) { body.has-cursor #cursor { display: grid; place-items: center; } }
#cursor.is-hover { width: 54px; height: 54px; background: rgba(255,255,255,.9); }
#cursor.is-view { width: 96px; height: 96px; mix-blend-mode: normal; background: #fff; }
#cursor .cursor-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; font-weight: 600; }
#cursor.is-view .cursor-label { opacity: 1; }

/* ---------- Misc ---------- */
.page-hero { min-height: 62vh; display: flex; align-items: flex-end; }
.stat-num { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; }
.divider-v { width: 1px; background: var(--line); }
.circle-text { animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tilt { transition: transform .6s var(--ease); transform-style: preserve-3d; }
.no-select { user-select: none; -webkit-user-select: none; }
.scrollbar-none { scrollbar-width: none; } .scrollbar-none::-webkit-scrollbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #fff; color: #000; padding: .9rem 1.4rem; border-radius: 999px; font-size: .85rem; z-index: 400; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
