/* Wadden Wildlife Trust — conservation foundation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ocean: #0d2a3f;
  --ocean-deep: #061826;
  --sand: #e7d6b3;
  --sand-soft: #f4ebd6;
  --sage: #5a8276;
  --sage-deep: #3f6056;
  --coral: #d97a4a;
  --bone: #fffaf2;
  --line: #c8b88f;
  --gray-ink: #2a3540;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bone);
  color: var(--gray-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sage-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--ocean); }

/* ----- Hero ----- */
.wwt-hero {
  background: linear-gradient(180deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--sand);
  padding: 28px 0 80px;
  position: relative;
  overflow: hidden;
}
.wwt-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to right,
    var(--bone) 0%, var(--bone) 5%,
    transparent 5%, transparent 8%,
    var(--bone) 8%, var(--bone) 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 90 50 180 30 T 360 30 T 540 30 T 720 30 T 900 30 T 1080 30 T 1260 30 T 1440 30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 90 50 180 30 T 360 30 T 540 30 T 720 30 T 900 30 T 1080 30 T 1260 30 T 1440 30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
  background: var(--bone);
}
.wwt-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.wwt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 36px;
  flex-wrap: wrap;
  gap: 14px;
}
.wwt-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--sand); }
.wwt-logo__mark { display: inline-block; width: 38px; height: 38px; }
.wwt-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.wwt-nav a { color: var(--sand-soft); border-bottom: none; opacity: 0.85; transition: opacity 0.15s; }
.wwt-nav a:hover, .wwt-nav a.is-active { opacity: 1; color: var(--sand); border-bottom: 1px solid var(--sage); }

.wwt-hero__inner { max-width: 720px; }
.wwt-hero__pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(231, 214, 179, 0.12);
  color: var(--sand);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid rgba(231, 214, 179, 0.2);
}
.wwt-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--bone);
  margin-bottom: 24px;
}
.wwt-hero h1 em { font-style: italic; color: var(--sand); }
.wwt-hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 250, 242, 0.75);
  max-width: 580px;
  margin-bottom: 32px;
}
.wwt-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--ocean-deep);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  border-bottom: none;
  transition: background 0.15s, transform 0.15s;
}
.wwt-hero__cta:hover { background: #efa07a; color: var(--ocean-deep); transform: translateY(-1px); }

/* ----- Stats strip ----- */
.wwt-stats {
  background: var(--sand-soft);
  padding: 36px 0;
  border-top: 4px solid var(--sage);
}
.wwt-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) {
  .wwt-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}
.wwt-stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--ocean);
  letter-spacing: -1px;
}
.wwt-stat__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ----- Sections ----- */
.wwt-section { padding: 80px 0; }
.wwt-section--alt { background: var(--sand-soft); }
.wwt-section--ocean { background: var(--ocean); color: var(--sand-soft); }
.wwt-section--ocean h2, .wwt-section--ocean h3 { color: var(--bone); }
.wwt-section__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}
.wwt-section--ocean .wwt-section__kicker { color: var(--coral); }
.wwt-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ocean);
  margin-bottom: 18px;
  max-width: 720px;
}
.wwt-section__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-ink);
  max-width: 680px;
  margin-bottom: 40px;
}
.wwt-section--ocean .wwt-section__lead { color: rgba(255, 250, 242, 0.78); }

/* Pillars grid */
.wwt-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}
@media (max-width: 800px) {
  .wwt-pillars { grid-template-columns: 1fr; }
}
.wwt-pillar {
  background: var(--bone);
  padding: 32px 26px;
  border-radius: 6px;
  border-left: 4px solid var(--sage);
}
.wwt-section--alt .wwt-pillar { background: var(--bone); }
.wwt-pillar__icon { width: 36px; height: 36px; color: var(--sage-deep); margin-bottom: 16px; }
.wwt-pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--ocean);
}
.wwt-pillar p { color: #485561; font-size: 15px; }

/* Two-column */
.wwt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 820px) {
  .wwt-two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* Quote block */
.wwt-quote {
  background: var(--ocean);
  color: var(--sand);
  padding: 40px;
  border-radius: 6px;
  position: relative;
}
.wwt-quote::before {
  content: '"';
  font-family: var(--serif);
  font-size: 100px;
  line-height: 0.6;
  color: var(--coral);
  position: absolute;
  top: 20px; left: 30px;
}
.wwt-quote blockquote {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  padding-left: 30px;
  margin-bottom: 18px;
}
.wwt-quote cite {
  display: block;
  padding-left: 30px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(231, 214, 179, 0.7);
}

/* Article copy */
.wwt-article { max-width: 760px; margin: 0 auto; padding: 80px 28px; }
.wwt-article h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.5px;
  color: var(--ocean);
  margin-bottom: 24px;
  line-height: 1.1;
}
.wwt-article h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--ocean);
  margin: 36px 0 12px;
}
.wwt-article p { margin-bottom: 18px; color: var(--gray-ink); }
.wwt-article ul, .wwt-article ol { margin: 0 0 18px 22px; }
.wwt-article li { margin-bottom: 6px; }

/* Contact form */
.wwt-form { display: grid; gap: 18px; margin-top: 30px; }
.wwt-field { display: flex; flex-direction: column; gap: 6px; }
.wwt-field label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
}
.wwt-field input, .wwt-field textarea {
  background: var(--bone);
  border: 1.5px solid var(--line);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--gray-ink);
  border-radius: 4px;
  width: 100%;
}
.wwt-field textarea { min-height: 150px; resize: vertical; }
.wwt-field input:focus, .wwt-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(90, 130, 118, 0.15);
}
.wwt-submit {
  background: var(--ocean);
  color: var(--bone);
  border: none;
  padding: 14px 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  justify-self: start;
}
.wwt-submit:hover { background: var(--sage-deep); }

/* Contact grid */
.wwt-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 28px 0;
}
@media (max-width: 600px) { .wwt-info-grid { grid-template-columns: 1fr; } }
.wwt-info-card {
  background: var(--sand-soft);
  padding: 22px;
  border-radius: 4px;
  border-top: 3px solid var(--sage);
}
.wwt-info-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 8px;
}

/* Footer */
.wwt-foot {
  background: var(--ocean-deep);
  color: rgba(231, 214, 179, 0.7);
  padding: 50px 0 32px;
  font-size: 14px;
}
.wwt-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .wwt-foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
.wwt-foot__col h4 {
  font-family: var(--serif);
  color: var(--sand);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 14px;
}
.wwt-foot__col ul { list-style: none; padding: 0; }
.wwt-foot__col li { margin-bottom: 6px; }
.wwt-foot__col a { color: rgba(231, 214, 179, 0.7); border: none; }
.wwt-foot__col a:hover { color: var(--sand); }
.wwt-foot__copy {
  border-top: 1px solid rgba(231, 214, 179, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.wwt-foot__copy a { color: rgba(231, 214, 179, 0.7); border: none; }

/* Cookie banner — Wadden tide style */
.wwt-cookie {
  position: fixed;
  left: 24px; right: 24px;
  bottom: 24px;
  background: var(--ocean);
  color: var(--sand-soft);
  padding: 22px 26px;
  border-radius: 12px;
  box-shadow: 0 24px 60px -16px rgba(6, 24, 38, 0.55);
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(231, 214, 179, 0.15);
  max-width: 920px;
  margin: 0 auto;
}
.wwt-cookie__icon {
  width: 44px; height: 44px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  flex-shrink: 0;
}
.wwt-cookie__icon svg { width: 24px; height: 24px; }
.wwt-cookie__body { font-size: 14px; line-height: 1.55; }
.wwt-cookie__body strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--bone);
  margin-bottom: 4px;
}
.wwt-cookie__body a { color: var(--coral); border-bottom-color: var(--coral); }
.wwt-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.wwt-cookie__btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: var(--bone);
  transition: background 0.15s;
}
.wwt-cookie__btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.wwt-cookie__btn--ghost {
  background: transparent;
  color: var(--sand-soft);
  border-color: rgba(231, 214, 179, 0.3);
}
.wwt-cookie__btn--ghost:hover { background: rgba(231, 214, 179, 0.08); color: var(--bone); }
.wwt-cookie[hidden] { display: none; }
@media (max-width: 760px) {
  .wwt-cookie {
    grid-template-columns: 1fr;
    text-align: center;
    left: 12px; right: 12px;
    bottom: 12px;
    padding: 18px 20px;
  }
  .wwt-cookie__icon { margin: 0 auto; }
  .wwt-cookie__actions { justify-content: center; flex-wrap: wrap; }
}
