:root {
  --bg: #f3f8f6;
  --bg-soft: #fbfdfc;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(83, 92, 94, 0.12);
  --text: #445052;
  --text-soft: rgba(68, 80, 82, 0.74);
  --heading: #384244;
  --brand: #98d8c7;
  --brand-strong: #68b89f;
  --brand-deep: #4e9986;
  --brand-soft: rgba(152, 216, 199, 0.18);
  --white: #ffffff;
  --shadow-lg: 0 26px 70px rgba(73, 84, 86, 0.1);
  --shadow-md: 0 16px 36px rgba(73, 84, 86, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(152, 216, 199, 0.32), transparent 28%),
    radial-gradient(circle at top right, rgba(210, 219, 221, 0.52), transparent 22%),
    linear-gradient(180deg, #fcfefd 0%, var(--bg) 48%, #ebf4f0 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 66, 68, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 66, 68, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 80%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  --header-progress: 0;
  --header-pill-width: min(100%, calc(100% - ((100% - 560px) * var(--header-progress))));
  padding: calc(18px - (6px * var(--header-progress))) 0;
  backdrop-filter: blur(calc(12px + (10px * var(--header-progress))));
  transition:
    padding 260ms ease,
    backdrop-filter 260ms ease;
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(34px - (8px * var(--header-progress)));
  width: var(--header-pill-width);
  max-width: 100%;
  margin: 0 auto;
  padding: calc(16px - (6px * var(--header-progress))) calc(18px - (6px * var(--header-progress)));
  border: 1px solid rgba(83, 92, 94, calc(0.12 - (0.04 * var(--header-progress))));
  border-radius: 999px;
  background: rgba(251, 253, 252, calc(0.78 - (0.18 * var(--header-progress))));
  box-shadow: 0 calc(12px + (6px * var(--header-progress))) calc(24px + (16px * var(--header-progress)))
    rgba(73, 84, 86, calc(0.06 + (0.06 * var(--header-progress))));
  transform: translateY(calc(2px * var(--header-progress)));
  transition:
    gap 320ms ease,
    width 320ms ease,
    padding 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease,
    transform 320ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: calc(14px * (1 - var(--header-progress)));
  text-decoration: none;
  min-width: 0;
  position: relative;
  z-index: 1;
  transition:
    gap 260ms ease,
    transform 260ms ease;
}

.brand-logo {
  width: calc(56px - (12px * var(--header-progress)));
  height: calc(56px - (12px * var(--header-progress)));
  padding: calc(6px * (1 - var(--header-progress)));
  border-radius: calc(18px * (1 - var(--header-progress)));
  background: rgba(255, 255, 255, calc(0.94 * (1 - var(--header-progress))));
  box-shadow: 0 10px 22px rgba(73, 84, 86, calc(0.08 * (1 - var(--header-progress))));
  object-fit: contain;
  will-change: width, height, padding, transform;
  transition:
    width 260ms ease,
    height 260ms ease,
    padding 260ms ease,
    border-radius 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.brand-copy {
  display: grid;
  gap: 2px;
  max-width: calc(220px * (1 - var(--header-progress)));
  overflow: hidden;
  white-space: nowrap;
  transform-origin: left center;
  opacity: clamp(0, calc(1 - (1.4 * var(--header-progress))), 1);
  transform: translateX(calc(-10px * var(--header-progress))) scale(calc(1 - (0.04 * var(--header-progress))));
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-width 220ms ease,
    margin 220ms ease;
}

.brand-copy strong {
  color: var(--heading);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(700px * (1 - (0.35 * var(--header-progress))));
  overflow: hidden;
  white-space: nowrap;
  opacity: clamp(0, calc(1 - (1.45 * var(--header-progress))), 1);
  transform: translate(-50%, calc(-50% - (12px * var(--header-progress))))
    scale(calc(1 - (0.06 * var(--header-progress))));
  transform-origin: center;
  will-change: opacity, transform;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-width 220ms ease,
    max-height 220ms ease,
    padding 220ms ease,
    margin 220ms ease;
}

.site-nav a {
  position: relative;
  color: var(--heading);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav .nav-fun-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(78, 153, 134, 0.14);
  border-radius: 999px;
  background: rgba(152, 216, 199, 0.18);
  color: var(--brand-deep);
  font-weight: 700;
}

.site-nav .nav-fun-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-deep);
  box-shadow: 0 0 0 6px rgba(152, 216, 199, 0.18);
}

.site-nav .nav-fun-link::after {
  display: none;
}

.site-nav .nav-fun-link:hover,
.site-nav .nav-fun-link:focus-visible {
  background: rgba(152, 216, 199, 0.24);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--brand-deep);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%);
  color: #f8fdfc;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(78, 153, 134, 0.2);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(78, 153, 134, 0.26);
  filter: saturate(1.04);
}

.button-small {
  position: relative;
  z-index: 1;
  padding: calc(14px - (2px * var(--header-progress))) calc(20px - (2px * var(--header-progress)));
  white-space: nowrap;
}

.site-header.is-compact .brand-copy,
.site-header.is-compact .site-nav {
  pointer-events: none;
}

.site-header.is-compact .site-nav {
  visibility: hidden;
}

.site-header.is-compact .button-small {
  box-shadow: 0 14px 28px rgba(78, 153, 134, 0.22);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--heading);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0 34px;
}

.eyebrow,
.service-label {
  margin: 0 0 16px;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.services-head h2,
.articles-head h2,
.approach-copy h2,
.showcase-copy h2,
.side-quest-copy h2,
.section-intro h2,
.contact-copy h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-lead,
.page-lead,
.proof-tile p,
.service-copy p,
.articles-head p,
.approach-copy p,
.approach-item p,
.showcase-copy p,
.side-quest-copy p,
.process-card p,
.contact-copy p,
.form-hint {
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-lead {
  max-width: 44rem;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 580px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(152, 216, 199, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 252, 251, 0.92) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual-main {
  height: 100%;
  padding-top: 20px;
}

.hero-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-card {
  position: absolute;
  max-width: 240px;
  padding: 18px;
  border: 1px solid rgba(78, 153, 134, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  animation: drift 7s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 800;
}

.floating-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.floating-card-top {
  top: 30px;
  right: 26px;
}

.floating-card-bottom {
  left: 24px;
  bottom: 30px;
  animation-delay: -2s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.proof-tile,
.service-card,
.approach-item,
.showcase-card,
.process-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.proof-tile {
  padding: 28px;
}

.proof-tile strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 1.8rem;
  font-weight: 800;
}

.proof-tile p {
  margin: 0;
}

.services-wrap {
  margin-top: 44px;
  padding: 44px 0 6px;
}

.services-head {
  margin-bottom: 24px;
}

.services-head h2,
.articles-head h2,
.approach-copy h2,
.showcase-copy h2,
.side-quest-copy h2,
.section-intro h2,
.contact-copy h2 {
  max-width: 20ch;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.service-card {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.service-card-large {
  grid-row: span 2;
}

.service-copy h3 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.45rem, 2.3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.service-copy p {
  margin: 14px 0 0;
}

.service-copy .article-card-link {
  margin-top: 18px;
}

.service-card img {
  width: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 249, 0.96));
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
  gap: 24px;
  margin-top: 50px;
}

.approach-copy {
  padding: 18px 0;
}

.approach-copy p {
  max-width: 46rem;
  margin: 22px 0 0;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 24px;
  align-items: start;
}

.approach-item span,
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 800;
}

.approach-item h3,
.process-card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.16rem;
  font-weight: 800;
}

.approach-item p {
  margin: 0;
}

.showcase-wrap {
  margin-top: 52px;
  padding: 18px 0;
}

.experience-wrap {
  margin-top: 52px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.showcase-card-dark {
  background:
    linear-gradient(180deg, rgba(71, 79, 80, 0.98) 0%, rgba(56, 63, 65, 0.98) 100%);
  box-shadow: 0 26px 60px rgba(49, 56, 58, 0.18);
}

.showcase-card-dark .eyebrow,
.showcase-card-dark h2,
.showcase-card-dark p {
  color: #f7fcfb;
}

.showcase-card-dark p {
  color: rgba(247, 252, 251, 0.8);
}

.showcase-copy p {
  margin: 18px 0 0;
  max-width: 40rem;
}

.showcase-card img {
  width: 100%;
  border-radius: 24px;
}

.process {
  margin-top: 48px;
}

.section-intro {
  margin-bottom: 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px;
}

.process-card span {
  margin-bottom: 18px;
}

.process-card p {
  margin: 0;
}

.side-quest-wrap {
  margin-top: 50px;
}

.side-quest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.side-quest-copy,
.side-quest-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.side-quest-copy {
  padding: 30px;
  border: 1px solid rgba(71, 79, 80, 0.08);
  background:
    radial-gradient(circle at top right, rgba(152, 216, 199, 0.2), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 251, 249, 0.98) 100%);
}

.side-quest-copy p {
  margin: 20px 0 0;
  max-width: 40rem;
}

.side-quest-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(71, 79, 80, 0.08);
  background:
    radial-gradient(circle at top right, rgba(152, 216, 199, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(62, 70, 72, 0.98) 0%, rgba(47, 56, 58, 0.98) 100%);
  box-shadow: 0 28px 60px rgba(49, 56, 58, 0.18);
}

.side-quest-card::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(152, 216, 199, 0.12);
}

.side-quest-card > * {
  position: relative;
  z-index: 1;
}

.side-quest-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(152, 216, 199, 0.16);
  color: #f7fcfb;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-quest-card p {
  margin: 16px 0 0;
  color: rgba(247, 252, 251, 0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.side-quest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 22px;
}

.side-quest-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fcfb;
  font-size: 0.86rem;
  font-weight: 700;
}

.side-quest-button {
  margin-top: 4px;
}

.side-quest-note {
  margin-top: 16px;
  color: rgba(247, 252, 251, 0.62);
  font-size: 0.86rem;
}

.faq-wrap {
  margin-top: 52px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(71, 79, 80, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 24px 72px 24px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 1.4rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.articles-wrap {
  margin-top: 52px;
}

.articles-head {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.articles-head p {
  max-width: 54rem;
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card,
.article-prose,
.article-sidebar-card,
.page-hero-card {
  border: 1px solid rgba(71, 79, 80, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.article-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-card-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(152, 216, 199, 0.18);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.45rem;
  line-height: 1.2;
}

.article-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.article-card-link,
.page-backlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-weight: 800;
  text-decoration: none;
}

.article-card-link::after,
.page-backlink::after {
  content: "->";
  font-size: 0.92rem;
}

.articles-index-link {
  margin-top: 22px;
}

.experience-grid-secondary {
  margin-top: 18px;
}

.experience-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-main {
  padding: 34px 0 68px;
}

.page-hero {
  display: grid;
  gap: 20px;
  margin-bottom: 26px;
}

.page-hero-card {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(152, 216, 199, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 249, 0.98) 100%);
}

.page-hero-card .hero-actions {
  margin: 24px 0 0;
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.page-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
}

.page-breadcrumbs a {
  text-decoration: none;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-meta li {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.article-prose {
  padding: 30px;
}

.article-prose h2 {
  margin: 32px 0 14px;
  color: var(--heading);
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.2;
}

.article-prose h2:first-child {
  margin-top: 0;
}

.article-prose p,
.article-prose li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.article-prose p {
  margin: 0 0 16px;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-prose strong {
  color: var(--heading);
}

.article-sidebar {
  display: grid;
  gap: 14px;
}

.article-sidebar-card {
  padding: 24px;
}

.article-sidebar-card h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 1.1rem;
}

.article-sidebar-card p,
.article-sidebar-card li {
  color: var(--text-soft);
  line-height: 1.75;
}

.article-sidebar-card p {
  margin: 0;
}

.article-sidebar-card a:not(.button) {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.article-sidebar-card ul {
  margin: 0;
  padding-left: 20px;
}

.article-sidebar-card .button {
  width: 100%;
  margin-top: 18px;
}

.contact-wrap {
  margin-top: 56px;
  padding-bottom: 60px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 22px;
  padding: 34px;
  border: 1px solid rgba(71, 79, 80, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(152, 216, 199, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 251, 249, 0.96) 100%);
  box-shadow: var(--shadow-lg);
}

.contact-copy {
  align-self: center;
}

.contact-copy p {
  margin: 20px 0 0;
  max-width: 42rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--panel-strong);
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--heading);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fcfefd;
  color: var(--heading);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(68, 80, 82, 0.48);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(152, 216, 199, 0.28);
  border-color: rgba(78, 153, 134, 0.38);
}

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

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--heading);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-status.is-error {
  color: #a43f3f;
}

.form-status.is-success {
  color: var(--brand-deep);
}

.form-hint {
  margin: 0;
  font-size: 0.92rem;
}

.recaptcha-legal {
  margin: -4px 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.recaptcha-legal a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero,
  .page-layout,
  .approach,
  .showcase-grid,
  .side-quest,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-large {
    grid-row: auto;
    grid-column: span 2;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .section-shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header {
    --header-pill-width: 100%;
    top: 0;
    padding: 16px 0 8px;
    backdrop-filter: blur(calc(14px + (6px * var(--header-progress))));
  }

  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 12px 20px;
    padding: calc(14px - (4px * var(--header-progress))) calc(14px - (2px * var(--header-progress)));
    border-radius: calc(28px - (8px * var(--header-progress)));
    text-align: left;
    background: rgba(251, 253, 252, calc(0.88 - (0.16 * var(--header-progress))));
    box-shadow: 0 calc(12px + (4px * var(--header-progress))) calc(24px + (10px * var(--header-progress)))
      rgba(73, 84, 86, calc(0.07 + (0.04 * var(--header-progress))));
    transform: translateY(calc(1px * var(--header-progress)));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    gap: calc(12px * (1 - var(--header-progress)));
  }

  .brand-logo {
    width: calc(52px - (10px * var(--header-progress)));
    height: calc(52px - (10px * var(--header-progress)));
    padding: calc(5px * (1 - var(--header-progress)));
    border-radius: calc(16px * (1 - var(--header-progress)));
  }

  .brand-copy {
    max-width: calc(160px * (1 - var(--header-progress)));
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: none;
    max-height: 56px;
    opacity: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 2px;
    transform: none;
    visibility: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(83, 92, 94, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 8px 18px rgba(73, 84, 86, 0.04);
    font-size: 0.92rem;
  }

  .site-nav .nav-fun-link {
    background: rgba(152, 216, 199, 0.24);
    color: var(--brand-deep);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  .services-head h2,
  .articles-head h2,
  .approach-copy h2,
  .showcase-copy h2,
  .side-quest-copy h2,
  .section-intro h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-card {
    position: relative;
    inset: auto;
    max-width: 100%;
    margin-top: 14px;
    animation: none;
  }

  .proof-strip,
  .experience-grid-secondary,
  .articles-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card-large {
    grid-column: auto;
  }

  .site-header.is-compact .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border-radius: 999px;
  }

  .site-header.is-compact {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    padding: 0 0 6px;
  }

  .site-header.is-compact .brand {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    gap: 0;
  }

  .site-header.is-compact .brand-logo {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header.is-compact .brand-copy,
  .site-header.is-compact .site-nav {
    pointer-events: none;
  }

  .site-header.is-compact .brand-copy {
    display: none;
  }

  .site-header.is-compact .site-nav {
    display: none;
  }

  .site-header .button-small {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: auto;
    padding: calc(13px - (2px * var(--header-progress))) calc(18px - (2px * var(--header-progress)));
  }

  .site-header.is-compact .button-small {
    width: auto;
    flex: 0 0 auto;
    justify-self: auto;
    margin-left: auto;
    padding: 12px 18px;
  }

  .faq-item summary {
    padding: 22px 66px 22px 20px;
  }

  .faq-item p {
    padding: 0 20px 22px;
  }

  .page-hero-card,
  .article-prose,
  .article-sidebar-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .button,
  .button-ghost,
  .button-small {
    width: 100%;
  }

  .side-quest-copy,
  .side-quest-card {
    padding: 22px;
  }

  .faq-item summary {
    font-size: 1rem;
  }

  .article-card,
  .page-hero-card,
  .article-prose,
  .article-sidebar-card {
    padding: 22px;
  }

  .side-quest-tags {
    gap: 8px;
  }

  .site-header .button-small {
    width: auto;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .site-nav {
    gap: 8px;
    mask-image: none;
  }

  .site-nav a {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .button,
  .floating-card {
    transition: none;
    animation: none;
    transform: none;
  }

  .site-header,
  .header-row,
  .brand,
  .brand-logo,
  .brand-copy,
  .site-nav,
  .button-small {
    transition: none;
  }
}
