/* ===== Tokens & reset ===== */
:root {
  --bg: #F0F0F0;
  --ink: #3B3B3B;
  --muted: #6E6E6E;
  --green: #7A8D74;
  --white: #FFFFFF;
  --line: rgba(59, 59, 59, 0.14);

  --pad: 20px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --space: clamp(96px, 12vw, 200px);

  --fs-display: clamp(40px, 4.4vw + 10px, 72px);
  --fs-display-sm: clamp(36px, 3.6vw + 12px, 64px);
  --fs-eyebrow: clamp(18px, 0.6vw + 14px, 24px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

@media (min-width: 768px) {
  :root { --pad: 40px; --radius-lg: 40px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body { font-size: 16px; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--white);
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ===== Shared UI ===== */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  color: var(--green);
  line-height: 1.3;
}

.display {
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.display-sm {
  font-size: var(--fs-display-sm);
  line-height: 1;
  letter-spacing: -0.01em;
}

.text-muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 28px 0 34px;
  border-radius: 999px;
  font-size: 16px; font-weight: 300; white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn__icon {
  width: 20px; height: 20px; flex: none;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:active { transform: scale(0.97); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--green); }

.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--outline-light { border: 1px solid var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }

.tag {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(40, 40, 40, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--white);
  font-size: 20px; font-weight: 300; line-height: 1.2;
}

/* ===== Reveal animations ===== */
.js .reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease) calc(var(--d, 0) * 0.12s),
    filter 1s var(--ease) calc(var(--d, 0) * 0.12s),
    transform 1.1s var(--ease) calc(var(--d, 0) * 0.12s);
}
.js .reveal--rise { transform: translateY(120px); }
.js .reveal.is-visible { opacity: 1; filter: none; transform: none; }


/* ===== Navbar ===== */
.nav {
  position: fixed; top: 20px; left: 50%; z-index: 100;
  width: min(248px, calc(100% - 40px));
  transform: translateX(-50%);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 40px)); }

.nav__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0 24px 0 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.nav__logo { color: var(--green); display: flex; }
.nav__logo svg { fill: currentColor; }

.nav__toggle {
  position: relative; width: 40px; height: 40px;
  display: grid; place-content: center; gap: 5px; margin-right: -6px;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 40px; background: var(--ink);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}
.nav__toggle span:last-child { width: 32px; justify-self: end; }
.nav__toggle:hover span:last-child { width: 40px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(20deg); width: 32px; justify-self: center; }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.25px) rotate(-20deg); width: 32px; justify-self: center; }

.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  opacity: 0; visibility: hidden;
  filter: blur(10px);
  transform: translateY(-12px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.5s var(--ease), visibility 0s linear 0.6s;
}
.nav.is-open .nav__menu {
  opacity: 1; visibility: visible; filter: blur(0); transform: none;
  transition-delay: 0s;
}

.nav__list li {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav.is-open .nav__list li { opacity: 1; transform: none; }
.nav.is-open .nav__list li:nth-child(2) { transition-delay: 0.04s; }
.nav.is-open .nav__list li:nth-child(3) { transition-delay: 0.08s; }
.nav.is-open .nav__list li:nth-child(4) { transition-delay: 0.12s; }
.nav.is-open .nav__list li:nth-child(5) { transition-delay: 0.16s; }
.nav.is-open .nav__list li:nth-child(6) { transition-delay: 0.2s; }
.nav.is-open .nav__list li:nth-child(7) { transition-delay: 0.24s; }

.nav__list a {
  display: block; padding: 10px 8px;
  font-size: 18px; font-weight: 400;
  border-radius: 10px;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease), background-color 0.3s var(--ease);
}
.nav__list a:hover { color: var(--green); padding-left: 14px; background: var(--bg); }

.nav__cta { width: 100%; margin-top: 14px; height: 50px; }

/* smaller navbar on mobile */
@media (max-width: 767px) {
  :root { --nav-h: 52px; }
  .nav { width: min(200px, calc(100% - 40px)); }
  .nav__bar { padding: 0 16px 0 16px; border-radius: 16px; }
  .nav__logo svg { transform: scale(0.83); transform-origin: left center; margin-right: -18px; }
  .nav__toggle { width: 34px; height: 34px; gap: 4px; }
  .nav__toggle span { width: 30px; }
  .nav__toggle span:last-child,
  .nav__toggle:hover span:last-child { width: 24px; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(2.75px) rotate(20deg); width: 26px; }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-2.75px) rotate(-20deg); width: 26px; }
}

.nav { width: min(360px, calc(100% - 40px)); }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 24px; }
.nav__toggle { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
.nav__logo { grid-column: 2; grid-row: 1; }
@media (max-width: 767px) {
  .nav { width: min(320px, calc(100% - 40px)); }
  .nav__bar { padding: 0 16px; }
}

/* ===== Hero ===== */
.hero {
  display: grid; gap: 40px;
  padding: calc(var(--nav-h) + 56px) var(--pad) 0;
}

.hero__content { display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { margin-bottom: 18px; }
.hero__lead { max-width: 300px; margin-top: 32px; color: var(--muted); }
.hero__btn { margin-top: 48px; width: 200px; }

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: #DEDEDE;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* hero intro sequence: copy -> image -> button */
.js .hero__intro,
.js .hero__btn,
.js .hero__media { opacity: 0; filter: blur(14px); }
.js .hero__intro { transform: translateY(24px); }
.js .hero__media { transform: translateY(120px); }
.js .hero__btn { transform: translateY(16px); }

.is-loaded .hero__intro,
.is-loaded .hero__media,
.is-loaded .hero__btn {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.3s var(--ease);
}
.is-loaded .hero__intro:nth-child(1) { transition-delay: 0.1s; }
.is-loaded .hero__intro:nth-child(2) { transition-delay: 0.22s; }
.is-loaded .hero__intro:nth-child(3) { transition-delay: 0.34s; }
.is-loaded .hero__media { transition-delay: 0.7s; transition-duration: 1.2s, 1.2s, 1.5s; }
.is-loaded .hero__btn { transition-delay: 1.5s; }

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr minmax(0, 700px);
    align-items: center;
    gap: 60px;
    padding-top: calc(20px + var(--nav-h) + 20px);
  }
  .hero__lead { max-width: 300px; }
}

/* ===== Section 2: Collection ===== */
.collection {
  display: grid; gap: 48px;
  padding: var(--space) 0 0 var(--pad);
}

.collection__intro { padding-right: var(--pad); }
.collection .eyebrow { margin-bottom: 10px; }
.collection__body { margin-top: 48px; max-width: 400px; display: grid; justify-items: start; gap: 24px; }
.collection__lead { font-size: 18px; font-weight: 400; line-height: 1.35; }
.collection__body .btn { margin-top: 16px; width: 200px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: grid; place-items: center;
  min-width: 100px; height: 44px; padding: 0 20px;
  border-radius: 12px;
  background: var(--white); color: var(--green);
  font-size: 20px;
}

.collection__track {
  display: flex; gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-right: var(--pad);
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.collection__track::-webkit-scrollbar { display: none; }
.collection__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.collection__track.is-dragging .product { pointer-events: none; }

.product {
  position: relative; flex: none;
  width: min(78vw, 500px); aspect-ratio: 5 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #E1E1E1 0%, #DCDCDC 48%, #B6B6B6 100%);
  scroll-snap-align: start;
}
.product img {
  position: absolute; inset: 4% 6% 10%;
  width: 88%; height: 86%;
  object-fit: contain;
  transition: transform 0.9s var(--ease);
  user-select: none;
}
.product:hover img { transform: scale(1.05) translateY(-8px); }

.product__info {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  color: var(--white);
}
.product__name { font-size: 18px; font-weight: 400; }
.product__price { font-size: clamp(24px, 2.2vw, 32px); }

@media (min-width: 1024px) {
  .collection {
    grid-template-columns: minmax(0, 590px) 1fr;
    gap: 40px;
    align-items: start;
  }
  .collection__intro { position: sticky; top: 120px; padding-right: 0; }
  .collection__body { margin: 120px 0 0 150px; }
}

.collection__more { justify-self: start; width: 200px; }

@media (max-width: 1023px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 1024px) {
  .show-mobile { display: none !important; }
}

/* ===== Section 3: Philosophy ===== */
.philosophy {
  position: relative;
  height: 240vh;
  margin-top: var(--space);
}

.philosophy__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; place-items: center;
  padding: 16px 10px;
}

.philosophy__card {
  --gap: 0px;
  --inset-y: 0px;
  position: relative;
  width: 100%; height: 100%; max-height: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: inset(var(--inset-y) var(--gap) round var(--radius-lg));
  color: var(--white);
  will-change: clip-path;
}

.philosophy__media { position: absolute; inset: 0; overflow: hidden; }
.philosophy__media img {
  position: absolute; left: 0; top: -10%;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}

.philosophy__overlay {
  position: absolute; inset: 0;
  background: rgba(35, 32, 30, 0.55);
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.philosophy__label {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) scale(1.2);
  transition: top 1.1s var(--ease), transform 1.1s var(--ease);
}

.philosophy__text {
  position: absolute; inset: 0; z-index: 1;
  display: grid; align-content: center; gap: 28px;
  padding: 90px 24px 140px;
  font-size: clamp(24px, 2.3vw + 8px, 44px);
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}
.philosophy__line {
  opacity: 0; filter: blur(16px); transform: translateY(30px);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.2s var(--ease);
}
.philosophy__line--2 { transition-delay: 0.2s; }
.philosophy mark {
  background: none;
  color: inherit;
}

.philosophy__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 104px; padding: 24px;
  background: rgba(240, 240, 240, 0.82);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--ink);
  font-size: 14px; line-height: 1.5;
  opacity: 0; filter: blur(12px); transform: translateY(100%);
  transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 1.1s var(--ease);
}
.philosophy__info { width: 20px; height: 20px; flex: none; fill: var(--ink); }

/* stage 2: image expanded, overlay + text in */
.philosophy.is-stage-2 .philosophy__overlay { opacity: 1; }
.philosophy.is-stage-2 .philosophy__label { top: calc(var(--nav-h) + 48px); transform: translate(-50%, 0) scale(1); }
.philosophy.is-stage-2 .philosophy__line { opacity: 1; filter: blur(0); transform: none; }
/* stage 3: bottom bar */
.philosophy.is-stage-3 .philosophy__bar { opacity: 1; filter: blur(0); transform: none; }

@media (min-width: 768px) {
  .philosophy__sticky { padding: 20px; }
  .philosophy__text { padding: 100px 12% 160px; text-align: left; }
  .philosophy__line--1 { text-indent: 2em; }
  .philosophy__line--2 { text-indent: 3em; margin-left: 10%; }
  .philosophy__bar { font-size: 16px; }
  .philosophy__label { transform: translate(-50%, -50%) scale(1.7); }
}

@media (min-width: 1200px) {
  .philosophy__text { padding: 100px 17% 160px; }
  .philosophy__line--1 { text-indent: 3.6em; }
  .philosophy__line--2 { margin-left: 13%; text-indent: 3.6em; max-width: 780px; }
}

/* ===== Section 4: Quality ===== */
.stack { position: relative; }

.quality {
  position: sticky; top: 0; z-index: 0;
  padding: var(--space) var(--pad) clamp(120px, 14vw, 200px);
}
.quality .eyebrow { margin-bottom: 10px; }
.quality__title { max-width: 780px; }

.quality__grid {
  display: grid; gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}

.feature {
  display: flex; flex-direction: column;
  min-height: 300px; padding: 40px;
  border-radius: var(--radius-md);
  height: 100%;
  background: var(--white);
  transition: transform 0.6s var(--ease);
}
.feature:hover { transform: translateY(-10px); }

.feature__icon {
  width: 50px; height: 50px; margin-left: -4px;
  fill: #747474;
  transition: fill 0.5s var(--ease), transform 0.6s var(--ease);
}
.feature__title {
  margin-top: auto; padding-top: 60px;
  font-size: 22px; line-height: 1.3;
  transition: color 0.5s var(--ease);
}
.feature__text {
  margin-top: 12px;
  color: var(--muted); line-height: 1.5;
}
.feature:hover .feature__icon { fill: var(--green); transform: rotate(-6deg); }
.feature:hover .feature__title { color: var(--green); }

@media (min-width: 900px) {
  .quality__grid { grid-template-columns: repeat(3, 1fr); }
  .feature { min-height: 350px; }
}

/* ===== Section 5: Origin ===== */
.origin {
  position: relative; z-index: 2;
  padding: clamp(64px, 6vw, 80px) var(--pad) clamp(64px, 6vw, 80px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.origin__title {
  max-width: 620px; margin: 0 auto;
  font-size: clamp(32px, 2.4vw + 14px, 48px);
  line-height: 1.04;
}

.origin__grid {
  display: grid; gap: 32px; justify-items: center;
  margin-top: 48px;
}

.origin__card {
  width: 100%; max-width: 600px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--ink);
  text-align: left;
}
.origin__media {
  position: relative; overflow: hidden;
  aspect-ratio: 560 / 350;
  border-radius: calc(var(--radius-lg) - 12px);
}
.origin__media img {
  position: absolute; left: 0; top: -12%;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
}

.origin__meta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
  padding: 22px 12px 14px;
}
.origin__card-title { max-width: 260px; font-size: clamp(20px, 1vw + 12px, 24px); line-height: 1.3; }
.origin__caption { max-width: 170px; color: var(--muted); font-size: 16px; line-height: 1.5; }

.origin__note {
  max-width: 460px; margin: 48px auto 0;
  line-height: 1.5;
}

@media (min-width: 1100px) {
  .origin { padding-top: 80px; padding-bottom: 80px; }
  .origin__grid {
    grid-template-columns: minmax(0, 600px);
    justify-content: center;
    align-items: start;
    gap: 40px;
    margin-top: 48px;
  }
  .origin__card { padding: 20px; }
  .origin__meta { padding: 34px 20px 20px; }
}

/* ===== Section 6: Impact ===== */
.impact {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
  min-height: clamp(640px, 64vw, 930px);
  margin-top: calc(var(--radius-lg) * -1);
  padding: calc(var(--radius-lg) + 60px) var(--pad) 32px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}

.impact__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.impact__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 55% 50%;
  transform-origin: 50% 40%;
  will-change: transform;
}
.impact__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.impact__title { max-width: 520px; font-size: var(--fs-display-sm); line-height: 0.98; }

.impact__stats { display: grid; align-self: stretch; }
.stat {
  display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px;
  padding: 16px 0;
  text-align: left;
}
.stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.4); }
.stat__label br { display: none; }
.stat__value { font-size: clamp(24px, 1.6vw + 12px, 36px); font-weight: 400; line-height: 1.2; white-space: nowrap; }
.stat__label { margin-top: 0px; font-size: inherit; line-height: 1.5; }

@media (min-width: 900px) {
  .impact { padding-top: calc(var(--radius-lg) + 40px); padding-bottom: 80px; }
  .impact__stats { align-self: flex-end; width: min(840px, 62%); }
  .impact__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
  .stat + .stat { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.4); }
  .stat__label { margin-top: 8px; }
  .stat__label br { display: inline; }
}

/* ===== Section 7: Rooms ===== */
.rooms {
  --w-active: calc(100vw - var(--pad) * 2);
  --w-idle: 58vw;
  --h-active: calc(var(--w-active) * 1.15);
  --h-idle: calc(var(--h-active) * 0.62);
  --gap: 14px;
  --rooms-speed: 1.2s;
  --rooms-ease: cubic-bezier(0.65, 0, 0.35, 1);
  padding: var(--space) 0 0 var(--pad);
}

.rooms__head {
  display: grid; gap: 16px;
  margin-bottom: clamp(32px, 4vw, 60px);
}

.rooms__tabs {
  display: flex; align-items: baseline; gap: 8px 28px;
  overflow-x: auto; scrollbar-width: none;
  padding-right: var(--pad);
}
.rooms__tabs::-webkit-scrollbar { display: none; }

.rooms__tab {
  flex: none;
  font-size: clamp(18px, 0.6vw + 14px, 24px); font-weight: 400;
  line-height: 1.2;
  opacity: 0.3;
  transform: translateX(var(--tabs-x, 0px));
  transition: opacity var(--rooms-speed) var(--rooms-ease), font-size var(--rooms-speed) var(--rooms-ease), color var(--rooms-speed) var(--rooms-ease), transform var(--rooms-speed) var(--rooms-ease);
}
.rooms__tabs.no-anim .rooms__tab { transition: none; }
.rooms__tab:hover { opacity: 0.6; }
.rooms__tab.is-active { opacity: 1; font-size: clamp(30px, 1.8vw + 20px, 48px); }

.rooms__viewport { overflow: hidden; touch-action: pan-y; }

.rooms__track {
  display: flex; align-items: center; gap: var(--gap);
  height: var(--h-active);
  transition: transform var(--rooms-speed) var(--rooms-ease);
  will-change: transform;
}

.room {
  position: relative; flex: none;
  width: var(--w-idle); height: var(--h-idle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: width var(--rooms-speed) var(--rooms-ease), height var(--rooms-speed) var(--rooms-ease);
}
.room img { width: 100%; height: 100%; object-fit: cover; user-select: none; transition: transform 1.2s var(--ease); }
.room:not(.is-active):hover img { transform: scale(1.05); }
.room.is-active { width: var(--w-active); height: var(--h-active); cursor: default; }

.room::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.room.is-active::after { opacity: 1; }

.room__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 24px;
  color: var(--white);
  opacity: 0; filter: blur(10px); transform: translateY(20px);
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.room.is-active .room__content {
  opacity: 1; filter: blur(0); transform: none;
  transition-delay: 0.8s;
}
.room__content p { font-size: 15px; line-height: 1.6; }

@media (min-width: 768px) {
  .rooms {
    --w-active: min(1000px, calc(100vw - 440px));
    --w-idle: min(380px, 30vw);
    --h-active: calc(var(--w-active) * 0.625);
    --h-idle: calc(var(--w-idle) * 0.92);
    --gap: 20px;
  }
  .room::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
  }
  .room__content {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 40px;
  }
  .room__content p { font-size: 16px; }
}

@media (min-width: 1024px) {
  .rooms__head { grid-template-columns: 324px 1fr; align-items: baseline; gap: 0; }
}

/* ===== Section 8: Testimonials ===== */
.testimonials {
  display: grid; gap: 48px;
  padding: var(--space) var(--pad) 0;
}

.testimonials__list {
  padding: 8px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
}

.testimonials__aside { order: -1; }

.quote { padding: 56px 0; }
.quote + .quote { border-top: 1px solid var(--line); }
.quote__icon { width: 46px; height: 46px; margin-left: -2px; }
.quote blockquote {
  margin-top: 20px;
  font-size: clamp(22px, 0.8vw + 16px, 32px); font-weight: 400;
  line-height: 1.05;
}
.quote figcaption { margin-top: 18px; color: var(--muted); font-size: 14px; }
.quote figcaption strong { color: var(--ink); font-size: 20px; font-weight: 400; }

.testimonials__share { margin-top: 24px; color: var(--muted); }
.testimonials__share a { color: var(--green); transition: opacity 0.3s; }
.testimonials__share a:hover { opacity: 0.7; }

.rating { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.rating__score { font-size: 36px; font-weight: 400; line-height: 1; margin-left: 10px; }
.rating__stars { display: flex; gap: 4px; }
.rating__stars svg { width: 24px; height: 24px; fill: #FFC107; }
.rating__count { color: var(--muted); font-size: 16px; }

@media (min-width: 900px) {
  .testimonials { grid-template-columns: minmax(0, 600px) 1fr; gap: 0 150px; align-items: start; }
  .testimonials__list { padding: 0 40px; grid-row: 1; }
  .quote { padding: 90px 0 120px; }
  .testimonials__aside {
    order: 0;
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
  }
}

/* ===== Section 9: Trade ===== */
.trade {
  --inset: 0px;
  margin-top: var(--space);
}

.trade__frame {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 160px;
  min-height: clamp(640px, 62vw, 900px);
  padding: 64px var(--pad) 56px;
  overflow: hidden;
  clip-path: inset(0 var(--inset) round var(--radius-lg));
  color: var(--white);
  will-change: clip-path;
}

.trade__bg {
  position: absolute; left: 0; top: -8%; z-index: -2;
  width: 100%; height: 116%;
  object-fit: cover;
  will-change: transform;
}
.trade__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}
.trade__overlay::before,
.trade__overlay::after {
  content: ""; position: absolute; inset: 0;
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  background: var(--fade-color);
  -webkit-mask-image: var(--fade-mask); mask-image: var(--fade-mask);
}
/* top-right corner */
.trade__overlay::before {
  --fade-color: linear-gradient(213deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%);
  --fade-mask: linear-gradient(213deg, #000 0%, #000 15%, transparent 55%);
}
/* bottom-left corner */
.trade__overlay::after {
  --fade-color: linear-gradient(33deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%);
  --fade-mask: linear-gradient(33deg, #000 0%, #000 15%, transparent 55%);
}

.trade__top { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; text-align: right; }
.trade__title { max-width: 820px; }
.trade__bottom { max-width: 600px; display: grid; gap: 24px; }
.trade__lead { font-size: clamp(24px, 0.8vw + 18px, 32px); font-weight: 400; line-height: 1.2; }

.trade__item {
  opacity: 0; filter: blur(14px); transform: translateY(24px);
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.1s var(--ease);
}
.trade.is-full .trade__item { opacity: 1; filter: blur(0); transform: none; }
.trade.is-full .trade__item:nth-child(2) { transition-delay: 0.15s; }
.trade.is-full .trade__bottom .trade__item:first-child { transition-delay: 0.3s; }
.trade.is-full .trade__bottom .trade__item:last-child { transition-delay: 0.45s; }

@media (min-width: 900px) {
  .trade__frame { padding: 80px 40px 80px; }
}

/* ===== Section 10: FAQ ===== */
.faq {
  max-width: 1080px; margin: 0 auto;
  padding: var(--space) var(--pad) 0;
}

.faq__head { display: grid; gap: 16px; margin-bottom: 48px; }
.faq__title {
  font-size: clamp(28px, 1.8vw + 16px, 44px);
  line-height: 1.04;
  padding-bottom: 0.15em;
}

.faq__link {
  display: inline-block;
  color: var(--green);
  transform: skewX(-10deg);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition:
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    text-decoration-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.faq__link:hover {
  transform: skewX(0deg);
  text-decoration-color: transparent;
}

.faq__list { display: grid; gap: 20px; }

.faq__item {
  border-radius: var(--radius-md);
  background: var(--white);
}

.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px;
  text-align: left;
  font-size: clamp(17px, 0.4vw + 15px, 20px); font-weight: 400;
  line-height: 1.35;
  transition: color 0.4s var(--ease);
}
.faq__q:hover,
.faq__item.is-open .faq__q { color: var(--green); }

.faq__icon {
  position: relative; flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg);
  transition: background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--ink); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--white); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  max-width: 800px;
  padding: 0 24px 24px;
  color: var(--muted);
  opacity: 0; filter: blur(6px);
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; filter: blur(0); transition-delay: 0.15s; }

@media (min-width: 768px) {
  .faq__head { grid-template-columns: 220px 1fr; gap: 0; margin-bottom: 64px; }
  .faq__head .eyebrow { padding-top: 8px; }
  .faq__q { padding: 24px 32px; }
  .faq__a p { padding: 0 32px 24px; }
}

/* ===== Footer ===== */
.footer { padding-top: var(--space); }

.marquee {
  overflow: hidden;
  padding-bottom: 24px;
  user-select: none;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group { display: flex; align-items: center; }
.marquee__group span {
  padding: 0 clamp(40px, 5.5vw, 80px);
  font-size: clamp(28px, 2vw + 16px, 48px); font-weight: 400;
  white-space: nowrap;
}
.marquee__mark { width: clamp(32px, 2.4vw + 14px, 48px); height: auto; aspect-ratio: 32.8 / 18.5; fill: var(--green); margin-left: var(--pad); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.footer__card {
  margin: 0 10px 10px;
  padding: 56px 24px 32px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.footer__top { display: grid; gap: 48px; }

.footer__logo { display: block; width: min(350px, 70vw); color: var(--white); }
.footer__logo svg { width: 100%; height: auto; aspect-ratio: 106 / 24; fill: currentColor; }
.footer__brand address { margin-top: 40px; line-height: 1.5; }

.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer__nav ul { display: grid; gap: 12px; align-content: start; }
.footer__nav a { position: relative; display: inline-flex; align-items: center; gap: 12px; transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--green); }

.footer__contact { grid-column: 1 / -1; }
.footer__contact svg { width: 20px; height: 20px; fill: var(--green); flex: none; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__social { display: flex; gap: 40px; }
.footer__social a { transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--green); }

@media (min-width: 768px) {
  .footer__card { margin: 0 20px 20px; padding: 100px 40px 100px; }
}

@media (min-width: 1100px) {
  .footer__top { grid-template-columns: 1fr auto; }
  .footer__brand { display: flex; flex-direction: column; justify-content: space-between; }
  .footer__brand address { margin-top: 80px; }
  .footer__nav { grid-template-columns: repeat(3, auto); gap: 100px; }
  .footer__contact { grid-column: auto; }
  .footer__bottom { margin-top: 80px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .js .hero__intro, .js .hero__media, .js .hero__btn,
  .philosophy__line, .philosophy__bar, .trade__item { opacity: 1 !important; filter: none !important; transform: none !important; }
  .philosophy { height: auto; }
  .philosophy__sticky { position: relative; height: 100svh; }
  .philosophy__overlay { opacity: 1; }
  .philosophy__label { top: calc(var(--nav-h) + 48px); transform: translate(-50%, 0); }
  .philosophy__card, .trade__frame { clip-path: none !important; }
}
