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

:root {
  --plum: #1E1020;
  --plum-dark: #150D16;
  --amber: #C8832A;
  --amber-dark: #A86B1F;
  --cream: #F5EFEA;
  --cream-alt: #EDE5DD;
  --ink: #1A0F1E;
  --ink-mid: #4A3550;
  --ink-light: #7A6580;
  --border: #D8CAC0;
  --white: #FAF6F2;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --max-w: 1100px;
  --max-w-narrow: 680px;
  --section-pad: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* ── Nav ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(21, 13, 22, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 131, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 38px;
  width: auto;
  border-radius: 3px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid rgba(200, 131, 42, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(245, 239, 234, 0.35);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}

.lang-btn + .lang-btn {
  border-left: 1px solid rgba(200, 131, 42, 0.25);
}

.lang-btn.active {
  color: var(--amber);
  background: rgba(200, 131, 42, 0.1);
}

.lang-btn:hover:not(.active) {
  color: rgba(245, 239, 234, 0.65);
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  background: var(--plum);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 55% 35%, rgba(200, 131, 42, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  position: relative;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(60px, 11vw, 104px);
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 239, 234, 0.5);
  margin-top: 10px;
  margin-bottom: 0;
}

.hero-sub {
  font-size: 16px;
  color: rgba(245, 239, 234, 0.7);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.75;
}

.hero-sub:first-of-type {
  margin-top: 28px;
}

.hero-sub:last-of-type {
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--plum);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #d9943b;
  transform: translateY(-1px);
}

.btn-primary .arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 239, 234, 0.35);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Layout Utilities ────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--section-pad) 24px;
}

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

.section-dark {
  background: var(--plum);
}

.section-apply {
  background: var(--plum);
}

/* ── Section Typography ──────────────────────────── */

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-dark .section-title,
.section-apply .section-title {
  color: var(--cream);
}

.section-body {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 16px;
  max-width: 600px;
}

.section-apply .section-body {
  color: rgba(245, 239, 234, 0.6);
}

/* ── Checklist ───────────────────────────────────── */

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.checklist li::before {
  content: '◆';
  color: var(--amber);
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 6px;
}

.checklist-req {
  gap: 48px;
  margin-top: 32px;
}

.checklist-req li {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.checklist-req li::before {
  display: none;
}

/* ── Requirements sticky layout ─────────────────── */

.req-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.req-intro {
  position: sticky;
  top: calc(60px + 40px);
}

.req-intro-desc {
  font-size: 15px;
  color: rgba(245, 239, 234, 0.5);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 26ch;
}

.req-counter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 52px;
}

.req-counter-num {
  font-family: var(--font-serif);
  font-size: clamp(80px, 11vw, 120px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  will-change: contents;
}

.req-counter-total {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(245, 239, 234, 0.22);
}

.req-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 400;
  color: var(--amber);
  opacity: 0.4;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.req-head {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 8px;
}

.req-body {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 239, 234, 0.55);
  line-height: 1.75;
  margin: 0;
}

.req-item {
  border-top: 1px solid rgba(245, 239, 234, 0.07);
  padding-top: 32px;
}

.req-item:first-child {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 900px) {
  .req-layout {
    grid-template-columns: 1fr;
  }
  .req-intro {
    position: static;
  }
  .req-counter {
    display: none;
  }
}

/* ── Benefits Grid ───────────────────────────────── */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 2px;
}

.benefit-icon {
  color: var(--amber);
  font-size: 14px;
  margin-bottom: 12px;
}

.benefit-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── Apply Form ──────────────────────────────────── */

#applyForm {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 234, 0.5);
}

.req {
  color: var(--amber);
}

.field-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 239, 234, 0.22);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.field-input::placeholder {
  color: rgba(245, 239, 234, 0.22);
}

.field-input:focus {
  border-bottom-color: var(--amber);
}

.field-input.error {
  border-bottom-color: #d4694a;
}

.field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.field-hint {
  font-size: 13px;
  color: rgba(245, 239, 234, 0.38);
  line-height: 1.5;
}

.field-hint strong {
  color: rgba(245, 239, 234, 0.62);
  font-weight: 500;
}

.char-counter-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

#charCount {
  color: rgba(245, 239, 234, 0.62);
  font-weight: 500;
  transition: color 0.2s;
}

#charCount.met {
  color: #7bc47f;
}

/* ── File Input ──────────────────────────────────── */

.file-drop {
  position: relative;
  border: 1px dashed rgba(245, 239, 234, 0.22);
  border-radius: 2px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-drop:hover {
  border-color: var(--amber);
}

.file-drop.has-file {
  border-color: rgba(200, 131, 42, 0.55);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-drop-label {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.file-drop-icon {
  font-size: 20px;
  color: var(--amber);
}

.file-drop-text {
  font-size: 16px;
  color: rgba(245, 239, 234, 0.5);
}

.file-drop.has-file .file-drop-text {
  color: var(--cream);
}

/* ── Form States ─────────────────────────────────── */

.field-error {
  background: rgba(212, 105, 74, 0.10);
  border: 1px solid rgba(212, 105, 74, 0.32);
  color: #e89878;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 2px;
}

.btn-submit {
  background: var(--amber);
  color: var(--plum);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 16px 40px;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.btn-submit:hover:not(:disabled) {
  background: #d9943b;
}

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

.form-success {
  margin-top: 40px;
  text-align: center;
  padding: 56px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(123, 196, 127, 0.12);
  border: 1px solid rgba(123, 196, 127, 0.38);
  color: #7bc47f;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}

.success-body {
  font-size: 15px;
  color: rgba(245, 239, 234, 0.58);
  max-width: 400px;
  margin: 0 auto;
}

/* ── Good Fit / Not A Good Fit ───────────────────── */

.section-fit {
  background: var(--white);
}

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

.fit-header .section-title {
  font-size: clamp(26px, 4vw, 40px);
}

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

.fit-card {
  border-radius: 3px;
  padding: 40px 36px;
}

.fit-card--yes {
  background: var(--plum);
}

.fit-card--no {
  background: var(--cream-alt);
  border: 1px solid var(--border);
}

.fit-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fit-card--no .fit-card-head {
  border-bottom-color: var(--border);
}

.fit-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.fit-badge--yes {
  background: rgba(200, 131, 42, 0.14);
  color: var(--amber);
  border: 1px solid rgba(200, 131, 42, 0.32);
}

.fit-badge--no {
  background: rgba(122, 101, 128, 0.10);
  color: var(--ink-light);
  border: 1px solid rgba(122, 101, 128, 0.22);
}

.fit-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 2px;
}

.fit-card--yes .fit-card-title { color: var(--cream); }
.fit-card--no .fit-card-title  { color: var(--ink-mid); }

.fit-card-title-en {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.fit-card--yes .fit-card-title-en { color: rgba(245, 239, 234, 0.32); }
.fit-card--no  .fit-card-title-en { color: var(--ink-light); opacity: 0.6; }

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.fit-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  line-height: 1.6;
}

.fit-card--no .fit-list li {
  border-bottom-color: var(--border);
}

.fit-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fit-list li strong {
  font-weight: 600;
  font-size: 14px;
}

.fit-card--yes .fit-list li strong { color: var(--cream); }
.fit-card--yes .fit-list li span   { color: rgba(245, 239, 234, 0.52); }

.fit-card--no .fit-list li strong { color: var(--ink-mid); }
.fit-card--no .fit-list li span   { color: var(--ink-light); }

/* ── Footer ──────────────────────────────────────── */

.footer {
  background: var(--plum-dark);
  border-top: 1px solid rgba(200, 131, 42, 0.12);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 40px;
  width: auto;
  border-radius: 3px;
  opacity: 0.55;
  margin-bottom: 6px;
}

.footer-address {
  font-size: 13px;
  color: rgba(245, 239, 234, 0.38);
  letter-spacing: 0.02em;
}

.footer-phone {
  font-size: 13px;
  color: rgba(245, 239, 234, 0.38);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 12px;
  color: rgba(245, 239, 234, 0.18);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ── Gallery Carousel ────────────────────────────── */

.section-gallery {
  background: var(--plum-dark);
  overflow: hidden;
  padding-bottom: 72px;
}

.section-gallery .section-title {
  color: var(--cream);
  margin-bottom: 0;
}

.gallery-shelf {
  margin-top: clamp(32px, 5vh, 60px);
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  perspective: 1000px;
  perspective-origin: 50% 42%;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 24px 4px 32px;
  cursor: grab;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

.gallery-shelf::-webkit-scrollbar { display: none; }

.gallery-shelf.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.gallery-shelf.is-dragging .photo-slot { pointer-events: none; }

.photo-depth {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateZ(-2400px);
}

.gallery-shelf.is-in .photo-depth {
  animation-name: photo-rush;
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}

@keyframes photo-rush {
  0%   { opacity: 0; transform: translateZ(-2400px); }
  55%  { opacity: 1; }
  82%  { transform: translateZ(46px); }
  100% { opacity: 1; transform: translateZ(0); }
}

.photo-slot {
  width: min(28vw, 280px);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(245, 239, 234, 0.04);
}

.photo-slot:nth-child(odd)  { transform: rotate(-1.6deg) translateY(10px); }
.photo-slot:nth-child(even) { transform: rotate(1.4deg); }
.photo-slot:hover { transform: rotate(0deg) translateY(-10px) scale(1.02); }

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-scrub {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.scrub-track {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(245, 239, 234, 0.12);
  overflow: hidden;
}

.scrub-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  border-radius: 999px;
  background: var(--amber);
  transition: width 0.1s, left 0.1s;
}

.scrub-hint {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 234, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.scrub-arrow-l,
.scrub-arrow-r {
  color: var(--amber);
}

.scrub-arrow-l { animation: nudge-l 1.6s ease-out infinite; }
.scrub-arrow-r { animation: nudge-r 1.6s ease-out infinite; }

@keyframes nudge-r {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

@keyframes nudge-l {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-5px); }
}

@media (max-width: 640px) {
  .photo-slot { width: min(56vw, 220px); }
  .scrub-hint { font-size: 0.6rem; letter-spacing: 0.13em; }
  .section-gallery {
    padding-left: 0;
    padding-right: 0;
  }
  .section-gallery .section-label,
  .section-gallery .section-title,
  .gallery-scrub {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-depth { opacity: 1; transform: none; animation: none !important; }
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 640px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .fit-card {
    padding: 28px 24px;
  }
}

@media (max-width: 860px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 64px;
  }

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

  .hero {
    padding: 100px 20px 80px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: var(--section-pad) 20px;
  }
}
