/* ==========================================================================
   Makeup Artist Landing — styles
   ========================================================================== */

:root {
  --paper: #f8f3ef;
  --paper-warm: #f2e9e2;
  --surface: #ffffff;
  --ink: #241d1a;
  --ink-2: #4a3f3a;
  --ink-3: #8a7c76;
  --line: #e6dad2;
  --accent: #a3465a;
  --accent-2: #8a3a4c;
  --accent-tint: #f1dfe2;
  --shadow-sm: 0 6px 20px -8px rgba(74, 40, 45, 0.18);
  --shadow-md: 0 20px 50px -18px rgba(74, 40, 45, 0.28);
  --radius-lg: 1.75rem;
  --radius-md: 1.1rem;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

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

.section-head {
  max-width: 46rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* -- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.4s var(--ease);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* -- Header ----------------------------------------------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 239, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wordmark span {
  color: var(--accent);
}

.main-nav {
  display: none;
  gap: 2rem;
  font-size: 0.92rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.2rem;
  background: var(--surface);
}

.lang-toggle button {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--ink-3);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.btn-primary.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  display: none;
}

@media (min-width: 640px) {
  .btn-primary.btn-sm {
    display: inline-flex;
  }
}

/* -- Hero --------------------------------------------------------------- */

.hero {
  padding: 3rem 0 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 6rem;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.01em;
}

.hero-copy .lede {
  font-size: 1.15rem;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

@media (min-width: 1024px) {
  .hero-media {
    aspect-ratio: 3 / 4;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-flag {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  background: rgba(36, 29, 26, 0.72);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

/* -- Gallery filters ------------------------------------------------------ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.4rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* -- Gallery grid --------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(36, 29, 26, 0.78), rgba(36, 29, 26, 0));
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  margin-top: -1.4rem;
  margin-bottom: 2.4rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* -- Lightbox --------------------------------------------------------------*/

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}

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

.lightbox-figure {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
}

.lightbox-figure img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lightbox-caption {
  color: #f2e9e2;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: -3.4rem;
  right: 0;
}

.lightbox-nav--prev {
  left: -3.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--next {
  right: -3.6rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 700px) {
  .lightbox-nav--prev { left: 0.25rem; }
  .lightbox-nav--next { right: 0.25rem; }
  .lightbox-close { top: 0.25rem; right: 0.25rem; }
}

/* -- Scouts section --------------------------------------------------------*/

.scouts-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .scouts-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.scouts-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.scouts-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.scouts-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  transform: translateY(-2px);
}

.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.stat-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  min-width: 8.5rem;
}

.stat-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
}

.stat-chip span {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.scouts-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.scouts-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}

.scouts-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* -- Booking form ---------------------------------------------------------*/

.booking-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .booking-layout {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.booking-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 640px) {
  .booking-form {
    padding: 2.5rem;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field-error {
  font-size: 0.78rem;
  color: var(--accent-2);
  min-height: 1em;
}

.form-success {
  display: none;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  color: var(--accent-2);
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

.booking-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

/* -- Footer -----------------------------------------------------------------*/

.site-footer {
  background: var(--ink);
  color: var(--paper-warm);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-footer .wordmark {
  color: #fff;
}

.site-footer .wordmark span {
  color: #e9b6c1;
}

.footer-lede {
  margin-top: 0.9rem;
  color: #cbb9b3;
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #cbb9b3;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #e9ddd8;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.footer-socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #fff;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #a8968f;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* -- Reveal-on-scroll -------------------------------------------------------*/

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
