:root {
  --wf-ink: #142433;
  --wf-muted: #4a5d73;
  --wf-blue: #1c5f9e;
  --wf-blue-deep: #0f3d6b;
  --wf-blue-soft: #e8f1fa;
  --wf-mist: #f4f8fc;
  --wf-border: #d5e2ef;
  --wf-cta: #0f7a5c;
  --wf-cta-ink: #ffffff;
  --wf-cta-hover: #0c644b;
  --wf-white: #ffffff;
  --wf-serif: "Playfair Display", Georgia, serif;
  --wf-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wf-max: 64rem;
  --wf-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wf-sans);
  color: var(--wf-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(28, 95, 158, 0.10), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(15, 61, 107, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, var(--wf-mist) 40%, #eef4fa 100%);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--wf-blue);
  text-underline-offset: 2px;
}

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

.page-flex {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-band {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--wf-max);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 2rem);
  padding-right: clamp(1.25rem, 5vw, 2rem);
}

/* Header */
.wf-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 10px 24px;
  background: rgba(244, 248, 252, 0.92);
  border-bottom: 1px solid var(--wf-border);
  box-shadow: 0 1px 0 rgba(20, 36, 51, 0.05);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(8px);
}

.wf-brand {
  text-decoration: none;
  color: var(--wf-blue-deep);
  font-family: var(--wf-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  flex-shrink: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-header-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-left: auto;
  flex: 0 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.wf-nav {
  position: static;
  display: flex;
  align-items: center;
}

.wf-nav-toggle {
  display: none;
  border: 1px solid var(--wf-border);
  background: #eef4fa;
  color: var(--wf-ink);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.wf-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wf-nav-menu a {
  color: var(--wf-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

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

.wf-nav-dropdown {
  position: relative;
}

.wf-nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--wf-ink);
}

.wf-nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.wf-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 14rem;
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  border-radius: 10px;
  padding: 0.45rem;
  box-shadow: 0 10px 28px rgba(20, 36, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 100;
}

.wf-nav-dropdown-menu a {
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  font-size: 0.9rem;
}

.wf-nav-dropdown-menu a:hover {
  background: var(--wf-blue-soft);
}

.wf-lp-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--wf-border);
  background: var(--wf-blue-soft);
  color: var(--wf-blue-deep);
  text-decoration: none;
}

.wf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(12, 100, 75, 0.45);
  background: linear-gradient(180deg, #14906c 0%, var(--wf-cta) 100%);
  color: var(--wf-cta-ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15, 61, 107, 0.14);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  touch-action: manipulation;
}

.wf-cta-btn:hover {
  background: linear-gradient(180deg, #128564 0%, var(--wf-cta-hover) 100%);
  color: var(--wf-cta-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 61, 107, 0.18);
  filter: none;
}

.wf-cta-btn--lg {
  padding: 12px 20px;
  font-size: 0.95rem;
  min-height: 46px;
}

/* Sections */
.wf-section {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(213, 226, 239, 0.7);
}

.wf-section:first-child {
  border-top: none;
}

.wf-hero h1,
.wf-section h1,
.wf-section h2 {
  font-family: var(--wf-serif);
  color: var(--wf-ink);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.65rem;
}

.wf-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.wf-hero .lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.wf-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-top: 0.35rem;
}

.wf-text-link {
  color: var(--wf-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.wf-text-link:hover {
  text-decoration: underline;
}

.wf-section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.lede {
  color: var(--wf-muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 0 1rem;
}

.wf-copy p {
  margin: 0 0 0.85rem;
  color: #243447;
  max-width: 42rem;
}

.wf-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
}

.wf-feature-row--media-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.wf-feature-row--media-right .wf-feature-copy {
  order: 1;
}

.wf-feature-row--media-right .wf-feature-media {
  order: 2;
}

.wf-feature-row--copy-only {
  grid-template-columns: 1fr;
}

.wf-media-frame {
  border-radius: var(--wf-radius);
  overflow: hidden;
  background: linear-gradient(145deg, #1c5f9e, #0f3d6b);
  min-height: 220px;
  max-height: min(50vh, 400px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-align: center;
  padding: 1.25rem;
  border: 1px solid rgba(15, 61, 107, 0.25);
  position: relative;
}

.wf-media-frame--photo {
  padding: 0;
  color: inherit;
}

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

.wf-media-frame span {
  max-width: 14rem;
  line-height: 1.35;
}

.wf-media-caption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 30, 45, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.wf-ba {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.wf-ba-shot {
  position: relative;
  border-radius: var(--wf-radius);
  overflow: hidden;
  border: 1px solid rgba(15, 61, 107, 0.25);
  aspect-ratio: 4 / 3;
  background: #0f3d6b;
}

.wf-ba-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wf-ba-shot figcaption {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 30, 45, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

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

.wf-process li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--wf-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.wf-process strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--wf-blue-deep);
}

.wf-city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wf-city-list li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--wf-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--wf-blue-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.wf-price-soft {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--wf-blue-soft);
  border: 1px solid var(--wf-border);
  color: var(--wf-blue-deep);
  font-size: 0.98rem;
}

.wf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.9rem;
}

.wf-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--wf-border);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wf-link-card:hover {
  border-color: #9bb8d6;
  background: #fff;
}

.wf-link-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--wf-serif);
  font-size: 1.15rem;
  color: var(--wf-blue-deep);
}

.wf-link-card p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.95rem;
}

/* Forms */
.wf-form-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wf-border);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.05rem;
  box-shadow: 0 10px 28px rgba(20, 36, 51, 0.06);
}

.wf-form-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.wf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.wf-form-grid .span-2 {
  grid-column: 1 / -1;
}

.wf-form-panel label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
  color: #243447;
}

.wf-form-panel input,
.wf-form-panel select,
.wf-form-panel textarea {
  width: 100%;
  border: 1px solid #c7d6e6;
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  font: inherit;
  background: #fff;
  color: var(--wf-ink);
}

.wf-form-panel textarea {
  min-height: 5rem;
  resize: vertical;
}

.wf-form-panel button[type="submit"] {
  width: 100%;
  margin-top: 0.35rem;
  border: none;
  border-radius: 8px;
  padding: 0.78rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #2170b8 0%, var(--wf-blue) 100%);
  color: #fff;
}

.wf-form-panel button[type="submit"]:hover {
  filter: brightness(1.04);
}

.wf-form-status {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.wf-form-status[data-state="ok"] {
  color: #146c43;
}

.wf-form-status[data-state="error"] {
  color: #9b1c1c;
}

.wf-form-note {
  margin: 0.55rem 0 0;
  color: var(--wf-muted);
  font-size: 0.88rem;
}

.wf-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: #243447;
  cursor: pointer;
}

.wf-consent input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

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

/* Landing page hero */
.wf-lp-hero {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.wf-lp-hero h1 {
  text-align: center;
  font-family: var(--wf-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin: 0 auto 0.4rem;
  max-width: 48rem;
  line-height: 1.15;
}

.wf-lp-lede {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 0.85rem;
  color: var(--wf-muted);
}

.wf-lp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.9fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.wf-lp-visual {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c5f9e, #0f3d6b);
  min-height: clamp(240px, 40vh, 420px);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
}

.wf-lp-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-list-item {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--wf-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  color: inherit;
}

.blog-list-thumb {
  border-radius: 8px;
  overflow: hidden;
  background: var(--wf-blue-soft);
  min-height: 6.5rem;
}

.blog-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article {
  max-width: 44rem;
  margin: 0 auto;
}

.blog-article .blog-hero {
  border-radius: 14px;
  overflow: hidden;
  margin: 1rem 0 1.25rem;
  background: var(--wf-blue-soft);
  aspect-ratio: 16 / 9;
}

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

.blog-article .meta {
  color: var(--wf-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.blog-content h2,
.blog-content h3 {
  font-family: var(--wf-serif);
  margin-top: 1.4rem;
}

.blog-content p,
.blog-content li {
  color: #243447;
}

/* Footer */
.wf-footer {
  margin-top: auto;
  border-top: 1px solid var(--wf-border);
  background: #eef4fa;
  padding: 1.5rem 0 1.75rem;
}

.wf-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}

.wf-footer h3 {
  margin: 0 0 0.5rem;
  font-family: var(--wf-serif);
  font-size: 1.05rem;
}

.wf-footer a {
  color: var(--wf-blue-deep);
  text-decoration: none;
  display: inline-block;
  margin: 0.2rem 0;
}

.wf-footer a:hover {
  text-decoration: underline;
}

.wf-footer p {
  margin: 0.25rem 0;
  color: var(--wf-muted);
  font-size: 0.92rem;
}

.wf-footer-bottom {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--wf-border);
  color: var(--wf-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .wf-header {
    min-height: 66px;
    padding: 10px 12px;
    gap: 0.55rem;
  }

  .wf-brand {
    font-size: 1.15rem;
  }

  .wf-header-actions {
    gap: 0.5rem;
  }

  .wf-hero {
    padding: 1rem 0 1.1rem;
  }

  .wf-hero h1 {
    font-size: clamp(1.55rem, 6.2vw, 1.95rem);
    max-width: none;
    margin-bottom: 0.35rem;
    padding: 0 0.15rem;
  }

  .wf-hero .lede {
    font-size: 1rem;
  }

  .wf-section {
    padding: 1.1rem 0 1.25rem;
  }

  .wf-section h1,
  .wf-section h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem);
  }

  .container {
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
  }

  .wf-feature-row,
  .wf-feature-row--media-right,
  .wf-lp-grid,
  .wf-footer-grid,
  .blog-list-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Copy first on phones - placeholders shouldn't eat the first viewport */
  .wf-feature-row .wf-feature-copy,
  .wf-feature-row--media-right .wf-feature-copy {
    order: 1;
  }

  .wf-feature-row .wf-feature-media,
  .wf-feature-row--media-right .wf-feature-media {
    order: 2;
  }

  .wf-media-frame {
    min-height: 160px;
    max-height: min(36vh, 260px);
    aspect-ratio: 16 / 10;
  }

  .wf-ba {
    grid-template-columns: 1fr;
  }

  .wf-nav-toggle {
    display: inline-flex;
  }

  /* Full-bleed drawer under header (Address Rocks pattern) */
  .wf-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0;
    background: #f4f8fc;
    border-top: 1px solid var(--wf-border);
    border-bottom: 1px solid var(--wf-border);
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(20, 36, 51, 0.1);
    z-index: 80;
  }

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

  .wf-nav-menu > li {
    margin: 0;
  }

  .wf-nav-menu > li > a,
  .wf-nav-dropdown > details > summary {
    display: block;
    padding: 11px 20px;
    min-height: 44px;
    box-sizing: border-box;
    font-size: 0.95rem;
  }

  .wf-nav-menu a[aria-current="page"]::after {
    display: none;
  }

  .wf-nav-dropdown-menu {
    position: static;
    margin: 0.15rem 12px 0.35rem;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid var(--wf-border);
    background: #eef4fa;
    padding: 0.25rem 0;
    min-width: 0;
  }

  .wf-nav-dropdown-menu a {
    padding: 0.58rem 0.92rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .wf-cta-btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.83rem;
    border-radius: 10px;
  }

  .wf-section .wf-cta-btn,
  .wf-section .wf-cta-btn--lg {
    width: 100%;
  }

  .wf-lp-hero {
    padding-top: 0.35rem;
    padding-bottom: 1rem;
  }

  .wf-lp-hero h1 {
    font-size: clamp(1.35rem, 5.8vw, 1.75rem);
    max-width: none;
    margin-bottom: 0.35rem;
  }

  .wf-lp-lede {
    display: none;
  }

  /* Form above fold on Meta LPs */
  .wf-lp-grid {
    align-items: start;
  }

  .wf-lp-grid .wf-form-panel {
    order: 1;
    padding: 0.9rem 0.95rem 0.85rem;
    max-height: none;
    overflow: visible;
  }

  .wf-lp-grid .wf-lp-visual {
    order: 2;
    min-height: 140px;
    max-height: 160px;
    height: 150px;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.92rem;
  }

  .wf-form-grid {
    grid-template-columns: 1fr;
  }

  .wf-form-panel button[type="submit"] {
    min-height: 46px;
  }

  .wf-city-list li {
    font-size: 0.88rem;
  }

  .wf-footer {
    padding: 1.25rem 0 1.35rem;
  }

  .wf-footer-grid {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }

  .wf-header {
    padding: 8px 10px;
  }

  .wf-brand {
    font-size: 1.05rem;
  }

  .wf-cta-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}
