/* ============================================================
   Tiro.sx — Corporate Site
   Layout: design option 3A "SWISS ENGINEERING — REFINED"
   Color / rounding: blue theme inspired by dimage.co.jp
   ============================================================ */

:root {
  --bg: #f8fafc;
  --bg-tint: #eff6ff;
  --card: #ffffff;
  --ink: #101840;
  --navy: #1c398e;
  --body: #314158;
  --muted: #62748e;
  --line: #e2e8f0;
  --line-soft: #e8eef7;
  --accent: #0059ff;
  --accent-bright: #2891ff;
  --accent-sky: #95dbff;
  --grad: linear-gradient(90deg, #000064 -40%, #2891ff 100%);
  --grad-panel: linear-gradient(120deg, #000064 -30%, #2891ff 110%);
  --shadow-card: 0 25px 50px -12px rgba(190, 219, 255, .55);
  --shadow-soft: 0 8px 10px rgba(28, 57, 142, .08);
  --radius: 24px;
  --radius-sm: 14px;
  --font-en: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-jp: 'Noto Sans JP', sans-serif;
  --pad-x: clamp(20px, 4vw, 44px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; display: block; }
section { position: relative; }
.container { padding-left: var(--pad-x); padding-right: var(--pad-x); }

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

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot { animation: none !important; }
  .star-field { animation: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  text-align: center;
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s;
}
.btn-fill {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 10px rgba(28, 57, 142, .12);
}
.btn-fill:hover { box-shadow: 0 12px 24px rgba(0, 89, 255, .35); transform: translateY(-2px); }
.btn-line { color: var(--accent); border: 1px solid var(--accent); padding: 15px 31px; background: transparent; }
.btn-line:hover { background: var(--bg-tint); }
.btn-invert { color: var(--navy); background: #fff; }
.btn-invert:hover { background: #e6f0ff; }
.btn-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--body);
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px 31px;
}
.btn-mono:hover { color: var(--accent); border-color: var(--accent); }
.btn-sm { font-size: 13px; padding: 10px 22px; }

.text-link {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  white-space: nowrap;
}
.text-link:hover { color: var(--accent-bright); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad-x);
  height: 72px;
  background: rgba(248, 250, 252, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 6px; }
.brand-mark {
  width: 42px; height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.brand-r { color: var(--accent-bright); }

.global-nav {
  display: flex;
  gap: 34px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}
.global-nav a { padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.global-nav a:hover, .global-nav a.is-active { border-bottom-color: var(--accent); color: var(--accent); }

.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(64px, 9vw, 104px) var(--pad-x) clamp(48px, 6vw, 72px);
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.hero-grid-lines div { border-right: 1px solid rgba(28, 57, 142, .06); }
.hero-grid-lines div:last-child { border-right: none; }
.hero-inner { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 30px;
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.eyebrow-accent { color: var(--accent); }
.eyebrow-line { flex: 1; height: 1px; background: var(--line); }

.hero-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(32px, 8.4vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 40px;
}
.underline-accent { position: relative; }
.underline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .065em;
  border-radius: 99px;
  background: linear-gradient(90deg, #0059ff, #2891ff);
}

.hero-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 52px;
}
.hero-lead p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--body);
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: clamp(200px, 28vw, 300px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-tint);
  background-image: repeating-linear-gradient(45deg, rgba(28, 57, 142, .05) 0 14px, transparent 14px 28px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}
.fig-tag {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 8px 14px;
  border-radius: 0 var(--radius-sm) 0 0;
  z-index: 2;
}

/* ---------- parallax pixel stars ---------- */
.star-field {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  pointer-events: none;
}
.star-field::after {
  content: "";
  position: absolute;
  top: 2000px;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: transparent;
  box-shadow: inherit;
}
#stars { width: 6px; height: 6px; border-radius: 50%; animation: animStar 50s linear infinite; }
#stars2 { width: 10px; height: 10px; border-radius: 50%; animation: animStar 100s linear infinite; }
#stars3 { width: 16px; height: 16px; border-radius: 50%; animation: animStar 150s linear infinite; }
@keyframes animStar {
  from { transform: translateY(0); }
  to { transform: translateY(-2000px); }
}

/* ---------- metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 var(--pad-x);
}
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-soft);
}
.metric-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 3.5vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--navy);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  margin-top: 8px;
}

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(44px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero-inner { position: relative; }
.page-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.page-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--body);
  max-width: 560px;
}

/* ---------- section headers ---------- */
.page-section { padding-top: clamp(56px, 8vw, 88px); }
.page-section-flush { padding-top: clamp(48px, 6vw, 72px); }
.page-section-inner { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.section-bottom { padding-bottom: clamp(56px, 8vw, 88px); }
.no-top-border { border-top: none !important; }
.cta-top-border { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.section-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.index-dark { color: var(--accent-sky); }
.section-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.section-desc {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--body);
}

/* ---------- service ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 var(--pad-x);
}
.service-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card-index { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 22px; }
.service-card h3 {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.4;
}
.service-card p { font-size: 13px; line-height: 1.95; color: var(--body); margin: 0 0 20px; }
.card-tags {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
  line-height: 2;
}

/* ---------- process ---------- */
.process { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.process .section-title { margin-bottom: 48px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
.process-step { padding: 20px 0 0; border-top: 2px solid var(--line); }
.process-step.is-accent { border-top-color: var(--accent); }
.step-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.process-step.is-accent .step-num { color: var(--accent); }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; line-height: 1.85; color: var(--body); }

/* ---------- works ---------- */
.works-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-visual {
  height: clamp(200px, 24vw, 280px);
  background: var(--bg-tint);
  background-image: repeating-linear-gradient(45deg, rgba(28, 57, 142, .05) 0 12px, transparent 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-meta {
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.work-index { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .08em; margin-bottom: 8px; }
.work-card h3 { font-family: var(--font-en); font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.work-stack { font-size: 13px; color: var(--body); }
.work-year { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

.works-list {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.work-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 90px auto;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s;
}
.work-row:last-child { border-bottom: none; }
.work-row:hover { background: var(--bg-tint); }
.row-index, .row-year { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.row-title { font-size: 18px; font-weight: 700; }
.row-stack { font-size: 13px; color: var(--body); }
.row-view { font-family: var(--font-mono); font-size: 11px; color: var(--accent); white-space: nowrap; }

/* ---------- stack ---------- */
.stack { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.stack-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.stack-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.stack-desc { font-size: 13px; line-height: 1.95; color: var(--body); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color .2s, border-color .2s;
}
.chip:hover { color: var(--accent); border-color: var(--accent); }
.chip-fill { background: var(--grad); border-color: transparent; color: #fff; }
.chip-fill:hover { color: #fff; border-color: transparent; }

/* ---------- company ---------- */
.company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(48px, 6vw, 72px) var(--pad-x);
}
.company-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 4vw, 48px);
}
.company-title { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 28px; }
.company-table { font-size: 14px; line-height: 1.9; }
.company-table > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.company-table > div:last-child { border-bottom: none; }
.company-table dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  padding-top: 3px;
}
.company-table a:hover { color: var(--accent); }
.company-map {
  position: relative;
  min-height: 420px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.company-map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- recruit ---------- */
.recruit {
  margin: clamp(48px, 6vw, 72px) var(--pad-x) 0;
  border-radius: calc(var(--radius) + 8px);
  background: var(--grad-panel);
  color: #fff;
  padding: clamp(44px, 6vw, 80px) clamp(28px, 4.5vw, 64px);
  box-shadow: 0 25px 50px -12px rgba(28, 57, 142, .35);
  overflow: hidden;
}
.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.recruit-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.recruit-desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(226, 232, 240, .85);
  margin: 0 0 32px;
  max-width: 480px;
}
.job-list { border-top: 1px solid rgba(255, 255, 255, .3); }
.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: padding-left .25s;
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { padding-left: 10px; }
.job-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.job-cond { font-family: var(--font-mono); font-size: 11px; color: rgba(226, 232, 240, .65); letter-spacing: .06em; }
.job-apply { font-family: var(--font-mono); font-size: 11px; color: var(--accent-sky); white-space: nowrap; }

/* ---------- contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 0;
  align-items: start;
}
.contact-side { display: grid; gap: 20px; }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 4vw, 48px);
}
.contact-form-title {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 28px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 99px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(40, 145, 255, .18);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #a4b1c2; }
.form-hp { position: absolute; left: -9999px; top: -9999px; }
.form-submit { width: 100%; cursor: pointer; border: none; font-size: 16px; padding: 17px 32px; }
.form-submit:disabled { opacity: .55; cursor: default; transform: none !important; box-shadow: none !important; }
.form-status {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.8;
}
.form-status.is-success { background: #e8f7ee; color: #146c43; border: 1px solid #b7e4c7; }
.form-status.is-error { background: #fdeceb; color: #b02a37; border: 1px solid #f5c2c7; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 0;
}
.contact-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 44px) clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.contact-card h2 {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.contact-card p { font-size: 13px; line-height: 1.95; color: var(--body); margin: 0 0 24px; }
.contact-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .04em;
  word-break: break-all;
}

/* ---------- misc sub-page ---------- */
.culture-heading { margin-bottom: 40px; }
.access-desc p { font-size: 14px; line-height: 2; color: var(--body); max-width: 560px; }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(56px, 8vw, 88px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -.03em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.cta-desc { font-size: 15px; line-height: 1.9; color: var(--body); max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }

/* ---------- footer ---------- */
.site-footer { padding: 56px var(--pad-x) 36px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-address { font-size: 13px; line-height: 1.9; color: var(--body); }
.footer-address a:hover { color: var(--accent); }
.footer-col { display: flex; flex-direction: column; font-size: 13px; line-height: 2.2; color: var(--body); }
.footer-col a:hover { color: var(--accent); }
.footer-head {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .recruit-grid { grid-template-columns: 1fr; gap: 48px; }
  .stack-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr; }
  .global-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 39;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .global-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .global-nav a { padding: 14px var(--pad-x); border-bottom: none; font-size: 14px; }
  .nav-toggle { display: flex; }
  .header-right .btn { display: none; }

  .hero-lead { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta { justify-content: flex-start; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .works-featured { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 60px 1fr auto; }
  .row-stack, .row-year { display: none; }
  .company { grid-template-columns: 1fr; }
  .company-map { min-height: 320px; }
  .cta { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { min-width: 0; max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .company-table > div { grid-template-columns: 96px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .eyebrow-sub { display: none; }
  .eyebrow-line { display: none; }
}
