/* =========================================================
   furuCRM Corporate Site — CSS
   Extracted from index.html prototype for Visualforce use.
   Lives in static resource: FURUCRM_SITE_V2/css/furucrm.css
   ========================================================= */

:root {
  --bg: #F5F1EA;
  --bg-2: #EDE7DC;
  --fg: #171514;
  --fg-2: #3B3633;
  --fg-3: #6F6A64;
  --line: #D9D1C2;
  --accent: oklch(0.58 0.13 38);
  --accent-ink: oklch(0.38 0.10 38);
  --accent-soft: oklch(0.92 0.04 60);
  --serif: "Noto Serif JP", serif;
  --sans: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Noto Sans JP", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 2px;
  --pad-x: clamp(20px, 5vw, 80px);
}
[data-theme="ink"] {
  --bg: #111110; --bg-2: #1A1A18;
  --fg: #F2ECDF; --fg-2: #CFC8BA; --fg-3: #8A8478;
  --line: #2C2A26;
  --accent: oklch(0.72 0.14 38);
  --accent-ink: oklch(0.85 0.10 38);
  --accent-soft: oklch(0.25 0.04 60);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono); }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3);
  display: inline-flex; align-items: baseline; gap: 12px;
}
.eyebrow .num { color: var(--accent-ink); }
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--fg-3);
  display: inline-block; margin-right: 4px; align-self: center;
}
.eyebrow.right-aligned { justify-content: flex-end; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.section { padding: clamp(64px, 9vw, 140px) 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

/* --- NAV --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg), transparent 8%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x); max-width: 1440px; margin: 0 auto;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.brand-mark em { font-style: italic; color: var(--accent-ink); }
.brand-sub { font-family: var(--mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--fg-2); position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  padding: 10px 18px; font-size: 13px; font-weight: 500; border-radius: var(--radius);
  transition: all .2s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.lang-flags { display: flex; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.flag { width: 22px; height: 16px; border-radius: 2px; display: inline-block; position: relative; opacity: .7; transition: opacity .2s; overflow: hidden; }
.flag:hover { opacity: 1; }
.flag-jp { background: #fff; }
.flag-jp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: #BC002D; border-radius: 50%; transform: translate(-50%,-50%); }
.flag-kr { background: #fff; }
.flag-kr::after { content: ""; position: absolute; inset: 18% 25%; background: linear-gradient(90deg, #C60C30 50%, #003478 50%); border-radius: 50%; }
.flag-vn { background: #DA251D; color: #FFFF00; font-size: 10px; line-height: 16px; text-align: center; }
.flag-vn::after { content: "★"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* --- HERO --- */
.hero { padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 160px); position: relative; overflow: hidden; }
.hero-meta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); }
.hero-meta .left { grid-column: 1 / 7; }
.hero-meta .right { grid-column: 9 / 13; text-align: right; }
.hero-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 8.5vw, 132px);
  line-height: 0.98; letter-spacing: -0.025em; margin: 0 0 48px;
}
.hero-h .line { display: block; }
.hero-h em { font-style: italic; color: var(--accent-ink); }
.hero-sub {
  grid-column: 7 / 13;
  font-size: 17px; line-height: 1.7; color: var(--fg-2);
  max-width: 560px; margin-left: auto;
}
.hero-sub .marker {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
  margin-bottom: 18px;
}
.hero-ctas { grid-column: 1 / 7; display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  border-radius: var(--radius); border: 1px solid var(--fg);
  background: var(--fg); color: var(--bg);
  transition: all .2s; cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }

.hero-viz { grid-column: 1 / 13; margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.viz-image { grid-column: 1 / 9; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.viz-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.viz-image .placeholder {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, var(--bg-2), var(--bg-2) 10px, color-mix(in oklab, var(--bg-2), var(--fg) 6%) 10px, color-mix(in oklab, var(--bg-2), var(--fg) 6%) 11px);
  display: flex; align-items: flex-end; padding: 20px;
}
.viz-image .ph-caption {
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
  background: var(--bg); padding: 4px 8px; border: 1px solid var(--line);
}
.viz-stack { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.viz-card {
  border: 1px solid var(--line); padding: 20px; background: var(--bg);
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px;
}
.viz-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.viz-card .v { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--fg); margin-top: auto; }
.viz-card .v sub { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--fg-3); margin-left: 8px; vertical-align: baseline; }
.viz-card:hover { background: var(--accent-soft); border-color: var(--accent); }

/* --- MARQUEE --- */
/* --- MARQUEE --- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 28px 0; display: flex; align-items: center; gap: 0; background: var(--bg); }
.marquee-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; padding-left: var(--pad-x); padding-right: 32px; flex-shrink: 0; position: relative; z-index: 2; background: var(--bg); box-shadow: 24px 0 16px var(--bg); }
.marquee-track { display: flex; gap: 60px; animation: scroll 50s linear infinite; white-space: nowrap; padding-left: 0; }
.marquee-track span { font-family: var(--serif); font-size: 22px; color: var(--fg-2); font-weight: 400; }
.marquee-track span.dot { color: var(--accent-ink); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- SECTION HEAD --- */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
.sec-head .eyebrow-col { grid-column: 1 / 4; }
.sec-head .title-col { grid-column: 4 / 11; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.sec-head h2 em { font-style: italic; color: var(--accent-ink); }
.sec-head .deck { grid-column: 4 / 11; margin-top: 24px; font-size: 17px; color: var(--fg-2); max-width: 680px; line-height: 1.7; }

/* --- STRENGTHS --- */
.strengths { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.str-card { grid-column: span 4; background: var(--bg); padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; min-height: 300px; transition: background .25s; position: relative; }
.str-card:hover { background: var(--bg-2); }
.str-card-head { display: flex; justify-content: space-between; align-items: start; }
.str-num { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); letter-spacing: 0.08em; }
.str-h { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; margin: 0; font-weight: 400; }
.str-h em { font-style: italic; color: var(--accent-ink); }
.str-body { font-size: 14px; color: var(--fg-2); line-height: 1.65; margin-top: auto; }
.str-glyph { width: 44px; height: 44px; border: 1px solid var(--fg); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; color: var(--fg); }
.str-card.wide { grid-column: span 6; }
.str-card.accent { background: var(--fg); color: var(--bg); }
.str-card.accent .str-h, .str-card.accent .str-num, .str-card.accent .str-body { color: var(--bg); }
.str-card.accent .str-h em { color: var(--accent); }
.str-card.accent .str-glyph { border-color: var(--bg); color: var(--bg); }
.str-card.accent:hover { background: var(--fg); }

/* --- SERVICES --- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1fr 140px; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; cursor: pointer; transition: padding .25s ease, background .25s ease; position: relative; }
.svc-row:hover { padding-left: 12px; background: var(--bg-2); }
.svc-row .num { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.08em; }
.svc-row .title { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.svc-row .title em { font-style: italic; color: var(--accent-ink); }
.svc-row .desc { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.svc-row .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-self: end; align-items: center; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--fg-3); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; }
.svc-row:hover .tag { border-color: var(--fg-3); color: var(--fg-2); }
.svc-row .arrow { font-family: var(--serif); font-size: 24px; color: var(--fg-3); transition: transform .3s, color .3s; }
.svc-row:hover .arrow { transform: translateX(8px); color: var(--accent-ink); }

/* --- AI BLOCK --- */
.ai-block { background: var(--fg); color: var(--bg); padding: clamp(64px, 9vw, 120px) 0; margin-top: clamp(40px, 6vw, 80px); }
.ai-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 32px; }
.ai-eyebrow { grid-column: 1 / 13; color: var(--accent); }
.ai-eyebrow::before { background: var(--accent); }
.ai-h { grid-column: 1 / 10; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.5vw, 80px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--bg); }
.ai-h em { font-style: italic; color: var(--accent); }
.ai-body { grid-column: 1 / 7; font-size: 17px; color: color-mix(in oklab, var(--bg), transparent 20%); line-height: 1.7; }
.ai-cases { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 20px; }
.ai-case { border: 1px solid color-mix(in oklab, var(--bg), transparent 80%); padding: 20px; transition: border-color .2s; }
.ai-case:hover { border-color: var(--accent); }
.ai-case .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.ai-case .t { font-family: var(--serif); font-size: 18px; margin: 6px 0 0; color: var(--bg); font-weight: 400; }
.ai-case .d { font-size: 13px; color: color-mix(in oklab, var(--bg), transparent 40%); margin: 6px 0 0; }

/* --- STATS --- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .v { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.stat .v sub { font-family: var(--sans); font-size: 14px; color: var(--accent-ink); font-weight: 500; margin-left: 2px; vertical-align: baseline; }
.stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.stat .l { font-size: 13px; color: var(--fg-2); }

/* --- CLOUDS --- */
.clouds { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.cloud { grid-column: span 3; background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; min-height: 160px; transition: background .25s; }
.cloud:hover { background: var(--bg-2); }
.cloud .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.cloud .t { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.cloud .items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cloud .items span { font-family: var(--mono); font-size: 10px; color: var(--fg-2); padding: 2px 6px; background: var(--bg-2); border: 1px solid var(--line); }
.cloud:hover .items span { background: var(--bg); }

/* --- LEADERSHIP --- */
.leaders { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.leader { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; }
.leader-photo {
  aspect-ratio: 4 / 5; background: var(--bg-2); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(135deg, var(--bg-2), var(--bg-2) 8px, color-mix(in oklab, var(--bg-2), var(--fg) 5%) 8px, color-mix(in oklab, var(--bg-2), var(--fg) 5%) 9px);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo .badge { position: absolute; bottom: 10px; left: 10px; background: var(--bg); color: var(--fg-3); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 6px; border: 1px solid var(--line); }
.leader h3 { font-family: var(--serif); font-size: 20px; margin: 6px 0 0; font-weight: 500; letter-spacing: -0.01em; }
.leader .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.leader .bio { font-size: 13px; color: var(--fg-2); line-height: 1.6; }

.team-aside { margin-top: 60px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.team-aside .count { grid-column: 1 / 5; font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.team-aside .count sub { font-family: var(--sans); font-size: 14px; color: var(--fg-3); margin-left: 6px; }
.team-aside .copy { grid-column: 5 / 11; font-size: 15px; color: var(--fg-2); line-height: 1.7; }
.inline-link { display: inline-block; margin-top: 16px; border-bottom: 1px solid var(--fg); padding-bottom: 2px; }

/* --- PROCESS --- */
.process { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.proc-title { grid-column: 1 / 5; position: sticky; top: 100px; align-self: start; }
.proc-h { font-family: var(--serif); font-weight: 400; font-size: clamp(28px,3.8vw,52px); letter-spacing: -0.02em; line-height: 1.05; margin: 20px 0 0; }
.proc-h em { font-style: italic; color: var(--accent-ink); }
.proc-steps { grid-column: 5 / 13; display: flex; flex-direction: column; }
.proc-step { display: grid; grid-template-columns: 60px 1fr 80px; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.proc-step:last-child { border-bottom: 1px solid var(--line); }
.proc-step .n { font-family: var(--mono); color: var(--accent-ink); font-size: 12px; letter-spacing: 0.08em; }
.proc-step .t { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; font-weight: 400; }
.proc-step .d { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.proc-step .w { font-family: var(--mono); font-size: 11px; color: var(--fg-3); text-align: right; }

/* --- OFFICES --- */
.offices { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.office { grid-column: span 4; background: var(--bg); padding: 0 0 32px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.office:hover { background: var(--bg-2); }
.office-photo { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); margin: 0 0 4px; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.office:hover .office-photo img { transform: scale(1.03); }
.office .flag-line, .office h3, .office .details, .office .meta { padding: 0 32px; }
.office .flag-line { padding-top: 24px; }
.office.highlight { padding: 32px; }
.office.highlight .flag-line, .office.highlight h3, .office.highlight .details, .office.highlight .meta { padding: 0; }
.office.highlight { background: var(--accent-soft); }
.office.highlight h3 { font-size: 44px; }
.office.highlight .total-sub { font-family: var(--sans); font-size: 16px; color: var(--fg-3); margin-left: 6px; }
.office .flag-line { display: flex; align-items: center; gap: 10px; }
.office .flag-ico { width: 18px; height: 12px; border: 1px solid var(--line); border-radius: 1px; position: relative; display: inline-block; }
.office .flag-ico-jp { background: #fff; }
.office .flag-ico-jp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: #BC002D; border-radius: 50%; transform: translate(-50%,-50%); }
.office .flag-ico-kr { background: #fff; }
.office .flag-ico-kr::after { content: ""; position: absolute; inset: 20% 30%; background: linear-gradient(90deg, #C60C30 50%, #003478 50%); border-radius: 50%; }
.office .flag-ico-vn { background: #DA251D; color: #FFFF00; text-align: center; font-size: 8px; line-height: 12px; }
.office .flag-ico-vn::after { content: "★"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; line-height: 1; }
.office .cc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.office h3 { font-family: var(--serif); font-size: 24px; margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.office h3 em { font-style: italic; color: var(--accent-ink); }
.office .details { font-size: 13px; color: var(--fg-2); line-height: 1.65; }
.office .meta { display: flex; gap: 20px; font-family: var(--mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.04em; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

/* --- BLOG --- */
.blog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.post { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; transition: transform .3s; }
.post:hover { transform: translateY(-4px); }
.post-thumb { aspect-ratio: 5 / 3; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; background-image: repeating-linear-gradient(135deg, var(--bg-2), var(--bg-2) 8px, color-mix(in oklab, var(--bg-2), var(--fg) 5%) 8px, color-mix(in oklab, var(--bg-2), var(--fg) 5%) 9px); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .stamp { position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--accent-ink); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); }
.post .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--fg-3); display: flex; gap: 12px; }
.post h3 { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.post:hover h3 { color: var(--accent-ink); }
.post p { font-size: 13px; color: var(--fg-2); line-height: 1.65; margin: 0; }
.post .read { font-family: var(--mono); font-size: 11px; color: var(--fg); margin-top: auto; }
.post .read::after { content: " →"; }
.journal-more { margin-top: 40px; display: flex; justify-content: center; }

/* --- CONTACT --- */
.contact-block { background: var(--bg-2); padding: clamp(64px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.contact-copy { grid-column: 1 / 7; }
.contact-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; margin: 20px 0 24px; }
.contact-copy h2 em { font-style: italic; color: var(--accent-ink); }
.contact-copy p { font-size: 16px; color: var(--fg-2); line-height: 1.7; max-width: 480px; }
.contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.ci-row { display: flex; gap: 16px; align-items: baseline; }
.ci-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-3); width: 100px; text-transform: uppercase; }
.ci-row a { border-bottom: 1px solid var(--line); }
.contact-form { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 20px; background: var(--bg); padding: 40px; border: 1px solid var(--line); }
.thank-you h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; font-weight: 500; }
.thank-you p { font-size: 14px; color: var(--fg-2); margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0;
  color: var(--fg); outline: none; transition: border-color .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 80px; resize: vertical; font-family: var(--sans); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.submit-btn {
  align-self: flex-start; background: var(--fg); color: var(--bg);
  border: 0; border-radius: 2px; padding: 14px 32px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .2s;
}
.submit-btn:hover { background: var(--accent); }

/* --- FOOTER --- */
.footer { background: var(--fg); color: var(--bg); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-bottom: 60px; }
.footer-brand { grid-column: 1 / 5; }
.footer-brand .bm { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.footer-brand .bm em { font-style: italic; color: var(--accent); }
.footer-brand p { font-size: 14px; color: color-mix(in oklab, var(--bg), transparent 30%); line-height: 1.7; margin: 16px 0; max-width: 320px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 32px; height: 32px; border: 1px solid color-mix(in oklab, var(--bg), transparent 70%); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col { grid-column: span 2; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 40%); margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: color-mix(in oklab, var(--bg), transparent 15%); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--bg), transparent 85%); font-family: var(--mono); font-size: 11px; color: color-mix(in oklab, var(--bg), transparent 50%); letter-spacing: 0.06em; }

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .row { gap: 20px; }
  .hero-h { font-size: clamp(44px, 12vw, 80px); }
  .hero-meta .left, .hero-meta .right { grid-column: 1 / 13; text-align: left; }
  .hero-sub, .hero-ctas { grid-column: 1 / 13; margin-left: 0; }
  .viz-image, .viz-stack { grid-column: 1 / 13; }
  .sec-head .eyebrow-col, .sec-head .title-col, .sec-head .deck { grid-column: 1 / 13; }
  .str-card, .str-card.wide { grid-column: span 12; }
  .svc-row { grid-template-columns: 40px 1fr; }
  .svc-row .desc, .svc-row .tags { grid-column: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cloud { grid-column: span 6; }
  .leader { grid-column: span 6; }
  .post { grid-column: span 12; }
  .office { grid-column: span 12; }
  .contact-copy, .contact-form { grid-column: 1 / 13; }
  .footer-brand, .footer-col { grid-column: 1 / 13; }
  .nav-links { display: none; }
  .ai-h, .ai-body, .ai-cases { grid-column: 1 / 13; }
  .proc-title, .proc-steps { grid-column: 1 / 13; }
  .team-aside .count, .team-aside .copy { grid-column: 1 / 13; }
  /* marquee: hide label on small screens to prevent overlap */
  .marquee-label { display: none; }
  /* contact grid gap */
  .contact-grid { gap: 32px; }
}

@media (max-width: 600px) {
  .row { gap: 12px; }
  /* nav: hide CTA button — hero section has own CTA links */
  .nav-cta { display: none; }
  /* nav: hide language flags to save space */
  .lang-flags { display: none; }
  /* leaders: full width on phones */
  .leader { grid-column: span 12; }
  /* cloud items: full width on phones */
  .cloud { grid-column: span 12; }
  /* stats: single column */
  .stats { grid-template-columns: 1fr; }
  /* service row: single column on small phones */
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .num { display: none; }
  .svc-row .desc, .svc-row .tags { grid-column: 1; }
  /* contact form: single column fields, tighter padding */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-grid { gap: 24px; }
}
