/* =========================================================
   PlusDivide — shared stylesheet
   used by: index (PlusDivide コーポレートサイト.html),
            services.html, members.html, member-*.html,
            works.html, company.html
   ========================================================= */

:root{
  --bg: #FFFFFF;
  --ink: #1C2134;
  --green: #25956A;
  --green-dark: #1E7D58;
  --green-tint: #F0FAF5;
  --muted: #6B7280;
  --line: #E5E7EB;
  --soft: #FBFCFC;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --f-sans: "Inter", "Noto Sans JP", sans-serif;
  --f-serif: "Noto Serif JP", "Inter", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);}
html{scroll-behavior:smooth;}
body{
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;padding:0;}
::selection{background:rgba(37,149,106,.18);color:var(--ink);}

.num, .tabular, time{font-variant-numeric: tabular-nums;}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow{
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:"";
  width: 24px; height: 1px; background: var(--green);
  display:inline-block;
}

.section{
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
  position: relative;
}
.section--tight{ padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.section-head{display:flex;flex-direction:column;gap:18px;margin-bottom: clamp(48px, 6vw, 80px);}
h2.section-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  max-width: 22ch;
  text-wrap: pretty;
}
.lead{
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.8;
  max-width: 62ch;
  margin: 0;
}

/* ===============================================
   NAV
   =============================================== */
.nav{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  display:flex;align-items:center;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck{
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;
  gap: 32px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:700;font-size:18px;letter-spacing:-0.01em;
}
.brand-mark{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:6px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-sans); font-weight: 700; font-size: 14px;
}
.brand-mark span{ display:inline-block; line-height: 1; }
.nav-links{display:flex;align-items:center;gap:28px;}
.nav-links a{
  font-size: 13px; font-weight: 500; color: var(--ink);
  opacity:.78;
  transition: opacity .15s ease, color .15s ease;
  position: relative;
}
.nav-links a:hover{opacity:1;}
.nav-links a.is-current{ opacity:1; color: var(--green); }
.nav-cta{
  display:inline-flex;align-items:center;gap:8px;
  background: var(--green); color:#fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight:600;
  transition: background .15s ease;
}
.nav-cta:hover{ background: var(--green-dark); }
@media (max-width: 880px){
  .nav-links{display:none;}
}

/* ===============================================
   HERO (home)
   =============================================== */
.hero{
  padding-top: 110px;
  padding-bottom: 56px;
  min-height: 100vh;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0; pointer-events: none;
  color: var(--green);
  opacity: .12;
}
.hero-bg .sym{
  position: absolute;
  font-family: var(--f-sans);
  font-weight: 500;
  line-height: 1;
  user-select: none;
}
.hero-bg .s1{ right: 4%;  top: 18%; font-size: clamp(220px, 28vw, 420px); }
.hero-bg .s2{ right: 20%; bottom: 8%; font-size: clamp(160px, 18vw, 280px); opacity:.7; }
.hero-bg .grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(28,33,52,.04) 1px, transparent 1px);
  background-size: calc((100% - 2*var(--gutter)) / 12) 100%;
  background-position: var(--gutter) 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0) 70%);
}
.hero-inner{position:relative;}
.hero-top{display:flex;flex-direction:column;gap:6px;margin-bottom:28px;}
.hero-top .name{
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.hero-top .tag{
  color: var(--muted); font-size: 15px;
}
.hero-headline{
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.hero-headline .l1,
.hero-headline .l2{display:block;}
.hero-headline .accent-divide{ color: var(--green); }
.hero-cta-row{display:flex;align-items:center;gap:28px;flex-wrap:wrap;}
.btn-primary{
  display:inline-flex;align-items:center;gap:10px;
  background: var(--green); color:#fff;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(28,33,52,.04), 0 12px 30px -16px rgba(37,149,106,.55);
}
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-1px); }
.btn-primary .arrow{transition: transform .15s ease;}
.btn-primary:hover .arrow{ transform: translateX(3px); }
.btn-secondary{
  display:inline-flex;align-items:center;gap:8px;
  color: var(--ink);
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid transparent;
  padding: 4px 2px;
  transition: border-color .15s ease;
}
.btn-secondary:hover{ border-bottom-color: var(--ink); }

.hero-meta{
  margin-top: clamp(72px, 9vw, 112px);
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-meta .cell{ display:flex;flex-direction:column;gap:4px; }
.hero-meta .k{ font-size: 12px; color: var(--muted); letter-spacing: .04em;}
.hero-meta .v{
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px){
  .hero-meta{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===============================================
   PAGE-HERO (sub-pages)
   =============================================== */
.page-hero{
  padding-top: 152px;
  padding-bottom: clamp(64px, 8vw, 112px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero-bg{
  position: absolute; inset: 0; pointer-events: none;
  color: var(--green);
  opacity: .08;
}
.page-hero-bg .sym{
  position: absolute;
  font-family: var(--f-sans);
  font-weight: 500;
  line-height: 1;
  user-select: none;
}
.page-hero-bg .a{ right: -2%; top: -10%; font-size: clamp(280px, 32vw, 480px); }
.page-hero-inner{ position: relative; }
.breadcrumb{
  display:flex;align-items:center;gap:10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 36px;
}
.breadcrumb a{ color: var(--muted); transition: color .15s ease; }
.breadcrumb a:hover{ color: var(--ink); }
.breadcrumb .sep{ opacity: .5; }
.breadcrumb .here{ color: var(--ink); }
.page-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 24px 0;
  color: var(--ink);
  text-wrap: pretty;
}
.page-sub{
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  max-width: 56ch;
  margin: 0;
}
.page-hero-top{
  display:flex;align-items:center;gap:18px;
  margin-bottom: 28px;
}
.page-hero-top .label{
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ===============================================
   BRAND STORY
   =============================================== */
.brand-story{ background: var(--bg); }
.bs-columns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 128px);
}
.bs-col{
  display:flex;flex-direction:column;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.bs-symbol{
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--green);
  font-size: clamp(120px, 16vw, 200px);
  line-height: .9;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.bs-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
}
.bs-lead{
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 28px 0;
  font-weight: 500;
  max-width: 24ch;
}
.bs-body{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
  max-width: 32ch;
}
.bs-statement{
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 88px);
  text-align: center;
  display:flex;flex-direction:column;gap:24px;align-items:center;
}
.bs-statement p{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
  max-width: 28ch;
  text-wrap: pretty;
}
.bs-statement .accent{ color: var(--green); }
.bs-sig{
  display:inline-flex;align-items:center;gap:12px;
  color: var(--muted); font-size: 13px;
  margin-top: 8px;
}
.bs-sig .sym{
  font-family: var(--f-sans);
  color: var(--green); font-weight: 500;
  letter-spacing: -.05em;
}
@media (max-width: 720px){
  .bs-columns{ grid-template-columns: 1fr; gap: 48px; }
}

/* ===============================================
   SERVICES (shared between home & sub-page)
   =============================================== */
.services{ background: var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.svc-list{display:flex;flex-direction:column;}
.svc{
  display:grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc:first-child{ border-top: 1px solid var(--ink); }
.svc-index{
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  padding-top: 12px;
}
.svc-body{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.svc-left{display:flex;flex-direction:column;gap:24px;}
.svc-name{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.svc-lead{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
.svc-pills{display:flex;flex-wrap:wrap;gap:8px;}
.pill{
  display:inline-flex;align-items:center;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pill.tint{ background: var(--green-tint); border-color: transparent; color: var(--green);}
.svc-right{display:flex;flex-direction:column;gap:24px;}
.svc-body p{
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  max-width: 42ch;
}
.svc-link{
  display:inline-flex;align-items:center;gap:8px;
  color: var(--green); font-weight: 600; font-size: 14px;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: gap .15s ease, border-color .15s ease;
}
.svc-link:hover{ gap: 12px; border-bottom-color: var(--green); }
@media (max-width: 880px){
  .svc{ grid-template-columns: 1fr; gap: 24px; }
  .svc-body{ grid-template-columns: 1fr; }
}

/* ===============================================
   WHY US
   =============================================== */
.why-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-cell{
  padding: clamp(40px, 5vw, 64px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display:flex;flex-direction:column;gap:24px;
  min-height: 360px;
}
.why-num{
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  top: clamp(24px, 4vw, 56px);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(72px, 10vw, 128px);
  color: var(--green-tint);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.why-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.why-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  max-width: 16ch;
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}
.why-body{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  max-width: 38ch;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* ===============================================
   MEMBERS
   =============================================== */
.members{ background: var(--bg); }
.mem-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 40px);
}
.mem{
  display:flex;flex-direction:column;gap:18px;
}
.mem-card-link{
  display:flex;flex-direction:column;gap:18px;
  color: inherit;
  transition: opacity .15s ease;
}
.mem-card-link:hover{ opacity: .92; }
.portrait{
  aspect-ratio: 4/5;
  width: 100%;
  background: #ECEDEE;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.portrait .stripes{
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, #DDD 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #E8E9EA, #D6D7D9);
  filter: grayscale(1);
}
.portrait .caption{
  position:absolute; left:14px; bottom:12px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .04em;
  color: #555;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 2px;
}
.mem-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:-2px;}
.mem-tags .pill{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.mem-name-row{display:flex;flex-direction:column;gap:4px;}
.mem-name{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.mem-role{
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}
.mem-tagline{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 8px 0 0 0;
}
.mem-bio{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.mem-more{
  display:inline-flex;align-items:center;gap:6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: gap .15s ease, border-color .15s ease;
  align-self: flex-start;
  margin-top: 6px;
}
.mem-more:hover{ gap: 10px; border-bottom-color: var(--green); }
@media (max-width: 880px){
  .mem-grid{ grid-template-columns: 1fr; gap: 56px; }
  .portrait{ aspect-ratio: 4/3; }
}

/* ===============================================
   MEMBER DETAIL
   =============================================== */
.member-detail{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.member-detail .portrait{
  aspect-ratio: 4/5;
  width: 100%;
}
.md-name-row{
  display:flex;flex-direction:column;gap:8px;
  margin-bottom: 28px;
}
.md-name{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.md-role{
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
}
.md-tagline{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 24px 0 28px 0;
  color: var(--ink);
  padding-left: 18px;
  border-left: 3px solid var(--green);
}
.md-bio{
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}
.md-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px;}
.md-tags .pill{
  font-family: var(--f-mono);
  font-size: 11px;
}
@media (max-width: 880px){
  .member-detail{ grid-template-columns: 1fr; gap: 40px; }
}

/* ===============================================
   CAREER TIMELINE
   =============================================== */
.timeline{
  display:flex;flex-direction:column;
  border-top: 1px solid var(--line);
}
.tl-row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.tl-year{
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.tl-body{display:flex;flex-direction:column;gap:6px;}
.tl-title{
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.tl-desc{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 720px){
  .tl-row{ grid-template-columns: 1fr; gap: 6px; }
  .tl-year{ padding-top: 0; font-size: 12px; }
}

/* ===============================================
   WORKS
   =============================================== */
.works{ background: var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.works-head{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 720px){ .works-head{grid-template-columns:1fr;} }
.logo-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-cell{
  aspect-ratio: 5/2.4;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  background: var(--bg);
  position: relative;
  transition: background .2s ease;
}
.logo-cell:hover{ background: var(--green-tint); }
.logo-cell .label{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: #9AA0A6;
  filter: grayscale(1);
  text-align: center;
}
.logo-cell .label strong{
  color: #4A5158;
  font-weight: 500;
}
@media (max-width: 880px){ .logo-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ===============================================
   CASE STUDIES (works detail)
   =============================================== */
.cases{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(64px, 8vw, 96px);
}
.case-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 40px);
  display:flex;flex-direction:column;gap:20px;
  transition: border-color .15s ease, transform .15s ease;
}
.case-card:hover{ border-color: var(--ink); }
.case-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.case-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  text-wrap: pretty;
}
.case-stats{
  display:flex;flex-wrap:wrap;gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 4px;
}
.case-stat{ display:flex;flex-direction:column;gap:2px; }
.case-stat .k{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.case-stat .v{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.case-desc{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
@media (max-width: 720px){ .cases{ grid-template-columns: 1fr; } }

/* ===============================================
   COMPANY / INFO TABLE
   =============================================== */
.company-grid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px){ .company-grid{ grid-template-columns: 1fr; } }
.info-table{
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
}
.info-table tr{ border-bottom: 1px solid var(--line); }
.info-table th, .info-table td{
  text-align: left;
  vertical-align: top;
  padding: 20px 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}
.info-table th{
  width: 180px;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  padding-right: 24px;
}
.info-table td{
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.info-table td .line{ display:block; }
.info-table a{ border-bottom: 1px solid var(--line); }
.info-table a:hover{ border-bottom-color: var(--ink); }

/* Mission / Vision card */
.values{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.value-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 40px);
  display:flex;flex-direction:column;gap:14px;
}
.value-card .sym{
  font-family: var(--f-sans);
  color: var(--green);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.value-card h3{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.value-card p{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
@media (max-width: 720px){ .values{ grid-template-columns: 1fr; } }

/* ===============================================
   CONTACT
   =============================================== */
.contact{
  background: var(--green-tint);
  border-top: 1px solid var(--line);
}
.contact-inner{
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display:flex;flex-direction:column;align-items:center;gap:28px;
}
.contact h2{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 76px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
.contact .sub{
  color: var(--ink);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  margin: 0;
  max-width: 48ch;
}
.contact .friction{
  display:flex;gap:20px;flex-wrap:wrap;justify-content:center;
  margin-top: 8px;
}
.contact .friction .chip{
  display:inline-flex;align-items:center;gap:6px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.contact .friction .chip::before{
  content:"+";
  font-family: var(--f-sans); color: var(--green); font-weight: 700;
}
.contact .btn-primary{ margin-top: 8px; }
.contact-aux{
  margin-top: 24px;
  display:flex;flex-direction:column;gap:8px;
  color: var(--muted);
  font-size: 14px;
}
.contact-aux a{ color: var(--ink); border-bottom: 1px solid transparent; }
.contact-aux a:hover{ border-bottom-color: var(--ink); }

/* ===============================================
   FOOTER
   =============================================== */
footer.foot{
  background: var(--ink);
  color: #C7CAD4;
  padding: clamp(64px, 8vw, 112px) 0 32px 0;
}
.foot-grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-bottom: 64px;
}
@media (max-width: 880px){ .foot-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .foot-grid{ grid-template-columns: 1fr; } }
.foot-brand{ display:flex;flex-direction:column;gap:20px; }
.foot-brand .brand{ color: #fff; }
.foot-brand .brand-mark{ background:#fff; color: var(--ink); }
.foot-mission{
  color: #C7CAD4; opacity:.78;
  font-size: 14px; line-height: 1.8;
  max-width: 30ch;
}
.foot-col h4{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E94A6;
  font-weight: 500;
  margin: 0 0 16px 0;
}
.foot-col ul{ list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.foot-col a{
  color: #E1E3EA;
  font-size: 14px;
  opacity: .85;
  transition: opacity .15s ease;
}
.foot-col a:hover{ opacity: 1; }
.foot-info{ font-size: 13px; line-height: 1.85; color: #C7CAD4; opacity:.78;}
.foot-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8E94A6;
  font-size: 12px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.foot-bar .sym{
  font-family: var(--f-sans);
  color: var(--green);
  font-weight: 500;
  letter-spacing: -0.05em;
  font-size: 16px;
}

/* ===============================================
   PROCESS / PRICING (services detail)
   =============================================== */
.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.process-step{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  display:flex;flex-direction:column;gap:10px;
  position: relative;
}
.process-step .step-no{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: .14em;
}
.process-step h4{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0;
}
.process-step p{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 880px){ .process{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .process{ grid-template-columns: 1fr; } }

.pricing-card{
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 40px);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg);
}
.pricing-card .price{
  display:flex;align-items:baseline;gap:8px;
}
.pricing-card .price .v{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.pricing-card .price .u{ color: var(--muted); font-size: 14px; }
.pricing-card .k{ font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px;}
.pricing-card .note{ color: var(--muted); font-size: 13px; line-height: 1.7; margin: 6px 0 0 0;}
.pricing-card ul{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:8px;
  font-size: 14px;
  color: var(--ink);
}
.pricing-card li{
  display:flex;align-items:flex-start;gap:8px;
}
.pricing-card li::before{
  content:"+";
  color: var(--green);
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1.6;
}
@media (max-width: 720px){ .pricing-card{ grid-template-columns: 1fr; } }

/* ===============================================
   STRIP CTA (between sections on sub-pages)
   =============================================== */
.cta-strip{
  background: var(--ink);
  color: #fff;
}
.cta-strip .wrap{
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display:flex;flex-direction:column;align-items:center;gap:20px;
  text-align:center;
}
.cta-strip .eyebrow{ color: #6EC9A0; }
.cta-strip .eyebrow::before{ background:#6EC9A0; }
.cta-strip h2{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
.cta-strip p{
  color: #C7CAD4;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  max-width: 50ch;
}
.cta-strip .btn-primary{ margin-top: 12px; }

/* ===============================================
   MOTION
   =============================================== */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
}

/* ===============================================
   BRAND LOGO (added)
   =============================================== */
.brand-logo{
  height: 40px;
  width: auto;
  display: block;
}
.foot-brand-link .brand-mark{
  background: #fff;
  color: var(--ink);
}

/* ===============================================
   PORTRAIT IMAGES (added)
   Real photos override stripe placeholder
   =============================================== */
.portrait img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.portrait img + .stripes,
.portrait img + .caption{
  display: none;
}

/* ===============================================
   PORTRAIT ASPECT RATIO OVERRIDE (added)
   Source photos are landscape ~7:5; match container.
   =============================================== */
.portrait{
  aspect-ratio: 4/3 !important;
}
.member-detail .portrait{
  aspect-ratio: 4/3 !important;
}
.portrait img{
  object-position: center 25%;
}

/* ===============================================
   BACK-TO-TOP STRIP (added for member detail pages)
   =============================================== */
.back-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 24px 0;
}
.back-strip .wrap{
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
}
.back-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  transition: gap .15s ease, color .15s ease;
}
.back-link:hover{ gap: 12px; color: var(--green); }
.back-link .arr{ color: var(--green); font-weight: 700; }
.back-strip .home-link{
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
}
.back-strip .home-link:hover{ color: var(--ink); }

/* ===============================================
   CLIENT GRID (Works page, added)
   =============================================== */
.client-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
@media (max-width: 880px){ .client-grid{ grid-template-columns: 1fr; } }

.client-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-areas:
    "logo meta"
    "body body";
  grid-template-columns: 120px 1fr;
  gap: clamp(16px, 2vw, 28px);
  transition: border-color .15s ease, transform .2s ease;
}
.client-card:hover{ border-color: var(--ink); }
@media (max-width: 540px){
  .client-card{ grid-template-columns: 80px 1fr; gap: 16px; padding: 24px; }
}

.client-logo{
  grid-area: logo;
  aspect-ratio: 1/1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.client-logo img{
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.15);
}

.client-meta{
  grid-area: meta;
  display: flex; flex-direction: column; gap: 6px;
  justify-content: center;
}
.client-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.client-name{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.client-url{
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-top: 2px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  align-self: flex-start;
}
.client-url:hover:not(.muted){ color: var(--ink); border-bottom-color: var(--line); }
.client-url.muted{ cursor: default; }

.client-body{
  grid-area: body;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.client-engagement{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.client-desc{
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.85;
}
.client-points{
  margin: 4px 0 0 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.client-points li{
  display: flex; align-items: flex-start; gap: 8px;
}
.client-points li::before{
  content: "+";
  color: var(--green); font-weight: 700;
  flex: 0 0 auto; line-height: 1.6;
}
.client-period{
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* ===============================================
   NAV DROPDOWN (Services) — added
   =============================================== */
.nav-item-dropdown{
  position: relative;
  display: inline-flex; align-items: center;
}
.nav-trigger{
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.nav-trigger .caret{
  transition: transform .2s ease;
  opacity: .65;
}
.nav-item-dropdown:hover .nav-trigger .caret,
.nav-item-dropdown:focus-within .nav-trigger .caret{
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown{
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px -8px rgba(28,33,52,.10), 0 2px 6px rgba(28,33,52,.04);
  padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s .15s;
  z-index: 200;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .15s ease, transform .15s ease, visibility 0s 0s;
}
.nav-dropdown a{
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  opacity: 1;
  transition: background .12s ease;
}
.nav-dropdown a:hover{ background: var(--soft); }
.nav-dropdown .dd-name{
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-dropdown .dd-sub{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.nav-dropdown .dd-overview{
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
}
.nav-dropdown .dd-overview .dd-name{
  color: var(--green);
  font-size: 13px;
}
@media (max-width: 880px){
  .nav-dropdown{ display: none; }
}

/* ===============================================
   WHY US v3 (5 pillars, sales-tested, diagram-led)
   =============================================== */
.why-v3{ background: var(--bg); }

.why-v3-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
@media (max-width: 1200px){
  .why-v3-grid{ grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line);}
}
@media (max-width: 720px){
  .why-v3-grid{ grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
}

.why-v3-cell{
  padding: clamp(28px, 2.6vw, 40px) clamp(20px, 2vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 14px;
  background: var(--bg);
  position: relative;
  min-height: 320px;
  transition: background .15s ease;
}
.why-v3-cell:hover{ background: var(--soft); }
.why-v3-cell:last-child{ border-right: none; }
@media (max-width: 1200px){
  .why-v3-cell:nth-child(3n){ border-right: none; }
  .why-v3-cell:last-child{ border-right: 1px solid var(--line); }
}
@media (max-width: 720px){
  .why-v3-cell{ border-right: none; min-height: auto; }
}

.why-v3-num{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 500;
}

.why-v3-vis{
  width: 60px;
  height: 60px;
  margin: 4px 0;
}
.why-v3-vis svg{
  width: 100%;
  height: 100%;
  display: block;
}

.why-v3-tag{
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--green);
  text-transform: none;
  padding: 4px 8px;
  background: var(--green-tint);
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 4px;
}

.why-v3-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 6px 0 4px 0;
  color: var(--ink);
  text-wrap: pretty;
}

.why-v3-body{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  text-wrap: pretty;
}

/* ===============================================
   CLIENT LOGO TEXT FALLBACK (added)
   For clients without logo image (SoftBank Robotics, Global Innovations)
   =============================================== */
.client-logo--text{
  background: var(--ink);
}
.client-logo--text .logo-text{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  text-align: center;
}
.client-logo--text .logo-text--sbr{
  font-size: 24px;
  letter-spacing: 0.04em;
}
.client-logo--text .green-dot{
  color: var(--green);
}

/* ===============================================
   HOME LOGO GRID (added)
   6 client logos on home page
   =============================================== */
.home-logo-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
}
@media (max-width: 1100px){ .home-logo-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px){ .home-logo-grid{ grid-template-columns: repeat(2, 1fr); } }

.home-logo-cell{
  aspect-ratio: 5/2.4;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 18px;
  position: relative;
  transition: background .2s ease;
}
.home-logo-cell:hover{ background: var(--green-tint); }
.home-logo-cell img{
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  filter: grayscale(0.15);
}
.home-logo-cell--text{
  flex-direction: column;
  gap: 4px;
}
.home-logo-text{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.home-logo-text--sbr{
  font-size: 18px;
  letter-spacing: 0.04em;
}
.home-logo-text .green-dot{
  color: var(--green);
}
.home-logo-name{
  font-family: var(--f-sans);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* anon logo text style */
.client-logo--text .logo-text--anon,
.home-logo-text--anon{
  font-family: var(--f-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 22px;
  color: var(--green-tint);
}
.home-logo-text--anon{
  color: var(--green);
  background: transparent;
}
.client-logo--text .logo-text--anon{
  color: var(--green-tint);
}

/* Footer logo image (white version on dark BG) */
.foot-logo{
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.foot-brand-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

/* ===============================================
   CAREER LIST (simple, no year column)
   =============================================== */
.career{
  display:flex;flex-direction:column;
  border-top: 1px solid var(--line);
}
.career-item{
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.career-item .career-title{
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.career-item .career-desc{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}

/* ===============================================
   AMPSELL SERVICE PAGE (added)
   =============================================== */
.ampsell-cta-row{
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.ampsell-visual{
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 3vw, 48px);
  aspect-ratio: 16/9;
}
.ampsell-visual img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px -12px rgba(28,33,52,.15);
}

.ampsell-pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 880px){ .ampsell-pillars{ grid-template-columns: 1fr; gap: 16px; } }

.ampsell-pillar{
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.ampsell-pillar-num{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: .14em;
}
.ampsell-pillar-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  text-wrap: pretty;
}
.ampsell-pillar-body{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}

.ampsell-features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 880px){ .ampsell-features{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .ampsell-features{ grid-template-columns: 1fr; } }

.ampsell-feature{
  background: var(--bg);
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 200px;
}
.ampsell-feature-no{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: .14em;
}
.ampsell-feature-name{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ampsell-feature-desc{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

/* ===============================================
   CONTACT FORM PAGE (added)
   =============================================== */
.contact-form-grid{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 960px){
  .contact-form-grid{ grid-template-columns: 1fr; gap: 40px; }
}

.contact-aside{
  display: flex; flex-direction: column; gap: 32px;
  padding-top: 8px;
}
.contact-info-block{
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.contact-info-title{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 14px 0;
}
.contact-info-list{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}
.contact-info-list li strong{ color: var(--ink); font-weight: 600; margin-right: 8px; }
.contact-info-text{
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.contact-mail-link{
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  transition: opacity .15s ease;
}
.contact-mail-link:hover{ opacity: .8; }

.contact-form{
  display: flex; flex-direction: column; gap: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
}
.contact-form .field{
  display: flex; flex-direction: column; gap: 8px;
}
.contact-form .field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px){ .contact-form .field-row{ grid-template-columns: 1fr; gap: 16px; } }

.contact-form label{
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 8px;
}
.contact-form .req{
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--green);
  background: var(--green-tint);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: .04em;
  font-weight: 500;
}
.contact-form .opt{
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: .04em;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea{
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.contact-form select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form textarea{
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: #9CA3AF; }

.field-consent{
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
}
.consent-label{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
}
.consent-label input[type="checkbox"]{
  margin-top: 3px;
  accent-color: var(--green);
  width: 16px; height: 16px;
}

.field-submit{
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
}
.field-submit .btn-primary{
  border: none;
  cursor: pointer;
}
.field-submit-note{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===============================================
   SERVICE OVERVIEW (hub list, no pricing)
   =============================================== */
.svc-overview-list{
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
}
.svc-overview{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background .15s ease;
  align-items: start;
}
.svc-overview:hover{ background: var(--soft); }
@media (max-width: 720px){
  .svc-overview{ grid-template-columns: 1fr; gap: 12px; }
}

.svc-overview-meta{
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 8px;
}
.svc-overview-no{
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}
.svc-overview-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

.svc-overview-main{
  display: flex; flex-direction: column; gap: 20px;
}
.svc-overview-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.svc-overview-desc{
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
  max-width: 56ch;
}
.svc-overview-pills{
  display: flex; flex-wrap: wrap; gap: 6px;
}
.svc-overview-cta{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  align-self: flex-start;
  transition: gap .15s ease;
}
.svc-overview:hover .svc-overview-cta{ gap: 12px; }

/* ===============================================
   CAREER LIST WITH ARROWS (added)
   xxxx ↓ xxxx ↓ xxxx style
   =============================================== */
.career-item:not(:last-child)::after{
  content: "↓";
  display: block;
  text-align: left;
  margin-top: 18px;
  margin-left: 2px;
  font-family: var(--f-sans);
  font-size: 18px;
  color: var(--green);
  font-weight: 400;
  line-height: 1;
  opacity: .6;
}
.career-item{
  padding: 22px 0 6px 0;
  border-bottom: none;
}
.career{
  border-top: 1px solid var(--ink);
  padding-top: 8px;
}

/* ===============================================
   CAREERS PAGE (added)
   =============================================== */
.positions-list{
  display: flex; flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}
.position-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 28px;
  transition: border-color .15s ease;
}
.position-card:hover{ border-color: var(--ink); }

.position-head{
  display: flex; flex-direction: column; gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.position-meta{
  display: flex; align-items: center; gap: 12px;
}
.position-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.position-type{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.position-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.position-lead{
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 56ch;
}

.position-detail{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 720px){ .position-detail{ grid-template-columns: 1fr; } }

.position-block{
  display: flex; flex-direction: column; gap: 10px;
}
.position-block h4{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.position-block ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}
.position-block li{
  display: flex; align-items: flex-start; gap: 8px;
}
.position-block li::before{
  content: "+";
  color: var(--green);
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1.5;
}

.position-apply{
  display: flex; justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* ===============================================
   AMPSELL CAROUSEL (added)
   horizontal scroll-snap carousel with real screenshots
   =============================================== */
.wrap-fluid{
  width: 100%;
  padding-left: var(--gutter);
}
.ampsell-carousel{
  display: flex;
  gap: clamp(20px, 2.5vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  padding-right: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--green) var(--soft);
}
.ampsell-carousel::-webkit-scrollbar{ height: 6px; }
.ampsell-carousel::-webkit-scrollbar-track{ background: var(--soft); border-radius: 3px; }
.ampsell-carousel::-webkit-scrollbar-thumb{ background: var(--green); border-radius: 3px; }

.ampsell-slide{
  flex: 0 0 min(880px, 85vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.ampsell-slide figure{
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px -16px rgba(28,33,52,.15);
}
.ampsell-slide img{
  width: 100%;
  height: auto;
  display: block;
  background: var(--soft);
}
.ampsell-slide figcaption{
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.slide-tag{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.slide-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.5;
}
.ampsell-carousel-hint{
  display: flex; justify-content: center;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .14em;
}
@media (min-width: 1280px){
  .ampsell-carousel-hint{ display: none; }
}

.nav-dropdown .dd-suffix{
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}

/* ===============================================
   MOBILE NAV: hamburger + fullscreen menu (added)
   =============================================== */
.nav-burger{
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background .15s ease;
}
.nav-burger:hover{ background: var(--soft); }
.nav-burger .burger-line{
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
  display: block;
}
.nav-burger.is-open .burger-line:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.nav-burger.is-open .burger-line:nth-child(2){ opacity: 0; }
.nav-burger.is-open .burger-line:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 880px){
  .nav-cta--desktop{ display: none; }
  .nav-burger{ display: inline-flex; }
}

.nav-mobile{
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 90;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
}
.nav-mobile.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s 0s;
}
.nav-mobile-inner{
  padding: clamp(24px, 4vw, 40px) var(--gutter) 80px var(--gutter);
  display: flex; flex-direction: column;
  gap: 32px;
}
.nav-mobile-section{
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.nav-mobile-label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.nav-mobile-section a{
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-section a:last-child{ border-bottom: none; }
.nav-mobile-cta{
  margin-top: 8px;
  display: flex;
}
.nav-mobile-cta .btn-primary{
  width: 100%;
  justify-content: center;
}

/* ===============================================
   PHILOSOPHY / MVV / VALUES v2 (Company page)
   =============================================== */
.credo-section{ background: var(--bg); }

.credo{
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 40px;
}
.credo-lead{
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-align: center;
  text-wrap: pretty;
  position: relative;
}
.credo-quote{
  color: var(--green);
  font-family: var(--f-sans);
  font-weight: 400;
}
.credo-body{
  display: flex; flex-direction: column; gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.credo-body p{
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.95;
  color: var(--ink);
}
.credo-body strong{
  font-weight: 700;
  border-bottom: 2px solid var(--green);
  padding-bottom: 1px;
}
.credo-emphasis{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px) !important;
  line-height: 1.7 !important;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-left: 18px;
  border-left: 3px solid var(--green);
}
.credo-sign{
  text-align: center;
  font-family: var(--f-mono);
  font-size: 13px !important;
  color: var(--muted) !important;
  letter-spacing: .04em;
  margin-top: 8px !important;
}

/* MVV grid */
.mv-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 880px){ .mv-grid{ grid-template-columns: 1fr; } }

.mv-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column;
  gap: 16px;
}
.mv-label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.mv-title{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: var(--ink);
  text-wrap: pretty;
}
.mv-body{
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
  margin: 0;
}

/* Values v2 (5-row) */
.values-v2{
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
}
.value-row{
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 640px){
  .value-row{ grid-template-columns: 56px 1fr; gap: 16px; }
}
.value-no{
  font-family: var(--f-mono);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--green);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 4px;
}
.value-content{
  display: flex; flex-direction: column; gap: 12px;
}
.value-h{
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.value-content p{
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  max-width: 62ch;
}
.value-content strong{
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--green-tint) 60%);
  padding: 0 2px;
}
.value-reason{
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* ===============================================
   HERO SCROLL INDICATOR (Wello-style)
   =============================================== */
.hero{
  display: flex;
  flex-direction: column;
}
.hero-scroll{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 32px;
  color: var(--ink);
  transition: opacity .2s ease;
}
.hero-inner{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero-scroll:hover{ opacity: .6; }
.hero-scroll-label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--ink);
  font-weight: 500;
}
.hero-scroll-arrow{
  display: inline-flex;
  color: var(--ink);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .hero-scroll-arrow{ animation: none; opacity: .7; }
}

/* ===============================================
   HERO BACKGROUND IMAGE (replaces text symbols)
   =============================================== */
.hero{
  background: var(--green-tint);
}
.hero-headline{ max-width: none; }
.hero-top{ max-width: 30ch; }

/* +÷ mark below the headline (in flow) */
.hero-mark{
  margin-top: clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
.hero-mark img{
  display: block;
  height: clamp(70px, 9vw, 130px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Pull image slightly left so it sits under headline left-edge */
  margin-left: 0;
}

/* Separator: hero (green) → brand-story (white) */
.brand-story{
  background: var(--bg);
  position: relative;
}

@media (max-width: 880px){
  .hero-mark img{ height: clamp(60px, 14vw, 90px); }
}

/* ===============================================
   MOBILE TUNING (added)
   =============================================== */

/* Hero headline: smaller font + cleaner wrap on mobile */
@media (max-width: 720px){
  .hero-headline{
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.5;
    letter-spacing: -0.015em;
  }
  .hero{
    padding-top: 96px;
    padding-bottom: 40px;
    min-height: calc(100vh - 0px);
    height: auto;
  }
  .hero-top{ margin-bottom: 20px; }
  .hero-top .name{ font-size: 18px; }
  .hero-top .tag{ font-size: 13px; line-height: 1.6; }
  .hero-mark{
    margin-top: 28px;
    justify-content: center;
  }
  .hero-mark img{ height: 56px; }
  .hero-scroll{ padding-top: 40px; }
}

/* Brand Story symbols: smaller on mobile */
@media (max-width: 720px){
  .bs-symbol{
    font-size: clamp(64px, 16vw, 100px) !important;
    margin-bottom: 20px;
  }
  .bs-title{ font-size: 22px; }
  .bs-lead{ font-size: 17px; }
  .bs-statement p{
    font-size: clamp(20px, 5vw, 28px) !important;
    line-height: 1.55 !important;
  }
}

/* Section padding compression on mobile */
@media (max-width: 720px){
  .section{
    padding-top: clamp(56px, 12vw, 80px);
    padding-bottom: clamp(56px, 12vw, 80px);
  }
  h2.section-title{
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.4;
  }
  .lead{ font-size: 14px; }
}

/* Page hero (sub-pages) on mobile */
@media (max-width: 720px){
  .page-hero{
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .page-title{
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.35;
  }
  .page-sub{ font-size: 14px; line-height: 1.85; }
}

/* Credo (philosophy) on mobile */
@media (max-width: 720px){
  .credo-lead{
    font-size: clamp(24px, 6.5vw, 36px);
    line-height: 1.5;
  }
  .credo-body p{ font-size: 14px; line-height: 1.95; }
  .credo-emphasis{
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  .mv-title{ font-size: 20px; line-height: 1.45; }
  .mv-body{ font-size: 14px; }
  .value-h{ font-size: 20px; line-height: 1.45; }
  .value-content p{ font-size: 14px; }
}

/* Member detail on mobile */
@media (max-width: 720px){
  .md-name{ font-size: clamp(28px, 7.5vw, 40px); }
  .md-tagline{ font-size: 18px; }
  .md-bio{ font-size: 14px; }
}

/* AmpSell features on mobile */
@media (max-width: 540px){
  .ampsell-features{ grid-template-columns: 1fr; }
  .ampsell-pillars{ gap: 12px; }
  .ampsell-pillar-title{ font-size: 22px; }
}

/* Client cards on mobile */
@media (max-width: 540px){
  .client-name{ font-size: 18px; }
  .client-engagement{ font-size: 14px; }
  .client-desc{ font-size: 13.5px; }
}

/* Contact / careers form on mobile */
@media (max-width: 640px){
  .contact-form{ padding: 24px 20px; }
  .contact-form .field-row{ grid-template-columns: 1fr; gap: 16px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea{ font-size: 16px; } /* 16px+ prevents iOS zoom on focus */
}

/* Position cards mobile */
@media (max-width: 720px){
  .position-card{ padding: 24px 20px; }
  .position-title{ font-size: 22px; }
  .position-detail{ grid-template-columns: 1fr; }
}

/* Footer on mobile: simpler stack */
@media (max-width: 720px){
  .foot-grid{ gap: 32px; }
  .foot-mission{ font-size: 13px; }
  .foot-info{ font-size: 12px; }
}

/* ===============================================
   GLOBAL OVERFLOW SAFETY (mobile horizontal scroll fix)
   =============================================== */
html, body{
  overflow-x: clip;
  max-width: 100%;
}
img, svg, video, canvas{
  max-width: 100%;
}

/* ===============================================
   WORKS CLIENT CARDS - mobile vertical stack
   =============================================== */
@media (max-width: 640px){
  .client-card{
    grid-template-areas:
      "logo"
      "meta"
      "body";
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
  .client-logo{
    width: 88px;
    height: 88px;
    aspect-ratio: 1/1;
    align-self: flex-start;
  }
  .client-meta{
    justify-content: flex-start;
  }
}

/* Also for the home logo grid - reduce to 2 columns on small phones */
@media (max-width: 480px){
  .home-logo-grid{ grid-template-columns: repeat(2, 1fr); }
}
