/* ============================================================
   Ιωακειμίδης Ηλίας — Λογιστικό Γραφείο
   Editorial / trust-driven accounting landing page
   ============================================================ */

:root {
  --navy: #0E2032;             /* deeper, more saturated navy → stronger contrast */
  --navy-2: #182A3C;
  --navy-3: #22384E;
  --cream: #F8F6F2;
  --cream-2: #F1ECE3;
  --teal: #197A63;             /* more saturated green (accent on cream + element bg) */
  --teal-2: #155A4A;
  --teal-text: #0F5A47;        /* green on CREAM → darker, max contrast (~7:1) */
  --teal-soft: #54B09C;        /* green on NAVY → brighter, more contrast (NOT darker) */
  --rule: #E4DFD6;
  --rule-dark: #243A50;
  --muted: #313C47;            /* body text on cream, slightly darker */
  --muted-cream: rgba(248, 246, 242, 0.82);

  --serif: "GFS Didot", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --accent: "Spectral", "GFS Didot", serif;

  --wrap-max: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--teal); color: #fff; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* JS-fallback safety */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   ENTRANCE (hero only, CSS-only stagger)
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.entrance { opacity: 0; animation: fadeUp 0.85s var(--ease) both; }
.entrance-1 { animation-delay: 80ms; }
.entrance-2 { animation-delay: 220ms; }
.entrance-3 { animation-delay: 360ms; }
.entrance-4 { animation-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .entrance, [class*="entrance-"] { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   REVEAL (scroll-driven, JS-gated)
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Zigzag — directional scroll-in (alternating sides), reuses the same observer + .is-visible.
   Reduced-motion is covered by the !important reset below (these elements also carry .reveal). */
html.js .reveal-left  { transform: translateX(-44px); }
html.js .reveal-right { transform: translateX(44px); }
html.js .reveal-left.is-visible,
html.js .reveal-right.is-visible { transform: none; }
/* When columns stack (≤1024), drop the horizontal slide → plain fade-up.
   Prevents off-screen translateX from creating horizontal overflow on mobile/tablet. */
@media (max-width: 1024px) {
  html.js .reveal-left,
  html.js .reveal-right { transform: translateY(22px); }
  html.js .reveal-left.is-visible,
  html.js .reveal-right.is-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Subtle figure scale-in (wraps the photo container, not the <img>) */
html.js .reveal .about-photo,
html.js .reveal .process-circle {
  transform: scale(0.965);
  transition: transform 1s var(--ease);
}
html.js .reveal.is-visible .about-photo,
html.js .reveal.is-visible .process-circle {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal .about-photo,
  html.js .reveal .process-circle { transform: none !important; transition: none !important; }
}

/* ============================================================
   COMMON
   ============================================================ */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}

.section {
  padding: clamp(72px, 8vw, 120px) 0;
  position: relative;
}
.section-cream { background: var(--cream); color: var(--navy); }
.section-navy { background: var(--navy); color: var(--cream); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.eyebrow {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 22px 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-dash {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--teal);
}
.eyebrow-light { color: var(--cream); }
.eyebrow-light .eyebrow-dash { background: var(--cream); opacity: 0.9; }
.eyebrow-dark { color: var(--teal-text); }
.eyebrow-teal { color: var(--teal-soft); }
.eyebrow-teal .eyebrow-dash { background: var(--teal-soft); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 24px 0;
}
.section-title em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}
.section-title-light { color: var(--cream); }
.section-title-light em { color: var(--teal-soft); }

.section-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.68;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
}
.section-navy .section-lead { color: var(--muted-cream); }
.section-lead-right { max-width: 420px; justify-self: end; text-align: left; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  position: relative;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }

.btn-ghost {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  border-radius: 0;
  padding: 4px 0 6px;
  align-self: center;
}
.btn-ghost:hover { border-color: var(--teal-soft); color: var(--teal-soft); }

.btn-link {
  color: var(--teal);
  padding: 4px 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}
.btn-link:hover { color: var(--navy); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  color: var(--cream);
  transition: color 0.4s var(--ease);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.brand-sub {
  font-family: var(--accent);
  font-style: italic;
  font-size: 12px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.4s var(--ease);
}
.nav-cta:hover { background: var(--teal-2); }
.nav-cta-icon { flex: none; width: 15px; height: 15px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.nav-burger span {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Scrolled state */
.nav.scrolled {
  background: rgba(248, 246, 242, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--rule);
}
.nav.scrolled .brand,
.nav.scrolled .nav-links a,
.nav.scrolled .nav-burger { color: var(--navy); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 40;
  padding: 110px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 7vw, 44px);
  color: var(--cream);
  padding: 14px 0;
  border-top: 1px solid rgba(248,246,242,0.12);
  display: flex;
  align-items: baseline;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu nav a span {
  font-family: var(--accent);
  font-style: italic;
  font-size: 14px;
  color: var(--teal-soft);
  letter-spacing: 0.1em;
}
body.menu-open .mobile-menu nav a {
  opacity: 1;
  transform: translateY(0);
}
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.22s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.29s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.36s; }

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}
body.menu-open .mobile-cta { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-overlay-navy {
  background:
    linear-gradient(180deg, rgba(26,42,58,0.55) 0%, rgba(26,42,58,0.78) 60%, rgba(26,42,58,0.92) 100%),
    linear-gradient(90deg, rgba(26,42,58,0.55) 0%, rgba(26,42,58,0.25) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero-content { max-width: 860px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 28px 0;
}
.hero-title .hl { white-space: nowrap; }
.hero-title em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  color: #fff;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 0 40px 0;
}
.hero-ctas {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-meta {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,0.9);
}
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-meta-label {
  font-family: var(--accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-meta-value {
  font-family: var(--serif);
  font-size: 17px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: var(--pad-x);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.6);
  font-family: var(--accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.45);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   MARQUEE — high-contrast ticker bar
   ============================================================ */
.marquee {
  background: var(--teal);
  border-top: 1px solid var(--teal-2);
  border-bottom: 1px solid var(--teal-2);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--teal), rgba(25,122,99,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--teal), rgba(25,122,99,0)); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group { display: inline-flex; align-items: center; }
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 20px);
  color: #fff;
  letter-spacing: 0.01em;
  padding: 18px 0;
  display: inline-block;
}
.marquee-sep {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  margin: 0 clamp(20px, 3vw, 40px);
  display: inline-block;
  transform: translateY(-2px);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.section-services { overflow: hidden; }
.services-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

/* Feature photo (left) — contained portrait, decoupled from the list height (top-aligned) */
.services-figure { position: relative; margin: 0; align-self: center; }
.services-photo {
  aspect-ratio: 4 / 5;
  max-height: 600px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 60px -30px rgba(26,42,58,0.28);
}
.services-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.services-figure:hover .services-photo img { transform: scale(1.04); }
.services-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--accent);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.services-cap-line { width: 36px; height: 1px; background: var(--teal-text); }

/* Services as a compact list (right) */
.services-main .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.services-list { list-style: none; margin: 0; padding: 0; }
.services-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 22px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  transition: background 0.4s var(--ease);
}
.services-list li:last-child { border-bottom: 1px solid var(--rule); }
.svc-num {
  font-family: var(--accent);
  font-style: italic;
  font-size: 13px;
  color: var(--teal-text);
  letter-spacing: 0.12em;
  padding-top: 5px;
}
.svc-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
  margin: 0 0 5px;
  color: var(--navy);
}
.svc-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
/* Uniform left-aligned column (no zigzag) — staggered reveal cascade only */
.services-zigzag li.reveal:nth-child(2) { transition-delay: 70ms; }
.services-zigzag li.reveal:nth-child(3) { transition-delay: 140ms; }
.services-zigzag li.reveal:nth-child(4) { transition-delay: 210ms; }
.services-zigzag li.reveal:nth-child(5) { transition-delay: 280ms; }
.services-zigzag li.reveal:nth-child(6) { transition-delay: 350ms; }

/* ============================================================
   ABOUT
   ============================================================ */
.section-about { overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-text { max-width: 600px; }
.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(248,246,242,0.85);
  margin: 0 0 18px;
}
.about-body { margin-bottom: 40px; }

.about-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-pillars li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid rgba(248,246,242,0.12);
}
.about-pillars li:last-child { border-bottom: 1px solid rgba(248,246,242,0.12); }
.pillar-mark {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--teal-soft);
  line-height: 1;
  padding-top: 4px;
}
.about-pillars strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.about-pillars span {
  font-size: 14.5px;
  color: rgba(248,246,242,0.78);
  line-height: 1.55;
}

.about-figure {
  position: relative;
  margin: 0;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-figure:hover .about-photo img { transform: scale(1.04); }

.about-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--accent);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.7);
}
.about-cap-line {
  width: 36px;
  height: 1px;
  background: var(--teal-soft);
}

.about-stamp {
  position: absolute;
  bottom: 40px;
  left: -44px;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 8px;
  font-family: var(--accent);
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 24px 46px -22px rgba(0,0,0,0.45);
  animation: badgeSwing 6s ease-in-out infinite;
}
/* Gentle oscillation — never inverts the text (max ±24°, well under ±90°) */
@keyframes badgeSwing {
  0%   { transform: rotate(-24deg); }
  50%  { transform: rotate(24deg); }
  100% { transform: rotate(-24deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-stamp { animation: none; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  position: relative;
}
.step {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
  padding: 32px 0;
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  color: var(--teal);
  min-width: 80px;
  letter-spacing: -0.02em;
}
.step-body { padding-top: 8px; }
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 8px;
  color: var(--navy);
}
.step p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
}
.step-connect {
  display: block;
  width: 1px;
  height: 32px;
  background: var(--rule);
  margin-left: 36px;
  position: relative;
  overflow: hidden;
}
.step-connect::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateY(-100%);
  transition: transform 1s var(--ease);
}
.process-steps.in-view .step-connect::after {
  transform: translateY(0);
}
.process-steps.in-view .step-connect:nth-of-type(2)::after { transition-delay: 0.2s; }

.process-detail {
  margin: 0;
  position: relative;
}
.process-circle {
  width: clamp(320px, 38vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  position: relative;
  box-shadow: 0 40px 70px -34px rgba(26,42,58,0.34);
}
.process-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(25,122,99,0.3);
  border-radius: 50%;
  pointer-events: none;
}
.process-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
  transform: scale(1.4);
  transition: transform 1.5s var(--ease);
}
.process-detail:hover .process-circle img { transform: scale(1.5); }

.process-detail figcaption {
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--navy);
  max-width: 380px;
  margin: 0 auto;
}
.process-detail-eyebrow {
  display: block;
  font-family: var(--accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 10px;
}

/* ============================================================
   TRUST BANNER
   ============================================================ */
.trust {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0;
  overflow: hidden;
  color: #fff;
}
.trust-bg { position: absolute; inset: 0; z-index: 0; }
.trust-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.trust-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,112,92,0.82) 0%, rgba(20,112,92,0.66) 50%, rgba(13,88,72,0.9) 100%);
}

.trust-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
}
.trust-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: #fff;
}
.trust-headline em {
  font-family: var(--accent);
  font-style: italic;
  color: #fff;
}
.trust-dot { color: rgba(255,255,255,0.5); }
.trust-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.tags {
  list-style: none;
  padding: 0;
  margin: 0 auto 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
}
.tags li {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--cream);
  border: 1px solid rgba(84,176,156,0.6);
  padding: 11px 22px;
  border-radius: 999px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.tags li:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.audience-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(248,246,242,0.78);
  margin: 0;
  text-align: center;
}
.audience-foot-line {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: var(--teal-soft);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin: 36px 0 36px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-list dt {
  font-family: var(--accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 8px;
}
.contact-list dd {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
}
.contact-list a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.contact-list a:hover { border-color: var(--teal); }

.contact-ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-map { position: relative; }
.contact-map-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 60px -30px rgba(26,42,58,0.2);
  position: relative;
}
.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(0.95);
}

.contact-map-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--cream-2);
  border-left: 2px solid var(--teal);
}
.contact-map-mark {
  font-size: 16px;
  color: var(--teal);
}
.contact-map-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-map-meta span {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0 24px;
}
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}
.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: luminosity;
}
.footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,42,58,0.7), rgba(26,42,58,0.95));
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248,246,242,0.12);
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-mark {
  font-family: var(--serif);
  font-size: 26px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream);
  border-radius: 50%;
  letter-spacing: 0.02em;
}
.footer-mark span { font-size: 14px; margin: 0 1px; color: var(--teal-soft); }
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.footer-brand span {
  font-family: var(--accent);
  font-style: italic;
  font-size: 13px;
  color: rgba(248,246,242,0.65);
  letter-spacing: 0.04em;
}

.footer-col h4 {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin: 0 0 16px;
}
.footer-col p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(248,246,242,0.78);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 15px;
  color: rgba(248,246,242,0.78);
  transition: color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.footer-col a:hover { color: var(--teal-soft); border-bottom-color: currentColor; }

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(248,246,242,0.55);
  font-family: var(--accent);
  font-style: italic;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-base a {
  color: var(--teal-soft);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.credit-link { font-weight: 600; font-style: normal; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-meta { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 520px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-detail { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-figure { max-width: 480px; }
  .section-head-row { grid-template-columns: 1fr; align-items: start; }
  .section-lead-right { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  /* Phone becomes an icon-only button, top-right next to the burger */
  .nav-cta { margin-left: auto; padding: 11px 13px; gap: 0; }
  .nav-cta-text { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-title { font-size: clamp(40px, 12vw, 60px); }
  .hero-title .hl { white-space: normal; }
  .hero-ctas { gap: 20px; }
  .hero-scroll { display: none; }

  .services-list li { padding: 20px 0; }

  /* Chips: clean symmetric 2-col grid on mobile */
  .tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: none;
  }
  .tags li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .about-stamp { width: 138px; height: 138px; bottom: -30px; left: auto; right: -18px; font-size: 16px; padding: 0 7px; gap: 0; line-height: 1.08; }

  .step { flex-direction: column; gap: 12px; padding: 24px 0; align-items: center; text-align: center; }
  .step-num { font-size: 44px; min-width: 0; }
  .step p { margin-inline: auto; }
  .step-connect { display: none; }

  /* Center contact section on mobile */
  .contact-text { text-align: center; }
  .contact-text .eyebrow { justify-content: center; }
  .contact-text .section-lead { margin-inline: auto; }
  .contact-list { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .contact-ctas { gap: 20px; justify-content: center; }

  /* Center footer on mobile (wordmark + columns + links) */
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-col ul { align-items: center; }
  .footer-base { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .hero-title { font-size: 40px; }
  .section-title { font-size: 36px; }
}
