/* =========================================================
   株式会社Hitoas2 - style.css
   Pure CSS / no framework。配色・フォント・余白は :root のトークンで一元管理する。
   新色を直値で書かず、必要ならトークンを :root に足して命名を揃えること。
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden は body のみに付ける。html にも付けると、body 側の
   overflow-y が auto に再計算されて html/body が二重のスクロールコンテナ化し、
   スクロール自体がほぼ効かなくなる（結果としてヘッダーの sticky も追従しなく見える）。 */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; }
body, h1, h2, h3, h4, p, ul, ol, figure, dl, dd, table, th, td { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design Tokens ---------- */
:root {
  /* 配色（案件ごとに置換する起点）*/
  --c-primary: #12304a;          /* 深い紺：信頼・落ち着き（ボタン・見出しアクセント） */
  --c-primary-deep: #0b2033;     /* hover で深く */
  --c-primary-soft: #eaf0f5;     /* 紺のごく淡い背景 */
  --c-accent: #b9803a;           /* 真鍮色：CTA・強調の差し色 */
  --c-accent-deep: #9a6a2e;

  --c-bg: #ffffff;               /* ページ背景 */
  --c-bg-cream: #f5f3ee;         /* セクション差し色背景（温かいオフホワイト） */
  --c-text: #1d2530;             /* 基本テキスト */
  --c-text-muted: #596270;       /* 補助テキスト */
  --c-border: #dedad2;           /* 罫線 */
  --c-danger: #c0392b;

  /* フォント（日本語サイトの定番 system / Google Fonts は <head> で読み込む） */
  --f-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --f-disp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; /* 見出し・装飾用 */

  /* レイアウト */
  --container: 1120px;
  --gutter: 24px;
  --header-h: 92px;
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-card: 0 24px 60px rgba(0,0,0,0.08);
}

/* ---------- Base ---------- */
html, body {
  font-family: var(--f-base);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
}

h1, h2, h3 { line-height: 1.4; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 88px 0; }
.section--cream { background: var(--c-bg-cream); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__label { display: block; font-family: var(--f-disp); font-size: 13px; letter-spacing: 0.3em; color: var(--c-accent-deep); text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-size: clamp(22px, 4vw, 30px); font-weight: 600; letter-spacing: 0.06em; }
.section__lead { margin-top: 16px; color: var(--c-text-muted); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  background: var(--c-primary); color: #fff; font-weight: 600;
  letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--c-primary-deep); transform: translateY(-1px); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--c-border);
}
/* 背景のすりガラス効果は ::before に分離する。
   .hdr 自身に backdrop-filter / filter を持たせると、その要素がモバイル用ドロワー
   (.nav / position:fixed) の「包含ブロック」になり、ドロワーがビューポートではなく
   ヘッダーの高さ(数十px)に閉じ込められてレイアウトが壊れるため。 */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.hdr__logo-img { width: auto; max-height: 48px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a { font-size: 14px; letter-spacing: 0.04em; transition: color 0.2s; }
.nav > a:hover { color: var(--c-primary); }
.nav__sns { display: none; } /* PC ヘッダーではアイコンを hdr__actions 側に出す想定 */
.hdr__actions { display: flex; align-items: center; gap: 14px; }
.hdr__sns { display: inline-flex; }
.sns-icon { width: 22px; height: 22px; }
.sns-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hdr__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 600;
  transition: background 0.2s;
}
.hdr__cta:hover { background: var(--c-accent-deep); }

/* Burger */
/* z-index はドロワー(.nav, z-index:95)より高くする。.hdr__burger は .hdr のローカルな
   スタッキングコンテキストに属するため、指定がないと z-index:auto 扱いとなり、
   ドロワーを開いた際に自分自身のボタン(×アイコン)がドロワーの下に隠れてしまう。 */
.hdr__burger { display: none; width: 40px; height: 40px; position: relative; z-index: 96; }
.hdr__burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-text);
  transition: transform 0.3s, opacity 0.2s;
}
.hdr__burger span:nth-child(1) { top: 13px; }
.hdr__burger span:nth-child(2) { top: 19px; }
.hdr__burger span:nth-child(3) { top: 25px; }
.hdr__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__burger.is-open span:nth-child(2) { opacity: 0; }
.hdr__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Page hero（サブページ共通の見出し帯） ---------- */
.page-hero { background: var(--c-primary-soft); padding: 64px 0; text-align: center; }
.page-hero__label { display: block; font-family: var(--f-disp); letter-spacing: 0.3em; color: var(--c-primary); font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.page-hero__title { font-size: clamp(24px, 5vw, 34px); letter-spacing: 0.08em; }
.page-hero__lead { margin-top: 14px; color: var(--c-text-muted); font-size: 15px; }

/* ---------- News（新着情報・アコーディオン / news.js と対応） ---------- */
.news__list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--c-border); }
.news__item { border-bottom: 1px solid var(--c-border); }
.news__head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 22px 8px; text-align: left;
}
.news__date { font-family: var(--f-disp); color: var(--c-primary); font-size: 14px; letter-spacing: 0.06em; flex-shrink: 0; }
.news__cat {
  font-size: 11px; letter-spacing: 0.08em; color: var(--c-text-muted);
  border: 1px solid var(--c-border); border-radius: var(--radius-pill);
  padding: 3px 12px; flex-shrink: 0;
}
.news__title { flex: 1; font-size: 15px; font-weight: 500; }
.news__toggle { width: 12px; height: 12px; position: relative; flex-shrink: 0; }
.news__toggle::before, .news__toggle::after { content: ""; position: absolute; background: var(--c-text-muted); transition: transform 0.3s; }
.news__toggle::before { top: 5px; left: 0; right: 0; height: 2px; }
.news__toggle::after { left: 5px; top: 0; bottom: 0; width: 2px; }
.news__item.is-open .news__toggle::after { transform: scaleY(0); }
.news__body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.news__item.is-open .news__body { max-height: 600px; }
.news__body-inner { padding: 0 8px 24px; color: var(--c-text-muted); font-size: 14px; }
.news__link { display: inline-flex; gap: 6px; margin-top: 12px; color: var(--c-primary); font-weight: 600; }
.news__empty { text-align: center; color: var(--c-text-muted); padding: 40px 0; }

/* ---------- Cards / CTA ---------- */
.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.cta-card { display: block; padding: 32px 28px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform 0.2s, box-shadow 0.2s; text-align: center; }
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cta-card__label { font-family: var(--f-disp); letter-spacing: 0.2em; color: var(--c-primary); font-size: 12px; text-transform: uppercase; }
.cta-card__title { margin: 8px 0 10px; font-size: 19px; }
.cta-card__desc { color: var(--c-text-muted); font-size: 14px; }
.cta-card__btn { display: inline-block; margin-top: 16px; color: var(--c-primary); font-weight: 600; }

/* ---------- Form（Web3Forms / contact.js と対応） ---------- */
.form { max-width: 720px; margin: 0 auto; }
.form__intro { font-size: 13px; color: var(--c-text-muted); margin-bottom: 24px; }
.form__intro strong { color: var(--c-danger); }
.form__field { margin-bottom: 22px; }
.form__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form__required { font-size: 11px; color: #fff; background: var(--c-danger); border-radius: 3px; padding: 2px 7px; margin-left: 6px; }
.form__optional { font-size: 11px; color: var(--c-text-muted); border: 1px solid var(--c-border); border-radius: 3px; padding: 2px 7px; margin-left: 6px; }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: #fff; font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.form__textarea { min-height: 160px; resize: vertical; }
.form__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--c-text-muted); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.form__check input { margin-top: 5px; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-weight: 600; letter-spacing: 0.1em; transition: background 0.2s; }
.form__submit:hover { background: var(--c-primary-deep); }
.form__submit:disabled { opacity: 0.6; cursor: default; }
.form__success { max-width: 720px; margin: 0 auto 24px; padding: 28px; border: 1px solid var(--c-primary); border-radius: var(--radius); background: var(--c-primary-soft); text-align: center; }
.form__error { padding: 14px; border: 1px solid var(--c-danger); border-radius: var(--radius); background: #fdecea; color: var(--c-danger); font-size: 14px; margin-bottom: 20px; }
.form__radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); cursor: pointer; margin: 0 8px 8px 0; }
.form__radio.is-checked { border-color: var(--c-primary); background: var(--c-primary-soft); }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { width: 100%; text-align: left; padding: 20px 8px; font-weight: 600; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--c-text-muted); font-size: 14px; }
.faq__item.is-open .faq__a { max-height: 500px; padding: 0 8px 20px; }

/* ---------- Footer ---------- */
.ftr { background: #0b1a29; color: #ddd; padding: 64px 0 32px; }
.ftr__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ftr__about, .ftr__address { font-size: 13px; color: #aaa; margin-top: 14px; line-height: 1.9; }
.ftr__tel a { font-family: var(--f-disp); font-size: 18px; letter-spacing: 0.06em; margin-top: 10px; display: inline-block; }
.ftr__sns { display: flex; gap: 14px; margin-top: 16px; }
.ftr__sns .sns-icon { width: 26px; height: 26px; }
.ftr__heading { font-family: var(--f-disp); letter-spacing: 0.2em; font-size: 13px; color: #fff; margin-bottom: 16px; text-transform: uppercase; }
.ftr__links { display: flex; flex-direction: column; gap: 10px; }
.ftr__links a { font-size: 14px; color: #bbb; transition: color 0.2s; }
.ftr__links a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid #333; margin-top: 48px; padding-top: 24px; text-align: center; }
.ftr__copy { font-size: 12px; color: #888; letter-spacing: 0.06em; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: rgba(255,255,255,0.96); border-top: 1px solid var(--c-border); backdrop-filter: blur(8px); }
.mobile-cta__inner { display: flex; }
.mobile-cta__btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; font-size: 10px; color: var(--c-text); }
.mobile-cta__btn--primary { background: var(--c-primary); color: #fff; }
.mobile-cta__btn-icon svg { width: 22px; height: 22px; }

/* ---------- Fade-in（main.js / news.js と対応） ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr__burger { display: block; }
  .hdr__cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; padding: calc(var(--header-h) + 16px) 28px 28px;
    transform: translateX(100%); visibility: hidden; transition: transform 0.35s ease, visibility 0.35s; z-index: 95;
    box-shadow: none; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .nav > a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
  .nav__sns { display: flex; gap: 16px; margin-top: 20px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .ftr__inner { grid-template-columns: 1fr; gap: 32px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 60px; } /* mobile-cta の高さ分 */
  .news__head { flex-wrap: wrap; gap: 8px 12px; }
  .news__title { flex-basis: 100%; }
}

/* ---------- Accessibility：動きを抑える設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* =========================================================
   Hitoas2 固有パーツ
   ========================================================= */
.wordmark { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--f-disp); font-weight: 600; font-size: 22px; letter-spacing: 0.04em; color: var(--c-primary); line-height: 1; }
.wordmark small { font-family: var(--f-base); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-text-muted); margin-left: 10px; }
.wordmark--light, .wordmark--light small { color: #fff; }
.wordmark--light small { opacity: .7; }
.btn--accent { background: var(--c-accent); }
.btn--accent:hover { background: var(--c-accent-deep); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { background: transparent; border: 1px solid var(--c-primary); color: var(--c-primary); }
.btn--line:hover { background: var(--c-primary); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; background: #0b1a29 url(../images/hero/hero-01.webp) center 55% / cover no-repeat; min-height: min(86vh, 720px); display: flex; align-items: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(8,24,40,.93) 0%, rgba(8,24,40,.78) 48%, rgba(8,24,40,.35) 100%); }
.hero .container { padding-block: 96px; }
.hero__eyebrow { font-family: var(--f-disp); letter-spacing: .28em; font-size: 12px; color: #e0b676; margin-bottom: 22px; }
.hero h1 { font-family: var(--f-disp); font-size: clamp(28px, 5.4vw, 50px); line-height: 1.4; letter-spacing: .04em; font-weight: 600; max-width: 18em; }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(15px, 2.2vw, 17px); color: rgba(255,255,255,.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__note { margin-top: 22px; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .06em; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__text .section__label, .split__text .section__title, .split__text .section__lead { text-align: left; }
.split__text p + p { margin-top: 1em; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.left-head { text-align: left; margin: 0 0 24px; }

/* Definition list lead */
.points { display: grid; gap: 14px; margin-top: 26px; }
.points li { position: relative; padding-left: 28px; font-size: 15px; }
.points li::before { content: ""; position: absolute; left: 0; top: .75em; width: 16px; height: 2px; background: var(--c-accent); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-primary); padding: 34px 28px; border-radius: var(--radius); }
.card__num { font-family: var(--f-disp); font-size: 34px; color: var(--c-accent); line-height: 1; }
.card__title { margin: 16px 0 10px; font-size: 18px; letter-spacing: .04em; }
.card__desc { font-size: 14px; color: var(--c-text-muted); }

/* Flow */
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--c-border); }
.flow__item { padding: 30px 24px 10px 0; position: relative; }
.flow__item + .flow__item { padding-left: 24px; border-left: 1px solid var(--c-border); }
.flow__step { font-family: var(--f-disp); font-size: 12px; letter-spacing: .24em; color: var(--c-accent-deep); }
.flow__title { margin: 8px 0 8px; font-size: 18px; }
.flow__desc { font-size: 14px; color: var(--c-text-muted); }
.flow-note { margin-top: 28px; font-size: 13px; color: var(--c-text-muted); text-align: center; }

/* Recruit band */
.band { background: var(--c-primary); color: #fff; }
.band .section__label { color: #e0b676; }
.band .section__lead, .band p { color: rgba(255,255,255,.82); }
.band .split__img { box-shadow: none; }

/* Company table */
.dl { max-width: 820px; margin: 0 auto; border-top: 2px solid var(--c-primary); }
.dl__row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--c-border); }
.dl dt { padding: 20px 16px; font-weight: 600; background: var(--c-bg-cream); font-size: 14px; }
.dl dd { padding: 20px 20px; font-size: 15px; }
.pending { color: var(--c-text-muted); }
.pending::before { content: "※ "; color: var(--c-accent-deep); }

/* Prose (privacy) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 19px; margin: 40px 0 10px; padding-left: 12px; border-left: 3px solid var(--c-accent); }
.prose p, .prose li { font-size: 15px; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-top: 8px; }

/* Contact cards */
.cta-card--main { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.cta-card--main .cta-card__label { color: #e0b676; }
.cta-card--main .cta-card__desc, .cta-card--main .cta-card__btn { color: rgba(255,255,255,.85); }
.cta-card__btn { color: var(--c-primary); }
.page-hero { background: var(--c-primary); color: #fff; }
.page-hero__label { color: #e0b676; }
.page-hero__lead { color: rgba(255,255,255,.8); }
.mobile-cta__btn--primary { background: var(--c-accent); }
.mobile-cta__btn { font-size: 13px; font-weight: 600; padding: 14px 4px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .flow__item:nth-child(n+3) { border-top: 1px solid var(--c-border); margin-top: 20px; }
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 0; }
  .hero .container { padding-block: 72px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,24,40,.9), rgba(8,24,40,.72)); }
  .dl__row { grid-template-columns: 1fr; }
  .dl dt { padding: 12px 16px 4px; background: none; font-size: 12px; color: var(--c-text-muted); }
  .dl dd { padding: 0 16px 16px; }
  .wordmark small { display: none; }
}
@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr; }
  .flow__item, .flow__item + .flow__item { padding: 22px 0 6px; border-left: 0; }
  .flow__item:nth-child(n+2) { border-top: 1px solid var(--c-border); margin-top: 0; }
}

/* ---------- 改修（審査1巡目） ---------- */
.hero::before { background: linear-gradient(95deg, rgba(8,24,40,.88) 0%, rgba(8,24,40,.55) 45%, rgba(8,24,40,.12) 100%); }
.hero { background-image: none; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: url(../images/hero/hero-01.webp) 70% 55% / cover no-repeat; transform: scale(1); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1.07); } }
.hero h1 span { display: block; }
.hero h1 { font-size: clamp(20px, 5.4vw, 50px); max-width: none; }
.hero__lead { text-wrap: pretty; }
.section__title, .flow-title { text-wrap: balance; }
.section__title { font-size: clamp(24px, 4vw, 34px); }
.lh-big { font-size: clamp(22px, 3vw, 28px); font-family: var(--f-disp); line-height: 1.5; margin-bottom: 22px; }
.split { align-items: start; }
.split__text { padding-top: 8px; }
.card__desc { line-height: 1.9; color: var(--c-text); opacity: .78; }
.btn, .hdr__cta { min-height: 44px; }
.btn:focus-visible, .hdr__cta:focus-visible, .nav a:focus-visible, .cta-card:focus-visible, .form__submit:focus-visible, a:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
#about { padding-top: 120px; padding-bottom: 96px; }
#flow { padding: 72px 0; }
#contact { padding: 120px 0 140px; }
.flow-wrap, .contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.flow-title { font-family: var(--f-disp); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.4; white-space: normal; letter-spacing: .05em; font-weight: 600; margin-bottom: 20px; }
.flow-head p, .contact-head p { color: var(--c-text-muted); }
.flow-head .flow-note { text-align: left; margin-top: 16px; }
.flow { grid-template-columns: 1fr; border-top: 0; counter-reset: none; border-left: 2px solid var(--c-border); }
.flow__item, .flow__item + .flow__item { padding: 4px 0 34px 32px; border-left: 0; position: relative; }
.flow__item::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); }
.cta-stack { display: grid; gap: 20px; }
.cta-stack .cta-card { text-align: left; padding: 30px 32px; }
.recruit-mark { aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: flex-end; padding: 32px; border-radius: var(--radius); }
.recruit-mark span { font-family: var(--f-disp); font-size: clamp(56px, 9vw, 104px); line-height: .95; color: #e0b676; letter-spacing: .02em; }
.recruit-mark--light { border-color: var(--c-border); background: var(--c-primary); }
.cta-card--main { text-align: left; }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }
@media (max-width: 900px) {
  .flow-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .flow { grid-template-columns: 1fr; }
  .flow__item:nth-child(n+3), .flow__item:nth-child(3) { border-left: 0; padding-left: 32px; }
  .flow__item:nth-child(n+2) { border-top: 0; margin-top: 0; }
}
@media (max-width: 768px) {
  #about { padding-top: 64px; padding-bottom: 56px; }
  #contact { padding: 72px 0 88px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,24,40,.82), rgba(8,24,40,.6)); }
  .recruit-mark { aspect-ratio: 16/9; }
}
