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

:root {
  --sd-deep: #061e20;
  --sd-teal: #074c44;
  --sd-glass: #65a5b1;
  --sd-foam: #9ad9dd;
  --sd-lilac: #cec0e6;
  --sd-sand: #e0dcc3;
  --sd-canvas: #fffcf0;
  --sd-border: rgba(6, 30, 32, 0.16);
  --sd-shadow: 0 24px 80px rgba(6, 30, 32, 0.12);
  --sd-radius: 1.5rem;
  --sd-transition: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; text-rendering: optimizeLegibility; }
body.admin-bar .site-header { top: 32px; }
::selection { background: var(--sd-foam); color: var(--sd-deep); }

a, button, input, textarea, select { transition: color var(--sd-transition), background-color var(--sd-transition), border-color var(--sd-transition), transform var(--sd-transition); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--sd-lilac); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 252, 240, 0.94);
  background: color-mix(in srgb, var(--sd-canvas) 92%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color var(--sd-transition), box-shadow var(--sd-transition);
}
.site-header.is-scrolled { border-color: var(--sd-border); box-shadow: 0 8px 32px rgba(6, 30, 32, 0.06); }
.site-header__inner { min-height: 5.5rem; }
.brand-lockup { display: block; width: clamp(13.75rem, 20vw, 16rem); aspect-ratio: 1024 / 396; margin: 0; overflow: hidden; background: url("../images/brand-primary.png") left center / contain no-repeat; color: transparent; font-size: 0; white-space: nowrap; }
.brand-lockup a { display: block; width: 100%; height: 100%; color: transparent !important; text-decoration: none; }
.brand-lockup--reversed { width: min(18rem, 70vw); background-image: url("../images/brand-reversed.png"); }
.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; }
.site-header .wp-block-navigation { font-size: 0.875rem; font-weight: 650; letter-spacing: -0.01em; }
.site-header .wp-block-navigation-item__content { text-decoration: none; }
.site-header .wp-block-button__link { padding: 0.72rem 1.15rem; }

.section-shell { padding-top: clamp(5rem, 9vw, 8.5rem); padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.section-kicker { margin: 0 0 1rem; color: var(--sd-teal); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.16em; line-height: 1.2; text-transform: uppercase; }
.section-heading { max-width: 900px; margin-top: 0; font-size: clamp(2.5rem, 5.2vw, 5rem); }
.section-intro { max-width: 650px; color: rgba(6, 30, 32, 0.72); font-size: clamp(1rem, 1.4vw, 1.2rem); }

.hero {
  position: relative;
  min-height: calc(100svh - 5.5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.entry-content > hedgehog-reactions {
    margin-block-start: 1.5em !important;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

.hero::before { content: ""; position: absolute; width: 27rem; height: 27rem; right: -12rem; top: -14rem; border: 1px solid rgba(101, 165, 177, 0.28); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(154, 217, 221, 0.06), 0 0 0 11rem rgba(206, 192, 230, 0.05); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; gap: clamp(3rem, 7vw, 7rem); }
.hero__title { max-width: 850px; margin: 0; font-size: clamp(3.8rem, 8.4vw, 8.4rem); font-weight: 740; letter-spacing: -0.065em; line-height: 0.89; }
.hero__title .accent { color: var(--sd-glass); }
.hero__lede { max-width: 610px; margin-top: 2rem; color: rgba(6, 30, 32, 0.72); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6; }
.hero__actions { margin-top: 2rem; }
.hero__actions .is-style-outline > .wp-block-button__link { border-color: var(--sd-deep); color: var(--sd-deep); }
.hero__actions .is-style-outline > .wp-block-button__link:hover { background: var(--sd-deep); color: var(--sd-canvas); }
.hero__mark-wrap { position: relative; display: grid; place-items: center; min-height: 32rem; }
.hero__mark-wrap::before { content: ""; position: absolute; inset: 7% 3%; border-radius: 50% 50% 46% 54% / 56% 43% 57% 44%; background: var(--sd-sand); transform: rotate(-7deg); }
.hero__mark { position: relative; z-index: 1; width: min(30rem, 82vw); filter: drop-shadow(0 2rem 3rem rgba(6, 30, 32, 0.1)); transform: rotate(3deg); }
.hero__note { position: absolute; right: 0; bottom: 0; z-index: 2; max-width: 14rem; margin: 0; padding: 1rem 1.1rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: var(--sd-canvas); font-size: 0.75rem; font-weight: 650; line-height: 1.45; box-shadow: var(--sd-shadow); }

.trust-strip { border-top: 1px solid var(--sd-border); border-bottom: 1px solid var(--sd-border); }
.trust-strip__inner { min-height: 6.5rem; }
.trust-strip p { margin: 0; }
.trust-strip__label { font-size: 0.7rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.trust-strip__list { gap: clamp(1rem, 4vw, 3rem); color: var(--sd-teal); font-weight: 650; }

.capability-grid { margin-top: clamp(3rem, 5vw, 5rem); gap: 1px; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); overflow: hidden; background: var(--sd-border); }
.capability-card { position: relative; min-height: 23rem; padding: clamp(1.75rem, 3vw, 3rem); background: var(--sd-canvas); }
.capability-card::after { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--sd-glass); font-size: 0.75rem; font-weight: 750; }
.capability-card:nth-child(1)::after { content: "01"; }
.capability-card:nth-child(2)::after { content: "02"; }
.capability-card:nth-child(3)::after { content: "03"; }
.capability-card h3 { margin-top: 6rem; margin-bottom: 1rem; font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.capability-card p { color: rgba(6, 30, 32, 0.68); }
.capability-card:hover { background: var(--sd-foam); }

.work-section { background: var(--sd-deep); color: var(--sd-canvas); }
.work-section .section-kicker { color: var(--sd-foam); }
.work-section .section-intro { color: rgba(255, 252, 240, 0.68); }
.work-grid { margin-top: clamp(3rem, 6vw, 6rem); gap: 1.25rem; }
.work-card { position: relative; min-height: 34rem; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--sd-radius); color: var(--sd-deep); }
.work-card:nth-child(1) { background: var(--sd-foam); }
.work-card:nth-child(2) { background: var(--sd-lilac); }
.work-card:nth-child(3) { background: var(--sd-sand); }
.work-card__number { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.14em; }
.work-card__shape { position: absolute; width: 19rem; height: 19rem; right: -4rem; top: 4rem; border: 3.75rem solid currentColor; border-radius: 50%; opacity: 0.12; }
.work-card__shape::after { content: ""; position: absolute; width: 8rem; height: 3.5rem; top: 4.6rem; right: -1rem; border-radius: 999px; background: currentColor; transform: rotate(-13deg); }
.work-card__copy { position: absolute; inset: auto 2rem 2rem; }
.work-card h3 { margin: 0 0 0.75rem; font-size: clamp(2rem, 3vw, 3.25rem); }
.work-card p { max-width: 28rem; margin: 0; }

.process-grid { margin-top: clamp(3rem, 5vw, 5rem); }
.process-step { padding: 2rem 0; border-top: 1px solid var(--sd-border); }
.process-step:last-child { border-bottom: 1px solid var(--sd-border); }
.process-step__number { color: var(--sd-glass); font-size: 0.75rem; font-weight: 750; }
.process-step h3 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.75rem); }
.process-step p { margin: 0; color: rgba(6, 30, 32, 0.68); }

.manifesto { padding: clamp(5rem, 10vw, 10rem) 0; background: var(--sd-teal); color: var(--sd-canvas); }
.manifesto__quote { max-width: 1050px; margin: 0 auto; font-size: clamp(2.75rem, 6vw, 6.5rem); font-weight: 680; letter-spacing: -0.05em; line-height: 1.02; text-align: center; }
.manifesto__quote em { color: var(--sd-foam); font-style: normal; }

.cta-panel { position: relative; overflow: hidden; min-height: 34rem; padding: clamp(2rem, 6vw, 5rem); border-radius: clamp(1.5rem, 3vw, 3rem); background: var(--sd-lilac); }
.cta-panel::after { content: ""; position: absolute; width: 28rem; height: 28rem; right: -7rem; bottom: -15rem; border: 6rem solid rgba(6, 30, 32, 0.1); border-radius: 50%; }
.cta-panel__content { position: relative; z-index: 1; max-width: 850px; }
.cta-panel h2 { margin: 0 0 2rem; font-size: clamp(3rem, 7vw, 7rem); }

.site-footer { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: 2rem; background: var(--sd-deep); color: var(--sd-canvas); }
.site-footer a { color: var(--sd-canvas); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.site-footer a:hover { color: var(--sd-foam); }
.site-footer__top { padding-bottom: clamp(3rem, 7vw, 6rem); }
.site-footer__tagline { max-width: 30rem; color: rgba(255, 252, 240, 0.66); }
.site-footer__nav { gap: 0.75rem 2rem; font-size: 0.9rem; font-weight: 650; }
.site-footer__meta { padding-top: 1.5rem; border-top: 1px solid rgba(255, 252, 240, 0.16); font-size: 0.75rem; }
.site-footer__meta p { margin: 0; }

.content-hero { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.content-hero .wp-block-post-title, .content-hero h1 { max-width: 1040px; margin: 0; font-size: clamp(3.25rem, 8vw, 7.5rem); }
.entry-content { padding-bottom: clamp(5rem, 9vw, 9rem); }
.entry-content > * + * { margin-block-start: 1.5em; }
.entry-content h2 { margin-top: 2em; font-size: clamp(2rem, 4vw, 3.5rem); }
.entry-content h3 { margin-top: 1.75em; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.entry-content p, .entry-content li { font-size: clamp(1rem, 1.3vw, 1.125rem); }
.entry-content img { border-radius: 1rem; }
.post-meta { color: rgba(6, 30, 32, 0.62); font-size: 0.85rem; }
.post-card { height: 100%; padding: 1.5rem; border: 1px solid var(--sd-border); border-radius: 1.25rem; background: #fffef8; }
.post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; border-radius: 0.75rem; object-fit: cover; }
.post-card .wp-block-post-title { font-size: 1.65rem; }
.wp-block-query-pagination { margin-top: 3rem; }
.wp-block-search__input { border: 1px solid var(--sd-border); border-radius: 0.6rem; background: #fffef8; padding: 0.9rem 1rem; font: inherit; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found__code { margin: 0; color: var(--sd-glass); font-size: clamp(7rem, 20vw, 18rem); font-weight: 800; letter-spacing: -0.08em; line-height: 0.7; }

.has-js .reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.has-js .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header__inner { min-height: 4.75rem; }
  .brand-lockup { width: 12.5rem; }
  .site-header .wp-block-buttons { display: none; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; background: var(--sd-deep) !important; color: var(--sd-canvas) !important; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 6rem; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 1rem; font-size: 1.75rem; }
  .hero { min-height: auto; }
  .hero__grid { flex-direction: column; }
  .hero__grid > .wp-block-column { flex-basis: 100% !important; }
  .hero__mark-wrap { min-height: 24rem; }
  .hero__mark { width: min(24rem, 76vw); }
  .capability-grid { grid-template-columns: 1fr !important; }
  .capability-card { min-height: 18rem; }
  .capability-card h3 { margin-top: 3rem; }
  .work-grid { grid-template-columns: 1fr !important; }
  .work-card { min-height: 28rem; }
}

@media (max-width: 600px) {
  .brand-lockup { width: 10.75rem; }
  .hero__title { font-size: clamp(3.35rem, 17vw, 5.2rem); }
  .hero__mark-wrap { min-height: 20rem; }
  .hero__note { right: -0.5rem; }
  .trust-strip__inner, .process-step, .site-footer__meta { align-items: flex-start !important; flex-direction: column; }
  .trust-strip__inner { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .cta-panel { min-height: 28rem; }
}

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

@media print {
  .site-header, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
