:root {
  --bg: #0f1412;
  --bg-elevated: #171e1b;
  --bg-soft: #f4f3ef;
  --surface: #1c2622;
  --ink: #f4f3ef;
  --ink-muted: #a8b0ab;
  --ink-dark: #1a221f;
  --ink-dark-muted: #5c6762;
  --accent: #b8975a;
  --accent-soft: #d4bc8a;
  --line: rgba(184, 151, 90, 0.28);
  --line-soft: rgba(244, 243, 239, 0.1);
  --danger: #8b3a3a;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

*,
*::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;
  text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

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

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

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

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

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

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

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

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

.brand img {
  width: 44px;
  height: 44px;
}

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

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

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

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

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

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

.nav .btn {
  margin-left: 0.4rem;
}

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

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

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

.btn-ghost:hover {
  background: var(--accent);
  color: var(--bg);
}

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

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

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

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 20, 18, 0.35) 0%, rgba(15, 20, 18, 0.72) 48%, rgba(15, 20, 18, 0.96) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(184, 151, 90, 0.18), transparent 50%);
}

.hero-content {
  padding: 5.5rem 0 3.5rem;
  max-width: 720px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero p {
  color: var(--ink-muted);
  font-size: 1.08rem;
  max-width: 38ch;
}

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

.section-light {
  background: var(--bg-soft);
  color: var(--ink-dark);
}

.section-light a {
  color: #7a5d2e;
}

.section-light .ink-muted,
.section-light .lead {
  color: var(--ink-dark-muted);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

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

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

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
}

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

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

.gallery-caption {
  padding: 0.9rem 0.2rem 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.section-light .gallery-caption {
  color: var(--ink-dark-muted);
}

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

.section-light .split-panel {
  background: #fff;
  border-color: rgba(26, 34, 31, 0.08);
}

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

.info-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-light .info-list li {
  border-bottom-color: rgba(26, 34, 31, 0.08);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-value,
.info-value a {
  color: inherit;
  text-decoration: none;
}

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

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

.section-light .accordion {
  border-top-color: rgba(26, 34, 31, 0.1);
}

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

.section-light .accordion-item {
  border-bottom-color: rgba(26, 34, 31, 0.1);
}

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

.accordion-btn::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1;
}

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

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

.section-light .accordion-panel {
  color: var(--ink-dark-muted);
}

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

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

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

.form label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(26, 34, 31, 0.16);
  background: #fff;
  color: var(--ink-dark);
  font: inherit;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(184, 151, 90, 0.45);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-dark-muted);
}

.form-success {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(26, 61, 50, 0.25);
  background: rgba(26, 61, 50, 0.08);
  color: var(--ink-dark);
}

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

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

.page-hero p {
  max-width: 60ch;
  color: var(--ink-muted);
}

.content-block {
  padding: 3rem 0 4.5rem;
}

.prose {
  max-width: 760px;
}

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

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

.vacancy {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.vacancy:last-child {
  border-bottom: 0;
}

.vacancy h3 {
  margin-bottom: 0.35rem;
}

.meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

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

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

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

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

.footer-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

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

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

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

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

.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.85rem;
}

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

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

.modal {
  width: min(100%, 460px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
}

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

.modal p {
  color: var(--ink-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.lightbox-modal {
  width: min(100%, 920px);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
}

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

.lightbox-close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

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

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

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

body.age-locked {
  overflow: hidden;
}

body.age-locked .site-header,
body.age-locked main,
body.age-locked .site-footer,
body.age-locked .cookie-bar {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

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

  .hero-content {
    animation: rise 0.9s ease both;
  }

  .brand img {
    transition: transform 0.35s ease;
  }

  .brand:hover img {
    transform: rotate(-6deg) scale(1.04);
  }
}

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

/* Responsive */
@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;
    padding: 0.75rem 1rem 1rem;
    background: rgba(15, 20, 18, 0.98);
    border-bottom: 1px solid var(--line-soft);
  }

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

  .nav a,
  .nav .btn {
    margin: 0;
    padding: 0.85rem 0.2rem;
  }

  .nav .btn {
    margin-top: 0.4rem;
    width: 100%;
  }

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

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

  .modal,
  .cookie-bar {
    padding: 1.25rem;
  }

  .modal-actions,
  .btn-row {
    flex-direction: column;
  }

  .modal-actions .btn,
  .btn-row .btn {
    width: 100%;
  }
}
