/* ═════════════════════════════════════════════════════════════════
   HASHIRA CONSULTING — SHARED STYLESHEET
   Used by all 10 pages (EN + CS).
   Brand tokens from Hashira Visual Identity Guide.
   ═════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Palanquin+Dark:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colours — from Hashira Visual Identity Guide */
  --blue: #00a8e8;
  --navy: #003459;
  --orange: #ff5816;
  --black: #00171f;
  --white: #ffffff;

  /* Derived neutrals */
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --ink: #00171f;
  --ink-soft: #3d4b54;
  --muted: #7a8892;
  --line: #dce5eb;

  /* Typography */
  --heading: 'Palanquin Dark', 'Arial Narrow', sans-serif;
  --body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1240px;
  --pad: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

section { padding: 120px 0; position: relative; overflow: hidden; }
section + section { border-top: 1px solid var(--line); }

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.1;
}
h1 { font-size: clamp(44px, 6.5vw, 84px); margin-bottom: 28px; }
h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
h3 { font-size: 22px; margin-bottom: 12px; }
h4 { font-size: 19px; margin-bottom: 14px; }

p { margin-bottom: 0; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--blue); }

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.55;
}

/* ═══ HEADER / NAVIGATION ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 32px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.2s ease;
}
.site-logo:hover { opacity: 0.8; }
.site-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: flex-end;
}
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}
.site-nav a {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}
.lang-switch {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.lang-switch a { color: var(--muted); transition: color 0.2s ease; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.active { color: var(--blue); font-weight: 600; }
.lang-switch .sep { color: var(--line); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ═══ HERO ═══ */
.hero { padding: 140px 0 120px; background: var(--white); position: relative; }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 45%; height: 180px;
  background: linear-gradient(115deg, transparent 50%, var(--blue) 50%);
  opacity: 0.12;
}
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -120px;
  width: 640px; height: 640px;
  background: url('assets/logo-kanji.svg') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none; user-select: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 980px; }
.hero h1 .accent { color: var(--blue); }

.hero-tagline {
  font-family: var(--heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 44px;
  display: inline-block;
}
.hero-tagline::before {
  content: ""; position: absolute;
  left: 0; top: 50%;
  width: 32px; height: 3px;
  background: var(--orange);
  transform: translateY(-50%);
}
.hero .lede { margin-top: 28px; font-size: 20px; max-width: 720px; }

/* Smaller hero variant (for Services, Work, About, Contact) */
.hero.compact { padding: 100px 0 80px; }
.hero.compact h1 { font-size: clamp(38px, 5vw, 64px); }

/* ═══ CREDENTIALS STRIP ═══ */
.credentials {
  background: var(--navy);
  padding: 56px 0;
  overflow: hidden;
}
.credentials .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.credentials-label {
  font-family: var(--heading); font-size: 14px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.credentials-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
}
.credential { color: var(--white); font-family: var(--heading); }
.credential-title { font-size: 19px; font-weight: 600; margin-bottom: 4px; line-height: 1.2; }
.credential-sub {
  font-family: var(--body); font-size: 13px;
  color: rgba(255,255,255,0.65); font-weight: 400;
  line-height: 1.45;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }

.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: transparent; color: var(--orange); transform: translateY(-2px); }

.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost { background: transparent; color: var(--blue); border: none; padding: 14px 0; border-bottom: 2px solid var(--blue); }

/* ═══ SERVICES GRID (2x2) ═══ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.service {
  padding: 40px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  transition: transform 0.25s ease, background 0.25s ease;
}
.service:hover { background: #eaf2f8; transform: translateY(-2px); }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 15.5px; }

.boundaries {
  margin-top: 56px;
  padding: 32px 40px;
  border: 1px dashed var(--line);
  background: var(--white);
}
.boundaries-label {
  font-family: var(--heading); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px;
}
.boundaries p { font-size: 16px; color: var(--ink-soft); }
.boundaries strong { color: var(--navy); font-weight: 600; }

/* ═══ PROBLEMS GRID (3 cols) ═══ */
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.problem {
  background: var(--white); padding: 40px 36px;
  transition: background 0.3s ease;
}
.problem:hover { background: #fcfdfe; }
.problem-number {
  font-family: var(--heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.15em; color: var(--blue); margin-bottom: 16px;
}
.problem h3 { font-size: 19px; margin-bottom: 12px; line-height: 1.3; }
.problem p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ═══ PROCESS STEPS ═══ */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 72px;
}
.process-step { position: relative; padding-top: 24px; }
.process-step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 4px; background: var(--blue);
}
.process-step-num {
  font-family: var(--heading); font-size: 14px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--blue);
  margin-bottom: 12px; display: block;
}
.process-step h3 { margin-bottom: 16px; font-size: 26px; }
.process-step p { color: var(--ink-soft); }

/* ═══ CASE STUDY ═══ */
.casestudy { background: var(--bg-soft); position: relative; }
.casestudy-meta {
  font-family: var(--heading); font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.casestudy-meta span { display: inline-flex; align-items: center; gap: 8px; }
.casestudy-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.casestudy-title {
  font-family: var(--heading);
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.05; color: var(--navy);
  margin-bottom: 32px; max-width: 900px; font-weight: 600;
}
.casestudy-title em { font-style: italic; color: var(--blue); font-weight: 600; }
.casestudy-intro {
  font-size: 19px; color: var(--ink-soft);
  max-width: 780px; margin-bottom: 72px; line-height: 1.55;
}

.casestudy-phases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-bottom: 72px;
}
.phase { background: var(--white); padding: 48px 40px; }
.phase-number {
  font-family: var(--heading); font-size: 56px; font-weight: 700;
  color: var(--blue); line-height: 1;
  margin-bottom: 16px; display: block; opacity: 0.35;
}
.phase-label {
  font-family: var(--heading); font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.phase h3 { font-size: 24px; margin-bottom: 20px; line-height: 1.2; }
.phase-tagline {
  font-family: var(--heading); font-style: italic;
  color: var(--navy); font-size: 16px; margin-bottom: 20px;
  line-height: 1.4; opacity: 0.75;
}
.phase ul { list-style: none; padding: 0; }
.phase li {
  font-size: 14.5px; color: var(--ink-soft);
  padding: 8px 0 8px 20px; position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,168,232,0.1);
}
.phase li:last-child { border-bottom: none; }
.phase li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--blue); font-weight: 500;
}

.pullquote {
  background: var(--navy); color: var(--white);
  padding: 72px 64px; position: relative;
  margin-bottom: 48px; overflow: hidden;
}
.pullquote::before {
  content: ""; position: absolute;
  right: -40px; bottom: -80px;
  width: 360px; height: 360px;
  background: url('assets/logo-kanji.svg') no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
}
.pullquote-text {
  font-family: var(--heading);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25; font-weight: 500;
  max-width: 900px; position: relative; z-index: 1;
  margin-bottom: 24px;
}
.pullquote-text em { color: var(--blue); font-style: normal; }
.pullquote-source {
  font-family: var(--body); font-size: 14px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.05em;
  position: relative; z-index: 1;
}

.casestudy-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--heading); font-size: 15px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); padding: 16px 0;
  border-bottom: 2px solid var(--blue);
  transition: color 0.2s ease;
}
.casestudy-link:hover { color: var(--blue); }
.casestudy-link .arrow { transition: transform 0.3s ease; }
.casestudy-link:hover .arrow { transform: translateX(6px); }

/* ═══ PARTNERS ═══ */
.partner-group { margin-top: 56px; }
.partner-group + .partner-group { margin-top: 80px; }
.partner-group-label {
  font-family: var(--heading); font-size: 14px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 2px solid var(--blue); display: inline-block;
}
.partner-group-note { font-size: 14px; color: var(--muted); margin-bottom: 32px; font-style: italic; }
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.partners-grid.six { grid-template-columns: repeat(6, 1fr); }
.partner-cell {
  background: var(--white); aspect-ratio: 5 / 2;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; font-family: var(--heading); font-size: 19px; font-weight: 500;
  color: var(--navy); text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.partner-cell:hover { background: var(--navy); color: var(--blue); }
.partner-cell img { max-width: 75%; max-height: 55%; object-fit: contain; }

/* ═══ PARTNERS CAROUSEL — continuous infinite scroll ═══ */
.partners-carousel {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  /* Fade out at edges so logos appear/disappear gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.partners-carousel-track {
  display: flex;
  width: max-content;
  /* The track contains TWO copies of the logo set; we translate by 50% to loop seamlessly */
  animation: partners-scroll 40s linear infinite;
}
.partners-carousel:hover .partners-carousel-track {
  animation-play-state: paused;
}
.partners-carousel-item {
  flex: 0 0 auto;
  width: 220px;
  height: 110px;
  margin: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  padding: 16px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.partners-carousel-item:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.partners-carousel-item img {
  max-width: 75%;
  max-height: 60%;
  object-fit: contain;
  filter: grayscale(0.5);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.partners-carousel-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .partners-carousel-track {
    animation: none;
  }
  .partners-carousel {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ═══ FOCUS GRID — Fit & Purpose ═══ */
.focus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.focus { background: var(--white); padding: 36px 32px; transition: background 0.3s ease; }
.focus:hover { background: #fcfdfe; }
.focus-label {
  font-family: var(--heading); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.focus h4 {
  font-family: var(--heading); font-size: 19px; font-weight: 600;
  color: var(--navy); margin-bottom: 14px; line-height: 1.25;
}
.focus p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ═══ LOGO WALL ═══ */
.logo-wall {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.logo-cell {
  background: var(--white); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; font-family: var(--heading);
  color: var(--muted); font-size: 18px; font-weight: 500;
  transition: all 0.25s ease; text-align: center;
}
.logo-cell:hover { background: var(--bg-soft); color: var(--navy); }
.disclaimer {
  margin-top: 40px; padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); font-style: italic;
  max-width: 860px; line-height: 1.6;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials { background: var(--navy); color: var(--white); }
.testimonials::before {
  content: ""; position: absolute; left: -80px; top: -80px;
  width: 440px; height: 440px;
  background: url('assets/logo-kanji.svg') no-repeat center / contain;
  opacity: 0.06; pointer-events: none;
}
.testimonials .container { position: relative; z-index: 1; }
.testimonials h2 { color: var(--white); }
.testimonials .lede { color: rgba(255,255,255,0.75); }
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 64px;
}
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,168,232,0.25);
  padding: 40px; position: relative;
}
.testimonial::before {
  content: "\201C"; position: absolute; top: 12px; left: 28px;
  font-family: var(--heading); font-size: 100px; line-height: 1;
  color: var(--blue); opacity: 0.35;
}
.testimonial-text {
  font-size: 19px; line-height: 1.5; color: var(--white);
  margin-bottom: 32px; position: relative; z-index: 1;
}
.testimonial-meta { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 16px;
  color: var(--navy); font-weight: 700;
}
.testimonial-name { font-family: var(--heading); font-weight: 500; font-size: 16px; color: var(--white); }
.testimonial-role { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ═══ FOUNDER PROFILE (About page) ═══ */
.founder {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 40px;
}
.founder-photo {
  position: relative;
  aspect-ratio: 1 / 1;
}
.founder-photo::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 80px; height: 80px;
  background: var(--blue);
  z-index: 0;
}
.founder-photo::after {
  content: "";
  position: absolute;
  bottom: -16px; right: -16px;
  width: 120px; height: 8px;
  background: var(--orange);
  z-index: 0;
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(0.15) contrast(1.05);
}
.founder-bio h1 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: 24px; }
.founder-bio .role {
  font-family: var(--heading);
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  display: block;
}
.founder-bio p { margin-bottom: 20px; font-size: 17px; color: var(--ink-soft); }
.founder-bio p:first-of-type {
  font-size: 20px;
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.4;
}

.meaning-block {
  background: var(--bg-soft);
  padding: 72px 64px;
  border-left: 4px solid var(--blue);
  position: relative;
  overflow: hidden;
}
.meaning-block::before {
  content: "";
  position: absolute;
  right: -40px; top: -60px;
  width: 380px; height: 380px;
  background: url('assets/logo-kanji.svg') no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}
.meaning-block .content { position: relative; z-index: 1; max-width: 720px; }
.meaning-block h3 { font-size: 28px; margin-bottom: 20px; }
.meaning-block p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }

.speaking-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.speaking-item {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.speaking-item:hover { border-color: var(--blue); }
.speaking-item--organiser {
  border-color: var(--blue);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(0,168,232,0.04) 0%, transparent 100%);
}
.speaking-item--organiser .speaking-date::before {
  content: "★ ";
  color: var(--orange);
  font-size: 12px;
  margin-right: 4px;
  letter-spacing: 0;
}
.speaking-date {
  font-family: var(--heading); font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.speaking-item h4 { font-size: 20px; margin-bottom: 8px; }
.speaking-item .venue { font-size: 14px; color: var(--muted); font-style: italic; }
.speaking-link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.speaking-link:hover { color: var(--orange); }
.speaking-link:hover .arrow { transform: translateX(4px); }
.speaking-link .arrow { transition: transform 0.2s ease; }

/* Inline text link (body paragraphs, article content) */
.inline-link {
  color: var(--navy);
  border-bottom: 1px solid var(--blue);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.inline-link:hover { color: var(--blue); border-bottom-color: var(--orange); }

/* ═══ CONTACT FORM ═══ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 40px;
}
.contact-info h3 { font-size: 22px; margin-bottom: 16px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 32px; }
.contact-channels { display: flex; flex-direction: column; gap: 20px; }
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
}
.contact-channel-label {
  font-family: var(--heading); font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-channel-value {
  font-family: var(--heading); font-size: 17px; font-weight: 500;
  color: var(--navy);
}
.contact-channel a.contact-channel-value:hover { color: var(--blue); }

.form {
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--line);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label .required { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; font-family: var(--body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

/* Per-field error highlighting */
.form-group.has-error label { color: var(--orange); }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--orange);
  background: rgba(255, 88, 22, 0.04);
}
.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 88, 22, 0.15);
}
.form-field-error {
  font-size: 13px;
  color: var(--orange);
  margin-top: 8px;
  font-weight: 500;
}
.form button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* Honeypot — hidden from users but visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-success {
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 48px;
}
.form-success h3 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 16px;
}
.form-success p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.form-success a { color: var(--blue); border-bottom: 1px solid var(--blue); }

.form-error {
  background: #fff5f2;
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.5;
}
.form-error a { color: var(--orange); font-weight: 500; border-bottom: 1px solid var(--orange); }

/* FAQ */
.faq { margin-top: 64px; }
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h4 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.faq-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ═══ CTA ═══ */
.cta { background: var(--white); text-align: center; padding: 140px 0; position: relative; }
.cta::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40%; height: 180px;
  background: linear-gradient(65deg, var(--blue) 50%, transparent 50%);
  opacity: 0.1;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { max-width: 820px; margin: 0 auto 24px; }
.cta .lede { margin: 0 auto 48px; }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand .site-logo img { height: 36px; }
.footer-brand p { color: rgba(255,255,255,0.55); max-width: 280px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.link-note {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  margin-left: 4px;
}
.footer-address {
  color: rgba(255,255,255,0.55);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  max-width: 220px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ═══ HOME — featured callout ═══ */
.home-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.home-callout-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 400px;
}
.home-callout-photo::before {
  content: ""; position: absolute;
  top: -12px; left: -12px;
  width: 60px; height: 60px;
  background: var(--blue);
  z-index: 0;
}
.home-callout-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(0.15) contrast(1.05);
}

/* ═══ REVEAL ANIMATION ═══ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero { padding: 100px 0 80px; }

  .site-nav ul {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav ul.open { display: flex; }
  .nav-toggle { display: block; }

  .services-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .casestudy-phases { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid.six { grid-template-columns: repeat(3, 1fr); }
  .partners-carousel-item { width: 160px; height: 90px; margin: 0 10px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .credentials .container { flex-direction: column; align-items: flex-start; gap: 24px; }
  .credentials-list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

  .founder { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { max-width: 400px; }
  .home-callout { grid-template-columns: 1fr; }
  .home-callout-photo { max-width: 320px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .speaking-list { grid-template-columns: 1fr; }
  .pullquote { padding: 48px 32px; }
  .meaning-block { padding: 48px 32px; }
  .form { padding: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .problems-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .hero::after { font-size: 400px; right: -80px; }
  .testimonial, .service { padding: 28px; }
  .phase { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .credentials-list { grid-template-columns: 1fr; }
}
