:root {
  --bg: #0f1114;
  --bg-elevated: #171a1f;
  --bg-soft: #1e232b;
  --line: #2a313c;
  --text: #e8e6e1;
  --muted: #9aa3b0;
  --accent: #c4a35a;
  --accent-hover: #d4b66e;
  --accent-dim: rgba(196, 163, 90, 0.14);
  --danger: #b85c5c;
  --radius: 2px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(196, 163, 90, 0.08), transparent 55%),
    linear-gradient(180deg, #12151a 0%, var(--bg) 28%);
  min-height: 100vh;
}

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

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

a:hover,
a:focus-visible {
  color: var(--accent-hover);
}

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

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

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

.brand:hover {
  color: var(--text);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

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

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

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

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

.site-nav a {
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

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

.site-nav .nav-cta {
  margin-left: 0.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.45rem 0.9rem;
}

.site-nav .nav-cta:hover {
  background: var(--accent-dim);
  color: var(--accent-hover);
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 17, 20, 0.35) 0%, rgba(15, 17, 20, 0.72) 45%, rgba(15, 17, 20, 0.96) 100%),
    linear-gradient(90deg, rgba(15, 17, 20, 0.75) 0%, rgba(15, 17, 20, 0.2) 60%);
}

.hero-content {
  padding: 4rem 0 5rem;
  max-width: 640px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

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

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34ch;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #151515;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  color: #111;
}

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

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

.btn-block {
  width: 100%;
}

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

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

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

.section-head h1,
.section-head h2,
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 68ch;
}

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

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

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

.prose li {
  margin-bottom: 0.4rem;
}

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

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

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

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

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

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

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

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.info-block p,
.info-block li {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.info-block a {
  color: var(--accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 400;
}

.hours-table th {
  color: var(--text);
  width: 45%;
}

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

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

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

.accordion-trigger::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "–";
}

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

.accordion-panel.open {
  display: block;
}

/* Tabs for locations */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.tab-btn[aria-selected="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* CTA band */
.cta-band {
  padding: 3.5rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(196, 163, 90, 0.08), transparent),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  max-width: 40ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

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

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

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

.form-success {
  display: none;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  padding: 1rem 1.15rem;
  color: var(--text);
}

.form-success.show {
  display: block;
}

/* Job list */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

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

.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.75rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

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

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--text);
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

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

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

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

.overlay.open {
  display: flex;
}

.modal {
  width: min(100%, 440px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  text-align: center;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 0.75rem;
}

.modal p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.modal-actions {
  display: grid;
  gap: 0.65rem;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-bar.open {
  display: block;
}

.cookie-bar p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

.page-hero .page-title {
  margin-bottom: 0.65rem;
}

/* Lightbox-like image popup */
.image-popup .modal {
  width: min(100%, 900px);
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.image-popup img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.image-popup .popup-caption {
  padding: 1rem 1.25rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: rise 0.8s ease both;
  }

  .gallery figure {
    animation: rise 0.7s ease both;
  }

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

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

  .info-block {
    transition: border-color 0.25s ease, transform 0.25s ease;
  }

  .info-block:hover {
    border-color: rgba(196, 163, 90, 0.45);
    transform: translateY(-2px);
  }
}

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

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

  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .site-nav a {
    padding: 0.85rem 1rem;
  }

  .site-nav .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-bar {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
