@font-face {
  font-family: "Cormorant ECF";
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #12141a;
  --bg-elevated: #1a1d26;
  --bg-soft: #222632;
  --gold: #b8956c;
  --gold-soft: #d4b896;
  --text: #ede8e0;
  --text-muted: #9a958c;
  --line: rgba(184, 149, 108, 0.28);
  --danger: #c45c4a;
  --radius: 2px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Cormorant ECF", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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(1200px 600px at 80% -10%, rgba(184, 149, 108, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(60, 80, 70, 0.18), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

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

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(12px);
  background: rgba(18, 20, 26, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

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

.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #16140f;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
}

.btn-ghost:hover {
  background: var(--gold);
  color: #16140f;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 26, 0.35) 0%, rgba(18, 20, 26, 0.82) 55%, rgba(18, 20, 26, 0.96) 100%),
    linear-gradient(90deg, rgba(18, 20, 26, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-content p {
  color: #cfc8bc;
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(26, 29, 38, 0.7), rgba(18, 20, 26, 0.2));
  border-block: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item .gallery-caption {
  display: block;
  padding: 0.9rem 1rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.info-panel dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.info-panel dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.info-panel dd {
  margin: 0;
  color: var(--text);
}

.info-panel a {
  text-decoration: none;
}

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

.loc-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.loc-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  cursor: pointer;
  font: inherit;
  border-radius: var(--radius);
}

.loc-tab[aria-selected="true"] {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.loc-panel[hidden] {
  display: none;
}

.accordion {
  border-top: 1px solid var(--line);
}

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

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

.accordion-trigger span {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

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

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

.cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184, 149, 108, 0.12), transparent 45%),
    var(--bg-elevated);
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

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

.footer-grid h3 {
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.55rem;
}

.footer-grid a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

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

.legal-page .section-head,
.page-intro {
  padding-top: 3rem;
  max-width: 46rem;
}

.prose {
  max-width: 46rem;
}

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

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

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

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

.job-card h3 {
  margin-bottom: 0.35rem;
}

.job-meta {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

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

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

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 9, 12, 0.82);
}

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

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

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

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.lightbox-modal {
  width: min(100%, 920px);
  padding: 0;
  background: #000;
  border: 1px solid var(--line);
  position: relative;
}

.lightbox-modal img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.cookie-bar.is-open {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 20, 26, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

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

  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: 78vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
