:root {
  --bg: #eef2ef;
  --bg-deep: #e2eae4;
  --surface: #fbfcfb;
  --ink: #1c2b24;
  --ink-soft: #3d4f46;
  --muted: #5a6b63;
  --accent: #c45c26;
  --accent-hover: #a34a1c;
  --accent-soft: #f3e4db;
  --teal: #2f5d50;
  --teal-soft: #d5e4de;
  --border: #c9d5ce;
  --danger: #9b2c2c;
  --ok: #1f6b45;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(28, 43, 36, 0.08);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Petrona", Georgia, serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 92, 38, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47, 93, 80, 0.1), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal);
  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: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.55em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

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

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

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

.btn--secondary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn--secondary:hover {
  background: #244a40;
  color: #fff;
}

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

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

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

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

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

.site-nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

@media (max-width: 900px) {
  .site-header__toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: var(--ink);
  color: #d7e0db;
}

.site-footer a { color: #e8f0eb; }
.site-footer a:hover { color: #f3c9b0; }

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.site-footer__tag { margin: 0; color: #a8b8b0; font-size: 0.95rem; }
.site-footer__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.site-footer__links li { margin-bottom: 0.35rem; }

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  color: #8fa099;
}

@media (max-width: 800px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border-top: 2px solid var(--teal);
  box-shadow: 0 -8px 30px rgba(28, 43, 36, 0.12);
  padding: 1rem;
  animation: slideUp 0.35s ease;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  width: min(100% - 0.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.98rem;
}

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

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@keyframes softReveal {
  from { opacity: 0; clip-path: inset(0 12% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

.reveal {
  animation: fadeInUp 0.7s ease both;
}

.reveal--delay { animation-delay: 0.15s; }
.reveal--delay-2 { animation-delay: 0.3s; }

/* Page hero variants */
.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  padding: 3.5rem 0 2.5rem;
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.page-hero__lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.page-hero__media {
  position: relative;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: softReveal 1s ease both;
}

.page-hero__caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 800px) {
  .page-hero--split {
    grid-template-columns: 1fr;
  }
  .page-hero__media img { aspect-ratio: 16/10; }
}

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

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

.section--tight { padding: 2rem 0; }

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

.section__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.surface-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

@media (max-width: 700px) {
  .offer-grid { grid-template-columns: 1fr; }
}

.offer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.offer-item__img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.offer-item__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.offer-item__body h3 {
  margin-bottom: 0.35rem;
}

.offer-item__body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.offer-item__body h3 a:hover { color: var(--accent); }

.offer-item__meta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* Flagship strip */
.flagship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--ink);
  color: #dce6e1;
  border-radius: var(--radius);
  overflow: hidden;
}

.flagship__content {
  padding: 2.25rem;
}

.flagship__content h2 { color: #fff; }

.flagship__content p { color: #b8c7c0; }

.flagship img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .flagship { grid-template-columns: 1fr; }
  .flagship img { min-height: 200px; max-height: 260px; }
}

/* Evidence / quotes */
.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
}

.quote p {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.quote__meta {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.quote__meta strong { color: var(--ink); }

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  background: var(--teal-soft);
  font-weight: 600;
}

.price-table tr:last-child td { border-bottom: 0; }

.price-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

/* Blog */
.post-list {
  display: grid;
  gap: 1.5rem;
}

.post-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-row img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.post-row__body { padding: 1.1rem 1.1rem 1.1rem 0; }

.post-row__date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

@media (max-width: 650px) {
  .post-row { grid-template-columns: 1fr; }
  .post-row__body { padding: 0 1.1rem 1.2rem; }
}

.prose { max-width: 42rem; }
.prose p { margin-bottom: 1.15rem; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 2px;
}

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

.form__row {
  display: grid;
  gap: 0.35rem;
}

.form__row--2 {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form__row--2 { grid-template-columns: 1fr; }
}

label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
}

.form-status--ok {
  background: #e2f3ea;
  color: var(--ok);
  border: 1px solid #a8d5bc;
}

.form-status--err {
  background: #f8e8e8;
  color: var(--danger);
  border: 1px solid #e0b4b4;
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Detail lists */
.checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Calendar / briefings custom page */
.calendar-grid {
  display: grid;
  gap: 1rem;
}

.calendar-item {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
}

.calendar-item__date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.calendar-item__date span {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 650px) {
  .calendar-item {
    grid-template-columns: 1fr;
  }
}

/* Legal */
.legal {
  max-width: 46rem;
  padding-bottom: 3rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
}

.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.legal th { background: var(--teal-soft); font-family: var(--font-display); }

/* 404 */
.error-page {
  text-align: center;
  padding: 5rem 1rem 4rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--teal);
  margin-bottom: 0.2em;
}

/* Team / about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

@media (max-width: 750px) {
  .about-grid { grid-template-columns: 1fr; }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.values article {
  background: var(--surface);
  border-top: 3px solid var(--teal);
  padding: 1.25rem;
}

@media (max-width: 700px) {
  .values { grid-template-columns: 1fr; }
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  border-radius: var(--radius);
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}

.faq-list p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
}

.story-block {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--teal-soft);
  border-radius: var(--radius);
}

.meta-line {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
}
