:root {
  --bg: #0e1116;
  --bg-elevated: #171b22;
  --bg-soft: #1e2430;
  --text: #efece6;
  --text-muted: #a8a296;
  --gold: #c4a35a;
  --gold-soft: #8f7540;
  --line: rgba(196, 163, 90, 0.28);
  --danger: #c45c5c;
  --ok: #6a9a78;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 163, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(61, 79, 69, 0.18), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #dfc27a;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gold);
  color: #14110c;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d4b56a;
  color: #14110c;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-danger {
  background: transparent;
  border-color: rgba(196, 92, 92, 0.5);
  color: #e8a0a0;
}

.btn-danger:hover {
  background: rgba(196, 92, 92, 0.15);
  color: #ffc9c9;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 17, 22, 0.35) 0%, rgba(14, 17, 22, 0.88) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14, 17, 22, 0.75) 0%, rgba(14, 17, 22, 0.25) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
  max-width: 640px;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 34rem;
}

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

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(23, 27, 34, 0.7), rgba(23, 27, 34, 0.35));
  border-block: 1px solid var(--line);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  animation: rise 0.7s ease both;
}

.gallery figure:nth-child(2) {
  animation-delay: 0.1s;
}

.gallery figure:nth-child(3) {
  animation-delay: 0.2s;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.gallery figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* Info grids */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-block {
  padding: 1.35rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.info-block h3 {
  color: var(--text);
  margin-bottom: 0.6rem;
}

.info-block p,
.info-block li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.info-block a {
  word-break: break-word;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(196, 163, 90, 0.1), transparent 55%),
    var(--bg-elevated);
}

/* Accordion */
.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.accordion-item.is-open .accordion-trigger::after {
  content: "–";
}

.accordion-panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
}

.accordion-item.is-open .accordion-panel {
  display: block;
  animation: rise 0.35s ease both;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--gold-soft);
  border-color: var(--gold-soft);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(106, 154, 120, 0.45);
  background: rgba(106, 154, 120, 0.12);
  color: #b7d4bf;
}

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

/* Legal / content pages */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.prose {
  max-width: 760px;
  padding: 2.5rem 0 4rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #0a0c10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 8, 11, 0.82);
}

.overlay.is-active {
  display: flex;
}

.modal {
  width: min(100%, 460px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  animation: rise 0.35s ease both;
}

.modal h2 {
  font-size: 1.7rem;
}

.modal p {
  margin-bottom: 1.25rem;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: none;
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.1rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-bar.is-active {
  display: block;
  animation: rise 0.4s ease both;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.visit-popup .modal {
  width: min(100%, 420px);
}

/* Job list */
.job-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1.25rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.locations {
  display: grid;
  gap: 1rem;
}

.location-item {
  border-left: 2px solid var(--gold-soft);
  padding-left: 1rem;
}

.location-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery,
  .info-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 17, 22, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.25rem 0;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .btn {
    width: 100%;
  }

  .cookie-bar {
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
