@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --deep: #003448;
  --primary: #0083b3;
  --interactive: #007aa6;
  --orange: #ff931e;
  --ink: #102a33;
  --muted: #5b7078;
  --light: #f5fafc;
  --line: #d9e8ed;
  --white: #fff;
  --success: #16865b;
  --error: #b42318;
  --container: 1240px;
  --reading: 740px;
  --radius-sm: 14px;
  --radius: 24px;
  --shadow: 0 16px 50px rgb(0 52 72 / 7%);
  --header-height: 88px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, .2vw + .96rem, 1.125rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-is-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button,
input,
select,
textarea { font: inherit; }
a { color: var(--interactive); text-underline-offset: .2em; }
a:hover { color: var(--deep); }
button { cursor: pointer; }

h1,
h2,
h3,
h4 {
  margin: 0 0 .65em;
  color: var(--deep);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.02em; }
p { margin: 0 0 1.25em; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.62; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container--reading { width: min(calc(100% - 48px), var(--reading)); }
.container--reading-left { width: min(calc(100% - 48px), var(--container)); }
.container--reading-left > * { max-width: 820px; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: 48px; }
.section--light { background: var(--light); }
.section--cta { padding-block: clamp(56px, 8vw, 104px); }
.section-heading { max-width: 900px; margin-bottom: 48px; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 72px; max-width: none; align-items: end; }
.section-heading--split p { color: var(--muted); font-size: 1.08rem; }
.section-heading--action { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading--action h2 { max-width: 780px; margin-bottom: 0; }
.section-heading--action > a { flex: none; font-weight: 750; }
.section-action { margin: 48px 0 0; text-align: center; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 10px; left: 10px;
  width: auto; height: auto;
  padding: 12px 18px; margin: 0;
  overflow: visible; clip: auto;
  color: var(--deep); background: var(--white);
  border: 2px solid var(--orange); border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: var(--interactive);
  border: 2px solid var(--interactive);
  border-radius: var(--radius-sm);
  font-size: .96rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { color: var(--white); background: var(--deep); border-color: var(--deep); transform: translateY(-2px); }
.button--orange { color: var(--deep); background: var(--orange); border-color: var(--orange); }
.button--orange:hover { color: var(--deep); background: #ffac4d; border-color: #ffac4d; }
.button--secondary { color: var(--deep); background: transparent; border-color: var(--line); }
.button--secondary:hover { color: var(--white); background: var(--deep); border-color: var(--deep); }
.button--ghost-light { color: var(--white); background: transparent; border-color: rgb(255 255 255 / 35%); }
.button--ghost-light:hover { color: var(--deep); background: var(--white); border-color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.eyebrow {
  display: flex;
  margin: 0 0 30px;
  align-items: center;
  gap: 14px;
  color: var(--interactive);
  font-size: .81rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 4px; flex: none; background: var(--orange); border-radius: 4px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  color: var(--deep);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled { background: rgb(255 255 255 / 92%); border-color: var(--line); box-shadow: 0 8px 30px rgb(0 52 72 / 6%); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; height: 100%; align-items: center; gap: 34px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; color: currentColor; font-weight: 800; letter-spacing: .02em; line-height: 1; text-decoration: none; text-transform: uppercase; }
.brand:hover { color: currentColor; }
.brand-mark { width: 38px; color: var(--orange); }
.brand-mark svg { width: 100%; height: auto; }
.brand-mark text { fill: currentColor; font-size: 13px; font-weight: 800; letter-spacing: -.04em; }
.brand-name { position: relative; padding-bottom: 7px; }
.brand-name::after { position: absolute; right: 35%; bottom: 0; left: 0; height: 3px; content: ""; background: var(--primary); border-radius: 4px; }
.primary-navigation { display: flex; margin-left: auto; align-items: center; gap: clamp(24px, 3vw, 48px); }
.primary-navigation a { position: relative; padding-block: 12px; color: currentColor; font-size: .92rem; font-weight: 590; text-decoration: none; }
.primary-navigation a::after { position: absolute; right: 100%; bottom: 4px; left: 0; height: 3px; content: ""; background: var(--orange); border-radius: 4px; transition: right 180ms ease; }
.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after { right: 55%; }
.button--header { flex: none; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 10px; color: currentColor; background: var(--light); }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.3wh-front-page .site-header:not(.is-scrolled):not(.menu-open) { color: var(--white); background: var(--deep); }
.3wh-front-page .site-header:not(.is-scrolled):not(.menu-open) .button--header { color: var(--deep); background: var(--orange); border-color: var(--orange); }

/* Homepage */
.home-hero { min-height: min(780px, calc(100vh - var(--header-height))); color: var(--white); background: var(--deep); }
.home-hero__grid { display: grid; min-height: min(780px, calc(100vh - var(--header-height))); padding-block: clamp(64px, 8vw, 112px); grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.home-hero .eyebrow { color: var(--orange); }
.home-hero h1 { max-width: 760px; margin-bottom: 28px; color: var(--white); font-size: clamp(3rem, 4.6vw, 4.4rem); }
.home-hero .lead { color: #c7d9df; }
.home-hero .button-row { margin-top: 34px; }
.microcopy { margin-top: 18px; color: #a8c0c8; font-size: .84rem; }
.hero-network { position: relative; width: 100%; aspect-ratio: 1.08; border: 1px solid rgb(255 255 255 / 18%); border-radius: 32px; background: rgb(0 24 34 / 18%); }
.hero-network__lines { position: absolute; inset: 9%; width: 82%; height: 82%; }
.hero-network__lines path { fill: none; stroke: rgb(255 255 255 / 32%); stroke-width: 2; stroke-dasharray: 6 8; }
.network-node { position: absolute; display: grid; width: 106px; aspect-ratio: 1; place-items: center; color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-align: center; text-transform: uppercase; clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%); background: #073d50; box-shadow: inset 0 0 0 3px rgb(255 255 255 / 25%); }
.network-node--site { top: 9%; left: 10%; }
.network-node--tool { top: 5%; right: 10%; }
.network-node--ai { top: 39%; left: 40%; z-index: 2; width: 118px; background: var(--primary); box-shadow: inset 0 0 0 3px var(--orange); }
.network-node--ads { right: 7%; bottom: 10%; }
.network-node--email { bottom: 7%; left: 7%; }
.skills-strip { padding-block: 26px; overflow: hidden; background: var(--light); border-bottom: 1px solid var(--line); }
.skills-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.skills-strip span { padding: 9px 17px; color: var(--deep); background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; font-weight: 720; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principles-grid article { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.principles-grid span,
.service-card__number { display: grid; width: 50px; height: 50px; margin-bottom: 32px; place-items: center; color: var(--interactive); background: #e8f6fb; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 800; }
.principles-grid span.accent,
.service-card:nth-child(even) .service-card__number { color: #d96d00; background: #fff1df; }
.principles-grid p,
.service-card p,
.method-grid p { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service-card { display: flex; min-height: 360px; padding: 30px; flex-direction: column; grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card p { flex-grow: 1; }
.service-card > a { padding-top: 18px; border-top: 1px solid var(--line); font-weight: 760; text-decoration: none; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.method-grid article { position: relative; min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.method-grid article:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -31px; width: 40px; color: var(--primary); background: var(--white); content: "→"; font-weight: 800; text-align: center; transform: translateY(-50%); }
.method-grid span { display: block; margin-bottom: 34px; color: #e87400; font-size: .86rem; font-weight: 800; }
.about-section__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: clamp(50px, 10vw, 140px); align-items: center; }
.about-section__grid > div:first-child p { max-width: 720px; color: var(--muted); }
.about-card { display: grid; min-height: 400px; padding: 42px; place-items: center; align-content: center; color: var(--white); background: var(--deep); border-radius: 32px; text-align: center; }
.about-card__hex { width: 125px; aspect-ratio: 1; margin-bottom: 20px; background: var(--orange); clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%); position: relative; }
.about-card__hex::after { position: absolute; inset: 5px; content: ""; background: var(--deep); clip-path: inherit; }
.about-card strong { font-size: 2rem; }
.about-card > span:last-child { max-width: 260px; color: #c7d9df; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.faq-item summary { display: flex; min-height: 72px; padding: 21px 24px; align-items: center; justify-content: space-between; gap: 20px; color: var(--deep); font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--primary); font-size: 1.45rem; transition: transform 180ms ease; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item > div { padding: 0 24px 22px; color: var(--muted); }
.faq-item > div p { margin: 0; }
.contact-cta { display: flex; min-height: 260px; padding: clamp(32px, 5vw, 62px); align-items: center; justify-content: space-between; gap: 48px; color: var(--white); background: var(--deep); border-radius: 30px; }
.contact-cta h2 { max-width: 780px; color: var(--white); font-size: clamp(1.8rem, 3.4vw, 3rem); }
.contact-cta p { max-width: 760px; margin: 0; color: #c7d9df; }

/* Cards and blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; min-height: 510px; overflow: hidden; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; margin: 14px 14px 0; overflow: hidden; aspect-ratio: 16 / 10; background: #e5f3f8; border-radius: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.post-card:hover .post-card__media img { transform: scale(1.025); }
.post-card__placeholder { display: grid; height: 100%; padding: 14%; grid-template-columns: 1fr .55fr; grid-template-rows: .25fr .7fr .5fr; gap: 10px 16px; background: #e4f3f8; }
.post-card:nth-child(3n + 1) .post-card__placeholder { background: #fff1df; }
.post-card:nth-child(3n + 3) .post-card__placeholder { background: #edf5ed; }
.post-card__placeholder i { display: block; border-radius: 8px; background: var(--primary); }
.post-card__placeholder i:nth-child(1) { width: 45%; height: 10px; grid-column: 1 / -1; background: #d6e6eb; }
.post-card__placeholder i:nth-child(2) { grid-column: 1 / -1; background: var(--deep); }
.post-card__placeholder i:nth-child(4) { background: var(--orange); }
.post-card__body { display: flex; padding: 26px; flex: 1; flex-direction: column; }
.post-card__category { margin-bottom: 15px; color: var(--interactive); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.post-card__title { font-size: 1.35rem; }
.post-card__title a { color: var(--deep); text-decoration: none; }
.post-card__footer { display: flex; margin-top: auto; padding-top: 30px; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .8rem; }
.post-card__footer a { color: var(--muted); }
.blog-hero { padding-block: clamp(80px, 10vw, 150px); color: var(--white); background: var(--deep); }
.blog-hero h1 { max-width: 900px; color: var(--white); }
.blog-hero .lead { color: #c7d9df; }
.blog-hero .eyebrow { color: var(--orange); }
.archive-header { max-width: 900px; margin-bottom: clamp(42px, 6vw, 78px); }
.post-filters { display: flex; margin-bottom: 54px; flex-wrap: wrap; gap: 10px; }
.post-filters a { display: inline-flex; min-height: 46px; padding: 10px 20px; align-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 720; text-decoration: none; }
.post-filters a:hover,
.post-filters a.is-active { color: var(--white); background: var(--deep); border-color: var(--deep); }
.pagination { display: flex; margin-top: 58px; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; padding: 8px 12px; place-items: center; color: var(--ink); background: var(--light); border-radius: 10px; font-weight: 720; text-decoration: none; }
.pagination .current { color: var(--white); background: var(--deep); }
.pagination .prev,
.pagination .next { background: transparent; border: 1px solid var(--line); }
.empty-state { padding: 50px; background: var(--light); border-radius: var(--radius); text-align: center; }
.publishing-note { display: grid; margin-top: clamp(72px, 10vw, 140px); padding: clamp(36px, 6vw, 72px); grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; background: var(--light); border-radius: 30px; }
.publishing-note__illustration { display: grid; min-height: 240px; padding: 34px; grid-template-columns: 1fr; gap: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.publishing-note__illustration i { height: 14px; border-radius: 8px; background: #dbe9ed; }
.publishing-note__illustration i:nth-child(1) { height: 45px; background: var(--light); }
.publishing-note__illustration i:nth-child(2) { width: 65%; }
.publishing-note__illustration i:nth-child(4) { width: 80%; }
.publishing-note__illustration span { display: inline-grid; width: 120px; min-height: 48px; margin-top: 10px; place-items: center; color: var(--white); background: var(--interactive); border-radius: 12px; font-weight: 750; }

/* Services */
.page-hero { padding-block: clamp(76px, 10vw, 145px); background: var(--light); }
.page-hero--compact { padding-block: clamp(68px, 8vw, 110px); }
.page-hero__grid { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: start; }
.page-hero h1 { max-width: 950px; }
.quote-badge { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.quote-badge span { display: block; color: var(--interactive); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.quote-badge strong { display: block; margin-top: 5px; color: var(--deep); font-size: 1.6rem; }
.services-list { padding-top: clamp(60px, 8vw, 110px); }
.service-detail { display: grid; min-height: 520px; margin-bottom: 56px; overflow: hidden; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); border: 1px solid var(--line); border-radius: 30px; }
.service-detail__marker { display: flex; padding: 48px; flex-direction: column; align-items: center; justify-content: space-between; background: #e8f6fb; }
.service-detail--accent .service-detail__marker { background: #fff2e2; }
.service-detail__marker > a { font-size: .78rem; font-weight: 750; text-decoration: none; }
.hex-number { position: relative; z-index: 0; isolation: isolate; display: grid; width: 155px; aspect-ratio: 1; place-items: center; color: var(--deep); font-size: 2.2rem; font-weight: 800; clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%); }
.hex-number::before,
.hex-number::after { position: absolute; z-index: -2; inset: 0; content: ""; background: var(--interactive); clip-path: inherit; }
.hex-number::after { z-index: -1; inset: 4px; background: #e8f6fb; }
.service-detail--accent .hex-number::before { background: var(--orange); }
.service-detail--accent .hex-number::after { background: #fff2e2; }
.service-detail__content { padding: clamp(38px, 6vw, 76px); }
.service-detail__content > p { max-width: 760px; color: var(--muted); }
.check-grid { display: grid; margin: 46px 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 38px; list-style: none; }
.check-grid li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 690; }
.check-grid li::before { position: absolute; top: .12em; left: 0; display: grid; width: 24px; height: 24px; place-items: center; color: var(--white); background: var(--interactive); border-radius: 7px; content: "✓"; font-size: .78rem; }
.service-detail--accent .check-grid li::before { color: var(--deep); background: var(--orange); }
.service-detail__note { margin-top: 40px; padding: 20px 24px; color: var(--deep) !important; background: var(--light); border-left: 4px solid var(--primary); border-radius: 0 14px 14px 0; font-weight: 650; }
.included-block { display: flex; min-height: 300px; padding: clamp(38px, 6vw, 66px); align-items: center; justify-content: space-between; gap: 48px; color: var(--white); background: var(--deep); border-radius: 30px; }
.included-block h2 { color: var(--white); }
.inline-list { display: flex; max-width: 820px; margin: 0; padding: 0; flex-wrap: wrap; gap: 6px 22px; color: #c7d9df; list-style: none; }
.inline-list li:not(:last-child)::after { margin-left: 22px; content: "•"; }

/* Contact and forms */
.contact-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 90px); align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-height) + 32px); }
.contact-intro h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.contact-next { margin-top: 40px; padding: 34px; color: var(--white); background: var(--deep); border-radius: 26px; }
.contact-next h2 { color: var(--white); font-size: 1.55rem; }
.contact-next ol { margin: 30px 0; padding: 0; list-style: none; }
.contact-next li { display: grid; margin-bottom: 25px; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; color: #c7d9df; }
.contact-next li span { display: grid; width: 46px; aspect-ratio: 1; place-items: center; color: var(--white); background: var(--primary); clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%); font-size: .8rem; font-weight: 800; }
.contact-next strong { display: block; padding-top: 24px; color: var(--orange); border-top: 1px solid rgb(255 255 255 / 20%); }
.contact-alternatives { margin-top: 28px; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.contact-alternatives h2 { font-size: 1.35rem; }
.contact-alternatives p { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-alternatives p span { display: block; color: var(--muted); font-size: .8rem; }
.contact-alternatives p a { overflow-wrap: anywhere; }
.contact-alternatives > strong { color: var(--interactive); font-size: .9rem; }
.contact-form-shell { min-height: 920px; padding: clamp(28px, 5vw, 58px); background: var(--white); border: 1px solid var(--line); border-radius: 30px; }
.contact-form-shell > h2 { font-size: 2rem; }
.threewh-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label,
.form-field legend { display: block; margin-bottom: 8px; color: var(--ink); font-size: .87rem; font-weight: 750; }
.required { color: var(--error); }
.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.form-field textarea { min-height: 200px; resize: vertical; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #a8c6d1; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { background: var(--white); border-color: var(--interactive); box-shadow: 0 0 0 4px rgb(0 122 166 / 12%); outline: 0; }
.form-field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; margin-top: 7px; color: var(--error); font-size: .8rem; font-weight: 650; }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-size: .76rem; }
.consent-field { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.consent-field input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--interactive); }
.consent-field label { margin: 0; color: var(--muted); font-weight: 500; }
.form-actions { margin-top: 28px; }
.form-actions .button { min-width: 220px; }
.form-privacy-note { margin: 12px 0 0; color: var(--muted); font-size: .74rem; }
.threewh-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { margin: 0 0 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; }
.notice p:last-child { margin-bottom: 0; }
.notice--success { color: #0b6542; background: #e9f8f1; border-color: #a8dec6; }
.notice--error { color: #7a1d16; background: #fff1ef; border-color: #f2bbb5; }
.notice--summary ul { margin-bottom: 0; }
.cf-turnstile { margin-top: 20px; }

/* Article */
.article-hero { padding: clamp(70px, 9vw, 125px) 0 0; background: var(--light); }
.article-hero__inner { text-align: center; }
.article-category { color: var(--interactive); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.article-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.article-meta { display: flex; justify-content: center; gap: 9px; color: var(--muted); font-size: .9rem; }
.article-featured-image { margin-top: 58px; transform: translateY(52px); }
.article-featured-image img { width: 100%; max-height: 650px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.article-layout { display: grid; padding-top: 130px; padding-bottom: 80px; grid-template-columns: 250px minmax(0, var(--reading)); gap: clamp(48px, 7vw, 90px); justify-content: center; align-items: start; }
.article-layout--no-toc { grid-template-columns: minmax(0, var(--reading)); }
.article-toc { position: sticky; top: calc(var(--header-height) + 30px); padding: 26px; border: 1px solid var(--line); border-radius: 18px; }
.article-toc h2 { font-size: 1rem; }
.article-toc nav { display: grid; gap: 12px; }
.article-toc a { padding-left: 12px; color: var(--muted); border-left: 2px solid transparent; font-size: .8rem; text-decoration: none; }
.article-toc a:hover,
.article-toc a.is-active { color: var(--interactive); border-left-color: var(--orange); }
.entry-content { overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 2.3em; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.entry-content h3 { margin-top: 1.8em; }
.entry-content p,
.entry-content li { color: #2d464f; }
.entry-content li { margin-bottom: .55em; }
.entry-content a { font-weight: 620; }
.entry-content blockquote { margin: 2.3em 0; padding: 26px; background: #e8f6fb; border-left: 4px solid var(--primary); border-radius: 0 16px 16px 0; }
.entry-content figure { margin-block: 2.5em; }
.entry-content figcaption { color: var(--muted); font-size: .8rem; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.entry-content th,
.entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.entry-content .contact-cta { margin-top: 70px; padding: 34px; flex-direction: column; align-items: flex-start; }
.entry-content .contact-cta h2 { margin-top: 0; font-size: 1.75rem; }
.post-navigation { display: grid; padding-bottom: clamp(70px, 8vw, 110px); grid-template-columns: 1fr 1fr; gap: 30px; }
.post-navigation > div:last-child { text-align: right; }
.post-navigation a { display: inline-flex; max-width: 480px; flex-direction: column; color: var(--deep); text-decoration: none; }
.post-navigation span { color: var(--muted); font-size: .78rem; }
.related-posts .post-card { min-height: 460px; }

/* Footer and utility pages */
.site-footer { padding-top: 70px; color: var(--white); background: var(--deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 70px; }
.site-footer .brand { color: var(--white); }
.site-footer__brand p { max-width: 340px; margin-top: 22px; color: #c7d9df; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer nav h2 { margin-bottom: 12px; color: var(--orange); font-size: .9rem; letter-spacing: 0; }
.site-footer nav a,
.footer-cookie-button { padding: 3px 0; color: var(--white); background: none; border: 0; font-size: .9rem; text-align: left; text-decoration: none; }
.site-footer nav a:hover,
.footer-cookie-button:hover { color: var(--orange); }
.site-footer__bottom { margin-top: 60px; padding-block: 25px; color: #a8c0c8; border-top: 1px solid rgb(255 255 255 / 18%); font-size: .76rem; }
.site-footer__bottom p { margin: 0; }
.error-page { display: grid; min-height: 65vh; padding-block: 90px; align-items: center; text-align: center; }
.error-page .eyebrow { justify-content: center; }
.error-page .button-row { margin-top: 30px; justify-content: center; }

/* WordPress block alignment */
.alignwide { width: min(100%, var(--container)); max-width: var(--container); margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text { color: var(--muted); font-size: .8rem; }

@media (max-width: 1080px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); }
  .network-node { width: 86px; font-size: .62rem; }
  .network-node--ai { width: 98px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid article:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4) { grid-column: auto; }
  .post-card { min-height: 470px; }
  .article-layout { grid-template-columns: 210px minmax(0, var(--reading)); gap: 45px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .primary-navigation {
    position: absolute;
    z-index: 20;
    top: 100%; right: 0; left: 0;
    display: none;
    margin: 0;
    padding: 20px max(18px, calc((100% - var(--container)) / 2));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--deep);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { min-height: 50px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; margin-left: auto; }
  .button--header { min-height: 44px; padding: 10px 14px; }
  .site-header.menu-open { color: var(--deep) !important; background: var(--white) !important; }
  .home-hero,
  .home-hero__grid { min-height: auto; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .hero-network { width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1.8; }
  .network-node { width: 76px; }
  .network-node--ai { top: 32%; width: 84px; }
  .network-node--email { bottom: 1%; }
  .network-node--ads { bottom: 2%; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 0; }
  .about-section__grid { grid-template-columns: 1fr; }
  .about-card { min-height: 330px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .publishing-note { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .quote-badge { max-width: 300px; }
  .service-detail { grid-template-columns: 220px minmax(0, 1fr); }
  .service-detail__marker { padding: 34px 24px; }
  .hex-number { width: 120px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .article-layout { grid-template-columns: 1fr; padding-top: 110px; }
  .article-toc { position: static; }
  .site-footer__grid { grid-template-columns: 1.2fr .8fr .8fr; gap: 35px; }
}

@media (max-width: 680px) {
  .container,
  .container--reading { width: min(calc(100% - 28px), var(--container)); }
  .site-header__inner { gap: 10px; }
  .brand-mark { width: 32px; }
  .brand-name { font-size: .84rem; }
  .button--header { order: 2; font-size: 0; }
  .button--header::after { content: "Contact"; font-size: .77rem; }
  .menu-toggle { order: 3; margin-left: 0; }
  .primary-navigation { order: 4; }
  .home-hero__grid { padding-block: 58px; gap: 42px; }
  .home-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .home-hero .button-row { align-items: stretch; flex-direction: column; }
  .home-hero .button { width: 100%; }
  .hero-network { aspect-ratio: 1.2; }
  .hero-network__lines { display: none; }
  .network-node--site { top: 8%; left: 6%; }
  .network-node--tool { top: 8%; right: 6%; }
  .network-node--ai { top: 36%; left: calc(50% - 42px); }
  .network-node--email { bottom: 5%; left: 8%; }
  .network-node--ads { right: 8%; bottom: 5%; }
  .skills-strip__inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .skills-strip span { flex: none; }
  .section { padding-block: 68px; }
  .section-heading--action { align-items: flex-start; flex-direction: column; }
  .services-grid,
  .method-grid,
  .post-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .method-grid article { min-height: 0; }
  .method-grid article::after { display: none !important; }
  .contact-cta { min-height: 0; align-items: flex-start; flex-direction: column; }
  .contact-cta .button { width: 100%; }
  .post-card { min-height: 450px; }
  .publishing-note { padding: 28px; gap: 35px; }
  .page-hero { padding-block: 68px; }
  .service-detail { grid-template-columns: 1fr; margin-bottom: 30px; }
  .service-detail__marker { min-height: 220px; padding: 28px; }
  .service-detail__content { padding: 30px 24px; }
  .check-grid { grid-template-columns: 1fr; gap: 15px; }
  .included-block { align-items: flex-start; flex-direction: column; }
  .included-block .button { width: 100%; }
  .inline-list { display: grid; }
  .inline-list li::after { display: none; }
  .contact-form-shell { min-height: 0; padding: 25px 18px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-field--full { grid-column: auto; }
  .form-actions .button { width: 100%; }
  .article-featured-image { transform: translateY(30px); }
  .article-layout { padding-top: 82px; }
  .article-meta { flex-wrap: wrap; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation > div:last-child { text-align: left; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
