/* ─────────────────────────────────────────────
   Smith & Edit — Global Stylesheet
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  --orange: #E8541A;
  --orange-light: #F47C47;
  --orange-dark: #C23F0C;
  --black: #0A0A0A;
  --off-black: #141414;
  --dark: #1E1E1E;
  --mid: #5C5C5C;
  --light: #9A9A9A;
  --border: #E0DFDB;
  --bg: #F8F7F5;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --jp: 'Noto Serif JP', serif;
  --nav-h: 76px;
  --max: 1280px;
  --pad: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--off-black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── LANGUAGE TOGGLE ─── */
.lang-jp { display: none !important; }
body.jp .lang-en { display: none !important; }
body.jp .lang-jp { display: block !important; }
/* Inline/flex exceptions for items that need non-block display */
body.jp span.lang-jp,
body.jp a.lang-jp { display: inline !important; }
body.jp .eyebrow.lang-jp,
body.jp p.eyebrow.lang-jp { display: flex !important; }
body.jp .btn.lang-jp,
body.jp button.lang-jp { display: inline-flex !important; }
body.jp .svc-link.lang-jp { display: inline-flex !important; }
body.jp .resource-more.lang-jp { display: flex !important; }

/* ─── NAV ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
#nav.light {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
}
/* dropdown — controlled by JS .open class */
.nav-drop {
  position: relative;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  min-width: 220px;
  z-index: 300;
  background: var(--off-black);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-submenu.open { display: block; }
.nav-submenu a {
  display: block;
  padding: 13px 20px;
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.8rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--off-black);
  transition: background 0.15s, color 0.15s !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
}
.nav-submenu a:last-child { border-bottom: none; }
.nav-submenu a:hover { background: rgba(255,255,255,0.07); color: var(--white) !important; }
.nav-submenu a::after { display: none !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}
.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active {
  background: var(--orange);
  color: var(--white);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  border-radius: 1px;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-cta::after { display: none !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: var(--nav-h);
}
.mob-nav.open { display: flex; }
.mob-nav a {
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  text-transform: none;
}
.mob-nav a:hover { color: var(--orange); }
.mob-lang {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  margin-top: 8px;
}
.mob-lang button {
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.mob-lang button.active { background: var(--orange); color: var(--white); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 1px;
  transition: all 0.22s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-dark {
  background: var(--off-black);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline-dark {
  background: transparent;
  color: var(--off-black);
  border: 1px solid var(--off-black);
}
.btn-outline-dark:hover { background: var(--off-black); color: var(--white); }

/* ─── SHARED SECTION LABELS ─── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.eyebrow-light { color: var(--orange); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--off-black);
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--orange); }
.section-title-white { color: var(--white); }
.section-title-white em { color: var(--orange-light); }

.section-intro {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 540px;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--off-black);
  padding: calc(var(--nav-h) + 60px) var(--pad) 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,84,26,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero-bg-text {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

/* ─── INNER PAGE IMAGE STRIP ─── */
.page-hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ─── SERVICE NAV PILLS ─── */
.service-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad);
  display: flex;
  gap: 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-nav::-webkit-scrollbar { display: none; }
.service-nav a span { white-space: nowrap; }
.service-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  color: var(--light);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.service-nav a:hover { color: var(--off-black); }
.service-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }
.service-nav-icon { font-size: 1.3rem; }

/* ─── SECTION PADDING ─── */
.section { padding: 96px var(--pad); }
.section-sm { padding: 64px var(--pad); }
.section-lg { padding: 120px var(--pad); }

/* ─── CONTENT MAX WIDTH ─── */
.container { max-width: var(--max); margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

/* ─── TWO-COL LAYOUTS ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col-center { align-items: center; }

/* ─── RICH TEXT (service body copy) ─── */
.rich-text {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.85;
}
.rich-text p + p { margin-top: 18px; }
.rich-text strong { color: var(--off-black); font-weight: 600; }
.rich-text a { color: var(--orange); }
.rich-text a:hover { text-decoration: underline; }
.rich-text h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--off-black);
  margin: 32px 0 12px;
}
.rich-text ul {
  list-style: none;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.rich-text ul li {
  font-size: 0.88rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rich-text ul li::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ─── MOTIVATOR BOX ─── */
.motivator {
  background: var(--off-black);
  padding: 36px 40px;
  margin-bottom: 32px;
}
.motivator h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}
.motivator p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ─── CLIENTS ─── */
.clients-bar {
  background: var(--white);
  padding: 64px var(--pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  text-align: center;
  margin-bottom: 40px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.client-cell {
  background: var(--white);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  min-height: 72px;
}
.client-cell:hover { background: var(--bg); }
.client-cell img {
  max-height: 28px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.2s;
  object-fit: contain;
}
.client-cell:hover img { filter: grayscale(1) opacity(0.75); }
.client-cell span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--light);
  text-align: center;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.client-cell:hover span { color: var(--mid); }

/* ─── THREE REASONS ─── */
.three-reasons {
  background: var(--off-black);
  padding: 96px var(--pad);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  margin-top: 56px;
}
.reason-card {
  background: var(--off-black);
  padding: 48px 40px;
  transition: background 0.25s;
  text-align: center;
}
.reason-card:hover { background: var(--dark); }
.reason-num {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.reason-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.reason-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ─── RESOURCE CARDS ─── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: block;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.resource-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.resource-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--off-black);
  line-height: 1.35;
  margin-bottom: 12px;
}
.resource-excerpt {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.resource-more {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── CONTACT FORM ─── */
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--off-black);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--orange); }
.form-row textarea { min-height: 130px; resize: vertical; }

/* ─── LOCATION CARDS ─── */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.location-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.location-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top left;
}
.location-body { padding: 20px; }
.location-city {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 4px;
}
.location-email {
  font-size: 0.8rem;
  color: var(--orange);
}
.location-email a { color: var(--orange); }
.location-email a:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  padding: 72px var(--pad) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px;
}
.footer-brand {}
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
  }
.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badges img {
  height: 32px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
  display: block;
}
.footer-badges img:hover { opacity: 1; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ─── UTILITY ─── */
.text-orange { color: var(--orange); }
.text-mid { color: var(--mid); }
.italic { font-style: italic; }
.serif { font-family: var(--serif); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; --nav-h: 64px; }
  #nav { padding: 0 24px; }
  .nav-links, .lang-toggle, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .resource-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
  }
  .footer-badges { flex-direction: row; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .service-nav { overflow-x: auto; }
  .rich-text ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* ─── FOUNDER PHOTO FIT ─── */
.founder-img-col {
  background: var(--dark);
}
.founder-img-col img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--dark);
}

/* ─── SERVICE PAGE HEADER IMAGES — matching BW set ─── */
.page-hero-image {
  filter: grayscale(100%) contrast(1.08) brightness(0.88);
}
/* About page header — no filter, full colour, show full frame */
.about-page-hero-image {
  filter: none !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  height: 480px !important;
  width: 100% !important;
  display: block !important;
  max-height: none !important;
}

/* ─── THREE REASONS — S & E visible on dark bg ─── */
.reason-num {
  opacity: 1 !important;
  color: var(--orange) !important;
}

/* ─── S&E HEADERS — Cormorant Garamond to match logo feel ─── */
.section-title,
.article-title,
.jpr-title,
.jpr-domain,
.hero h1,
.page-hero .section-title,
.reason-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ─── YONDA LOGO ─── */
.yonda-logo-img {
  height: 96px !important;
  width: auto;
}

/* ─── REMOVE FOOTER TEXT LOGO FALLBACK ─── */

/* ─── ABOUT STRIP IMAGE — half size, text dominant ─── */
.about-strip {
  grid-template-columns: 1fr 2fr !important;
}
.about-img-col {
  min-height: 0 !important;
}

/* ─── ABOUT PAGE HEADER — full colour, Tokyo Tower ─── */
.about-page-hero-image {
  filter: none !important;
  object-position: center 30% !important;
}

/* ─── THREE REASONS — centered ─── */
.three-reasons {
  text-align: center;
}
.reasons-grid {
  text-align: center;
}
.three-reasons > .eyebrow {
  justify-content: center;
}
.three-reasons > h2 {
  text-align: center;
}

/* ─── REASON IMAGE ICONS ─── */
.reason-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ─── FOOTER LOGO ROW + SOCIAL ─── */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social-link {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-link:hover { color: var(--orange); }

/* ─── JPR FOOTER BADGE ─── */
.footer-jpr-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 10px;
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.footer-jpr-badge:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ─── REASON LETTERS — CSS drawn, all equal size ─── */
.reason-letter {
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin: 0 auto 20px;
  display: block;
  text-align: center;
  letter-spacing: 0.02em;
}
.reason-letter-amp {
  color: var(--orange);
}

/* ─── ABOUT HERO IMAGE — colour with orange tower ─── */
.about-page-hero-image {
  filter: none !important;
}

/* ─── FOUNDER LAYOUT ─── */
.founder-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  min-height: 600px;
  background: var(--white);
}
.founder-photo-col {
  background: #f0eeea;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 48px 32px;
}
.founder-photo-col img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
  filter: grayscale(10%);
}
.founder-text-col {
  background: var(--white);
  padding: 64px 72px;
}
@media(max-width:900px) {
  .founder-split { grid-template-columns: 1fr; }
  .founder-photo-col { padding: 40px var(--pad); min-height: 0; }
  .founder-photo-col img { max-width: 60%; margin: 0 auto; }
  .founder-text-col { padding: 48px var(--pad); }
}
@media(max-width:1024px) {
  .founder-text-col { padding: 48px var(--pad); }
  .footer-jpr-link { width: 110px; height: 28px; }
}

/* ─── ABOUT PAGE HERO IMAGE ─── */
.about-hero-wrap {
  overflow: hidden;
  line-height: 0;
}
.about-hero-wrap .page-hero-image {
  filter: none;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* ─── FOUNDER PHOTO TOP ─── */
.founder-photo-top {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── LINKEDIN BTN ─── */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0A66C2;
  color: #ffffff;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  text-decoration: none;
}
.linkedin-btn,
.linkedin-btn span,
.linkedin-btn svg { color: #ffffff; }
.linkedin-btn:hover { background: #004182; color: #ffffff; }

/* ─── RESUME ITEMS (founder page) ─── */
.resume-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.resume-item:last-child { border-bottom: none; }
.resume-year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  min-width: 90px;
  padding-top: 2px;
}
.resume-content h4 {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-black);
  line-height: 1.35;
}
@media(max-width:768px) {
  .founder-text-col > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── JPR FOOTER TEXT LINK ─── */
.footer-jpr-text {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 4px;
  display: block;
  width: fit-content;
}
.footer-jpr-text:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ─── SERVICE PAGE SIDEBAR — align top with left column ─── */
.service-body-grid {
  align-items: start !important;
}
.service-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

/* ─── IMAGE HERO WITH TEXT OVERLAY ─── */
.img-hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.img-hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.img-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.15) 100%);
}
.img-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 52px var(--pad);
  max-width: 700px;
}
.img-hero-text .eyebrow {
  color: var(--orange);
  margin-bottom: 14px;
}
.img-hero-text .section-title {
  color: var(--white);
}
.img-hero-text .section-title em {
  color: var(--orange-light);
}
.img-hero-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-top: 12px;
  line-height: 1.65;
  font-family: var(--serif);
  font-style: italic;
}

/* ─── SERVICE IMAGE HERO — centred white title ─── */
.svc-img-hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.svc-img-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.svc-img-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.svc-img-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
}
.svc-img-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.svc-img-hero-text h1 em {
  font-style: italic;
  color: var(--orange-light);
}
.svc-img-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.svc-img-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
}

@media(max-width:768px){
  .img-hero img, .svc-img-hero img { height: 320px; }
  .img-hero-text { padding: 32px var(--pad); }
}

/* ─── JPR PAGE: hide sidebar image on mobile ─── */
@media(max-width:1024px){
  .jpr-sidebar-img {
    position: static !important;
    width: 100% !important;
    margin-bottom: 24px;
  }
  .jpr-sidebar-img img {
    height: 220px !important;
    object-fit: cover;
    filter: grayscale(20%);
  }
  .jpr-two-col { grid-template-columns: 1fr !important; }
  .jpr-sidebar-img { order: -1; }
}





/* ─── JPR PRICING GRID: stack on mobile ─── */
@media(max-width:768px){
  .jpr-pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
  }
  .jpr-pricing-grid > div {
    border-bottom: 2px solid var(--border);
  }
}

/* ─── RESOURCE CARD THUMBNAIL ─── */
.resource-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  filter: grayscale(15%);
  transition: filter 0.3s;
}
.resource-card:hover .resource-card-thumb {
  filter: grayscale(0%);
}
.resource-card {
  overflow: hidden;
}
.resource-card-body {
  padding: 24px;
}

/* ─── RESOURCE CARD WITH THUMBNAIL ─── */
.resource-card:has(.resource-card-thumb) {
  padding: 0;
}
.resource-card .resource-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-card .resource-card-body .resource-more {
  margin-top: auto;
}

/* ─── MOBILE OVERFLOW FIXES ─── */
@media(max-width:768px) {

  /* Founder: stack photo on top, then text */
  .founder-grid-mobile {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .founder-photo-mobile {
    padding: 32px 24px 16px !important;
    min-height: 0 !important;
  }
  .founder-photo-mobile img {
    max-width: 200px !important;
    margin: 0 auto;
    display: block;
  }
  .founder-text-mobile {
    padding: 24px !important;
    border-left: none !important;
  }

  /* Resume items: compact on mobile */
  .resume-item {
    gap: 8px;
  }
  .resume-year {
    min-width: 60px !important;
    font-size: 0.7rem !important;
  }


  /* Prevent any child from breaking out of viewport */
  .section, .about-body, .service-body-grid,
  .resource-grid, .newsletter-band, .clients-bar,
  .three-reasons, .intro-strip, .jpr-two-col {
    max-width: 100vw;
    overflow-x: hidden;
  }
}


/* ─── SERVICE PAGE MOBILE ─── */
@media(max-width:768px) {
  .svc-img-hero {
    margin-top: var(--nav-h) !important;
  }
  .svc-img-hero img {
    height: 260px !important;
  }
  .svc-img-hero-text h1 {
    font-size: 1.6rem !important;
  }
  .service-nav {
    padding: 0 16px !important;
  }
  .service-nav a {
    padding: 16px 14px !important;
    font-size: 0.65rem !important;
  }
}

/* ─── JPR SECTION MOBILE SPACING ─── */
@media(max-width:768px){
  .jpr-hero {
    padding-bottom: 32px !important;
  }
  .jpr-hero-inner {
    padding-top: calc(var(--nav-h) + 16px) !important;
  }
}

/* ─── MOBILE NAV LANGUAGE TOGGLE ─── */
.nav-lang-mobile {
  display: none; /* hidden on desktop */
  align-items: center;
  gap: 2px;
  margin-right: 8px;
}
.nav-lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.nav-lang-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.nav-lang-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.8);
}

@media(max-width:768px){
  .nav-lang-mobile {
    display: flex;
  }
}
