/* ============================================
   Studio 10F/A — Stylesheet
   Dark / Light theme via [data-theme]
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Shared */
  --font-main: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'DM Serif Display', 'Noto Sans JP', -apple-system, serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 64px;
}

/* Light Theme (The Work Project inspired warm amber/cream) */
:root {
  --accent: #c36d15;
  --accent-hover: #a85a0d;
  --accent-subtle: rgba(195, 109, 21, 0.08);
  --bg-primary: #ffffff;
  --bg-secondary: #faf8f5;
  --bg-tertiary: #f6f0e8;
  --bg-card: #ffffff;
  --bg-warm: #efe2d2;
  --text-primary: #1b1c1d;
  --text-secondary: #4a4745;
  --text-muted: #767676;
  --border: #e5dbd4;
  --border-light: #efe8e1;
  --header-bg: rgba(246, 240, 232, 0.92);
  --hero-overlay: rgba(0, 0, 0, 0.30);
  --hero-scroll-color: rgba(0, 0, 0, 0.4);
  --hero-scroll-line: rgba(0, 0, 0, 0.2);
  --hero-scroll-line-fill: #333;
  --logo-filter: none;
  --faq-hover: #faf8f5;
  --input-bg: #faf8f5;
  --gallery-bg: #f6f0e8;
  --btn-primary-bg: #c36d15;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #1b1c1d;
  --btn-primary-hover-text: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-main);
  font-weight: var(--font-weight-light);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Section ---------- */
.section {
  padding: 120px 0;
}

.section__label {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Thin stroke trick: DM Serif Display only has 400 weight,
   so we use a subtle background-colored stroke to appear lighter */
.hero__title,
.section__title,
.gallery__title,
.plan__name,
.plan__price-amount {
  -webkit-text-stroke: 0.4px var(--bg-primary);
  paint-order: stroke fill;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: var(--font-weight-regular);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  color: var(--text-primary);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition), border-color var(--transition);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  height: 36px;
  width: auto;
}

.header__nav {
  flex: 1;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.header__link {
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.header__link:hover {
  color: var(--text-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.toggle-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--text-secondary);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.toggle-btn--lang {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.toggle-btn--lang:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.toggle-btn__icon {
  font-size: 16px;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: transform, opacity;
}

.hero__image--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  transition: background var(--transition), opacity 0.8s ease;
  z-index: 1;
  opacity: 0;
}

.hero.is-scrolled .hero__overlay {
  opacity: 1;
}

/* ---------- Text mask layer ----------
   Solid bg + white text + multiply blend = text knockout
   Dark theme: dark bg hides image, white text reveals it
   Light theme: handled via screen blend mode              */
.hero__mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  background: #1a1a1a;
  mix-blend-mode: multiply;
  transition: opacity 0.8s ease;
}

.hero__mask-content {
  text-align: center;
}

.hero__mask-text {
  font-family: var(--font-heading);
  font-size: clamp(48px, 10vw, 120px);
  font-weight: var(--font-weight-regular);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 0.4px #1a1a1a;
  paint-order: stroke fill;
  margin-bottom: 24px;
}

/* Invisible spacers to match hero__content layout (subtitle + CTA)
   so the mask title and content title are at the exact same position */
.hero__mask-spacer {
  visibility: hidden;
}

.hero__mask-spacer--sub {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: var(--font-weight-light);
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.hero__mask-spacer--cta {
  display: inline-block;
  padding: 14px 40px;
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 2px;
}

/* On scroll: mask fades out, revealing full image */
.hero.is-scrolled .hero__mask {
  opacity: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero.is-scrolled .hero__content {
  opacity: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 10vw, 120px);
  font-weight: var(--font-weight-regular);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero__title-accent {
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: var(--font-weight-light);
  letter-spacing: 3px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__cta {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 2px;
  color: #fff;
  transition: all 0.3s;
}

.hero__cta:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 3px;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__description {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}

.about__image {
  position: relative;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 80px 0;
  background: var(--bg-secondary);
  transition: background-color var(--transition);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature__number {
  display: block;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.feature__title {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.feature__text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* ============================================
   SPACE / GALLERY
   ============================================ */
.space {
  padding-bottom: 80px;
}

.gallery {
  margin-bottom: 80px;
}

.gallery__header {
  margin-bottom: 24px;
}

.gallery__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.gallery__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Gallery — scroll container */
.gallery__scroll-wrap {
  position: relative;
}

.gallery__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 40px;
  scroll-snap-type: x proximity;
  text-align: center;
}

.gallery__scroll::-webkit-scrollbar {
  display: none;
}

/* Fade edges to hint scrollability */
.gallery__scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--bg-primary));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  z-index: 2;
}

.gallery__scroll-wrap.is-end::after {
  opacity: 0;
}

/* Navigation arrows */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
  font-size: 18px;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery__nav:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery__nav--prev {
  left: 12px;
}

.gallery__nav--next {
  right: 12px;
}

.gallery__nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.gallery__track {
  display: inline-flex;
  gap: 16px;
  text-align: left;
}

/* Item sizes — tuned so desk gallery (wide+portrait+land+portrait) ≈ viewport */
.gallery__item {
  flex-shrink: 0;
  width: 380px;
  height: 300px;
  overflow: hidden;
  background: var(--gallery-bg);
  scroll-snap-align: start;
}

.gallery__item--wide {
  width: 520px;
}

.gallery__item--portrait {
  width: 200px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* Floor Plan */
.floorplan {
  padding-top: 40px;
  text-align: center;
}

.floorplan .gallery__title {
  text-align: left;
  margin-bottom: 32px;
}

.floorplan__wrap {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.floorplan__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================
   PLAN
   ============================================ */
.plan {
  background: var(--bg-secondary);
  transition: background-color var(--transition);
}

.plan__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 60px;
  transition: background-color var(--transition), border-color var(--transition);
}

.plan__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.plan__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.5px;
}

.plan__availability {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--accent);
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-align: right;
}

.plan__price {
  text-align: right;
}

.plan__price-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.plan__price-period {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.plan__col-title {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.plan__list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.plan__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.8;
}

.plan__cta-wrap {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.plan__cta {
  display: inline-block;
  padding: 16px 56px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 2px;
  transition: all 0.3s;
}

.plan__cta:hover {
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
}

/* ============================================
   ACCESS
   ============================================ */
.access__grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access__building-img {
  overflow: hidden;
}

.access__building-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.access__address {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.access__stations h4 {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.access__stations li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.access__stations li em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  margin-left: 16px;
}

.access__map {
  height: 480px;
  background: var(--bg-tertiary);
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-secondary);
  transition: background-color var(--transition);
}

.faq__list {
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 15px;
  font-weight: var(--font-weight-regular);
  text-align: left;
  color: var(--text-primary);
  transition: color 0.3s;
  gap: 24px;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  font-size: 20px;
  font-weight: var(--font-weight-light);
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding-bottom: 24px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
}

.form__group {
  margin-bottom: 24px;
}

/* Honeypot — hidden from real users, visible to bots */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form status messages */
.form__error {
  display: none;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: #fff5f0;
  border: 1px solid #e57a4a;
  color: #a8421a;
  font-size: 13px;
  line-height: 1.7;
  border-radius: var(--radius);
}

.form__error.is-visible {
  display: block;
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__group label {
  display: block;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: var(--font-weight-light);
  transition: border-color 0.3s, background-color var(--transition);
  outline: none;
  border-radius: var(--radius);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-muted);
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  display: inline-block;
  padding: 16px 56px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.form__submit:hover {
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
}

/* Form success message */
.form__success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
}

.form__success.is-visible {
  display: block;
}

.form__success p {
  font-size: 16px;
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  transition: border-color var(--transition);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  height: 22px;
  width: auto;
  filter: var(--logo-filter);
  opacity: 0.6;
  transition: filter var(--transition);
}

.footer__address {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 1px;
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   LIGHT THEME — TWP-INSPIRED ENHANCEMENTS
   ============================================ */
[data-theme="light"] .contact {
  background: var(--bg-secondary);
}

[data-theme="light"] .hero__cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: var(--font-weight-medium);
}

[data-theme="light"] .hero__cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.feature {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.feature:hover {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.plan__card {
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.05);
  border-color: var(--border-light);
}

.header__link:hover {
  color: var(--accent);
}

.faq__question:hover {
  color: var(--accent);
}

.footer {
  background: var(--bg-tertiary);
  border-top: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .plan__card {
    padding: 40px;
  }

  .gallery__item {
    width: 300px;
    height: 240px;
  }

  .gallery__item--wide {
    width: 420px;
  }

  .gallery__item--portrait {
    width: 160px;
  }

  .gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 80px 0;
  }

  /* Header */
  .header__inner {
    padding: 0 20px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__link {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .header__controls {
    margin-left: auto;
    gap: 10px;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero__title {
    font-size: clamp(40px, 12vw, 80px);
  }

  .hero__cta {
    padding: 12px 32px;
    font-size: 12px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image img {
    height: 300px;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Gallery */
  .gallery__scroll {
    padding: 0 24px;
  }

  .gallery__item {
    width: 260px;
    height: 210px;
  }

  .gallery__item--wide {
    width: 320px;
  }

  .gallery__item--portrait {
    width: 140px;
  }

  .gallery__nav {
    display: none;
  }

  .gallery__scroll-wrap::after {
    width: 40px;
  }

  /* Plan */
  .plan__card {
    padding: 32px 24px;
  }

  .plan__card-header {
    flex-direction: column;
    gap: 16px;
  }

  .plan__price {
    text-align: left;
  }

  .plan__availability {
    text-align: left;
  }

  .plan__details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .plan__cta {
    width: 100%;
    text-align: center;
  }

  /* Access */
  .access__grid {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }

  .access__map {
    grid-column: 1 / -1;
  }

  .access__map {
    height: 300px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer__inner {
    justify-content: center;
  }

  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .gallery__item {
    width: 240px;
    height: 195px;
  }

  .gallery__item--wide {
    width: 280px;
  }

  .gallery__item--portrait {
    width: 130px;
  }

  .hero__scroll {
    display: none;
  }

  .access__grid {
    grid-template-columns: 1fr;
  }

  .access__building-img img {
    max-height: 300px;
    object-fit: cover;
  }

  .plan__price-amount {
    font-size: 28px;
  }
}
