/* ============================================
   APEX BARBER STUDIO — Editorial Styles
   ============================================ */

/* ----- Variables ----- */
:root {
  --black: #0d0d0d;
  --black-soft: #111111;
  --charcoal: #1a1a1a;
  --charcoal-light: #222222;
  --ivory: #f5f0eb;
  --ivory-muted: rgba(245, 240, 235, 0.6);
  --ivory-dark: rgba(245, 240, 235, 0.08);
  --walnut: #5c3a1e;
  --walnut-light: #7a4f2e;
  --bronze: #cd7f32;
  --gold: #e8c36a;
  --gold-muted: rgba(232, 195, 106, 0.15);
  --cream: #faf6f0;
  --olive: #3d4035;
  --white: #ffffff;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1240px;
  --section-pad: 140px 24px;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--charcoal-light);
  border-radius: 3px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ----- Utility ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.btn-primary {
  background: var(--ivory);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--ivory-muted);
  padding: 14px 0;
  letter-spacing: 1px;
}
.btn-text:hover {
  color: var(--ivory);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
}

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.nav.solid {
  background: rgba(13, 13, 13, 0.97);
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
}

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

.nav-mark {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-mark-symbol {
  font-size: 22px;
  color: var(--gold);
}
.nav-mark-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ivory);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover {
  color: var(--ivory);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid rgba(245, 240, 235, 0.2);
  padding: 8px 20px !important;
  border-radius: 2px;
  color: var(--ivory) !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  border-color: var(--gold) !important;
  background: transparent !important;
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.3s var(--ease-out);
  border-radius: 1px;
}
.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 32px;
  animation: heroFade 0.8s var(--ease-out) 0.3s both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.08;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}
.hero-title-line:first-child {
  color: var(--ivory);
  animation: heroFade 0.8s var(--ease-out) 0.5s both;
}
.hero-title-line:last-child {
  color: var(--gold);
  font-style: italic;
  animation: heroFade 0.8s var(--ease-out) 0.7s both;
}

.hero-desc {
  font-size: 15px;
  color: var(--ivory-muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: heroFade 0.8s var(--ease-out) 0.9s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: heroFade 0.8s var(--ease-out) 1.1s both;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 80vh;
  overflow: hidden;
}

.hero-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  position: relative;
}

.hero-image-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    );
  opacity: 0.5;
}

.hero-visual-accent {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(232, 195, 106, 0.15);
  z-index: -1;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: heroFade 0.8s var(--ease-out) 1.5s both;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ivory-muted);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ----- Story ----- */
.story {
  padding: var(--section-pad);
  background: var(--black-soft);
  position: relative;
}
.story::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245, 240, 235, 0.06), transparent);
}

.story-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.story-image {
  position: relative;
}

.story-image-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.story-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.story-image-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.008) 3px,
      rgba(255, 255, 255, 0.008) 6px
    );
}

.story-inset {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--black);
  border: 1px solid rgba(232, 195, 106, 0.15);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}
.story-inset-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.story-inset-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ivory-muted);
  text-transform: uppercase;
}

.story-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
}

.story-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 28px;
}
.story-title span {
  display: block;
}
.story-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.story-text {
  font-size: 15px;
  color: var(--ivory-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 540px;
}
.story-text:last-of-type {
  margin-bottom: 36px;
}

.story-stats {
  display: flex;
  gap: 48px;
}
.story-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.story-stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.story-stat-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ivory-muted);
  text-transform: uppercase;
}

/* ----- Work / Services ----- */
.work {
  padding: var(--section-pad);
  background: var(--black);
}

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

.work-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.work-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.work-title span {
  display: block;
}
.work-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.work-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  background: rgba(245, 240, 235, 0.02);
  border: 1px solid rgba(245, 240, 235, 0.06);
  padding: 36px 28px 32px;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work-card:hover {
  border-color: rgba(232, 195, 106, 0.15);
  background: rgba(245, 240, 235, 0.04);
  transform: translateY(-4px);
}

.work-card-icon {
  font-size: 24px;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-out);
}
.work-card:hover .work-card-icon {
  opacity: 1;
}

.work-card-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
  text-transform: lowercase;
}
.work-card-body h3::first-letter {
  text-transform: uppercase;
}

.work-card-body p {
  font-size: 13px;
  color: var(--ivory-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 240, 235, 0.06);
}
.work-card-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  font-weight: 500;
}
.work-card-time {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ivory-muted);
  text-transform: uppercase;
}

.work-card-em {
  border-color: rgba(232, 195, 106, 0.1);
  background: rgba(232, 195, 106, 0.03);
  position: relative;
}

.work-card-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(232, 195, 106, 0.2);
  color: var(--gold);
  padding: 4px 12px;
  margin-bottom: 8px;
}

/* ----- Team ----- */
.team {
  padding: var(--section-pad);
  background: var(--black-soft);
  position: relative;
}
.team::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245, 240, 235, 0.06), transparent);
}

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

.team-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.team-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.team-title span {
  display: block;
}
.team-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.team-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-figure {
  margin: 0;
  transition: all 0.4s var(--ease-out);
}
.team-figure:hover {
  transform: translateY(-6px);
}

.team-photo {
  position: relative;
  aspect-ratio: 3/3.8;
  overflow: hidden;
  margin-bottom: 20px;
}
.team-photo-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 0.6s var(--ease-out);
}
.team-figure:hover .team-photo-bg {
  transform: scale(1.04);
}
.team-photo-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.008) 1px,
      rgba(255, 255, 255, 0.008) 2px
    );
}

.team-caption h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 2px;
}
.team-role {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.team-years {
  display: block;
  font-size: 12px;
  color: var(--ivory-muted);
  margin-bottom: 12px;
}
.team-caption p {
  font-size: 13px;
  color: var(--ivory-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-social {
  display: flex;
  gap: 12px;
}
.team-social a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  transition: color 0.3s var(--ease-out);
}
.team-social a:hover {
  color: var(--gold);
}

/* ----- Journal / Gallery + Reviews ----- */
.journal {
  padding: var(--section-pad);
  background: var(--black);
}

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

.journal-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.journal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.journal-title span {
  display: block;
}
.journal-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

/* Gallery grid */
.journal-grid {
  max-width: var(--container);
  margin: 0 auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 12px;
}

.journal-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.journal-item:nth-child(1) {
  grid-row: span 2;
}
.journal-item:nth-child(4) {
  grid-column: span 2;
}

.journal-item-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s var(--ease-out);
}
.journal-item:hover .journal-item-bg {
  transform: scale(1.06);
}

.journal-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.journal-item:hover .journal-item-overlay {
  opacity: 1;
}
.journal-item-label {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ivory);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}
.journal-item:hover .journal-item-label {
  transform: translateY(0);
}
.journal-item-overlay i {
  font-size: 18px;
  color: var(--gold);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}
.journal-item:hover .journal-item-overlay i {
  transform: translateY(0);
}

/* Lightbox */
.gallery-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.gallery-lb.active {
  opacity: 1;
  pointer-events: all;
}

.gallery-lb-close {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 36px;
  color: var(--ivory);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 2001;
}
.gallery-lb-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.gallery-lb-inner {
  text-align: center;
  max-width: 700px;
  padding: 24px;
}

.gallery-lb-visual {
  width: 360px;
  height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(245, 240, 235, 0.06);
  margin: 0 auto 24px;
}

.gallery-lb-caption {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ivory);
}

/* Testimonials */
.journal-notes {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.journal-notes-head {
  margin-bottom: 48px;
}

.notes-carousel {
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.notes-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.notes-card {
  flex: 0 0 100%;
  padding: 40px;
  border: 1px solid rgba(245, 240, 235, 0.06);
  background: rgba(245, 240, 235, 0.015);
  margin: 0;
  text-align: center;
}

.notes-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.notes-card p {
  font-size: 15px;
  font-style: italic;
  color: var(--ivory-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.notes-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notes-card footer strong {
  font-size: 14px;
  color: var(--ivory);
  font-weight: 500;
}
.notes-card footer span {
  font-size: 12px;
  color: var(--ivory-muted);
}

.notes-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.notes-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 240, 235, 0.1);
  background: rgba(245, 240, 235, 0.03);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  font-size: 14px;
}
.notes-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.notes-dots {
  display: flex;
  gap: 8px;
}
.notes-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 240, 235, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.notes-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* ----- Book / Booking ----- */
.book {
  padding: var(--section-pad);
  background: var(--black-soft);
  position: relative;
}
.book::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245, 240, 235, 0.06), transparent);
}

.book-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.book-head {
  margin-bottom: 52px;
  text-align: center;
}

.book-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.book-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.book-title span {
  display: block;
}
.book-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.book-desc {
  font-size: 14px;
  color: var(--ivory-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

.book-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.book-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.book-field-wide {
  grid-column: span 2;
}

.book-field label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  font-weight: 500;
}

.book-field input,
.book-field select,
.book-field textarea {
  background: rgba(245, 240, 235, 0.03);
  border: 1px solid rgba(245, 240, 235, 0.08);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ivory);
  transition: border-color 0.3s var(--ease-out);
  outline: none;
  border-radius: 0;
}
.book-field input:focus,
.book-field select:focus,
.book-field textarea:focus {
  border-color: var(--gold);
}
.book-field input::placeholder,
.book-field textarea::placeholder {
  color: rgba(245, 240, 235, 0.15);
}
.book-field select option {
  background: var(--black);
  color: var(--ivory);
}
.book-field textarea {
  resize: vertical;
  min-height: 48px;
}

.book-error {
  font-size: 11px;
  color: #e05a5a;
  display: none;
}
.book-field.error input,
.book-field.error select {
  border-color: #e05a5a;
}
.book-field.error .book-error {
  display: block;
}

.book-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(232, 195, 106, 0.06);
  border: 1px solid rgba(232, 195, 106, 0.15);
  margin-top: 20px;
  font-size: 14px;
  color: var(--gold);
}
.book-success.active {
  display: flex;
}
.book-success i {
  font-size: 18px;
}

/* ----- FAQ ----- */
.faq {
  padding: var(--section-pad);
  background: var(--black);
}

.faq-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.faq-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.faq-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.faq-title span {
  display: block;
}
.faq-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid rgba(245, 240, 235, 0.06);
  background: rgba(245, 240, 235, 0.015);
  transition: border-color 0.3s var(--ease-out);
}
.faq-item:hover {
  border-color: rgba(232, 195, 106, 0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--ease-out);
}
.faq-q:hover {
  color: var(--gold);
}
.faq-q i {
  font-size: 12px;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.active .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-item.active .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 0 24px 18px;
  font-size: 13px;
  color: var(--ivory-muted);
  line-height: 1.75;
}

/* ----- Contact ----- */
.contact {
  padding: var(--section-pad);
  background: var(--black-soft);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245, 240, 235, 0.06), transparent);
}

.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 12px;
}
.contact-title span {
  display: block;
}
.contact-title span:last-child {
  color: var(--gold);
  font-style: italic;
}

.contact-desc {
  font-size: 14px;
  color: var(--ivory-muted);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item i {
  font-size: 16px;
  color: var(--gold);
  margin-top: 2px;
  width: 20px;
}
.contact-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 2px;
  font-weight: 500;
}
.contact-item p,
.contact-item a {
  font-size: 14px;
  color: var(--ivory-muted);
  line-height: 1.6;
}
.contact-item a:hover {
  color: var(--gold);
}

.contact-hours strong {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 24px;
  font-size: 14px;
  color: var(--ivory-muted);
}
.contact-hours-grid span:nth-child(odd) {
  font-weight: 500;
}

.contact-map {
  position: relative;
}
.contact-map-bg {
  aspect-ratio: 16/11;
  background: linear-gradient(145deg, #2c1f14 0%, #1a1008 50%, #0d0806 100%);
  border: 1px solid rgba(245, 240, 235, 0.06);
}

.contact-map-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid rgba(245, 240, 235, 0.08);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ivory-muted);
}
.contact-map-label i {
  color: var(--gold);
}

/* ----- Footer ----- */
.footer {
  padding: 80px 24px 0;
  background: var(--black);
  border-top: 1px solid rgba(245, 240, 235, 0.06);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-mark {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.footer-mark-symbol {
  font-size: 18px;
  color: var(--gold);
}
.footer-mark-name {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--ivory);
  font-weight: 600;
}

.footer-desc {
  font-size: 13px;
  color: var(--ivory-muted);
  line-height: 1.7;
}

.footer-nav h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-nav a {
  display: block;
  font-size: 13px;
  color: var(--ivory-muted);
  margin-bottom: 10px;
  transition: color 0.3s var(--ease-out);
}
.footer-nav a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-follow h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 240, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ivory-muted);
  transition: all 0.3s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-sub {
  display: flex;
  border: 1px solid rgba(245, 240, 235, 0.08);
}
.footer-sub input {
  flex: 1;
  background: rgba(245, 240, 235, 0.03);
  border: none;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ivory);
  outline: none;
}
.footer-sub input::placeholder {
  color: rgba(245, 240, 235, 0.15);
}
.footer-sub button {
  padding: 12px 18px;
  background: none;
  border: none;
  border-left: 1px solid rgba(245, 240, 235, 0.08);
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}
.footer-sub button:hover {
  background: rgba(232, 195, 106, 0.1);
}

.footer-legal {
  border-top: 1px solid rgba(245, 240, 235, 0.06);
  padding: 24px 0;
  text-align: center;
}
.footer-legal p {
  font-size: 12px;
  color: rgba(245, 240, 235, 0.2);
  letter-spacing: 0.5px;
}

/* ----- Scroll to Top ----- */
.top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 240, 235, 0.1);
  background: rgba(13, 13, 13, 0.9);
  color: var(--ivory);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  z-index: 999;
}
.top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.top:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ----- Reveal Animation ----- */
/* Elements start hidden, revealed by JS with 3-second safety fallback */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ----- Skeleton Loading (YouTube-style) ----- */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: #1a1008 !important;
  background-image: none !important;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Skeleton loaded state (image loaded, fading out shimmer) */
.skeleton.loaded::after {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Skeleton error fallback */
.skeleton.error {
  background: linear-gradient(135deg, #1a1008, #2c1f14) !important;
  background-image: none !important;
}
.skeleton.error::after {
  opacity: 0;
}

/* Error placeholder icon */
.skeleton-error-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.skeleton.error .skeleton-error-icon {
  opacity: 1;
}
.skeleton-error-icon i {
  font-size: 32px;
  color: rgba(232, 195, 106, 0.3);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-text {
    order: 2;
  }
  .hero-visual {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-image {
    max-height: 50vh;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual-accent {
    display: none;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .story-image {
    max-width: 380px;
    margin: 0 auto;
  }
  .story-inset {
    right: 0;
    bottom: -20px;
  }

  .work-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
  .journal-item:nth-child(1) {
    grid-row: span 1;
  }
  .journal-item:nth-child(4) {
    grid-column: span 2;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 100px 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.99);
    width: 75%;
    max-width: 300px;
    height: 100vh;
    padding: 100px 40px 40px;
    gap: 28px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(245, 240, 235, 0.06);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-scroll {
    display: none;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .journal-item:nth-child(4) {
    grid-column: span 1;
  }

  .book-form-grid {
    grid-template-columns: 1fr;
  }
  .book-field-wide {
    grid-column: span 1;
  }

  .story-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

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

  .contact-hours-grid {
    font-size: 13px;
  }

  .gallery-lb-visual {
    width: 260px;
    height: 340px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-text {
    text-align: center;
    padding: 14px 0;
  }

  .story-stats {
    gap: 24px;
  }
  .story-stat-num {
    font-size: 26px;
  }

  .notes-card {
    padding: 24px;
  }

  .contact-map-label {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
    font-size: 11px;
  }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
