@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ═══ TOKENS ═══ */

:root {
  --bg: #fafaf8;
  --bg-alt: #f0eeea;
  --bg-dark: #0f0f0f;
  --deep: #061a28;
  --text: #0f0f0f;
  --text-inv: #fafaf8;
  --muted: #555;
  --muted-inv: #999;
  --soft: #888;
  --accent: #ff4028;
  --line: #ddd9d2;
  --line-dark: rgba(255, 255, 255, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --pad-x: clamp(1.2rem, 6vw, 8rem);
}

/* ═══ RESET ═══ */

*, *::before, *::after { box-sizing: border-box; }
::selection { background: rgba(255, 64, 40, 0.12); }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
html, body { overflow-x: hidden; }

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

.capture-mode .intro-fade,
.capture-mode .reveal-section {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.page > main { flex: 1; }

/* ═══ HEADER ═══ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.9rem;
  padding: 0 var(--pad-x);
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: block;
  width: 4rem;
  height: 1.75rem;
  flex-shrink: 0;
}
.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-link:hover { opacity: 0.6; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color 150ms var(--ease-ui);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.72rem;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ═══ SECTIONS ═══ */

.section {
  padding: clamp(2.75rem, 5.5vh, 4.25rem) var(--pad-x);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}

.section-head {
  margin-bottom: 1.35rem;
}

/* small rule replaces the old coloured category labels */
.section-head::before,
.page-hero-inner::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-bottom: 1.05rem;
  background: var(--text);
}
.section-dark .section-head::before,
.page-hero-inner::before {
  background: var(--text-inv);
}
.cta-inner::before {
  margin-inline: auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 20ch;
}
.section-dark h2 { color: var(--text-inv); }

/* ═══ HERO ═══ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(32rem, 74vh, 48rem);
  padding: clamp(7rem, 19vh, 13rem) var(--pad-x) clamp(5rem, 12vh, 8rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(250, 250, 248, 0.96) 0%,
    rgba(250, 250, 248, 0.55) 35%,
    transparent 58%
  );
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.032em;
  font-weight: 700;
}
.hero-sub { margin-top: 1.4rem; }
.lead {
  margin: 0;
  max-width: 26rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}
.hero-actions .link-arrow {
  color: var(--text);
}

/* ═══ CONTEXT BAND ═══ */

.context-band {
  padding-block: clamp(1.9rem, 3.5vh, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.context-line {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}

/* ═══ SHIFT TABLE (today / with Databerg) ═══ */

.shift-table {
  border-top: 1px solid var(--line);
}

.shift-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.shift-col-label {
  margin: 0;
  padding: 0.7rem 2rem 0.7rem 0;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
}
.shift-col-label-strong {
  padding-left: 2.25rem;
  color: var(--text);
}

.shift-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.shift-cell {
  padding: 1rem 2rem 1.1rem 0;
}
.shift-after {
  padding-left: 2.25rem;
  border-left: 1px solid var(--line);
}

.shift-label {
  margin: 0 0 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--soft);
}
.shift-label-strong {
  color: var(--text);
}

.shift-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}
.shift-text-strong {
  color: var(--text);
  font-weight: 500;
}

/* ═══ LINK ARROW ═══ */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 0.15rem;
  transition:
    border-color 150ms var(--ease-ui),
    color 150ms var(--ease-ui);
}
.link-arrow span {
  transition: transform 200ms var(--ease);
}
.link-arrow:hover {
  border-bottom-color: var(--text);
}
.link-arrow:hover span {
  transform: translateX(4px);
}
.link-arrow-inv {
  color: var(--text-inv);
  border-bottom-color: var(--line-dark);
}
.link-arrow-inv:hover {
  border-bottom-color: var(--text-inv);
}

.section-foot {
  margin-top: 1.5rem;
}

/* ═══ JUMP NAV ═══ */

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.jump-nav a {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition:
    border-color 150ms var(--ease-ui),
    color 150ms var(--ease-ui),
    background 150ms var(--ease-ui);
}
.jump-nav a:hover {
  border-color: var(--text);
  color: var(--text);
}

/* jump nav sitting on the dark page hero */
.page-hero .jump-nav a {
  border-color: rgba(250, 250, 248, 0.22);
  color: rgba(250, 250, 248, 0.78);
}
.page-hero .jump-nav a:hover {
  border-color: rgba(250, 250, 248, 0.7);
  color: var(--text-inv);
}

/* ═══ NEXT BLOCK ═══ */

.next-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.next-block h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: none;
}
.next-block .service-body {
  margin-top: 0.6rem;
}
.next-block .link-arrow {
  flex-shrink: 0;
}

/* ═══ CAPABILITIES GRID (home) ═══ */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.cap-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-inv);
  transition: opacity 150ms var(--ease-ui);
}
.cap-card:hover { opacity: 0.62; }
/* an odd final card spans the row so its rule runs the full width */
.cap-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.cap-arrow {
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
}
.cap-card:hover .cap-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══ CTA SECTION (shared) ═══ */

.cta-section {
  text-align: center;
  padding-block: clamp(3rem, 6vh, 4.5rem);
}
.cta-inner {
  max-width: 30rem;
  margin: 0 auto;
}
.cta-inner h2 {
  max-width: none;
  color: var(--text-inv);
}
.cta-sub {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-inv);
}
.cta-inner .link-arrow {
  margin-top: 1.4rem;
}

/* ═══ PAGE HERO (subpages) ═══ */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(4rem, 9vh, 6rem);
  padding-bottom: clamp(2.75rem, 6vh, 4rem);
  background: var(--deep);
  color: var(--text-inv);
}

/* underwater crop of the same iceberg asset */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/animated-iceberg-hero-optimized.svg");
  background-size: cover;
  background-position: center 88%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(6, 26, 40, 0.94) 0%,
      rgba(6, 26, 40, 0.78) 40%,
      rgba(6, 26, 40, 0.5) 100%
    );
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text-inv);
}
.page-hero-body {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.74);
  max-width: 32rem;
}

/* ═══ SERVICES PAGE ═══ */

.service-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.service-text h2 {
  max-width: none;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.service-body {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
}

.includes-label {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
}
.includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.includes-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.includes-list li:last-child {
  border-bottom: 1px solid var(--line);
}

/* ═══ ABOUT PAGE: STAGES ═══ */

.stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stage-card {
  padding: 1rem 1.2rem 1.4rem 0;
  border-top: 2px solid var(--line);
  transition: border-color 200ms var(--ease-ui);
}
.stage-card:hover { border-top-color: var(--text); }
.stage-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stage-card p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ═══ ABOUT PAGE: PRINCIPLES ═══ */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.principle-card {
  padding-top: 1rem;
  border-top: 2px solid var(--line);
  transition: border-color 200ms var(--ease-ui);
}
.principle-card:hover { border-top-color: var(--text); }
.principle-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.principle-card p {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ═══ CONTACT PAGE ═══ */

.contact-body {
  padding-block: clamp(2.5rem, 5vh, 3.75rem);
}
.contact-page-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  width: 100%;
}

.contact-block { margin-bottom: 2rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}
.contact-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
}
.contact-email-lg {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms var(--ease-ui);
  width: fit-content;
}
.contact-email-lg:hover { border-bottom-color: var(--text); }

.copy-btn {
  display: block;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition:
    color 150ms var(--ease-ui),
    border-color 150ms var(--ease-ui),
    transform 100ms var(--ease-ui);
}
.copy-btn:hover {
  color: var(--muted);
  border-color: var(--muted);
}
.copy-btn:active { transform: scale(0.96); }

.expect-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.expect-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.expect-list li:last-child {
  border-bottom: 1px solid var(--line);
}

/* ═══ FOOTER ═══ */

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem var(--pad-x);
  border-top: 1px solid var(--line);
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* ═══ SOCIAL LINKS ═══ */

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--soft);
  transition: color 150ms var(--ease-ui);
}
.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.social-link:hover { color: var(--text); }

.social-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 0.15rem;
  transition:
    color 150ms var(--ease-ui),
    border-color 150ms var(--ease-ui);
}
.social-inline svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}
.social-inline:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.logo-link-footer { width: 3.2rem; height: 1.35rem; }
.logo-footer { filter: brightness(0.55); }
.footer-tagline {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  transition: color 150ms var(--ease-ui);
}
.footer-nav a:hover { color: var(--text); }
.footer-right {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
}
/* own line, aligned to the right edge of the footer column */
.footer-right .social-link {
  display: flex;
  margin: 0 -0.3rem 0.3rem auto;
}
.footer-right a {
  transition: color 150ms var(--ease-ui);
}
.footer-right a:hover { color: var(--text); }
.footer-right p { margin: 0.2rem 0 0; font-size: 0.74rem; color: var(--soft); }

/* ═══ ANIMATIONS ═══ */

.intro-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 700ms var(--ease) forwards;
}
.intro-fade-delay-1 { animation-delay: 150ms; }
.intro-fade-delay-2 { animation-delay: 380ms; }

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease);
}
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-grid .cap-card,
.stagger-grid .stage-card,
.stagger-grid .principle-card,
.shift-table .shift-row {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease),
    background 200ms var(--ease-ui),
    border-color 200ms var(--ease-ui),
    color 150ms var(--ease-ui);
}
.reveal-section.is-visible .stagger-grid .cap-card,
.reveal-section.is-visible .stagger-grid .stage-card,
.reveal-section.is-visible .stagger-grid .principle-card,
.reveal-section.is-visible .shift-table .shift-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ TABLET (≤ 1100px) ═══ */

@media (max-width: 1100px) {
  .service-block { grid-template-columns: 1.15fr 0.85fr; gap: 1.6rem; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .contact-page-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .next-block { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* ═══ MOBILE (≤ 680px) ═══ */

@media (max-width: 680px) {
  :root { --pad-x: 1.1rem; }

  .site-header {
    height: 3.5rem;
    padding: 0 var(--pad-x);
  }
  .logo-link { width: 3.35rem; height: 1.45rem; }
  .site-nav {
    gap: 0.95rem;
    font-size: 0.82rem;
  }
  .site-nav a { min-height: 2.6rem; }
  .site-nav a::after { bottom: 0.6rem; }

  /* Image is 1847x852 (aspect 2.17). A full-height hero on a narrow
     viewport crops it to ~21% of its width, which reads as heavily
     zoomed in. Keeping the hero short holds the crop near the subpage
     bands (~41%) so the berg stays legible. */
  .hero {
    min-height: 24.5rem;
    padding: 2rem var(--pad-x) 2rem;
    flex-direction: column;
    justify-content: flex-start;
  }
  /* light wash at the top for the heading, dark scrim at the foot so the
     lead and buttons stay readable over open water */
  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(250, 250, 248, 0.96) 0%,
        rgba(250, 250, 248, 0.6) 20%,
        rgba(250, 250, 248, 0) 38%
      ),
      linear-gradient(
        180deg,
        rgba(4, 20, 32, 0) 44%,
        rgba(4, 20, 32, 0.5) 68%,
        rgba(4, 20, 32, 0.86) 100%
      );
  }
  .hero-bg {
    object-fit: cover;
    object-position: center 42%;
  }
  /* copy at the top, actions pushed to the foot of the hero */
  .hero-copy {
    max-width: 21rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .hero-sub {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.4rem);
    line-height: 1.0;
  }
  /* lead and actions travel together to the foot of the hero, on the scrim */
  .lead {
    display: block;
    margin-top: auto;
    max-width: 20rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(250, 250, 248, 0.95);
  }
  .hero-actions {
    margin-top: 0;
    padding-top: 0.95rem;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }
  .hero-actions .link-arrow {
    color: var(--text-inv);
    border-bottom-color: rgba(250, 250, 248, 0.45);
  }

  .section {
    padding: 2.8rem var(--pad-x);
  }
  .section-head { margin-bottom: 1.4rem; }
  .section-head::before,
  .page-hero-inner::before {
    width: 1.8rem;
    margin-bottom: 0.85rem;
  }
  .section h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.7rem);
    max-width: none;
  }

  .context-band { padding-block: 1.8rem; }
  .context-line { font-size: 0.88rem; line-height: 1.5; }

  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { padding: 0.75rem 0; font-size: 0.86rem; }
  .cap-arrow { display: none; }

  /* A comparison only works read across, so this stays a real two-column
     table on mobile and scales down rather than restacking. */
  .shift-col-label {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.45rem 0.5rem 0;
  }
  .shift-col-label-strong { padding-left: 0.65rem; }
  .shift-row {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .shift-cell {
    padding: 0.6rem 0.45rem 0.65rem 0;
  }
  .shift-after {
    padding-left: 0.65rem;
    border-left: 1px solid var(--line);
  }
  .shift-label {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.22rem;
  }
  .shift-text {
    font-size: 0.73rem;
    line-height: 1.36;
  }

  .jump-nav {
    margin-top: 1.3rem;
    gap: 0.4rem;
  }
  .jump-nav a {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
  }

  .section-foot { margin-top: 1.4rem; }
  .link-arrow { font-size: 0.78rem; }

  .next-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 0;
  }
  .next-block h2 { font-size: 1.15rem; }

  .contact-links { gap: 0.7rem; }

  .cta-section { padding-block: 3.2rem; }
  .cta-sub { font-size: 0.84rem; }

  .page-hero {
    padding-top: clamp(2.6rem, 7vh, 4rem);
    padding-bottom: 1.9rem;
  }
  .page-hero h1 {
    font-size: clamp(1.55rem, 6.6vw, 1.95rem);
  }
  .page-hero-body {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-top: 0.85rem;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .service-text h2 {
    font-size: clamp(1.1rem, 4.4vw, 1.35rem);
  }
  .service-body { font-size: 0.8rem; line-height: 1.5; }
  .includes-label { font-size: 0.6rem; letter-spacing: 0.08em; }
  .includes-list li {
    padding: 0.45rem 0;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .stages {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
  .stage-card { padding: 0.85rem 0 1rem; }
  .stage-card h3 { font-size: 0.86rem; }
  .stage-card p { font-size: 0.76rem; line-height: 1.45; }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .principle-card {
    padding: 0.9rem 0;
    border-top-width: 1px;
  }
  .principle-card h3 { font-size: 0.88rem; }
  .principle-card p { font-size: 0.8rem; line-height: 1.5; }

  .contact-body {
    padding-block: 2.4rem 3rem;
  }
  .contact-page-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-label { font-size: 0.6rem; letter-spacing: 0.08em; }
  .expect-list li {
    padding: 0.45rem 0;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .contact-email-lg {
    font-size: clamp(0.95rem, 4.4vw, 1.15rem);
  }
  .copy-btn { font-size: 0.6rem; padding: 0.18rem 0.5rem; }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.4rem var(--pad-x) 2rem;
  }
  .footer-left { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .footer-tagline { font-size: 0.78rem; }
  .footer-nav { justify-content: flex-start; gap: 1rem; font-size: 0.72rem; }
  .footer-right { text-align: left; font-size: 0.76rem; }
  .footer-right .social-link { margin: 0 auto 0.35rem -0.3rem; }
  .social-inline { font-size: 0.8rem; }
}

/* ═══ TINY (≤ 360px) ═══ */

@media (max-width: 360px) {
  :root { --pad-x: 0.85rem; }
  .hero h1 { font-size: 1.7rem; }
  .site-nav { gap: 0.72rem; font-size: 0.76rem; }
  .footer-nav { gap: 0.8rem; font-size: 0.7rem; }
  .section h2 { font-size: 1.28rem; }
  .stages { grid-template-columns: 1fr; }
}
