:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-muted: #efeee9;
  --ink: #161513;
  --ink-soft: #4a4740;
  --line: #e4e1da;
  --accent: #7a6548;
  --accent-dark: #5c4a33;
  --accent-soft: #f0ebe3;
  --focus: #7a6548;
  --shadow: 0 12px 40px rgba(22, 21, 19, 0.08);
  --radius: 2px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
}

*,
*::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(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

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

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

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

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

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

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

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.94) 100%
  );
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.5rem;
  color: var(--ink);
}

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

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

.section-soft {
  background: var(--bg-soft);
}

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

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

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

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

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.gallery picture {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-muted);
}

.gallery picture > * {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

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

.gallery figcaption {
  padding: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

/* Contact / visit */
.visit-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.info-block h3 {
  margin-bottom: 0.5rem;
}

.info-block p,
.info-block a {
  margin: 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.info-block a:hover {
  color: var(--ink);
  text-decoration: underline;
}

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

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

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

/* Accordion */
.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.15rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger span {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-trigger span {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
}

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

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

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

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

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

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

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

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

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

/* Legal pages */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(135deg, #ffffff 0%, #f6f5f2 55%, #efeae2 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 40rem;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

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

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

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-inline: auto;
}

.cta-band .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.cta-band .btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-band .btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

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

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

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

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

.footer-links a {
  display: inline-block;
  padding: 0.25rem 0;
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--ink);
}

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

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Modals / popups */
html.age-verified #age-gate {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 19, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(100%, 440px);
  background: #fff;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0);
}

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

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

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

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-bar.is-visible {
  display: block;
  animation: fadeUp 0.4s ease;
}

.cookie-bar p {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

/* Location cards */
.locations {
  display: grid;
  gap: 1rem;
}

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

.location-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.location-card p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

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

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

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

/* Reveal animation helper */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .visit-panel,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

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

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

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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