/* S-PRING home — top-page sections only (loads after base.css) */
/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh; overflow-x: clip;
  padding: calc(var(--hd-h) + 18px) var(--gx) 28px;
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
.hero-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.hero-meta span:last-child { text-align: right; }
.hero-type { position: relative; align-self: end; }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 12vw, 132px); line-height: 1.12; letter-spacing: .02em;
  position: relative; z-index: 1; white-space: nowrap;
}
.hero-reflect {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 12vw, 132px); line-height: 1.12; letter-spacing: .02em; white-space: nowrap;
  transform: translateY(-.1em) scaleY(-1); transform-origin: center;
  position: absolute; left: 0; top: 100%;
  color: var(--ink); opacity: .16; filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 52%);
  mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 52%);
  pointer-events: none; user-select: none;
}
.hero-type::after { content: ""; position: absolute; left: 0; right: -20vw; top: 100%; height: 1px; background: linear-gradient(90deg, var(--ink) 0, rgba(20,24,22,.25) 60%, transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .9s; }
.hero-type::after { animation: lineGrow 1.6s var(--ease) .6s both; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* window light spilling across the page */
.hero::before {
  content: ""; position: absolute; inset: 0 0 -20% 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(255, 236, 196, .55) 40%, transparent 47%),
    linear-gradient(118deg, transparent 0 50%, rgba(255, 236, 196, .38) 54%, transparent 58%),
    linear-gradient(118deg, transparent 0 62%, rgba(255, 236, 196, .3) 64.5%, transparent 67%);
  filter: blur(18px); opacity: 0; transition: opacity 2.4s ease 1.4s;
  animation: beams 14s ease-in-out infinite alternate;
}
.hero::before { animation: beamsIn 2.4s ease .8s both, beams 14s ease-in-out 3s infinite alternate; }
@keyframes beamsIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes beams { from { transform: translateX(-2%); } to { transform: translateX(3%); } }
.hero > * { position: relative; z-index: 1; }

/* char split */
/* headline characters are split in the HTML, so the reveal runs on CSS alone (no wait for JS) */
.hero-title .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ch > span { display: inline-block; transform-origin: left bottom; animation: chUp 1.1s var(--ease) both; animation-delay: calc(.05s + var(--i) * .04s); }
@keyframes chUp { from { transform: translateY(105%) rotate(4deg); } }
.hero-reflect { animation: reflectIn 1.6s ease .7s both; }
@keyframes reflectIn { from { opacity: 0; } to { opacity: .16; } }

.hero-photo { position: relative; margin: 0; border-radius: 2px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #c9b79c; }
.hero-photo-in { position: absolute; inset: 0; animation: photoIn 1.4s var(--ease-io) .1s both; }
@keyframes photoZoom { from { transform: scale(1.2); } }
@keyframes photoIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero-photo-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.04) translateY(var(--py, 0px)); animation: photoZoom 2s var(--ease) .1s both; will-change: transform; }


.hero-spec {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .8s;
  background: radial-gradient(circle at var(--mx, 60%) var(--my, 70%), rgba(255,255,255,.95) 0, rgba(255,255,255,.35) 14%, transparent 42%);
}
.hero-photo:hover .hero-spec, .hero-photo.is-auto .hero-spec { opacity: 1; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(20,24,22,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 10.5px; letter-spacing: .12em; }
.hero-photo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(140,198,63,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(140,198,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,198,63,0); } }

.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-lead { font-size: 14px; line-height: 2.05; color: var(--ink-2); max-width: 34em; }
.hero-scroll { display: none; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.hero-scroll i { position: relative; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--ink); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero-foot, .hero-meta, .hero-kicker { animation: fadeUp 1s var(--ease) .35s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }


@media (max-width: 899px) {
  .hero { grid-template-rows: auto auto auto auto; }
  .hero-meta { order: 0; }
  .hero-type { order: 1; margin-bottom: 4.2em; }
  .hero-photo { order: 2; aspect-ratio: 4 / 4.2; }
  .hero-photo-in img { object-position: 62% 30%; }
  .hero-foot { order: 3; }
  .hero-meta span:first-child { display: none; }
  .hero-meta { justify-content: flex-start; }
  .hero-meta span:last-child { text-align: left; }
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
    grid-template-rows: auto 1fr auto; row-gap: 0;
    height: 100svh; min-height: 720px; max-height: 1100px;
  }
  .hero-meta { grid-column: 1 / -1; grid-row: 1; }
  .hero-type { grid-column: 1 / 9; grid-row: 2; align-self: center; margin-top: -2vh; }
  .hero-photo { grid-column: 8 / 13; grid-row: 2 / 4; aspect-ratio: auto; margin: 4vh 0 0; }
  .hero-foot { grid-column: 1 / 7; grid-row: 3; padding-top: 24px; }
  .hero-scroll { display: flex; }
  .hero-title, .hero-reflect { font-size: clamp(60px, 7.3vw, 132px); }
}

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; margin-top: clamp(24px, 4vw, 48px); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker p { display: flex; align-items: baseline; gap: 14px; padding: 0 44px; white-space: nowrap; font-size: 12px; letter-spacing: .14em; color: var(--ink-2); position: relative; }
.ticker p::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50% 0; background: var(--leaf); transform: translateY(-50%) rotate(45deg); }
.ticker b { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; letter-spacing: .06em; color: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { padding: clamp(96px, 16vw, 240px) var(--gx); display: grid; gap: 40px; }
.statement-side { display: flex; justify-content: space-between; align-items: start; }
.sprout { width: 64px; overflow: visible; }
.sprout path { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: calc(260 - 260 * var(--sp, 0)); }
.sprout .sprout-l, .sprout .sprout-r { fill: var(--leaf); fill-opacity: calc((var(--sp, 0) - .7) * 3); stroke: var(--green); }
.statement-text {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.3vw, 54px); line-height: 1.75; letter-spacing: .06em;
  margin-bottom: 48px; text-wrap: pretty;
}
.js [data-scrub] .c { color: var(--ink); opacity: .14; transition: opacity .5s linear; }
.js [data-scrub] .c.on { opacity: 1; }
@media (min-width: 900px) {
  .statement { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .statement-side { grid-column: 1 / 4; flex-direction: column; gap: 60px; position: sticky; top: 120px; align-self: start; padding-top: .9em; }
  .sprout { width: 92px; }
  .statement-body { grid-column: 4 / 13; }
}

.st-photo { margin-top: clamp(64px, 9vw, 140px); }
.st-photo-in { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: #d9d0c2; }
.st-photo-in img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--plx, 0px), 0); will-change: transform; }
.st-photo figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }

/* ---------- service ---------- */
.service { padding-bottom: clamp(96px, 14vw, 200px); position: relative; }
.sv-list { border-top: 1px solid var(--line); margin: 0 var(--gx); }
.sv-row { position: relative; border-bottom: 1px solid var(--line); }
.sv-row a {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 44px 1fr 40px; column-gap: 12px; row-gap: 10px;
  padding: 30px 0; align-items: baseline;
}
.sv-row::before { content: ""; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.sv-row:hover::before { transform: scaleY(1); }
.sv-no { font-family: var(--latin); font-style: italic; font-size: 22px; color: var(--green); }
.sv-name { display: flex; flex-direction: column; gap: 2px; }
.sv-name b { font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 3.4vw, 50px); line-height: 1.3; letter-spacing: .04em; transition: transform .7s var(--ease); }
.sv-name em { font-family: var(--latin); font-style: italic; font-size: 16px; color: var(--ink-3); letter-spacing: .02em; }
.sv-desc { grid-column: 2 / 4; color: var(--ink-2); font-size: 14px; max-width: 30em; }
.sv-go { grid-column: 3; grid-row: 1; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .5s, color .5s, transform .7s var(--ease), border-color .5s; }
.sv-row:hover .sv-go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }
.sv-row:hover .sv-name b { transform: translateX(12px); }
.sv-badge { align-self: flex-start; margin-bottom: 6px; padding: 1px 10px; border-radius: 999px; background: var(--leaf); color: var(--forest); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; }
.sv-thumb { display: none; }
.sv-row.is-main .sv-thumb { display: block; position: relative; z-index: 1; margin: 0 0 28px 56px; aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; }
.sv-row.is-main .sv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sv-float { display: none; }
@media (min-width: 900px) {
  .sv-row a { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 40px 0; align-items: center; }
  .sv-no { grid-column: 1 / 2; padding-left: 4px; }
  .sv-name { grid-column: 2 / 7; }
  .sv-desc { grid-column: 7 / 11; grid-row: 1; }
  .sv-go { grid-column: 12; width: 56px; height: 56px; margin-right: 4px; }
  .sv-row.is-main .sv-thumb { display: none; }
}
@media (min-width: 900px) and (hover: hover) {
  .sv-float {
    display: block; position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
    width: 300px; height: 360px; margin: -180px 0 0 -150px;
    transform: translate3d(var(--fx, 0), var(--fy, 0), 0) rotate(var(--fr, 0deg));
  }
  .sv-float-in { width: 100%; height: 100%; border-radius: 2px; overflow: hidden; transform: scale(0); opacity: 0; transition: transform .6s var(--ease), opacity .4s; box-shadow: 0 30px 60px -20px rgba(14, 34, 25, .35); }
  .sv-float.is-on .sv-float-in { transform: scale(1); opacity: 1; }
  .sv-float-in img { width: 100%; height: 100%; object-fit: cover; }
  .sv-float-in .kanji { display: grid; place-content: center; justify-items: center; width: 100%; height: 100%; background: var(--forest); color: var(--leaf-soft); }
  .sv-float-in .kanji b { font-family: var(--serif); font-size: 168px; line-height: 1; font-weight: 600; }
  .sv-float-in .kanji small { font-family: var(--latin); font-style: italic; font-size: 22px; color: var(--leaf); margin-top: 10px; }
}

/* ---------- coating (dark) ---------- */
.coating {
  background: var(--forest); color: var(--on-dark);
  padding: clamp(96px, 14vw, 200px) var(--gx);
  border-radius: clamp(20px, 3vw, 44px) clamp(20px, 3vw, 44px) 0 0;
  position: relative;
}
.coating .label { color: var(--on-dark-2); }
.coating .label span { color: var(--leaf); }
.coating .fine { color: var(--on-dark-2); }
.coating-intro { display: grid; gap: 28px; margin-bottom: clamp(56px, 8vw, 120px); }
.ct-band { position: relative; margin: calc(-1 * clamp(96px, 14vw, 200px) + clamp(20px, 3vw, 44px)) calc(-1 * var(--gx)) clamp(80px, 11vw, 160px); height: clamp(420px, 92vh, 980px); }
.ct-band-in {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(calc(var(--bp, 0) * 9%) calc(var(--bp, 0) * 14%) round calc(var(--bp, 0) * 28px));
}
.ct-band-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(calc(1 + var(--bp, 0) * .12)); }
.ct-band-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,34,25,0) 45%, rgba(14,34,25,.75)); }
.ct-band figcaption { position: absolute; left: var(--gx); bottom: clamp(24px, 4vw, 56px); display: grid; font-family: var(--latin); font-style: italic; font-size: clamp(34px, 6vw, 96px); line-height: 1; color: var(--on-dark); letter-spacing: -.01em; }
.ct-band figcaption span:last-child { padding-left: 1.2em; color: var(--leaf-soft); }
@media (max-width: 899px) { .ct-band { height: 72svh; } }
.coating-title { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 8vw, 132px); line-height: 1.1; letter-spacing: .04em; }
.coating-title { background: linear-gradient(100deg, var(--on-dark) 0 40%, #fff 48%, var(--leaf-soft) 52%, var(--on-dark) 60% 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s var(--ease-io) infinite; }
@keyframes sheen { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.coating-lead { color: var(--on-dark-2); max-width: 30em; font-size: 15px; }
@media (min-width: 900px) {
  .coating-intro { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .coating-intro .label { grid-column: 1 / 4; align-self: start; padding-top: 1em; }
  .coating-title { grid-column: 4 / 10; white-space: nowrap; font-size: clamp(52px, 5.8vw, 104px); }
  .coating-lead { grid-column: 10 / 13; }
}

.types { display: grid; gap: clamp(40px, 4vw, 56px) var(--gap); margin-bottom: 24px; }
@media (min-width: 760px) { .types { grid-template-columns: repeat(3, 1fr); } }
.type { display: grid; gap: 6px; align-content: start; }
.type:nth-child(2) { --d: .12s; }
.type:nth-child(3) { --d: .24s; }
.swatch {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; margin-bottom: 18px;
  background: #6f5134;
}
.swatch::before { /* wood base: same floor, finished differently */
  content: ""; position: absolute; inset: 0;
  background: url("/assets/v2/img/works/f03-before-tex.jpg") var(--bp, 50% 92%) / 230% auto no-repeat;
  filter: saturate(calc(.75 + var(--gloss) * .45)) contrast(calc(.92 + var(--gloss) * .22)) brightness(calc(.86 + var(--gloss) * .12));
}
.swatch::after { /* grip texture */
  content: ""; position: absolute; inset: 0; opacity: calc(var(--grip) * .55);
  background-image: radial-gradient(rgba(255,255,255,.7) .8px, transparent 1.3px); background-size: 5px 5px;
  mix-blend-mode: soft-light;
}
.swatch-light { position: absolute; inset: 0; pointer-events: none; }
.swatch-light::before { /* window reflection on the finish */
  content: ""; position: absolute; left: 18%; top: 8%; width: 34%; height: 70%;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(30,20,10,.35) 48% 52%, transparent 54%),
    radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,calc(var(--gloss) * .95)), rgba(255,250,235,calc(var(--gloss) * .4)) 45%, transparent 72%);
  transform: perspective(300px) rotateX(48deg) skewX(-8deg);
  filter: blur(calc(3px + (1 - var(--gloss)) * 22px));
  opacity: calc(.15 + var(--gloss) * .85);
  mix-blend-mode: screen;
}
.swatch-light::after { /* moving sheen */
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,calc(var(--gloss) * .55)) 50%, transparent 58%);
  transform: translateX(-70%); transition: transform 1.6s var(--ease);
  mix-blend-mode: soft-light;
}
.type:hover .swatch-light::after, .type.is-in .swatch-light::after { transform: translateX(70%); }
.type:hover .swatch-light::after { transition-duration: 1s; }
.swatch-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(14,34,25,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 10.5px; letter-spacing: .14em; color: var(--on-dark); }
.type-en { font-family: var(--latin); font-style: italic; font-size: 18px; color: var(--leaf); }
.type h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: .04em; }
.type-copy { font-weight: 500; margin-top: 6px; }
.type-text { color: var(--on-dark-2); font-size: 13.5px; }
.meter { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 11px; letter-spacing: .14em; color: var(--on-dark-2); }
.meter dd { flex: 1; height: 2px; background: var(--line-dark); position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0; background: var(--leaf); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .4s; }
.type.is-in .meter i { transform: scaleX(var(--v)); }

.price {
  margin-top: clamp(72px, 10vw, 140px);
  display: grid; gap: 40px;
  border-top: 1px solid var(--line-dark); padding-top: clamp(40px, 5vw, 64px);
}
.price-head h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 44px); line-height: 1.4; letter-spacing: .04em; margin-bottom: 14px; }
.price-head p { color: var(--on-dark-2); font-size: 14px; max-width: 26em; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--on-dark-2); text-align: right; padding: 0 0 12px; border-bottom: 1px solid var(--line-dark); }
.price-table thead th:first-child { text-align: left; }
.price-table tbody th { text-align: left; font-weight: 500; font-size: 14px; padding: 18px 12px 18px 0; letter-spacing: .06em; }
.price-table td { text-align: right; padding: 18px 0 18px 12px; white-space: nowrap; color: var(--on-dark-2); font-size: 12.5px; }
.price-table td b { font-family: var(--latin); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; color: var(--on-dark); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.price-table td small { margin-left: 4px; font-size: 13px; color: var(--on-dark); }
.price-table tbody tr { border-bottom: 1px solid var(--line-dark); transition: background .4s; }
.price-table tbody tr:hover { background: rgba(140, 198, 63, .06); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.price-cta .btn { --bg: var(--leaf); --fg: var(--forest); }
.price-cta .btn::before { background: var(--on-dark); }
.price-tel { display: grid; line-height: 1.2; }
.price-tel small { font-size: 11px; letter-spacing: .12em; color: var(--on-dark-2); }
.price-tel b { font-family: var(--latin); font-weight: 400; font-size: 30px; letter-spacing: .02em; transition: color .3s; }
.price-tel:hover b { color: var(--leaf); }
.price-cta p { flex-basis: 100%; font-size: 12.5px; color: var(--on-dark-2); }
@media (max-width: 599px) { .price-table td:last-child, .price-table th:last-child { display: none; } }
@media (min-width: 900px) {
  .price { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .price-head { grid-column: 1 / 5; }
  .price-table { grid-column: 5 / 13; }
  .price-cta { grid-column: 5 / 13; }
}

/* ---------- works ---------- */
.works { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); }
.ba { display: grid; gap: 32px; padding: 0 var(--gx); }
.ba-stage {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #d8cfc0;
  touch-action: pan-y; user-select: none;
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-stage.is-swapping img { opacity: 0; }
.ba-tag { position: absolute; top: 16px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(20, 24, 22, .55); color: #fff; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba-tag.l { left: 16px; }
.ba-tag.r { right: 16px; background: var(--leaf); color: var(--forest); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; color: var(--ink); font-style: normal; font-size: 15px; letter-spacing: .1em; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.ba-stage:hover .ba-handle i { transform: scale(1.1); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * , .ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--green); outline-offset: 4px; }
.ba-side { display: grid; gap: 14px; align-content: start; }
.ba-count { font-family: var(--latin); font-size: 20px; color: var(--ink-3); }
.ba-count b { font-weight: 400; font-size: 44px; color: var(--ink); }
.ba-title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.4; }
.ba-cat { font-size: 12px; letter-spacing: .16em; color: var(--green); margin-top: -6px; }
.ba-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 24px; }
.ba-tabs button { display: grid; gap: 8px; text-align: left; font-size: 11.5px; color: var(--ink-3); transition: color .3s; }
.ba-tabs img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; filter: grayscale(.6); opacity: .65; transition: filter .5s, opacity .5s, outline-color .3s; outline: 1px solid transparent; outline-offset: 3px; }
.ba-tabs button:hover img { filter: none; opacity: 1; }
.ba-tabs [aria-selected="true"] { color: var(--ink); }
.ba-tabs [aria-selected="true"] img { filter: none; opacity: 1; outline-color: var(--ink); }
@media (min-width: 900px) {
  .ba { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .ba-stage { grid-column: 1 / 9; }
  .ba-side { grid-column: 9 / 13; padding-left: 12px; align-self: end; }
}

.rail { margin-top: clamp(64px, 8vw, 120px); }
.rail-track {
  display: flex; gap: var(--gap); overflow-x: auto; padding: 0 var(--gx) 12px;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gx); scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail-track.is-drag a { pointer-events: none; }
.rail-card { flex: 0 0 clamp(220px, 24vw, 360px); scroll-snap-align: start; display: grid; gap: 6px; }
.rail-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; margin-bottom: 10px; background: #ddd5c7; }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.rail-card:hover .rail-img img { transform: scale(1.06); }
.rail-cat { font-size: 11px; letter-spacing: .16em; color: var(--green); }
.rail-card b { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .04em; }

/* ---------- promise ---------- */
.promise { background: var(--paper-2); padding: clamp(96px, 14vw, 200px) var(--gx); display: grid; gap: 48px; }
.promise-title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.3; letter-spacing: .04em; margin: 22px 0 16px; }
.promise-sub { color: var(--ink-2); font-size: 14px; }
.promise-progress { display: none; }
.promise-list li { padding: 36px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; transition: opacity .8s var(--ease); }
.promise-list li:last-child { border-bottom: 1px solid var(--line); }
.pn { grid-row: 1 / 3; font-family: var(--latin); font-style: italic; font-size: 26px; color: var(--green); line-height: 1.3; }
.promise-list h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.4; letter-spacing: .04em; margin-bottom: 10px; }
.promise-list p { color: var(--ink-2); max-width: 28em; }
.js .promise-list li { opacity: .25; }
.js .promise-list li.is-active { opacity: 1; }
.promise-coda { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.9; letter-spacing: .08em; color: var(--ink-2); }
@media (min-width: 900px) {
  .promise { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .promise-title { white-space: nowrap; font-size: clamp(34px, 4.1vw, 68px); }
  .promise-side { grid-column: 1 / 6; position: sticky; top: 120px; align-self: start; }
  .promise-list { grid-column: 7 / 13; }
  .promise-list li { padding: 9vh 0; grid-template-columns: 80px 1fr; }
  .promise-progress { display: block; width: 1px; height: 120px; background: var(--line); margin-top: 48px; position: relative; overflow: hidden; }
  .promise-progress i { position: absolute; inset: 0; background: var(--green); transform-origin: top; transform: scaleY(var(--pp, 0)); }
  .promise-coda { grid-column: 7 / 13; margin-top: 40px; }
}

/* ---------- area ---------- */
.area { padding: clamp(96px, 14vw, 200px) 0; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0 var(--gx); border-top: 1px solid var(--line); }
.area-list li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: clamp(150px, 20vw, 300px); padding: 20px 18px 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.area-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.area-list li:nth-child(even) { padding-left: 18px; }
.area-list li:nth-child(2) { --d: .08s; } .area-list li:nth-child(3) { --d: .16s; } .area-list li:nth-child(4) { --d: .24s; }
.area-list b { font-family: var(--serif); font-weight: 600; white-space: nowrap; font-size: clamp(38px, 5.4vw, 96px); line-height: 1; letter-spacing: .04em; order: 2; transition: color .5s; }
.area-list span { font-family: var(--latin); font-style: italic; font-size: 18px; color: var(--ink-3); }
.area-list li:hover b { color: var(--green); }
@media (min-width: 900px) {
  .area-list { grid-template-columns: repeat(4, 1fr); }
  .area-list li { padding-left: 22px !important; border-right: 1px solid var(--line); }
  .area-list li:first-child { padding-left: 0 !important; }
  .area-list li:last-child { border-right: 0; }
}
.co { margin: clamp(48px, 6vw, 88px) var(--gx) 0; display: grid; gap: 28px; }
.co-dl { display: grid; }
.co-dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-dl dt { color: var(--ink-3); font-size: 12px; letter-spacing: .14em; padding-top: 2px; }
@media (min-width: 900px) {
  .co { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .co-dl { grid-column: 4 / 11; }
  .co .link-arrow { grid-column: 11 / 13; justify-self: end; }
}

/* ---------- news ---------- */
.news { padding: 0 var(--gx) clamp(96px, 14vw, 200px); display: grid; gap: 28px; }
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.news-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 44px); letter-spacing: .06em; }
.news-head .link-arrow { margin-left: auto; }
.news-list { border-top: 1px solid var(--ink); }
.news-list a { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .6s var(--ease); }
.news-list a:hover { padding-left: 14px; }
.news-list time { font-family: var(--latin); font-size: 18px; letter-spacing: .02em; }
.news-list .tag { font-size: 11px; letter-spacing: .1em; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); justify-self: start; }
.news-list p { grid-column: 1 / -1; font-size: 14.5px; }
.news-list i { display: none; }
@media (min-width: 900px) {
  .news { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .news-head { grid-column: 1 / 4; flex-direction: column; align-self: start; }
  .news-head .link-arrow { margin-left: 0; }
  .news-list { grid-column: 4 / 13; }
  .news-list a { grid-template-columns: 120px 120px 1fr 40px; padding: 30px 0; }
  .news-list p { grid-column: 3; }
  .news-list i { display: block; font-style: normal; justify-self: end; transition: transform .6s var(--ease); }
  .news-list a:hover i { transform: translateX(-8px); }
}


/* ---------- hero: what / where / how much ---------- */
.hero-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: clamp(14px, 2vw, 26px); font-family: var(--sans); font-weight: 500; font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .12em; color: var(--ink-2); line-height: 1.6; }
.hero-kicker b { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: .06em; color: var(--ink); }
.hero-offer { display: grid; gap: 16px; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hero-price small { flex-basis: 100%; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.hero-price b { font-family: var(--latin); font-weight: 400; font-size: clamp(42px, 4.4vw, 64px); line-height: 1; letter-spacing: .01em; }
.hero-price span { font-size: 14px; font-weight: 500; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { padding: 4px 12px; border-radius: 999px; background: rgba(140, 198, 63, .18); color: var(--forest); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-cta .btn { min-height: 56px; }
@media (min-width: 900px) {
  .hero { max-height: none; min-height: 760px; height: auto; }
  .hero-title, .hero-reflect { font-size: clamp(56px, 6.4vw, 116px); }
  .hero-foot { align-items: flex-end; }
}
@media (max-width: 899px) {
  .hero-meta { display: none; }
  .hero-type { margin-bottom: 2.6em; }
  .hero-foot { order: 2; }
  .hero-photo { order: 3; aspect-ratio: 4 / 3; }
  .hero-scroll { display: none; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: space-between; }
}
