/* =========================================================================
   TEKAMAREA — Boutique Yacht Charter
   Design language: nautical chart. Ink navy + parchment + weathered
   verdigris/brass, coordinate-style eyebrows, hairline chart-grid rules,
   single-stroke line art instead of photography.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* --- palette --------------------------------------------------------- */
  --ink:            #14232B;   /* primary text on parchment */
  --ink-soft:       #3C4E56;   /* secondary text on parchment */
  --parchment:      #F4EFE4;   /* light section ground */
  --parchment-deep: #E9E1CE;   /* light section card surface */
  --night:          #0F1D23;   /* dark section ground */
  --night-deep:     #0B1519;   /* dark section card surface */
  --paper:          #EDE6D6;   /* text on dark ground */
  --paper-soft:     #B9C2BE;   /* secondary text on dark ground */
  --verdigris:      #4C7A72;   /* primary accent */
  --verdigris-deep: #345450;   /* accent hover / on-light emphasis */
  --verdigris-lift: #7FA79E;   /* accent on dark ground */
  --brass:          #A67C4E;   /* secondary accent, used sparingly */
  --line-on-light:  rgba(20, 35, 43, 0.16);
  --line-on-dark:   rgba(237, 230, 214, 0.16);

  /* --- type -------------------------------------------------------------*/
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-body:    'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --measure: 62ch;
  --container: 1180px;
}

/* --- reset / base -------------------------------------------------------*/
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- coordinate eyebrow / labels -----------------------------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verdigris);
  margin-bottom: 18px;
}
.on-dark .eyebrow { color: var(--verdigris-lift); }
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* --- buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  background: transparent;
}
.btn-primary {
  color: var(--parchment);
  background: var(--ink);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--verdigris-deep); border-color: var(--verdigris-deep); }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-on-light);
}
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-primary {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
}
.on-dark .btn-primary:hover { background: var(--verdigris-lift); border-color: var(--verdigris-lift); }
.on-dark .btn-ghost {
  color: var(--paper);
  border-color: var(--line-on-dark);
}
.on-dark .btn-ghost:hover { border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- header / nav ----------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-on-light);
}
.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
}
.brand {
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  justify-self: center;
}
.brand .mark { color: var(--verdigris); font-size: 1.4rem; }
.brand .word { font-size: 1.3rem; letter-spacing: 0.01em; display: block; }
.brand .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  color: var(--verdigris-deep);
  margin-top: 4px;
}

.nav-lang {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  justify-self: start;
}
.nav-lang a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 3px 7px;
  border: 1px solid transparent;
}
.nav-lang a[aria-current="true"] {
  color: var(--ink);
  border-color: var(--line-on-light);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 2px;
  justify-self: end;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--ink); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- primary nav (desktop): centered row under the logo, Fraser-style --- */
.primary-nav {
  border-top: 1px solid var(--line-on-light);
}
.primary-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 44px;
}
.primary-nav > ul > li {
  position: relative;
}
.primary-nav > ul > li > a {
  display: block;
  padding: 15px 2px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a[aria-current="page"] {
  color: var(--ink);
}
.primary-nav .dropdown {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  background: var(--parchment);
  border: 1px solid var(--line-on-light);
  box-shadow: 0 14px 30px rgba(15, 29, 35, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}
.primary-nav .has-dropdown.is-open .dropdown,
.primary-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.primary-nav .dropdown a {
  display: block;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav .dropdown a:hover { color: var(--verdigris-deep); }

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* --- full-screen mega menu --------------------------------------------------*/
.mega-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--parchment);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mega-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
body.mega-nav-open { overflow: hidden; }
.mega-nav-hero {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.mega-nav-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,29,35,0.35), rgba(15,29,35,0.15) 60%, var(--parchment));
}
.mega-nav-close {
  position: absolute;
  top: 22px; right: 24px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244,239,228,0.6);
  background: rgba(15,29,35,0.35);
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.mega-nav-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 24px 70px;
}
.mega-nav-list { list-style: none; margin: 0; padding: 0; }
.mega-nav-list > li { border-bottom: 1px solid var(--line-on-light); }
.mega-nav-list > li > a,
.mega-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  padding: 20px 0;
}
.mega-nav-list > li > a[aria-current="page"] { color: var(--verdigris-deep); }
.mega-nav-parent .chevron { font-size: 1.2rem; color: var(--ink-soft); transition: transform 0.2s ease; }
.mega-nav-item.is-open .mega-nav-parent .chevron { transform: rotate(90deg); }
.mega-nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 18px 4px;
  display: none;
}
.mega-nav-item.is-open .mega-nav-sublist { display: block; }
.mega-nav-sublist a {
  display: block;
  padding: 9px 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.mega-nav-sublist a:hover { color: var(--verdigris-deep); }
.mega-nav-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.mega-nav-foot a { color: var(--ink-soft); text-decoration: none; }
.mega-nav-foot a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .mega-nav-list > li > a, .mega-nav-parent { font-size: 1.25rem; }
  .nav-toggle em { display: none; }
}

/* --- sections --------------------------------------------------------------*/
.section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
.on-dark { background: var(--night); color: var(--paper); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark p { color: var(--paper-soft); }
.on-light { background: var(--parchment); }
.on-deep { background: var(--parchment-deep); }

.divider {
  border: none;
  border-top: 1px solid var(--line-on-light);
  margin: 0;
}
.on-dark .divider { border-top-color: var(--line-on-dark); }

.chart-grid {
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* --- hero --------------------------------------------------------------*/
.hero {
  padding: 150px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}
.hero h1 { max-width: 13ch; }
.hero-sub { font-size: 1.1rem; margin-top: 26px; max-width: 46ch; color: var(--paper-soft); }
.hero-figure { justify-self: end; opacity: 0.9; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
}

/* --- photographic hero (replaces chart-grid on pages with real imagery) */
.hero-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,29,35,0.72) 0%, rgba(15,29,35,0.55) 45%, rgba(15,29,35,0.88) 100%);
  z-index: 1;
}
.hero-photo .container { position: relative; z-index: 2; }

/* --- page header (non-home hero) -----------------------------------------*/
.page-header { padding: 150px 0 80px; }
.page-header h1 { max-width: 16ch; }
.page-header .lede { font-size: 1.08rem; margin-top: 22px; max-width: 58ch; }

.page-header-photo {
  padding: 150px 0 90px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--paper);
}
.page-header-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,29,35,0.68) 0%, rgba(15,29,35,0.82) 100%);
  z-index: 1;
}
.page-header-photo .container { position: relative; z-index: 2; }
.page-header-photo h1 { color: var(--paper); max-width: 16ch; }
.page-header-photo .lede { color: var(--paper-soft); }
.page-header-photo .eyebrow { color: var(--verdigris-lift); }

/* --- full-bleed photo band ------------------------------------------------*/
.photo-band {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 130px 0;
  color: var(--paper);
  text-align: center;
}
.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,29,35,0.5) 0%, rgba(15,29,35,0.72) 100%);
  z-index: 1;
}
.photo-band .container { position: relative; z-index: 2; max-width: 760px; }
.photo-band h2 { color: var(--paper); }
.photo-band p { color: var(--paper-soft); margin: 20px auto 0; }

/* --- feature / value grid ------------------------------------------------*/
.grid {
  display: grid;
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
.on-dark .grid { background: var(--line-on-dark); border-color: var(--line-on-dark); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 780px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* --fit variant: for item counts that don't divide evenly into the column
   count, so an incomplete last row doesn't show a filled empty-cell block.
   Each cell carries its own border instead of relying on the shared
   background-through-the-gap trick. */
.grid-fit { background: transparent; border: none; }
.grid-fit .grid-cell { border: 1px solid var(--line-on-light); }
.on-dark .grid-fit .grid-cell { border-color: var(--line-on-dark); }

.grid-cell {
  background: var(--parchment);
  padding: 42px 38px;
}
.on-dark .grid-cell { background: var(--night); }
.on-deep .grid-cell { background: var(--parchment-deep); }
.grid-cell .index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--verdigris);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 18px;
}
.grid-cell h3 { margin-bottom: 12px; }
.grid-cell p { color: var(--ink-soft); font-size: 0.96rem; }
.on-dark .grid-cell p { color: var(--paper-soft); }

.grid-cell img.dest-photo {
  display: block;
  width: calc(100% + 76px);
  margin: -42px -38px 24px;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- section heading row ---------------------------------------------------*/
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head p { color: var(--ink-soft); max-width: 40ch; }
.on-dark .section-head p { color: var(--paper-soft); }
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* --- destination / fleet cards --------------------------------------------*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.dest-card {
  background: var(--parchment);
  padding: 34px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.dest-card:hover { background: var(--parchment-deep); }
.dest-card .coord {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--verdigris-deep);
  letter-spacing: 0.04em;
}
.dest-card h3 { margin: 14px 0 10px; }
.dest-card p { font-size: 0.92rem; color: var(--ink-soft); }
.dest-card .season {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- fleet category detail ------------------------------------------------*/
.fleet-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.fleet-item:not(:last-child) { border-bottom: 1px solid var(--line-on-light); }
.fleet-item .stat-row { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.fleet-item .stat { font-family: var(--font-mono); }
.fleet-item .stat .num { display: block; font-size: 1.3rem; color: var(--ink); }
.fleet-item .stat .label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 820px) { .fleet-item { grid-template-columns: 1fr; gap: 24px; } }

.vessel-mark { width: 100%; height: auto; color: var(--verdigris); }
.vessel-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- process / steps --------------------------------------------------------*/
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--night); padding: 40px 32px; }
.step .num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--verdigris-lift); display: block; margin-bottom: 20px; }
.step h3 { color: var(--paper); margin-bottom: 10px; }
.step p { color: var(--paper-soft); font-size: 0.94rem; }

/* --- quote ------------------------------------------------------------------*/
.quote {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
}
.quote-attr {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--verdigris-lift);
}

/* --- CTA band -----------------------------------------------------------*/
.cta-band { text-align: left; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }

/* --- form ---------------------------------------------------------------*/
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-on-light);
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 14px;
  border-radius: 2px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--verdigris);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); }
.form-status { margin-top: 18px; font-size: 0.9rem; }

.field-phone-group { display: flex; gap: 10px; }
.field-phone-group select {
  flex: 0 0 auto;
  width: auto;
  max-width: 120px;
}
.field-phone-group input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 420px) {
  .field-phone-group { flex-wrap: wrap; }
  .field-phone-group select { max-width: none; flex: 1 1 100%; }
}

/* --- contact info strip --------------------------------------------------*/
.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  margin-top: 64px;
}
@media (max-width: 900px) { .contact-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-strip .cell { background: var(--night); padding: 30px 28px; }
.contact-strip .cell .eyebrow { margin-bottom: 12px; }
.contact-strip .cell a,
.contact-strip .cell p { color: var(--paper); font-size: 1rem; text-decoration: none; }

/* --- footer --------------------------------------------------------------*/
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-footer { background: var(--night); color: var(--paper-soft); padding: 76px 0 34px; }
.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-newsletter > div:first-child { max-width: 46ch; }
.footer-newsletter h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-newsletter p { font-size: 0.92rem; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  border: 1px solid var(--line-on-dark);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 12px 14px;
  border-radius: 2px;
  min-width: 220px;
}
.newsletter-form input::placeholder { color: var(--paper-soft); }
.newsletter-form input:focus { outline: none; border-color: var(--verdigris); }
.newsletter-status { width: 100%; font-size: 0.85rem; margin: 4px 0 0; color: var(--verdigris-lift); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-brand { font-family: var(--font-display); color: var(--paper); font-size: 1.3rem; margin-bottom: 4px; }
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--verdigris-lift);
  margin-bottom: 18px;
}
.footer-tagline { max-width: 36ch; font-size: 0.92rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.92rem; color: var(--paper-soft); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--paper-soft);
}

/* --- reveal on scroll -------------------------------------------------
   Progressive enhancement: elements are fully visible by default so
   no-JS browsers and crawlers always see full content. JS adds
   .pre-reveal only when it can also guarantee removing it again. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal.pre-reveal { opacity: 1; transform: none; transition: none; }
}

/* --- tag list (variable-count label groups: values, client types) --------*/
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tag-list .tag {
  font-family: var(--font-display);
  font-size: 1.05rem;
  border: 1px solid var(--line-on-light);
  padding: 16px 26px;
  background: var(--parchment-deep);
}
.on-dark .tag-list .tag,
.on-deep .tag-list .tag { border-color: var(--line-on-light); background: var(--parchment); }

/* --- utility --------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-lg { margin-top: 56px; }
.small-caps {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- WhatsApp floating button ---------------------------------------------*/
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(15, 29, 35, 0.32);
  z-index: 80;
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.2s ease;
}
body.cookie-banner-visible .whatsapp-fab { bottom: 108px; }
@media (max-width: 700px) { body.cookie-banner-visible .whatsapp-fab { bottom: 176px; } }
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 29, 35, 0.4); }
@media (max-width: 560px) { .whatsapp-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

/* --- Cookie consent banner --------------------------------------------------*/
.cookie-banner {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--night);
  color: var(--paper-soft);
  border-top: 1px solid var(--line-on-dark);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p { margin: 0; max-width: 62ch; font-size: 0.88rem; }
.cookie-banner-inner p a { color: var(--verdigris-lift); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.82rem; }
@media (max-width: 700px) { .cookie-banner-inner { flex-direction: column; align-items: flex-start; } }
