/* ═══════════════════════════════════════════════
   Ropana – Style Sheet
   Complete Individual Salon Website CSS
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  --navy:        #1B2A4A;
  --navy-light:  #243558;
  --navy-dark:   #111D33;
  --gold:        #C5A76C;
  --gold-light:  #D4BC8A;
  --ivory:       #F8F5F0;
  --ivory-dark:  #EDE8E0;
  --white:       #FEFDFB;
  --text:        #3A3A3A;
  --text-light:  #6B6B6B;

  --font-serif:   'Noto Serif JP', serif;
  --font-display: 'Cormorant Garamond', serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-serif);
  background-color: var(--ivory);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

::selection {
  background: rgba(197, 167, 108, 0.2);
  color: var(--navy);
}

a { text-decoration: none; }
a:hover { opacity: 0.8; }

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


/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */

/* ── Gold Decorative Line ── */
.gold-line {
  height: 1px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-line--40 { width: 40px; }
.gold-line--50 { width: 50px; }

/* ── Spacing helpers ── */
.mt-24 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }

/* ── Section Label (English) ── */
.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Section Title (Japanese) ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* ── Gold accent text ── */
.gold-accent {
  color: var(--gold);
  font-weight: 400;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile-only line break ── */
@media (min-width: 640px) {
  .sp-only { display: none; }
}


/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.7s ease, background 0.7s ease, border-bottom 0.7s ease, backdrop-filter 0.7s ease;
}

.header.is-scrolled {
  padding: 12px 24px;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 167, 108, 0.12);
}

.header-logo {
  display: flex;
  flex-direction: column;
}

.header-logo__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.15em;
  transition: font-size 0.7s ease;
}

.header.is-scrolled .header-logo__name {
  font-size: 24px;
}

.header-logo__sub {
  font-family: var(--font-serif);
  font-size: 9.5px;
  color: rgba(197, 167, 108, 0.8);
  letter-spacing: 0.25em;
  margin-top: -2px;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  max-height: 20px;
  overflow: hidden;
  opacity: 1;
}

.header.is-scrolled .header-logo__sub {
  opacity: 0;
  max-height: 0;
}


/* ══════════════════════════════════════
   LINE BUTTON
   ══════════════════════════════════════ */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-line:hover {
  transform: scale(1.03);
  opacity: 1;
}

.btn-line:active {
  transform: scale(0.97) !important;
}

.btn-line--small {
  background: var(--gold);
  font-size: 12.5px;
  padding: 10px 22px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.btn-line--large {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-size: 15px;
  padding: 18px 48px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 32px rgba(197, 167, 108, 0.25);
}

.btn-line--large:hover {
  box-shadow: 0 12px 40px rgba(197, 167, 108, 0.35);
}


/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}

/* Ambient light layers */
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(197, 167, 108, 0.04) 0%, transparent 70%);
}

.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 10%;
  right: -10%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(197, 167, 108, 0.024) 0%, transparent 70%);
  filter: blur(40px);
}

/* Water ripple circles */
.hero__ripples {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.035;
}

.hero__ripple {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.hero__ripple--1 {
  width: 420px; height: 420px;
  animation: ripple 8s ease-in-out infinite 1.5s;
}
.hero__ripple--2 {
  width: 540px; height: 540px;
  animation: ripple 10s ease-in-out infinite 3s;
}
.hero__ripple--3 {
  width: 660px; height: 660px;
  animation: ripple 12s ease-in-out infinite 4.5s;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 640px;
  margin: 0 auto;
}

/* Hero animation elements — start hidden */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s var(--ease-smooth), transform 1.5s var(--ease-smooth);
}

.hero-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__label {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.35em;
  margin-bottom: 32px;
}

.hero__line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
  transition: width 1.5s var(--ease-smooth);
}
.hero__line.is-visible {
  width: 60px;
}

.hero__catch {
  font-family: var(--font-serif);
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 300;
  color: var(--white);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero__sub {
  font-family: var(--font-serif);
  font-size: clamp(13px, 3vw, 15.5px);
  font-weight: 300;
  color: rgba(237, 232, 224, 0.73);
  line-height: 2.2;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.hero__scroll.is-visible { opacity: 0.5; }

.hero__scroll-text {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
}

.hero__scroll-bar {
  width: 1px;
  height: 40px;
  border-radius: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}


/* ── Section Transition ── */
.section-transition {
  height: 60px;
  background: linear-gradient(to bottom, var(--navy-light), var(--ivory));
  margin-top: -1px;
}


/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.about {
  padding: 80px 24px;
  background: var(--ivory);
}

.about__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  line-height: 2.4;
  letter-spacing: 0.04em;
}

.about__text--sub {
  color: var(--text-light);
  margin-top: 20px;
}

@media (min-width: 768px) {
  .about { padding: 112px 24px; }
}


/* ══════════════════════════════════════
   THREE REASONS
   ══════════════════════════════════════ */
.reasons {
  background: var(--white);
}

.reasons__inner {
  padding: 64px 24px;
}

.reasons__heading {
  text-align: center;
  margin-bottom: 48px;
}

.reasons__summary {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

.reasons__summary p {
  font-family: var(--font-serif);
  font-size: clamp(13px, 3vw, 14.5px);
  font-weight: 300;
  color: var(--text-light);
  line-height: 2.2;
  letter-spacing: 0.03em;
}

.reasons__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .reasons__inner { padding: 96px 24px; }
  .reasons__heading { margin-bottom: 64px; }
  .reasons__summary { margin-bottom: 56px; }
  .reasons__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}


/* ── Feature Card ── */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(27, 42, 74, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 24px;
}

.feature-card__label {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-card__desc {
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 2;
  max-width: 320px;
}

/* Vertical divider (desktop) */
.feature-card__divider-v {
  display: none;
}

/* Horizontal divider (mobile) */
.feature-card__divider-h {
  width: 40%;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(197, 167, 108, 0.19), transparent);
}

@media (min-width: 768px) {
  .feature-card { padding: 48px 24px; }

  .feature-card__divider-v {
    display: block;
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(197, 167, 108, 0.19), transparent);
  }

  .feature-card__divider-h { display: none; }
}


/* ══════════════════════════════════════
   MESSAGE
   ══════════════════════════════════════ */
.message {
  padding: 80px 24px;
  background: var(--ivory);
}

.message__inner {
  max-width: 580px;
  margin: 0 auto;
}

.message__heading {
  text-align: center;
  margin-bottom: 48px;
}

.message__body {
  padding: 0 8px;
}

.message__paragraph {
  font-family: var(--font-serif);
  font-size: clamp(14px, 3.2vw, 15.5px);
  font-weight: 300;
  color: var(--text);
  line-height: 2.4;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.message__quote {
  margin: 48px 0;
  padding: 36px 24px;
  text-align: center;
  border-top: 1px solid rgba(197, 167, 108, 0.19);
  border-bottom: 1px solid rgba(197, 167, 108, 0.19);
}

.message__quote p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.9;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .message { padding: 112px 24px; }
  .message__heading { margin-bottom: 64px; }
  .message__body { padding: 0 16px; }
  .message__quote { margin: 64px 0; }
}


/* ══════════════════════════════════════
   ACCESS / SALON INFO
   ══════════════════════════════════════ */
.access {
  background: var(--white);
}

.access__inner {
  padding: 80px 24px;
}

.access__heading {
  text-align: center;
  margin-bottom: 48px;
}

.access__grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.access__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access__item {
  border-bottom: 1px solid rgba(197, 167, 108, 0.08);
  padding-bottom: 16px;
}

.access__item-label {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.access__item-value {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--navy);
  line-height: 2;
  letter-spacing: 0.04em;
}

.access__item-link {
  color: var(--navy);
}

/* Map */
.access__map-wrapper {
  /* container */
}

.access__map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid rgba(197, 167, 108, 0.15);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--ivory-dark), var(--ivory));
}

.access__map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access__map-caption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .access__inner { padding: 112px 24px; }
  .access__heading { margin-bottom: 64px; }
  .access__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}


/* ══════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════ */
.cta {
  padding: 80px 24px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 167, 108, 0.05) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.cta .section-label {
  margin-bottom: 20px;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 300;
  color: var(--white);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.cta__sub {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(237, 232, 224, 0.6);
  line-height: 2.2;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .cta { padding: 112px 24px; }
}


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  padding: 56px 24px;
  background: var(--navy-dark);
}

.footer__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: 11px;
  color: rgba(197, 167, 108, 0.6);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.footer__info {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(237, 232, 224, 0.5);
  line-height: 2.4;
  letter-spacing: 0.04em;
}

.footer__info a {
  color: rgba(237, 232, 224, 0.5);
}

.footer__info p + p {
  margin-top: 4px;
}

.footer__divider {
  width: 80%;
  height: 1px;
  margin: 40px auto;
  background: rgba(197, 167, 108, 0.08);
}

.footer__copyright {
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(237, 232, 224, 0.25);
  letter-spacing: 0.15em;
}

@media (min-width: 768px) {
  .footer { padding: 80px 24px; }
}


/* ══════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════ */
@keyframes ripple {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.15);
  }
}
