/* Flow Cascade Hub — contemporary structure + soft creative accents */
:root {
  --ink: #1a2b2f;
  --ink-soft: #3d5258;
  --muted: #5f7379;
  --bg: #edf2f1;
  --bg-deep: #dfe8e5;
  --surface: #f8fbfa;
  --surface-elev: #ffffff;
  --accent: #1e4d45;
  --accent-mid: #2f6b60;
  --accent-soft: #7eb8a8;
  --highlight: #c4a574;
  --line: rgba(30, 77, 69, 0.14);
  --danger: #9b3b3b;
  --ok: #1e5c45;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(26, 43, 47, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 184, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 165, 116, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-mid);
  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: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin: 0 0 0.7rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f8e8e8;
  color: var(--danger);
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 250, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 70% 28%, var(--highlight) 0 22%, transparent 23%),
    linear-gradient(145deg, var(--accent-soft), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-elev);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 77, 69, 0.22);
}

.btn-primary:hover {
  background: var(--accent-mid);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(30, 77, 69, 0.06);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero variants */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px 28px 28px 80px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: gentle-zoom 18s var(--ease) infinite alternate;
}

.hero-panel {
  padding: 0.5rem 0 1rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--accent);
}

.hero-statement {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}

.hero-support {
  max-width: 28rem;
}

.hero-band {
  background:
    linear-gradient(120deg, rgba(30, 77, 69, 0.92), rgba(47, 107, 96, 0.85)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80")
      center/cover;
  color: #fff;
  border-radius: 0 0 48px 48px;
  padding: 5rem 0 4.5rem;
  margin-bottom: 0;
}

.hero-band h1,
.hero-band p {
  color: #f4faf8;
}

.hero-band .eyebrow {
  color: var(--highlight);
}

.hero-split-text {
  max-width: 34rem;
}

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

.offer-card {
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.offer-card-body {
  padding: 1.25rem 1.3rem 1.5rem;
}

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

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

/* Feature / process strips */
.asymmetric {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.asymmetric.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.asymmetric.reverse .asymmetric-media {
  order: 2;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.frame::after {
  content: "";
  position: absolute;
  inset: auto 8% -12px 8%;
  height: 24px;
  background: rgba(30, 77, 69, 0.12);
  filter: blur(12px);
  z-index: -1;
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.6rem;
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Quotes */
.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--surface-elev);
  border-left: 4px solid var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 24px rgba(26, 43, 47, 0.04);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-elev);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.rate-table th {
  background: rgba(30, 77, 69, 0.06);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  white-space: nowrap;
}

.note-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: rgba(196, 165, 116, 0.14);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196, 165, 116, 0.35);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-elev);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  flex: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

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

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

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

.contact-card address {
  font-style: normal;
  line-height: 1.8;
  color: var(--ink-soft);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent-mid);
}

.field-error {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--danger);
  margin-top: 0.3rem;
}

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

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: rgba(30, 92, 69, 0.1);
  color: var(--ok);
}

.form-status.is-error {
  background: #f8e8e8;
  color: var(--danger);
}

/* Legal */
.legal {
  max-width: 760px;
}

.legal h2 {
  margin-top: 2.25rem;
}

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

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

.legal th {
  background: rgba(30, 77, 69, 0.06);
}

/* Page chrome */
.page-hero {
  padding: 3.25rem 0 2rem;
}

.page-hero .lede {
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #163832;
  color: #d7e8e3;
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: #b7cec7;
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 2rem;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: #d7e8e3;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col address {
  font-style: normal;
  line-height: 1.75;
  color: #b7cec7;
}

.footer-col address a {
  color: #d7e8e3;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: #92ada5;
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
}

.cookie-banner-inner {
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* 404 */
.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin: 0;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@keyframes gentle-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-visual img {
    animation: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .asymmetric,
  .asymmetric.reverse,
  .contact-grid,
  .offer-grid,
  .blog-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .asymmetric.reverse .asymmetric-media {
    order: 0;
  }

  .hero-visual {
    min-height: 280px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(248, 251, 250, 0.98);
    padding: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow: auto;
  }

  .site-nav.is-open {
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-list a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .rate-table th,
  .rate-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
}
