/* About page only. */

/* ---------- Philosophy (manifesto) ---------- */
.ab-mani { position: relative; overflow: clip; background: var(--c-ivory); }
.ab-mani::before { content: ""; position: absolute; right: -6vw; top: 50%; width: min(520px, 46vw); aspect-ratio: 506 / 437; translate: 0 -50%; background: url(../img/tooth/tooth-outline-gold.svg) center / contain no-repeat; opacity: .14; pointer-events: none; }
.ab-mani__inner { position: relative; max-width: 1120px; }
.ab-mani__lead { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.015em; color: var(--c-forest-deep); }
.ab-mani__lead em { color: #A8834B; }
.ab-mani__foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px 64px; margin-top: clamp(36px, 4vw, 60px); padding-top: 28px; border-top: 1px solid rgba(184, 154, 103, .4); }
.ab-mani__text { max-width: 520px; font-size: var(--fs-lead); color: var(--c-stone); }
.ab-mani__sig { display: flex; align-items: center; gap: 16px; }
.ab-mani__mark { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .55); box-shadow: inset 0 0 0 4px var(--c-ivory), inset 0 0 0 5px rgba(184, 154, 103, .25); }
.ab-mani__tooth { width: 30px; height: 26px; fill: url(#tooth-gold); }
.ab-mani__sig b { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-forest-deep); }
.ab-mani__sig em { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 1.15rem; color: var(--c-gold-ink); }
.ab-word { display: inline-block; }

/* ---------- Four reasons ---------- */
.ab-why__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ab-why__media { position: sticky; top: calc(var(--header-h) + 32px); }
.ab-why__stack { position: relative; aspect-ratio: 4 / 4.6; border-radius: 220px 220px var(--r-xl) var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: 0 40px 80px -40px rgba(31, 59, 50, .45); }
.ab-why__stack::after { content: ""; position: absolute; inset: 10px; border-radius: 212px 212px 24px 24px; border: 1px solid rgba(255, 255, 255, .6); pointer-events: none; z-index: 2; }
.ab-why__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.ab-why__shot.is-active { opacity: 1; }
.ab-why__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.ab-why__shot.is-active img { transform: scale(1); }
.ab-why__count { position: absolute; z-index: 3; right: 26px; bottom: 24px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(21, 42, 35, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: rgba(247, 244, 238, .8); font-size: .78rem; font-variant-numeric: tabular-nums; }
.ab-why__count b { color: var(--c-champagne-light); font-weight: 600; }
.ab-why__list { display: grid; }
.ab-reason { display: grid; grid-template-columns: 72px 1fr; gap: 8px 20px; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--c-line); transition: opacity .6s var(--ease); }
.ab-reason:first-child { border-top: 0; padding-top: 8px; }
.ab-reason__img { display: none; }
.ab-reason__num { font-family: var(--f-display); font-size: clamp(2.4rem, 1.8rem + 1.4vw, 3.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px #B08A4E; }
.ab-reason__title { font-family: var(--f-display); font-size: clamp(1.45rem, 1.2rem + .8vw, 2rem); font-weight: 400; line-height: 1.2; color: var(--c-forest-deep); margin-bottom: 12px; }
.ab-reason__text { color: var(--c-stone); max-width: 520px; margin-bottom: 18px; }
.ab-why__list.is-spy .ab-reason:not(.is-active) { opacity: .5; }
.ab-why__closing { max-width: 900px; margin: clamp(48px, 6vw, 88px) auto 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem); line-height: 1.3; color: var(--c-forest-deep); }
.ab-why__closing::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 28px; background: linear-gradient(180deg, transparent, var(--c-champagne)); }

/* ---------- Numbers (green band) ---------- */
.ab-num { position: relative; overflow: clip; isolation: isolate; padding-block: calc(clamp(70px, 8vw, 120px) + var(--curve-h, 0px)) clamp(70px, 8vw, 120px); color: var(--c-ivory); background: radial-gradient(90% 120% at 100% 0%, var(--c-forest-2) 0%, var(--c-forest) 42%, var(--c-forest-deep) 100%); }
.ab-num__glow { position: absolute; z-index: -1; left: -15vw; bottom: -30vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 196, 154, .13), transparent); pointer-events: none; }
.ab-num .section-head--center::before { opacity: .12; }
.ab-num__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-stat { padding: 10px clamp(16px, 2.4vw, 36px); text-align: center; border-left: 1px solid rgba(217, 196, 154, .28); }
.ab-stat:first-child { border-left: 0; }
.ab-stat__value { font-family: var(--f-display); font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.8rem); line-height: 1; color: #F3E7CF; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ab-stat__prefix { margin-right: .3em; font-style: italic; font-size: .5em; vertical-align: .32em; color: var(--c-champagne-light); }
.ab-stat__suffix { margin-left: .04em; color: var(--c-champagne-light); }
.ab-stat__label { margin-top: 14px; font-size: .88rem; color: rgba(247, 244, 238, .72); }
.ab-num__quote { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 760px; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 32px; border-top: 1px solid rgba(217, 196, 154, .22); }
.ab-num__mono { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%; border: 1px solid rgba(217, 196, 154, .55); box-shadow: inset 0 0 0 4px var(--c-forest-deep), inset 0 0 0 5px rgba(217, 196, 154, .25); }
.ab-num__tooth { width: 28px; height: 24px; fill: url(#tooth-gold); }
.ab-num__quote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; color: rgba(247, 244, 238, .88); }

/* ---------- Technology + brands ---------- */
.ab-tech { background: var(--c-ivory); }
.ab-tech__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-tech__text { margin: 20px 0 30px; max-width: 520px; color: var(--c-stone); }
.ab-tech__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-tech__grid li { display: grid; gap: 4px; padding: 22px 22px 20px; border-radius: 22px; background: var(--c-paper); border: 1px solid rgba(184, 154, 103, .22); font-size: .86rem; color: var(--c-stone); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.ab-tech__grid li:hover { translate: 0 -3px; box-shadow: 0 24px 50px -30px rgba(21, 42, 35, .3); }
.ab-tech__grid b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 400; color: var(--c-forest-deep); }
.ab-tech__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px; background: var(--c-ivory); border: 1px solid rgba(184, 154, 103, .35); color: #A8834B; }
.ab-tech__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: -18px 18px 0 -1px rgba(184, 154, 103, .16), 0 30px 60px -36px rgba(21, 42, 35, .35); }
.ab-tech__photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-brands { display: grid; justify-items: center; gap: 22px; margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--c-line); text-align: center; }
.ab-brands__title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold-ink); }
.ab-brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.ab-brands__list li { display: flex; align-items: center; padding-inline: clamp(14px, 1.9vw, 30px); font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + .9vw, 1.85rem); font-weight: 500; color: rgba(31, 59, 50, .62); transition: color .3s; }
.ab-brands__list li + li { border-left: 1px solid rgba(184, 154, 103, .45); }
.ab-brands__list li:hover { color: var(--c-forest); }

/* ---------- 5★ standard ---------- */
.ab-std__stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; color: #C49A4E; }
.ab-std__stars .i { width: 20px; height: 20px; }
.ab-std__head::before { top: 58%; }
.ab-std .h2 em { font-style: normal; }

/* ---------- Gallery ---------- */
.ab-gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(180px, 17vw, 260px)); gap: 16px; }
.ab-gal__item { position: relative; min-height: 0; }
.ab-gal__item--1 { grid-column: span 2; grid-row: span 2; }
.ab-gal__btn { position: relative; display: block; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: var(--c-paper); cursor: zoom-in; }
.ab-gal__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ab-gal__btn:hover img { transform: scale(1.05); }
.ab-gal__zoom { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--c-forest-deep); opacity: 0; transform: scale(.85); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ab-gal__btn:hover .ab-gal__zoom, .ab-gal__btn:focus-visible .ab-gal__zoom { opacity: 1; transform: none; }

/* Fullscreen viewer (dialog opened by core.js). */
.ab-viewer__panel { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; background: rgba(12, 22, 18, .96); }
.ab-viewer__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; overflow: hidden; padding: clamp(64px, 7vh, 88px) clamp(16px, 4vw, 64px) 12px; }
.ab-viewer__slide { grid-area: 1 / 1; display: grid; place-items: center; min-height: 0; height: 100%; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.ab-viewer__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.ab-viewer__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 18px; }
.ab-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 64px) 22px; color: rgba(247, 244, 238, .75); }
.ab-viewer__cap { font-size: .9rem; font-variant-numeric: tabular-nums; }
.ab-viewer__cap b { color: var(--c-champagne-light); font-weight: 600; }
.ab-viewer__cap span { margin-left: 14px; font-family: var(--f-display); font-size: 1.2rem; color: var(--c-ivory); }
.ab-viewer__nav { display: flex; gap: 10px; }
.ab-viewer .round-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: var(--c-ivory); }
.ab-viewer .round-btn:hover { background: var(--c-champagne-light); border-color: var(--c-champagne-light); color: var(--c-forest-deep); }

/* ---------- Visit + rating ---------- */
.ab-visit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-visit__facts { display: grid; gap: 0; margin: 26px 0 30px; }
.ab-visit__facts div { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding: 16px 0; border-top: 1px solid var(--c-line); }
.ab-visit__facts div:last-child { border-bottom: 1px solid var(--c-line); }
.ab-visit__facts dt { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-ink); }
.ab-visit__facts dt .i { width: 18px; height: 18px; color: #A8834B; }
.ab-visit__facts dd { margin: 0; font-size: .95rem; color: var(--c-graphite); }
.ab-visit__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
.ab-visit__maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ab-visit__maps a { padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--c-line); font-size: .78rem; font-weight: 600; color: var(--c-forest); transition: background-color .3s, color .3s, border-color .3s; }
.ab-visit__maps a:hover { background: var(--c-forest); color: var(--c-ivory); border-color: var(--c-forest); }
.ab-rate { display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--c-ivory) 0%, var(--c-cream) 100%); border: 1px solid rgba(184, 154, 103, .3); }
.ab-rate__score { display: flex; align-items: center; gap: 18px; }
.ab-rate__value { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 2.4vw, 5.4rem); line-height: .9; color: var(--c-forest-deep); }
.ab-rate__stars, .ab-rate__rstars { display: flex; gap: 3px; color: rgba(184, 154, 103, .3); }
.ab-rate__stars .i { width: 19px; height: 19px; }
.ab-rate__rstars .i { width: 13px; height: 13px; }
.ab-rate .is-on { color: #C49A4E; }
.ab-rate__count { margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--c-forest-deep); }
.ab-rate__review { position: relative; width: 100%; padding: 26px 26px 22px; border-radius: 22px; background: var(--c-paper); box-shadow: 0 24px 50px -34px rgba(21, 42, 35, .35); }
.ab-rate__mark { position: absolute; top: -8px; right: 20px; font-family: var(--f-display); font-size: 6rem; line-height: 1; color: rgba(184, 154, 103, .28); }
.ab-rate__review blockquote p { font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.6; color: var(--c-graphite); }
.ab-rate__review figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: .9rem; }
.ab-rate__review figcaption b { color: var(--c-forest-deep); }
.ab-rate__src { margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-ivory); font-size: .7rem; font-weight: 600; color: var(--c-gold-ink); }
.ab-rate__note { font-size: .78rem; color: var(--c-stone); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ab-why__layout { grid-template-columns: minmax(0, 1fr); }
  .ab-why__media { display: none; }
  .ab-reason { grid-template-columns: 1fr; }
  .ab-reason:first-child { padding-top: 0; }
  .ab-reason__img { display: block; aspect-ratio: 16 / 10; margin-bottom: 18px; border-radius: 22px; overflow: hidden; background: var(--c-cream); }
  .ab-reason__img img { width: 100%; height: 100%; object-fit: cover; }
  .ab-num__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .ab-stat:nth-child(3) { border-left: 0; }
  .ab-tech__inner { grid-template-columns: minmax(0, 1fr); }
  .ab-tech__photo { aspect-ratio: 16 / 11; }
  .ab-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: clamp(160px, 30vw, 260px); }
  .ab-gal__item--1 { grid-column: span 2; grid-row: span 1; }
  .ab-visit__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ab-mani::before { width: 260px; right: -90px; top: 18%; }
  .ab-mani__foot { flex-direction: column; align-items: flex-start; }
  .ab-num__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 0; }
  .ab-stat { padding-inline: 10px; }
  .ab-num__quote { flex-direction: column; text-align: center; }
  .ab-tech__grid { grid-template-columns: minmax(0, 1fr); }
  .ab-tech__grid li { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .ab-tech__icon { grid-row: span 2; margin: 0; }
  .ab-brands__list li { padding-inline: 14px; }
  .ab-gal__item--1 { grid-column: span 2; }
  .ab-visit__facts div { grid-template-columns: 1fr; }
  .ab-viewer__cap span { display: block; margin: 4px 0 0; }
  .ab-rate__src { margin-left: 0; }
}
