/* ============================================================
   Energised:X, Shared Stylesheet
   Fonts: Syne (display) + Manrope (body) via Google Fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600&display=swap');

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* === VARIABLES === */
:root {
  --bg:          #F4F5F3;
  --white:       #FFFFFF;
  --ink:         #0B0D0C;
  --ink-soft:    #4E5A54;
  --ink-xsoft:   #8A9790;
  --accent:      #0B6272;
  --accent-warm: #DFF0F4;
  --accent-mid:  #5BA4B0;
  --line:        #D8E0DC;
  --dark:        #0B0D0C;
  --max:         1160px;
}

/* === BASE === */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 38px; }
section { padding: 56px 0; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.4; color: var(--ink); padding-bottom: 0.32em; }
h1 { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; }
h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.32; }
h3 { font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; letter-spacing: -0.012em; line-height: 1.38; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* === HEADER === */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#hdr.scrolled {
  background: rgba(244, 245, 243, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-bar {
  display: flex; align-items: center;
  height: 72px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink);
  flex-shrink: 0;
}
.nav-logo .sep { color: var(--ink-xsoft); }
.nav-logo .x  { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 34px;
  margin-left: 50px;
}
.nav-links a, .nav-dd > button {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  position: relative; background: none; border: none; cursor: pointer;
  padding: 0; white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.25s;
}
.nav-links a:hover, .nav-dd > button:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd > button {
  display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500;
}
.chevron { font-size: 10px; transition: transform 0.2s; line-height: 1; }
.nav-dd.open .chevron { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: -14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px; min-width: 200px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-dd.open .dd-menu { opacity: 1; pointer-events: all; transform: none; }
.dd-menu a {
  display: block; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.dd-menu a::after { display: none; }
.dd-menu a:hover { background: var(--bg); color: var(--ink); }

.nav-cta {
  margin-left: auto;
  display: inline-block;
  background: var(--accent); color: var(--white);
  font-size: 13.5px; font-weight: 600;
  padding: 9px 20px; border-radius: 100px;
  transition: background 0.25s, transform 0.25s;
  font-family: 'Manrope', sans-serif;
}
.nav-cta:hover { background: #084E5C; transform: translateY(-1px); }

/* Mobile */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; margin-left: auto; padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg); flex-direction: column;
  padding: 90px 38px 40px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav-seg { 
  font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700;
  color: var(--ink); padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: block; cursor: pointer;
}
.mobile-nav-sub { padding-left: 18px; }
.mobile-nav-sub a { font-size: 18px; color: var(--ink-soft); }

/* === LOGO IMAGES === */
.nav-logo-img { height: 40px; width: auto; display: block; }
.foot-logo-img { height: 32px; width: auto; display: block; }
.foot-logo { display: flex; align-items: center; }

/* === IMAGE PLACEHOLDER === */
.img-placeholder {
  width: 100%;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-xsoft);
  padding: 48px 24px;
  text-align: center;
}
.img-placeholder .ph-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.img-placeholder .ph-sub { font-size: 13px; color: var(--ink-xsoft); margin: 0; }
.img-placeholder svg { opacity: 0.35; }

/* === IMAGE SLOTS (drag-drop, replaces placeholder) === */
image-slot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--white);
}
.img-figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.img-figure figcaption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 12px;
  color: var(--ink-xsoft);
  letter-spacing: 0.04em;
}
.img-figure figcaption .fc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 11.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.img-figure figcaption .fc-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  align-self: center;
}
.img-figure figcaption .fc-text {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0;
  font-family: 'Manrope', sans-serif;
}

/* Full-bleed editorial image band */
.img-band {
  padding: 40px 0 100px;
  background: var(--bg);
}
.img-band .img-figure { gap: 18px; }
.img-band image-slot { aspect-ratio: 16 / 6.5; }

/* Side-by-side image + meta layout (segment page hero) */
.img-hero-band {
  padding: 56px 0 0;
}
.img-hero-band image-slot { aspect-ratio: 16 / 7; }

/* Inline image inside a card/section */
.img-inline { margin: 24px 0; }
.img-inline image-slot { aspect-ratio: 16 / 9; }

/* === EYEBROW === */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--accent); }

/* === HOME HERO === */
.home-hero {
  padding: 96px 0 56px; position: relative; overflow: hidden;
  min-height: min(56vh, 540px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-bg image-slot {
  display: block; width: 100%; height: 100%;
  /* desaturate + dim so the image sits behind text */
  filter: grayscale(0.2) contrast(1) brightness(1.05);
  opacity: 0.5;
}
.hero-bg::after {
  /* Reading scrim: stronger on the left where the text sits, fading right */
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(244,245,243,0.92) 0%, rgba(244,245,243,0.75) 38%, rgba(244,245,243,0.4) 70%, rgba(244,245,243,0.2) 100%),
    linear-gradient(180deg, rgba(244,245,243,0.5) 0%, rgba(244,245,243,0) 30%, rgba(244,245,243,0) 70%, rgba(244,245,243,0.75) 100%);
  pointer-events: none;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(11,98,114,0.055) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
  opacity: 0.5;
}
.home-hero::after {
  content: 'X';
  position: absolute; right: -1%; top: 50%;
  transform: translateY(-52%);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(240px, 32vw, 520px);
  color: rgba(11,98,114,0.025);
  letter-spacing: -0.04em; line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.home-hero h1 { max-width: 28ch; margin-top: 14px; }
.home-hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  margin-top: 18px; max-width: none;
  font-size: 16.5px; line-height: 1.65; color: var(--ink-soft);
}
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--ink); color: var(--white);
  padding: 14px 28px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600;
  font-family: 'Manrope', sans-serif;
  transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: color 0.2s, gap 0.2s;
}
.btn-ghost:hover { color: var(--ink); gap: 10px; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 96px 0 44px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 13px; color: var(--ink-xsoft);
  font-weight: 500; margin-bottom: 22px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 24ch; font-size: clamp(26px, 3.6vw, 44px); }
.page-hero p {
  margin-top: 14px; max-width: 62ch;
  font-size: 15.5px; line-height: 1.65;
}

/* === SECTION LABEL PATTERN === */
.sec-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
}
.sec-label .sl-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em;
}
.sec-label .sl-rule {
  width: 36px; height: 1.5px;
  background: var(--accent); opacity: 0.45; flex-shrink: 0;
}
.sec-label h2 { font-size: clamp(24px, 3.5vw, 44px); }

/* === OFFER CARDS === */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 30px 30px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.offer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.offer-card:hover::before { transform: scaleX(1); }
.offer-card:hover {
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.07);
}
.offer-tag {
  display: inline-block; background: var(--accent-warm); color: var(--accent);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
  margin-bottom: 14px;
}
.offer-card h3 { font-size: 22px; margin-bottom: 10px; }
.offer-card > p { margin-bottom: 0; font-size: 15px; line-height: 1.55; }
.offer-list { margin: 14px 0 18px; }
.offer-list li {
  padding: 7px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 10px;
}
.offer-list li::before { content: '→'; color: var(--accent); font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.offer-list li:last-child { border-bottom: none; }
.card-link {
  font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 9px; }

/* === WHO WE SERVE === */
.serve-section { background: var(--white); }
.serve-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.serve-card {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.serve-card:last-child { border-right: none; }
.serve-card:hover { background: var(--bg); }
.serve-ghost-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700;
  color: rgba(11,98,114,0.1); line-height: 1; margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.serve-card h3 { font-size: 19px; margin-bottom: 14px; }
.serve-list { margin-bottom: 18px; }
.serve-list li {
  font-size: 14px; color: var(--ink-soft);
  padding: 7px 0; border-bottom: 1px solid var(--line);
}
.serve-list li:last-child { border-bottom: none; }
.serve-link {
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s;
}
.serve-link:hover { gap: 9px; }

/* === FRICTION (dark section) === */
.friction-section { background: var(--dark); padding: 64px 0; }
.friction-section .sec-label .sl-num,
.friction-section .sec-label h2 { color: var(--white); }
.friction-section .sec-label .sl-rule { background: var(--accent-mid); opacity: 0.5; }
.friction-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden; margin-top: 28px;
}
.friction-card { background: var(--dark); padding: 30px 26px; }
.friction-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700;
  color: var(--accent-mid); opacity: 0.35; line-height: 1;
  margin-bottom: 12px; letter-spacing: -0.04em;
}
.friction-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.friction-card p { color: rgba(255,255,255,0.5); font-size: 14.5px; line-height: 1.65; }
.friction-solution {
  margin-top: 28px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.friction-solution p {
  color: rgba(255,255,255,0.68); font-size: 16px;
  line-height: 1.6; max-width: 70ch;
}
.friction-solution strong { color: var(--white); }

/* === CONTACT STRIP === */
.contact-strip { text-align: center; padding: 72px 0; }
.contact-strip h2 { max-width: 18ch; margin: 0 auto; line-height: 1.32; }
.contact-strip h2 a {
  color: var(--accent);
  border-bottom: 2px solid rgba(11,98,114,0.2);
  transition: border-color 0.25s;
}
.contact-strip h2 a:hover { border-color: var(--accent); }
.contact-strip p {
  margin: 22px auto 0; font-size: 17px;
  max-width: 44ch; line-height: 1.7;
}

/* === INTRO HIGHLIGHT BLOCK === */
.intro-block {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 50px 48px; margin-bottom: 68px;
  border-left: 3px solid var(--accent);
}
.intro-block p { font-size: 17px; line-height: 1.8; max-width: 76ch; }

/* === PACKAGE STACK (Software page) === */
.pkg-stack {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pkg-item {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 24px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pkg-item:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.06);
}
.pkg-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 14px 14px 0 0;
}
.pkg-item:hover::before { transform: scaleX(1); }
.pkg-head { display: block; }
.pkg-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 700;
  color: var(--accent); letter-spacing: -0.04em; line-height: 1;
  display: block; margin-bottom: 8px;
}
.pkg-head h3 {
  font-size: 19px;
  margin: 0 0 12px;
  line-height: 1.3;
  padding-bottom: 0;
}
.pkg-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.pkg-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-warm);
  padding: 3px 8px; border-radius: 100px;
  white-space: nowrap;
}
.pkg-body { display: flex; flex-direction: column; flex: 1; }
.pkg-body p {
  font-size: 14.5px; line-height: 1.6;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.pkg-body p:last-of-type { margin-bottom: 16px; }
.pkg-outputs {
  list-style: none; padding: 0; margin: auto 0 0;
  border-top: 1px solid var(--line);
}
.pkg-outputs li {
  font-size: 13.5px; color: var(--ink);
  padding: 8px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.45;
}
.pkg-outputs li:last-child { border-bottom: none; }
.pkg-outputs li::before {
  content: '→';
  color: var(--accent); font-size: 12px;
  flex-shrink: 0; margin-top: 2px;
}
.pkg-figure {
  margin: 0 0 40px;
}
.pkg-note {
  font-size: 14px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 70ch; margin: 36px auto 0;
  text-align: center;
}
.pkg-note a {
  color: var(--accent); border-bottom: 1px solid currentColor;
}
@media (max-width: 900px) {
  .pkg-stack { grid-template-columns: 1fr; gap: 18px; }
}
.product-pair { display: flex; flex-direction: column; gap: 0; }
.product-item {
  display: grid; grid-template-columns: 1fr 1.8fr;
  gap: 60px; padding: 64px 0; align-items: start;
  border-bottom: 1px solid var(--line);
}
.product-item:last-child { border-bottom: none; }
.pi-head .pi-tag {
  display: inline-block; background: var(--accent-warm); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.pi-head h3 { font-size: clamp(20px, 2.5vw, 26px); line-height: 1.4; }
.pi-body p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.pi-body p:last-child { margin-bottom: 0; }
.pi-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 22px;
  transition: gap 0.2s;
}
.pi-link:hover { gap: 10px; }

/* === SERVICE BLOCKS (Consultancy) === */
.service-blocks { display: flex; flex-direction: column; }
.service-block {
  display: grid; grid-template-columns: 1fr 2.2fr;
  gap: 50px; padding: 56px 0; align-items: start;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.sb-head .sb-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px;
}
.sb-head h3 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; }
.sb-body p { font-size: 15.5px; line-height: 1.78; margin-bottom: 14px; }
.sb-body p:last-child { margin-bottom: 0; }

/* === Q&A STACK (Fleet owners) === */
.qa-stack { display: flex; flex-direction: column; }
.qa-item {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 60px; padding: 56px 0; align-items: start;
  border-bottom: 1px solid var(--line);
}
.qa-item:first-child { border-top: 1px solid var(--line); }
.qa-q { font-family: 'Space Grotesk', sans-serif; font-size: clamp(16px, 1.8vw, 21px); font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.qa-a p { font-size: 15.5px; line-height: 1.78; }

/* === SPLIT SECTIONS (SI page) === */
.split-sec {
  padding: 70px 0; border-bottom: 1px solid var(--line);
}
.split-sec:first-child { padding-top: 0; }
.split-sec:last-child { border-bottom: none; }
.ss-num { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; }
.split-sec h3 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 22px; }
.split-sec p { font-size: 16px; line-height: 1.78; margin-bottom: 16px; max-width: 72ch; }
.split-sec p:last-of-type { margin-bottom: 0; }

/* === ESS BLOCKS === */
.ess-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 68px;
}
.ess-hero-split .intro-block p { font-size: 16px; line-height: 1.75; max-width: none; }
@media (max-width: 900px) {
  .ess-hero-split { grid-template-columns: 1fr; gap: 28px; }
}
.ess-blocks { display: flex; flex-direction: column; }
.ess-block {
  display: grid; grid-template-columns: 1.1fr 1.9fr;
  gap: 60px; padding: 60px 0; align-items: start;
  border-bottom: 1px solid var(--line);
}
.ess-block:first-child { border-top: 1px solid var(--line); }
.ess-block:last-child { border-bottom: none; }
.eb-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px;
}
.ess-block h3 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; }
.eb-body p { font-size: 15.5px; line-height: 1.78; }

/* === FOOTER === */
footer { border-top: 1px solid var(--line); padding: 42px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot-logo { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.foot-logo .sep { color: var(--ink-xsoft); }
.foot-logo .x  { color: var(--accent); }
.foot-right { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 13.5px; color: var(--ink-soft); transition: color 0.2s; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 13px; color: var(--ink-xsoft); }

/* === REVEAL === */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.fade { opacity: 0; transform: translateY(20px); animation: rise 0.85s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.44s; }
.d5 { animation-delay: 0.56s; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .offer-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .serve-card { border-right: none; border-bottom: 1px solid var(--line); }
  .serve-card:last-child { border-bottom: none; }
  .friction-grid { grid-template-columns: 1fr; }
  .product-item, .service-block, .qa-item, .ess-block { grid-template-columns: 1fr; gap: 24px; }
  .pkg-stack { grid-template-columns: 1fr; gap: 16px; }
  section { padding: 56px 0; }
  .home-hero {
    padding: 92px 0 48px;
    min-height: auto;
  }
  .home-hero::after { display: none; }
  .page-hero { padding: 88px 0 36px; }
  .intro-block { padding: 28px 24px; margin-bottom: 36px; }
  .contact-strip { padding: 60px 0; }
  .friction-section { padding: 56px 0; }
  /* Image figures: rein in tall aspect ratios on narrow screens */
  .img-figure image-slot { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16px; }
  h1 { font-size: 30px; line-height: 1.22; }
  h2 { font-size: 24px; line-height: 1.28; }
  h3 { font-size: 19px; line-height: 1.32; }
  .nav-bar { padding-top: 8px; padding-bottom: 8px; }
  .nav-logo-img { height: 22px; }
  .mobile-nav { padding: 80px 24px 32px; }
  .mobile-nav a, .mobile-nav-seg { font-size: 22px; padding: 12px 0; }
  .mobile-nav-sub a { font-size: 16px; }
  .home-hero { padding: 80px 0 40px; }
  .home-hero h1 { max-width: none; }
  .hero-sub { font-size: 15.5px; line-height: 1.6; margin-top: 14px; }
  .cta-row { gap: 10px; margin-top: 20px; }
  .btn-primary { padding: 12px 22px; font-size: 14px; }
  .btn-ghost { font-size: 14px; }
  .page-hero { padding: 80px 0 28px; }
  .breadcrumb { font-size: 12px; margin-bottom: 16px; }
  .page-hero p { font-size: 15px; line-height: 1.6; margin-top: 12px; }
  .sec-label { margin-bottom: 24px; gap: 10px; }
  .sec-label .sl-rule { width: 22px; }
  .sec-label h2 { font-size: 22px; }
  .offer-card { padding: 24px 22px; }
  .offer-card h3 { font-size: 20px; }
  .serve-card { padding: 24px 22px; }
  .serve-ghost-num { font-size: 32px; }
  .friction-card { padding: 24px 22px; }
  .friction-num { font-size: 32px; }
  .friction-solution p { font-size: 15px; }
  .contact-strip { padding: 48px 0; }
  .contact-strip h2 { font-size: 22px; }
  .contact-strip p { font-size: 15px; margin-top: 14px; }
  .pkg-item { padding: 22px 20px; }
  .pkg-num { font-size: 28px; }
  .pkg-head h3 { font-size: 18px; }
  .intro-block { padding: 22px 20px; }
  .intro-block p { font-size: 15px; line-height: 1.65; }
  .split-sec { padding: 40px 0; }
  .split-sec h3 { font-size: 22px; margin-bottom: 16px; }
  .split-sec p { font-size: 15px; line-height: 1.65; }
  .ess-block, .service-block, .qa-item { padding: 36px 0; gap: 18px; }
  .ess-block h3, .sb-head h3, .pi-head h3 { font-size: 19px; }
  .eb-body p, .sb-body p, .pi-body p, .qa-a p { font-size: 14.5px; line-height: 1.65; }
  footer { padding: 32px 0; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-right { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { flex-wrap: wrap; gap: 14px 18px; }
}
