/* =============================================
   おのみち旅館 碧 (AO) — Luxury Ryokan Style
   Design: Japanese Zen Minimalism × Premium Hospitality
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  /* Primary: Deep Teal — 碧 */
  --ao: #006B7D;
  --ao-dark: #004D5C;
  --ao-light: #4fb3bf;
  --ao-pale: rgba(0, 107, 125, 0.08);

  /* Gold Accent — 真鍮 */
  --gold: #C5A55A;
  --gold-light: #D4BC7C;
  --gold-dark: #A68B3A;

  /* Base */
  --bg: #F8F6F1;
  --bg-alt: #EFECE4;
  --fg: #2A2A28;
  --fg-light: #8A8A82;
  --fg-lighter: #B0B0A8;
  --white: #FAFAF7;

  /* Typography */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-mincho: 'Shippori Mincho B1', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Transition */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.3s;
  --duration-normal: 0.6s;
  --duration-slow: 1.2s;
  --duration-slower: 1.8s;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.9;
  color: var(--fg);
  background-color: var(--bg);
  overflow-x: hidden;
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-mincho);
  font-weight: 600;
  line-height: 1.3;
}

.font-en {
  font-family: var(--font-sans);
}

::selection {
  background: var(--ao);
  color: var(--white);
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading__logo {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(20px);
  animation: loadingFadeIn 1s 0.3s var(--ease-out-expo) forwards;
}

.loading__bar {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 2rem;
  transform: scaleX(0);
  transform-origin: left;
  animation: loadingBar 1.5s 0.6s var(--ease-out-expo) forwards;
}

@keyframes loadingFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingBar {
  to {
    transform: scaleX(1);
  }
}

/* =============================================
   CUSTOM CURSOR (DESKTOP ONLY)
   ============================================= */
.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s var(--ease-out-quart), opacity 0.3s;
    mix-blend-mode: difference;
  }

  .cursor--hover {
    transform: scale(3);
    background: rgba(197, 165, 90, 0.15);
  }
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.nav--scrolled {
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__logo {
  font-family: var(--font-mincho);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  transition: color var(--duration-fast), text-shadow var(--duration-fast);
}

.nav--scrolled .nav__logo {
  color: var(--fg);
  text-shadow: none;
}

.nav__logo-en {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  opacity: 0.6;
  display: block;
  margin-top: -2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.nav--scrolled .nav__cta {
  border-color: var(--ao);
  color: var(--ao);
  background: transparent;
  text-shadow: none;
}

.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--fg);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
}

/* =============================================
   HERO — FULL IMMERSION
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  opacity: 0;
  transition: opacity 2s var(--ease-out-quart), transform 10s linear;
  will-change: transform, opacity;
  z-index: 0;
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__bg--active {
  opacity: 1;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(20, 20, 18, 0.35) 0%,
      rgba(20, 20, 18, 0.1) 40%,
      rgba(20, 20, 18, 0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  bottom: 12%;
  left: clamp(2rem, 8vw, 8rem);
  z-index: 10;
  max-width: 600px;
}

.hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.hero__title .char.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s 0.5s var(--ease-out-expo);
}

.hero__line.visible {
  transform: scaleX(1);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(250, 250, 247, 0.85);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.8s var(--ease-out-expo), transform 0.8s 0.8s var(--ease-out-expo);
}

.hero__subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__desc {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: rgba(250, 250, 247, 0.75);
  margin-top: 1.5rem;
  max-width: 450px;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 1s var(--ease-out-expo), transform 0.8s 1s var(--ease-out-expo);
}

.hero__desc.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  right: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(250, 250, 247, 0.6);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* =============================================
   SECTION LAYOUT
   ============================================= */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section--dark {
  background: var(--fg);
  color: var(--white);
}

.section--cream {
  background: var(--bg-alt);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 860px;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.15s;
}

.reveal--delay-2 {
  transition-delay: 0.3s;
}

.reveal--delay-3 {
  transition-delay: 0.45s;
}

.reveal--delay-4 {
  transition-delay: 0.6s;
}

.reveal-line {
  display: inline-block;
  overflow: hidden;
}

.reveal-line__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-line.visible .reveal-line__inner {
  transform: translateY(0);
}

/* Image reveal with clip */
.img-reveal {
  overflow: hidden;
  position: relative;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.img-reveal.visible::after {
  transform: scaleX(0);
}

.section--dark .img-reveal::after,
.section--cream .img-reveal::after {
  background: var(--fg);
}

.section--cream .img-reveal::after {
  background: var(--bg-alt);
}

.img-reveal img {
  transform: scale(1.2);
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.img-reveal.visible img {
  transform: scale(1);
}

/* =============================================
   SECTION HEADERS — EDITORIAL STYLE
   ============================================= */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header--center {
  text-align: center;
}

.section-header__en {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-header__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.section-header__line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
}

.section-header--center .section-header__line {
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-header__en {
  color: var(--gold-light);
}

/* =============================================
   CONCEPT SECTION
   ============================================= */
.concept {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.concept__text {
  font-family: var(--font-mincho);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 2.4;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 0.08em;
}

.concept__note {
  font-size: 0.9rem;
  color: var(--fg-light);
  text-align: center;
  margin-top: 3rem;
  letter-spacing: 0.04em;
}

/* Vertical Japanese text accent */
.concept__vertical {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--fg-lighter);
  opacity: 0.4;
}

/* =============================================
   FEATURE GRID (Cyclist, Bedroom, Onomichi)
   ============================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.feature--reverse .feature__media {
  order: 1;
}

@media (min-width: 768px) {
  .feature--reverse .feature__media {
    order: 2;
  }

  .feature--reverse .feature__body {
    order: 1;
  }
}

.feature__media {
  position: relative;
}

.feature__img {
  width: 100%;
  border-radius: 2px;
}

/* Gold corner accents */
.feature__media::before,
.feature__media::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.feature__media::before {
  top: -12px;
  left: -12px;
  border-width: 1px 0 0 1px;
}

.feature__media::after {
  bottom: -12px;
  right: -12px;
  border-width: 0 1px 1px 0;
}

.feature__media.visible::before,
.feature__media.visible::after {
  opacity: 1;
}

.feature__body {
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.feature__en {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.feature__lead {
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.feature__detail {
  font-size: 0.9rem;
  color: var(--fg-light);
  line-height: 2;
  letter-spacing: 0.03em;
}

/* =============================================
   HORIZONTAL GALLERY
   ============================================= */
.gallery {
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: 1.5rem;
  animation: galleryScroll 40s linear infinite;
  width: max-content;
}

.gallery__item {
  flex-shrink: 0;
  width: clamp(250px, 30vw, 380px);
  height: clamp(160px, 20vw, 260px);
  border-radius: 2px;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-quart);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   AMENITIES — EDITORIAL GRID
   ============================================= */
.amenities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .amenities__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.amenities__list {
  list-style: none;
  padding: 0;
}

.amenity-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mincho);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.amenity-group__title svg {
  width: 20px;
  height: 20px;
  color: var(--ao);
}

.amenity-item {
  font-size: 0.85rem;
  color: var(--fg-light);
  padding: 0.4rem 0;
  padding-left: 2rem;
  position: relative;
}

.amenity-item::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* =============================================
   PRICING — DRAMATIC DARK SECTION
   ============================================= */
.pricing {
  padding: clamp(5rem, 12vw, 10rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '碧';
  position: absolute;
  font-family: var(--font-mincho);
  font-size: clamp(15rem, 30vw, 30rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.015);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pricing__amount {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 200;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.pricing__amount span {
  font-size: 0.4em;
  vertical-align: middle;
  color: var(--gold-light);
}

.pricing__label {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.pricing__note {
  font-size: 0.8rem;
  opacity: 0.5;
  line-height: 2;
}

/* =============================================
   GUIDE — NUMBERED STEPS
   ============================================= */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.guide-step {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 2vw, 2rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  position: relative;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.guide-step:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.guide-step__number {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.guide-step__title {
  font-family: var(--font-mincho);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.guide-step__desc {
  font-size: 0.82rem;
  color: var(--fg-light);
  line-height: 1.9;
}

/* =============================================
   ACCESS & RESERVATION
   ============================================= */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.access__subtitle {
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.access__address {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.access__info-box {
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--bg-alt);
  margin-bottom: 0.75rem;
}

.access__info-label {
  font-size: 0.72rem;
  color: var(--fg-light);
  letter-spacing: 0.1em;
}

.access__info-value {
  font-family: var(--font-mincho);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.reservation__box {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--ao);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reservation__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ao-pale);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.reservation__box:hover::before {
  transform: scaleY(1);
}

.reservation__label {
  font-size: 0.75rem;
  color: var(--fg-light);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  position: relative;
}

.reservation__phone {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--ao);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  position: relative;
}

.reservation__hours {
  font-size: 0.8rem;
  color: var(--fg-light);
  position: relative;
}

.reservation__note {
  font-size: 0.72rem;
  color: var(--fg-lighter);
  text-align: center;
  margin-top: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--fg);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-mincho);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}

.footer__en {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  opacity: 0.5;
  margin-bottom: 2.5rem;
}

.footer__line {
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

.footer__address {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.footer__open {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 3rem;
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  opacity: 0.3;
  letter-spacing: 0.1em;
}

/* =============================================
   PARALLAX IMAGE SECTIONS (Full-width dividers)
   ============================================= */
.divider-img {
  position: relative;
  height: clamp(300px, 45vw, 500px);
  overflow: hidden;
}

.divider-img__bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.divider-img__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, 0.25);
}

.divider-img__text {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(2rem, 6vw, 5rem);
  z-index: 2;
}

.divider-img__text p {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
}

.divider-img__text span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(250, 250, 247, 0.6);
  display: block;
  margin-top: 0.5rem;
}

/* =============================================
   RESPONSIVE FINE-TUNING
   ============================================= */
@media (max-width: 767px) {
  .hero__content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 15%;
  }

  .hero__scroll {
    display: none;
  }

  .concept__vertical {
    display: none;
  }

  .feature--reverse .feature__media {
    order: 1;
  }

  .feature--reverse .feature__body {
    order: 2;
  }
}

/* =============================================
   SMOOTH SCROLLBAR STYLING
   ============================================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* =============================================
   IMAGE HOVER STATE (Premium Feel)
   ============================================= */
.img-premium {
  transition: transform var(--duration-slow) var(--ease-out-quart);
}

.img-premium:hover {
  transform: scale(1.03);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 20, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem);
  right: clamp(1.5rem, 4vw, 3rem);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  z-index: 10001;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s var(--ease-out-quart);
}

.lightbox__close:hover {
  background: var(--gold);
  transform: scale(1.1) rotate(90deg);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s var(--ease-out-expo);
}

.lightbox.active .lightbox__content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.gallery__item--clickable {
  cursor: zoom-in;
  position: relative;
}

.gallery__item--clickable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 107, 125, 0);
  transition: background 0.4s var(--ease-out-quart);
  z-index: 1;
}

.gallery__item--clickable:hover::after {
  background: rgba(0, 107, 125, 0.15);
}

.gallery__item--clickable img {
  cursor: zoom-in;
}