:root {
  --blue: #0076bb;
  --blue-dark: #006ca9;
  --blue-soft: #d9edf8;
  --ink: #0071b2;
  --navy: #173f5f;
  --paper: #f5f3ef;
  --paper-light: #fbfaf6;
  --white: #f8f7f4;
  --line: rgba(0, 113, 178, 0.24);
  --shadow: 0 22px 52px rgba(0, 91, 145, 0.13);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-carousel: cubic-bezier(.72, 0, .26, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-weight: 100;
  animation: pageFade 520ms ease-out both;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 82%, white);
  outline-offset: 5px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(22px, 5vw, 72px);
  pointer-events: none;
  transition:
    padding 260ms var(--ease-out),
    background-color 260ms ease,
    box-shadow 260ms ease;
  animation: headerDrop 620ms var(--ease-out) 120ms both;
}

/* Sit below the WordPress admin bar when logged in */
body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  padding-block: 16px;
  background: rgba(245, 243, 239, 0.86);
  box-shadow: 0 12px 34px rgba(0, 91, 145, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-mark,
.site-nav a {
  pointer-events: auto;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.35rem, 2.4vw, 2.5rem);
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.site-mark .site-mark-img {
  width: clamp(44px, 4.4vw, 58px);
  height: clamp(44px, 4.4vw, 58px);
  object-fit: contain;
  transition: transform 420ms var(--ease-out);
}

.site-header.on-light .site-mark,
.site-header.on-light .site-nav a {
  color: var(--ink);
}

.site-header.home-header .site-nav a {
  color: var(--ink);
}

.site-header.is-scrolled .site-mark,
.site-header.is-scrolled .site-nav a,
.site-header.home-header.is-scrolled .site-nav a {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  position: relative;
  padding-block: 6px;
  text-decoration: none;
  transition: opacity 220ms ease, transform 220ms ease, color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  opacity: 0.72;
}

.site-mark:hover .site-mark-img,
.site-mark:focus-visible .site-mark-img {
  transform: rotate(16deg) scale(1.08);
}

/* "SKRU PÅ" text in header – hidden on front page, visible on subpages */
.site-mark-wordmark {
  display: block;
  font-size: clamp(1.2rem, 2vw, 2.1rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0s, transform 0s;
  pointer-events: none;
}

.site-header:not(.home-header) .site-mark-wordmark {
  opacity: 1;
  transform: none;
  animation: wordmarkSlideIn 480ms var(--ease-out) both;
}

/* Front page: hide wordmark text, keep logo only */
.site-header.home-header .site-mark-wordmark {
  opacity: 0 !important;
  pointer-events: none;
}

@keyframes wordmarkSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Fly-up: hero wordmark animating to header */
.hero-wordmark.is-flying {
  transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1), opacity 380ms ease 140ms;
  opacity: 0 !important;
  will-change: transform;
}

.hero {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  background:
    radial-gradient(circle at 20% 34%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05), transparent 36%),
    linear-gradient(145deg, #007abd 0%, #0072af 58%, #006aa5 100%);
  color: var(--white);
}

.hero-main {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(120px, 13vw, 178px) clamp(22px, 2.8vw, 42px) clamp(56px, 7vw, 86px) clamp(28px, 4vw, 56px);
  overflow: visible;
  min-width: 0;
}

.hero-wordmark {
  position: absolute;
  z-index: 5;
  top: clamp(0.75rem, 3vw, 3rem);
  left: clamp(28px, 4vw, 56px);
  margin: 0;
  padding-top: 0.45em;
  color: var(--white);
  font-size: clamp(10rem, 20vw, 22rem);
  line-height: 0.72;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  animation: wordmarkIn 860ms var(--ease-out) 140ms both;
}

.hero-wordmark span {
  display: inline-block;
  overflow: visible;
}

.hero-wordmark .wordmark-aa {
  color: var(--blue);
  margin-left: -0.075em;
  transform: translateX(0.035em);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(145px, 15vw, 250px);
  animation: slideUp 760ms var(--ease-out) 260ms both;
}

.hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(4.3rem, 7.4vw, 7.4rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.rotating-word {
  display: block;
  max-width: 100%;
  height: 1.16em;
  overflow: hidden;
  color: var(--white);
}

.rotating-word-inner {
  display: grid;
  width: 100%;
  will-change: transform;
  animation: rotateWords 13.5s var(--ease-carousel) infinite;
}

.rotating-word-item {
  width: 100%;
  height: 1.16em;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rotating-word-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  font-size: 1em;
  line-height: 0.96;
  font-stretch: normal;
  transform: none;
}

.rotating-word-label > span {
  display: inline-block;
}

.word-o-logo {
  width: 0.72em;
  height: 0.72em;
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 -0.045em -0.02em 0.035em;
  transform-origin: 50% 50%;
  transform: translateY(-0.035em);
  animation: screwTurn 2.8s linear infinite;
}

@keyframes screwTurn {
  to {
    transform: translateY(-0.035em) rotate(360deg);
  }
}

@keyframes rotateWords {
  0%,
  10% {
    transform: translateY(0);
  }

  16.666%,
  26.666% {
    transform: translateY(-1.16em);
  }

  33.333%,
  43.333% {
    transform: translateY(-2.32em);
  }

  50%,
  60% {
    transform: translateY(-3.48em);
  }

  66.666%,
  76.666% {
    transform: translateY(-4.64em);
  }

  83.333%,
  93.333% {
    transform: translateY(-5.8em);
  }

  to {
    transform: translateY(-6.96em);
  }
}

.hero-intro {
  max-width: min(900px, 92%);
  margin: clamp(18px, 2.4vw, 32px) 0 0;
  color: var(--white);
  font-size: clamp(1.18rem, 1.78vw, 1.7rem);
  line-height: 1.35;
  font-weight: 100;
  letter-spacing: -0.025em;
}

.hero-side {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(104px, 11vw, 150px) clamp(28px, 5vw, 70px) clamp(138px, 14vw, 190px);
  background:
    radial-gradient(circle at 35% 48%, rgba(0, 118, 187, 0.07), transparent 22%),
    linear-gradient(180deg, #fbfaf6 0%, #f2f0ea 100%);
  color: var(--ink);
}

.hero-side p {
  max-width: 430px;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.48;
  font-weight: 100;
  letter-spacing: -0.045em;
  animation: slideUp 760ms cubic-bezier(.2, .8, .2, 1) 360ms both;
}

.actions {
  display: grid;
  gap: 18px;
  width: min(100%, 360px);
  margin-top: 42px;
}


.button {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px 0 28px;
  border: 2px solid currentColor;
  border-radius: 10px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms ease,
    background-color 260ms ease,
    color 260ms ease;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.button:not(.primary):hover,
.button:not(.primary):focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.arrow {
  width: 24px;
  height: 2px;
  position: relative;
  flex: 0 0 24px;
  background: currentColor;
  transition: transform 260ms var(--ease-out);
}

.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.button:hover .arrow,
.button:focus-visible .arrow {
  transform: translateX(5px);
}

.page-hero {
  width: 100%;
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: clamp(128px, 15vw, 190px) clamp(24px, 7vw, 96px) clamp(58px, 9vw, 110px);
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 44%),
    linear-gradient(145deg, #007abd 0%, #006daa 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero > div {
  width: min(100%, 1152px);
  animation: slideUp 780ms var(--ease-out) 170ms both;
}

.page-hero.light {
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 118, 187, 0.06), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #f3f1ec 100%);
  color: var(--ink);
}

.contact-hero {
  min-height: 48svh;
  padding-bottom: clamp(36px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 0.86rem;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.8rem, 9.5vw, 8.6rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.page-lead {
  max-width: 960px;
  margin: 36px 0 0;
  font-size: clamp(1.15rem, 1.7vw, 1.62rem);
  line-height: 1.18;
  font-weight: 100;
  letter-spacing: -0.04em;
}

.section {
  width: 100%;
  padding: clamp(72px, 10vw, 130px) clamp(24px, 7vw, 96px);
}

.intro-section {
  padding-top: clamp(66px, 8vw, 105px);
}

.contact-section {
  padding-top: clamp(42px, 6vw, 76px);
}

.section.blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
    var(--blue);
  color: var(--white);
}

.section-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.065em;
}

.text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(42px, 8vw, 110px);
  margin-top: clamp(48px, 7vw, 86px);
  align-items: start;
}

.intro-section .text-grid {
  margin-top: 0;
}

.copy-stack {
  display: grid;
  gap: 26px;
  max-width: 760px;
}

.copy-stack p,
.contact-copy p {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.6;
  font-weight: 100;
  letter-spacing: -0.018em;
}

.contact-copy p {
  font-weight: 100;
}

.insights,
.quote,
.contact-card {
  border: 2px solid currentColor;
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms ease,
    background-color 320ms ease;
}

.insights:hover,
.quote:hover,
.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  background-color: rgba(255, 255, 255, 0.34);
}

.insights {
  position: sticky;
  top: 120px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18));
}

.insights h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.insights ul {
  display: grid;
  gap: 22px;
  margin: clamp(40px, 4.5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: insight;
}

.insights li {
  position: relative;
  padding-top: 22px;
  padding-left: 42px;
  border-top: 2px solid var(--line);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.42;
  font-weight: 100;
  letter-spacing: -0.03em;
}

.insights li::before {
  content: "0" counter(insight);
  counter-increment: insight;
  position: absolute;
  left: 0;
  top: 22px;
  color: color-mix(in srgb, var(--blue) 70%, white);
  font-weight: 100;
}

.steps {
  display: grid;
  margin-top: clamp(48px, 7vw, 82px);
  border-top: 2px solid rgba(255, 255, 255, 0.58);
}

.step {
  display: grid;
  grid-template-columns: minmax(90px, 0.16fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(26px, 4vw, 42px) 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.58);
  transition:
    padding-left 300ms var(--ease-out),
    background-color 300ms ease,
    border-color 300ms ease;
}

.step:hover {
  padding-left: 18px;
  background-color: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.9);
}

.step-number {
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.step-kicker {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step p:not(.step-number):not(.step-kicker) {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 3.3rem);
  line-height: 1.05;
  font-weight: 100;
  letter-spacing: -0.065em;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(42px, 7vw, 76px);
}

.quote {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.2);
}

.quote::before {
  content: "“";
  display: block;
  margin-bottom: 18px;
  font-size: 5rem;
  line-height: 0.65;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.quote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.45;
  font-weight: 100;
  letter-spacing: -0.03em;
}

.quote cite {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  font-style: normal;
  font-weight: 100;
}

.section-cta {
  padding-top: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  width: 100%;
  padding: clamp(34px, 5vw, 58px) 0;
  border-bottom: 2px solid currentColor;
}

.cta-band .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.cta-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.3rem, 5.2vw, 5.3rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.065em;
}

.cta-band .button {
  width: min(100%, 320px);
}

/* Lift the CTA button up so it doesn't sit on the heading baseline */
.cta-band .cta-buttons,
.cta-band .button {
  align-self: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 26px;
}

.closing {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.contact-copy .closing {
  font-weight: 900;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.contact-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.contact-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center;
  border-bottom: 2px solid currentColor;
}

/* wp:image renders as <figure> — reset margins and proxy styles to the img */
figure.contact-photo {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 2px solid currentColor;
}

figure.contact-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-bottom: none;
}

figure.contact-photo figcaption {
  display: none;
}

.contact-card h2 {
  color: var(--ink);
}

.contact-card-body {
  padding: 0 clamp(22px, 2.5vw, 30px);
}

.contact-role {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 100;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-card-body > p:not(.contact-role) {
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.48;
  font-weight: 100;
}

.contact-links {
  display: grid;
  gap: 8px;
  padding: 0 clamp(22px, 2.5vw, 30px) clamp(22px, 2.5vw, 30px);
  margin-top: 0;
}

.contact-link {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms var(--ease-out);
}

.contact-link span {
  color: var(--blue);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 100;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.18;
  font-weight: 100;
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.contact-link:hover span,
.contact-link:focus-visible span {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms ease,
    transform 720ms var(--ease-out),
    filter 720ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  filter: blur(2px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.quote[data-reveal],
.contact-card[data-reveal],
.insights[data-reveal] {
  transform: translateY(34px) scale(0.985);
}

.quote[data-reveal].is-visible,
.contact-card[data-reveal].is-visible,
.insights[data-reveal].is-visible,
.step[data-reveal].is-visible {
  transform: translateY(0) scale(1);
}

@keyframes wordmarkIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .rotating-word-inner {
    animation: none;
  }

  .rotating-word-item:not(:first-child) {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1600px) and (max-height: 1050px) {
  .hero-copy {
    margin-bottom: clamp(112px, 12vh, 140px);
  }
}

@media (min-width: 901px) and (max-height: 860px) {
  .hero-copy {
    margin-bottom: clamp(52px, 8vh, 72px);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    align-items: center;
    gap: clamp(18px, 4vw, 32px);
  }

  .site-header.is-scrolled {
    padding-block: 14px;
  }

  .site-header.on-light .site-mark {
    color: var(--ink);
  }

  .site-header.home-header .site-nav a {
    color: var(--white);
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: 78svh;
    padding-top: 145px;
    overflow: hidden;
  }

  .hero-side {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-wordmark {
    top: 190px;
    color: var(--white);
  }

  .hero-wordmark .wordmark-aa {
    color: var(--white);
    transform: none;
  }

  .text-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .insights {
    position: static;
    top: auto;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .quote {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-weight: 300;
  }

  .site-header {
    padding: 22px;
    gap: 16px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .site-mark {
    font-size: 1.55rem;
  }

  .site-nav {
    font-size: 0.82rem;
    gap: 12px 18px;
  }

  .hero-main {
    min-height: 720px;
    padding: 132px 22px 46px;
  }

  .hero-wordmark {
    top: 174px;
    left: 20px;
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .hero-title {
    font-size: clamp(2.1rem, 9.6vw, 3.2rem);
    letter-spacing: -0.045em;
  }

  .hero-side p,
  .page-lead {
    font-size: 1.18rem;
  }

  .hero-side {
    padding: 44px 22px 58px;
  }

  .page-hero {
    min-height: 620px;
    padding: 160px 22px 58px;
  }

  .contact-hero {
    min-height: 440px;
    padding: 140px 22px 46px;
  }

  .page-title {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .section {
    padding: 66px 22px;
  }

  .section-title {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button {
    min-height: 58px;
  }
}

@media (max-width: 360px) {
  .site-mark {
    font-size: 1.36rem;
  }

  .site-nav {
    font-size: 0.78rem;
  }

  .hero-main {
    min-height: 680px;
    padding-inline: 18px;
  }

  .hero-wordmark {
    left: 18px;
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-title {
    font-size: clamp(1.78rem, 9.2vw, 2.35rem);
  }

  .hero-side {
    padding-inline: 18px;
  }

  .page-title {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .section {
    padding-inline: 18px;
  }
}

/* ── Simple block elements ─────────────────────────────────────── */

.block-text {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) clamp(22px, 5vw, 72px);
}

.block-heading {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy);
}

.block-subheading {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--navy);
}

.block-lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 100;
  letter-spacing: -0.04em;
  line-height: 1.48;
  color: var(--ink);
  margin: 0 0 1em;
}

.block-body {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 100;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1em;
}

.block-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 72px);
}

.block-spacer {
  height: clamp(40px, 6vw, 80px);
}

/* Images */
.block-image {
  margin: 0;
  padding: clamp(24px, 4vw, 48px) clamp(22px, 5vw, 72px);
}

.block-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.block-image--full {
  padding-inline: 0;
}

.block-image--full img {
  border-radius: 0;
}

.block-image--framed img {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.block-image__caption {
  font-size: 0.82rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* Image + text side by side */
.block-image-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 72px);
}

.block-image-text__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media (max-width: 680px) {
  .block-image-text {
    grid-template-columns: 1fr;
  }
}

/* ── Native Gutenberg block resets ─────────────────────────────── */

/*
 * Kill WordPress's is-layout-flow margin between child blocks.
 * WP adds margin-block-start via --wp--style--block-gap (default 0.5em)
 * to every sibling inside a group. We zero it out with !important
 * because the variable may be set on :root by WP's theme engine.
 */
.page-hero .is-layout-flow > * + *,
.section .is-layout-flow > * + *,
.step.is-layout-flow > * + *,
.step .is-layout-flow > * + *,
.cta-band.is-layout-flow > * + *,
.cta-band .is-layout-flow > * + *,
.contact-layout .is-layout-flow > * + *,
.contact-copy.is-layout-flow > * + *,
.contact-card.is-layout-flow > * + *,
.contact-card-body.is-layout-flow > * + *,
.quotes-grid .is-layout-flow > * + *,
.quote.is-layout-flow > * + *,
.copy-stack.is-layout-flow > * + *,
.insights.is-layout-flow > * + *,
.block-text.is-layout-flow > * + *,
.block-image-text .is-layout-flow > * + * {
  margin-block-start: 0 !important;
}

/* Also zero via the CSS variable for older WP versions */
.page-hero,
.section,
.contact-layout,
.contact-copy,
.contact-card,
.steps,
.step,
.cta-band,
.quotes-grid,
.quote,
.copy-stack,
.insights,
.block-text,
.block-image-text {
  --wp--style--block-gap: 0;
}

/* alignfull must not get WP negative margin bleed */
.page-hero.alignfull,
.section.alignfull {
  margin-inline: 0;
}

/* ── Heading / paragraph margin resets ───────────────────────── */

.wp-block-heading.page-title,
.wp-block-heading.section-title,
.wp-block-heading.block-heading,
.wp-block-heading.block-subheading {
  margin: 0;
}

.wp-block-paragraph.eyebrow,
.wp-block-paragraph.page-lead,
.wp-block-paragraph.block-lead,
.wp-block-paragraph.block-body,
.wp-block-paragraph.step-number,
.wp-block-paragraph.step-kicker,
.wp-block-paragraph.closing {
  margin: 0;
}

/* ── Group wrapper padding/margin resets ─────────────────────── */

/* Section/hero: kill WP margin injection but keep their own padding */
.page-hero.wp-block-group,
.section.wp-block-group {
  margin: 0;
}

/* Internal layout components: kill both margin and WP-injected padding */
.cta-band.wp-block-group,
.contact-layout.wp-block-group,
.contact-copy.wp-block-group,
.contact-cards.wp-block-group,
.contact-card.wp-block-group,
.block-image-text.wp-block-group,
.block-text.wp-block-group {
  margin: 0;
  padding: 0;
}

/* .step MUST stay a 2-col grid — force it over any WP layout class */
.step,
.step.wp-block-group {
  display: grid !important;
  grid-template-columns: minmax(90px, 0.16fr) minmax(0, 1fr) !important;
  gap: clamp(24px, 5vw, 70px) !important;
  align-items: start !important;
  padding: clamp(26px, 4vw, 42px) 0 !important;
  margin: 0 !important;
}

/* .steps grid container */
.steps,
.steps.wp-block-group {
  display: grid !important;
  margin: 0;
  padding: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.58);
}

/* Page-hero inner unnamed wrapper */
.page-hero > .wp-block-group {
  width: min(100%, 1152px);
  animation: slideUp 780ms var(--ease-out) 170ms both;
}

/* ── Restore layout for named groups overridden by gap reset ─── */

/* text-grid needs its grid display + top margin */
.text-grid.wp-block-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(42px, 8vw, 110px);
  margin-top: clamp(48px, 7vw, 86px);
  align-items: start;
  padding: 0;
}

.intro-section .text-grid.wp-block-group {
  margin-top: 0;
}

/* copy-stack needs grid + gap for spacing between paragraphs */
.copy-stack.wp-block-group {
  display: grid;
  gap: 26px;
  max-width: 760px;
  margin: 0;
  padding: 0;
}

/* insights card keeps its own padding */
.insights.wp-block-group {
  padding: clamp(24px, 3vw, 34px);
  margin: 0;
}

/* contact-card-body and contact-links keep their padding */
.contact-card-body.wp-block-group {
  padding: 0 clamp(22px, 2.5vw, 30px);
  margin: 0;
}

.contact-links.wp-block-group {
  padding: 0 clamp(22px, 2.5vw, 30px) clamp(22px, 2.5vw, 30px);
  display: grid;
  gap: 8px;
  margin: 0;
}

/* quotes-grid keeps its margin-top */
.quotes-grid.wp-block-group {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(42px, 7vw, 76px);
  padding: 0;
}

/* steps top margin (border already on .steps above) */
.steps.wp-block-group {
  margin-top: clamp(48px, 7vw, 82px) !important;
}

/* ── Quote block ─────────────────────────────────────────────── */

.wp-block-quote.quote {
  border: 2px solid currentColor !important;
  border-inline-start: 2px solid currentColor !important;
  padding: clamp(24px, 3vw, 34px) !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.2) !important;
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 8px !important;
}

.wp-block-quote.quote p {
  font-size: clamp(1.05rem, 1.55vw, 1.25rem) !important;
  font-weight: 100 !important;
  line-height: 1.45;
  letter-spacing: -0.03em;
  margin: 0 !important;
}

.wp-block-quote.quote cite {
  display: block !important;
  margin-top: auto !important;
  padding-top: 24px !important;
  font-style: normal !important;
  font-weight: 100 !important;
}

/* ── Step description (large text, not kicker/number) ────────── */

.step > .wp-block-group > p:not(.step-kicker) {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 3.3rem);
  line-height: 1.05;
  font-weight: 100;
  letter-spacing: -0.065em;
}

/* ── Insights list ───────────────────────────────────────────── */

.insights .wp-block-list,
.insights ul {
  display: grid;
  gap: 22px;
  margin: clamp(40px, 4.5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: insight;
}

.insights .wp-block-list li,
.insights li {
  list-style: none;
}

/* ── CTA button (wp:buttons) ─────────────────────────────────── */

.cta-buttons.wp-block-buttons {
  margin: 0;
  padding: 0;
}

.button-skru-primary .wp-block-button__link,
.button-skru-primary .wp-element-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 24px 0 28px !important;
  min-height: 64px;
  border-radius: 10px !important;
  background: var(--ink) !important;
  color: var(--white) !important;
  border: 2px solid var(--ink) !important;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

/* Arrow icon (matches the .button arrow) */
.button-skru-primary .wp-block-button__link::after,
.button-skru-primary .wp-element-button::after {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'><path d='M0 6h23M18 1l5 5-5 5' fill='none' stroke='black' stroke-width='2'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'><path d='M0 6h23M18 1l5 5-5 5' fill='none' stroke='black' stroke-width='2'/></svg>") no-repeat center / contain;
  transition: transform 260ms var(--ease-out);
}

.button-skru-primary .wp-block-button__link:hover,
.button-skru-primary .wp-element-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.button-skru-primary .wp-block-button__link:hover::after,
.button-skru-primary .wp-element-button:hover::after {
  transform: translateX(5px);
}

/* ── Separator ───────────────────────────────────────────────── */

.wp-block-separator.block-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-block: clamp(32px, 5vw, 64px);
  margin-inline: clamp(22px, 5vw, 72px);
}
