:root {
  --bg: #f4f6f4;
  --bg-alt: #e8eee9;
  --ink: #121a16;
  --ink-soft: #3d4a42;
  --line: #c9d2cb;
  --emerald: #0b3d2e;
  --emerald-deep: #072820;
  --gold: #b8975a;
  --gold-soft: #d4bc8a;
  --white: #ffffff;
  --overlay: rgba(7, 20, 16, 0.72);
  --shadow: 0 18px 40px rgba(11, 61, 46, 0.12);
  --radius: 2px;
  --max: 1120px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", Candara, "Gill Sans", sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--emerald-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

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(--emerald);
  color: var(--white);
  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(244, 246, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

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

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

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

.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(--emerald);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  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(7, 40, 32, 0.35) 0%, rgba(7, 40, 32, 0.78) 72%, rgba(7, 40, 32, 0.92) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(184, 151, 90, 0.18), transparent 45%);
}

.hero-content {
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.hero-brand em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 32rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--emerald-deep);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--emerald-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

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

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

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

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

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--emerald-deep);
}

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

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.cta-band {
  background:
    linear-gradient(135deg, var(--emerald-deep), var(--emerald)),
    radial-gradient(circle at 90% 10%, rgba(184, 151, 90, 0.25), transparent 40%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  opacity: 0.9;
  max-width: 36rem;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

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

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

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

.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.address-list li {
  padding-left: 0;
  color: var(--ink-soft);
}

.address-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

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

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

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

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

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

/* Legal / content pages */
.page-hero {
  padding: clamp(3rem, 8vw, 4.5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #eef2ef 0%, var(--bg) 100%);
}

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

.prose {
  max-width: 48rem;
}

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

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

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

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

.job-item,
.partner-item {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

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

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink);
}

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

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(11, 61, 46, 0.25);
  border-color: var(--emerald);
}

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

.form-success {
  display: none;
  padding: 1rem;
  background: #e5f0ea;
  border: 1px solid #b7d2c4;
  color: var(--emerald-deep);
}

.form-success.is-visible {
  display: block;
  animation: fade 0.3s ease;
}

/* Footer */
.site-footer {
  background: var(--emerald-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
}

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

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

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

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

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
  animation: fade 0.25s ease;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.modal-dialog {
  position: relative;
  width: min(100%, 440px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  animation: rise 0.35s ease;
}

.modal-dialog h2 {
  font-size: 1.55rem;
}

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

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

.cookie-bar.is-open {
  display: block;
  animation: rise 0.35s ease;
}

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

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--overlay);
}

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

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.4rem;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1.1rem;
  }

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

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

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

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