:root {
  --navy: #08284d;
  --navy-deep: #051b35;
  --blue: #185ea8;
  --ice: #eef7fc;
  --ice-2: #dbeef8;
  --ink: #102d4b;
  --muted: #597086;
  --line: #c7d9e5;
  --white: #fff;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --section-gap: 120px;
  --demo-bar-height: 48px;
  --shell: min(1120px, calc(100% - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); font-size: 16px; line-height: 2; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.demo-bar { position: relative; z-index: 11; height: var(--demo-bar-height); color: var(--navy); background: #edf6fb; border-bottom: 1px solid #c9dfec; }
.demo-bar .shell { height: 100%; display: flex; align-items: center; justify-content: center; gap: 20px; }
.demo-bar strong { font-size: .76rem; letter-spacing: .04em; }
.demo-bar span { color: var(--muted); font-size: .72rem; }

.site-header { position: absolute; inset: var(--demo-bar-height) 0 auto; z-index: 10; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
.header-inner { width: var(--shell); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 26px; }
.office-mark { text-decoration: none; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .05em; }
.office-mark small { margin-left: .35em; font-family: var(--sans); font-size: .72em; }
.brand-mark { display: inline-flex; align-items: center; flex-shrink: 0; padding: 10px 0; background: transparent; }
.brand-mark img { display: block; width: 132px; height: auto; }
.site-header nav { margin-left: auto; display: flex; gap: 28px; }
.site-header nav a { text-decoration: none; font-size: .82rem; letter-spacing: .05em; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { min-height: 720px; position: relative; display: grid; align-items: end; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-media, .hero-video, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-wash { background: linear-gradient(180deg, rgba(3,24,49,.08) 0%, rgba(3,24,49,.2) 42%, rgba(3,24,49,.76) 78%, rgba(3,24,49,.94) 100%); }
.hero-copy { position: relative; z-index: 2; padding: 300px min(48vw, 640px) 110px 0; }
.eyebrow, .section-no { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: .83rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before, .section-no::before { content: ""; width: 42px; border-top: 1px solid currentColor; opacity: .75; }
.hero h1 { max-width: 760px; margin: 0; font: 400 clamp(30px, 3vw, 40px)/1.45 var(--serif); letter-spacing: .04em; }
.hero-lead { margin: 20px 0 32px; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: .05em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 58px; padding: 13px 28px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; box-shadow: 0 12px 28px rgba(5,37,73,.13); transition: transform .2s ease, background .2s ease; }
.button:hover { background: #123d6a; transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #f5ba51; outline-offset: 4px; }
.button-light { color: var(--navy); background: #fff; border-color: #fff; }
.button-light:hover { color: #fff; }
.video-toggle { position: absolute; z-index: 3; right: 28px; bottom: 24px; min-width: 46px; min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; color: #fff; background: rgba(3,24,49,.7); border: 1px solid rgba(255,255,255,.5); border-radius: 999px; cursor: pointer; }
.video-toggle[hidden] { display: none; }
.toggle-label { font-size: .74rem; }
.hero-curve { position: absolute; z-index: 2; inset: auto 0 -1px; width: 100%; height: 64px; fill: #fff; pointer-events: none; }
.hero-product { position: absolute; z-index: 2; right: max(4vw, calc((100vw - 1120px) / 2)); bottom: 80px; width: min(44vw, 600px); margin: 0; text-align: center; color: #fff; }
.hero-product img { width: 100%; height: auto; }
.hero-product figcaption { margin-top: -4px; text-shadow: 0 2px 10px rgba(3,24,49,.85); }
.hero-product figcaption strong, .hero-product figcaption small { display: block; }
.hero-product figcaption strong { font-family: var(--serif); font-size: .95rem; letter-spacing: .05em; }
.hero-product figcaption small { margin-top: 2px; font-size: .7rem; letter-spacing: .04em; }

.visual-summary { padding: 64px 0; background: linear-gradient(90deg, rgba(238,247,252,.72), rgba(255,255,255,.94), rgba(238,247,252,.72)); }
.visual-summary h2 { margin: 0 0 24px; text-align: center; color: var(--navy); font: 400 28px/1.5 var(--serif); letter-spacing: .04em; }
.visual-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.visual-summary-item { padding: 16px 18px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--navy); }
.visual-summary-item + .visual-summary-item { border-left: 1px solid rgba(125,174,207,.44); }
.visual-summary-item svg { flex: 0 0 52px; width: 52px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.visual-summary-item span { font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; }

.section { padding-block: calc(var(--section-gap) / 2); }
.story { padding-top: calc(var(--section-gap) / 2); }
.section h2 { margin: 0 0 24px; color: var(--navy); font: 400 clamp(26px, 2.35vw, 32px)/1.6 var(--serif); letter-spacing: .035em; }
.section h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; }
.section p { margin: 0 0 24px; }
.section p:last-child { margin-bottom: 0; }
.section-no { color: var(--blue); margin-bottom: 22px; font-size: .72rem; }
.story-layout { padding: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.story-copy { grid-column: 2; grid-row: 1; max-width: none; margin: 0; text-align: left; }
.story-copy h2 { max-width: none; text-wrap: balance; }
.story-copy p { margin-bottom: 20px; }
.story-lead { max-width: 760px; }
.story-doubts { position: relative; max-width: 760px; margin: 20px auto !important; padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-doubts::before { content: "“"; position: absolute; left: 9px; top: 15px; color: var(--blue); font: 400 1.25rem/1 var(--serif); }
.story-body { max-width: 760px; text-align: left; }
.story-question { color: var(--navy); font-weight: 600; }
.story-photo { grid-column: 1; grid-row: 1; margin: 0; }
.story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.story-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .86fr); column-gap: clamp(56px, 7vw, 104px); row-gap: 40px; align-items: center; }
.split-reverse .prose { order: 2; }
.split-reverse .editorial-image { order: 1; }
.prose { max-width: 700px; }
.editorial-image { position: relative; margin: 0; align-self: stretch; min-height: 480px; overflow: hidden; background: var(--ice); border-radius: 2px; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; right: 12px; bottom: 10px; padding: 3px 8px; color: #fff; background: rgba(5,27,53,.64); font-size: .68rem; line-height: 1.5; }

.discovery { position: relative; isolation: isolate; overflow: clip; background: #fff; }
.discovery::before { content: ""; position: absolute; z-index: 0; width: 145%; height: 86%; left: -28%; top: 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(220,240,250,.82) 0%, rgba(238,247,252,.58) 56%, rgba(255,255,255,0) 76%); transform: rotate(-4deg); }
.discovery-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .83fr); column-gap: 70px; row-gap: 40px; align-items: start; }
.wide-copy p { display: block; max-width: 43em; margin-bottom: 30px; }
.candidate-stage { position: relative; min-height: 640px; align-self: start; transform: none; transition: none; }
.candidate-stage > img { position: absolute; inset: 0 0 auto; width: 90%; height: 480px; object-fit: cover; }
.job-sheet { position: absolute; right: 0; bottom: 0; width: min(92%, 430px); padding: 28px; color: var(--navy); background: rgba(255,255,255,.68); border: 1px solid rgba(111,158,192,.45); box-shadow: 0 28px 70px rgba(5,42,76,.15); backdrop-filter: blur(3px); transform: none; transform-origin: 75% 80%; transition: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; font-family: var(--serif); font-size: 1.6rem; }
.sheet-head small { color: var(--muted); font: .7rem var(--sans); }
.job-sheet ul { list-style: none; margin: 20px 0 0; padding: 0; }
.job-sheet li { padding: 15px 0; border-bottom: 1px solid #dce8ef; font-size: .88rem; line-height: 1.6; }
.job-sheet li span { display: block; color: var(--blue); font-weight: 700; }
.comparison-diagram { grid-column: 1 / -1; margin: 0; padding: 34px clamp(20px, 4vw, 48px); text-align: center; background: rgba(255,255,255,.72); border: 1px solid rgba(125,174,207,.46); }
.comparison-diagram figcaption { margin-bottom: 30px; color: var(--navy); font: 400 1.35rem/1.6 var(--serif); }
.comparison-conditions { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.comparison-conditions > div { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--navy); font-weight: 700; }
.comparison-conditions svg { width: 38px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.comparison-arrow { display: block; margin: 15px auto; color: var(--blue); font-size: 1.45rem; line-height: 1; }
.comparison-jobs { max-width: 650px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.job-card { min-height: 150px; padding: 18px; display: flex; flex-direction: column; gap: 13px; text-align: left; background: #fff; border: 1px solid #b8cad7; box-shadow: 0 10px 24px rgba(7,40,75,.06); }
.job-card strong { color: var(--muted); text-align: center; font-size: .8rem; }
.job-card span { display: block; height: 5px; background: #d9e4eb; border-radius: 999px; }
.job-card span:nth-of-type(2) { width: 82%; }
.job-card span:nth-of-type(3) { width: 64%; }
.job-card.is-company { min-height: 168px; border: 2px solid var(--blue); box-shadow: 0 14px 32px rgba(24,94,168,.12); }
.job-card.is-company strong { color: var(--blue); }
.comparison-diagram > p { margin: 0; color: var(--navy); font-weight: 700; }

.feedback .editorial-image { position: relative; min-height: 0; align-self: start; overflow: visible; }
.interview-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.feedback-card { position: relative; right: auto; bottom: auto; width: 100%; padding: 24px; background: rgba(248,252,255,.97); border: 0; border-left: 2px solid #a9d0e7; box-shadow: none; }
.feedback-card strong, .feedback-card span { display: block; }
.feedback-card strong { margin-bottom: 12px; color: var(--blue); font-size: .76rem; }
.feedback-label { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.feedback-label.is-improvement { margin-top: 20px; }
.feedback-text { margin-top: 4px; }
.feedback-flow { grid-column: 1 / -1; order: 3; margin: 0; padding: 32px; background: var(--ice); border: 1px solid var(--line); }
.feedback-flow figcaption { margin-bottom: 28px; color: var(--navy); text-align: center; font: 400 1.3rem/1.6 var(--serif); }
.feedback-flow-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.feedback-step { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--navy); font-size: .82rem; line-height: 1.6; }
.feedback-step svg { width: 54px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow { color: var(--blue); font-size: 1.35rem; }

.support { background: #fff; }
.support > .shell > h2 { max-width: 880px; }
.intro { color: var(--muted); }
.support-list { margin-top: 40px; max-width: none; }
.support-item { display: grid; grid-template-columns: 28px 62px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.support-item:last-child { border-bottom: 1px solid var(--line); }
.support-index { padding-top: 3px; color: var(--blue); font: 600 .68rem/1 var(--sans); letter-spacing: .08em; }
.support-item svg { width: 54px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support-item > div { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.support-item h3 { margin: 0; font-size: 1.15rem; }
.support-item p { margin: 0; }
.sample-map { margin: 40px 0 0; padding: 32px; display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; gap: 14px; background: var(--ice); border: 1px solid var(--line); }
.sample-map figcaption { grid-column: 1 / -1; margin-bottom: 20px; font-weight: 700; }
.sample-map figcaption span, .sample-badge { display: inline-block; margin-right: 12px; padding: 3px 10px; color: var(--blue); background: #d8edfb; border-radius: 999px; font-size: .72rem; }
.map-panel, .site-wireframe { min-height: 310px; padding: 22px; background: #fff; border: 1px solid #d5e3ec; }
.panel-title { margin: 0 0 18px !important; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; }
.map-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: .8rem; line-height: 1.7; }
.map-columns ul { padding-left: 18px; }
.map-focus { padding: 12px !important; background: #dceefe; border-left: 3px solid var(--blue); }
.map-arrow { width: 100%; fill: none; stroke: var(--blue); stroke-width: 2; }
.wire-nav { margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .62rem; }
.site-wireframe h3 { margin: 0 0 20px; }
.wire-content { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; font-size: .8rem; }
.wire-photo { aspect-ratio: 1; background: linear-gradient(135deg, #a5cbe2, #e9f4fa); }
.wire-content ol { margin: 0; padding-left: 22px; }
.section-cta { margin-top: 48px; text-align: center; }
.section-cta p { font: 400 1.55rem/1.8 var(--serif); }

.voice { background: linear-gradient(180deg, #fff 0%, #f6fbfe 100%); }
blockquote { margin: 16px 0 28px; padding: 20px 22px; color: var(--navy); background: #edf6fc; border-left: 3px solid var(--blue); font: 500 1.08rem/1.8 var(--serif); }
.source-note { color: var(--muted); font-size: .78rem; line-height: 1.75; }
.voice-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(42px, 6vw, 78px); align-items: center; margin-bottom: 54px; }
.voice-intro > div { max-width: 680px; }
.voice-photo { width: min(100%, 360px); min-height: 0; margin: 0; justify-self: end; }
.voice-photo img { width: 100%; height: auto; aspect-ratio: 640 / 560; object-fit: contain; }
.voice-photo-caption { margin-top: 10px; color: var(--muted); text-align: center; font-size: .72rem; line-height: 1.6; }
.voice-quotes { border-top: 1px solid var(--line); }
.voice-quote-row { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.45fr); gap: clamp(32px, 5vw, 68px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.voice-quote-context span { display: inline-block; margin-bottom: 10px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.voice-quote-context p { margin: 0; font-size: .9rem; line-height: 1.8; }
.voice .voice-quote-row blockquote { margin: 0; padding: 16px 18px; background: rgba(237,246,252,.72); font-size: .98rem; line-height: 1.75; }
.voice > .shell > .source-note, .voice-closing { max-width: 900px; }
.voice > .shell > .source-note { margin-top: 30px; }
.voice-closing { margin-top: 28px !important; }

.start { margin-top: 0; background: var(--ice); }
.start .editorial-image { min-height: 0; align-self: center; aspect-ratio: 4 / 3; }
.start .editorial-image img { object-fit: cover; }
.advisor { background: #fff; }
.advisor-grid { display: grid; grid-template-columns: 1fr 250px; gap: 80px; align-items: start; }
.pending-copy { padding: 18px 20px; color: var(--muted); background: var(--ice); border-left: 2px solid var(--blue); }
.profile-placeholder { min-height: 220px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: #f1f6fa; border: 1px solid var(--line); }
.profile-icon { width: 116px; height: 116px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 50%; background: #d7e1e9; }
.profile-icon svg { width: 70px; fill: none; stroke: #7890a6; stroke-width: 2; }
.profile-placeholder small { color: var(--muted); }
.table-scroll { width: 100%; margin: 32px 0 24px; overflow: visible; }
table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
th, td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--ice); color: var(--navy); }
th:first-child, td:first-child { width: 35%; }

.booking-section { background: var(--navy-deep); color: #eaf3fa; }
.booking-section h2 { color: #fff; }
.booking-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.booking-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); column-gap: clamp(48px, 7vw, 88px); align-items: start; }
.booking-copy > .section-no { grid-column: 1; grid-row: 1; }
.booking-copy > h2 { grid-column: 1; grid-row: 2; }
.booking-copy > p:nth-of-type(2) { grid-column: 1; grid-row: 3; }
.booking-copy > p:nth-of-type(3) { grid-column: 1; grid-row: 4; }
.booking-copy > .button { grid-column: 1; grid-row: 5; justify-self: start; }
.booking-copy > .booking-flow { grid-column: 1; grid-row: 6; }
.booking-copy > .contract-note { grid-column: 1; grid-row: 7; }
.booking-copy table { color: var(--ink); background: #fff; }
.booking-copy .table-scroll { grid-column: 2; grid-row: 1 / span 7; margin: 0; }
.booking-copy .button { margin-top: 10px; background: #fff; color: var(--navy); border-color: #fff; }
.booking-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 42px 0 22px; padding: 0; list-style: none; }
.booking-flow li { position: relative; padding-top: 12px; border-top: 1px solid #88a4bc; font-size: .74rem; }
.booking-flow li::after { content: "→"; position: absolute; right: -8px; top: 10px; color: #88a4bc; }
.booking-flow li:last-child::after { display: none; }
.booking-flow span { display: block; color: #99c6e7; font-size: .65rem; }
.contract-note { color: #bdcfdd; font-size: .84rem; }
.calendar-card { width: 100%; max-width: 1000px; margin-inline: auto; scroll-margin-top: 30px; padding: 30px; color: var(--ink); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.calendar-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.calendar-head h3 { margin: 10px 0 4px; font-size: 1.6rem; }
.calendar-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.booking-preview-notice { margin: 18px 0 0 !important; padding: 14px 16px; color: var(--navy); background: #e8f4fb; border-left: 3px solid var(--blue); font-size: .8rem; font-weight: 700; line-height: 1.75; }
.booking-reset { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.booking-reset[hidden] { display: none; }
.booking-reset button { padding: 8px 13px; color: var(--navy); background: #fff; border: 1px solid #8ebbd8; border-radius: 4px; font-weight: 700; cursor: pointer; }
.booking-reset button:hover { background: var(--ice); }
.booking-reset small { color: var(--muted); font-size: .7rem; line-height: 1.6; }
.booking-reset [role="status"] { flex-basis: 100%; min-height: 1.4em; color: var(--blue); font-size: .72rem; }
.month-nav { margin: 24px 0 14px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; }
.month-nav button { min-height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.weekdays { margin-bottom: 4px; color: var(--muted); font-size: .68rem; }
.calendar-grid button, .calendar-grid span { aspect-ratio: 1; min-width: 0; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; font-size: .78rem; }
.calendar-grid button { color: var(--navy); cursor: pointer; }
.calendar-grid button:hover, .calendar-grid button[aria-pressed="true"] { color: #fff; background: var(--navy); }
.calendar-grid button:nth-child(7n+1) { color: #a24343; }
.calendar-grid button:nth-child(7n) { color: var(--blue); }
.calendar-grid button[aria-pressed="true"] { color: #fff; }
.time-picker { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.time-picker p { margin-bottom: 10px; font-weight: 700; }
.time-picker > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-picker button { padding: 10px 5px; color: var(--blue); background: #fff; border: 1px solid #9cc4e4; border-radius: 4px; cursor: pointer; }
.time-picker button:hover, .time-picker button[aria-pressed="true"] { color: #fff; background: var(--blue); }
.sample-message, .calendar-footnote, .contact-fallback, .external-booking p { margin: 18px 0 0 !important; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.calendar-footnote { padding-top: 18px; border-top: 1px solid var(--line); }
.embed-area iframe { width: 100%; min-height: 680px; border: 0; }
#timerex_calendar { width: 100%; min-height: 620px; margin-top: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#timerex_calendar iframe { width: 100%; max-width: 100%; border: 0; }
.external-booking { padding: 16px 0 6px; }
.booking-fallback-link { display: inline-block; margin-top: 8px; color: var(--blue); font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }

.site-footer { color: var(--ink); background: #fff; }
.footer-main { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.postscript { padding: 36px 0; background: var(--ice); }
.postscript .shell { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }
.postscript p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s ease; }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 720px); --section-gap: 72px; --demo-bar-height: 72px; }
  .demo-bar .shell { display: grid; align-content: center; justify-content: stretch; gap: 2px; }
  .demo-bar strong, .demo-bar span { display: block; line-height: 1.55; }
  .site-header { color: var(--navy); background: rgba(255,255,255,.94); border-color: var(--line); }
  .header-inner { min-height: 64px; }
  .office-mark small, .site-header nav { display: none; }
  .brand-mark { margin-left: auto; padding: 8px 0; background: transparent; }
  .brand-mark img { width: 112px; }
  .hero { padding-top: 64px; display: flex; flex-direction: column; min-height: auto; color: var(--navy); background: #fff; }
  .hero-copy { order: 1; width: var(--shell); padding: 56px 0 42px; }
  .hero-media { order: 2; position: relative; width: 100%; height: 58vw; min-height: 280px; max-height: 520px; }
  .hero-wash { background: linear-gradient(180deg, rgba(4,33,63,.05), rgba(4,33,63,.2)); }
  .hero h1 { font-size: clamp(30px, 8vw, 34px); }
  .button-light { color: #fff; background: var(--navy); border-color: var(--navy); }
  .video-toggle { bottom: 18px; right: 18px; }
  .hero-curve { height: 40px; }
  .hero-product { position: relative; order: 3; right: auto; bottom: auto; width: min(92%, 540px); margin: -35px auto 32px; color: var(--navy); }
  .hero-product figcaption { margin-top: -2px; text-shadow: none; }
  .visual-summary { padding: 40px 0; }
  .visual-summary h2 { margin-bottom: 24px; font-size: 24px; }
  .visual-summary-grid { grid-template-columns: 1fr; gap: 12px; }
  .visual-summary-item { justify-content: flex-start; padding: 16px clamp(18px, 8vw, 48px); }
  .visual-summary-item + .visual-summary-item { border-left: 0; }
  .story-layout { grid-template-columns: 1fr; gap: 32px; }
  .story-copy { grid-column: 1; grid-row: 1; }
  .story-photo { grid-column: 1; grid-row: 2; }
  .story-photo img { aspect-ratio: 3 / 2; }
  .split, .discovery-grid, .booking-grid { grid-template-columns: 1fr; }
  .split { gap: 42px; }
  .split-reverse .prose, .split-reverse .editorial-image { order: initial; }
  .editorial-image { min-height: 500px; }
  .discovery-grid { column-gap: 0; row-gap: 40px; }
  .candidate-stage { min-height: 0; display: flex; flex-direction: column; }
  .candidate-stage > img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .job-sheet { position: relative; right: auto; bottom: auto; width: 94%; margin: -40px 0 0 auto; }
  .comparison-diagram { margin-top: 0; }
  .feedback-flow-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .flow-arrow { display: none; }
  .voice-intro { grid-template-columns: 1fr; gap: 30px; }
  .voice-photo { justify-self: center; }
  .voice-quote-row { grid-template-columns: 1fr; gap: 16px; }
  .sample-map { grid-template-columns: 1fr; }
  .sample-map figcaption { grid-column: auto; }
  .map-arrow { width: 72px; margin: 0 auto; transform: rotate(90deg); }
  .advisor-grid { grid-template-columns: 1fr 220px; gap: 36px; }
  .booking-grid { gap: 40px; }
  .booking-copy { display: block; }
  .booking-copy .table-scroll { margin: 32px 0 24px; }
  .support-item > div { display: block; }
  .support-item h3 { margin-bottom: 10px; }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .hero-copy { padding-right: 43vw; }
  .hero-product { right: 2vw; bottom: 76px; width: 40vw; }
}

@media (min-width: 901px) {
  .candidate-stage, .feedback .interview-image { position: relative; top: auto; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  body { line-height: 1.9; }
  .section h2 { margin-bottom: 24px; font-size: 28px; line-height: 1.55; }
  .story-layout { padding: 0; }
  .story-doubts { padding: 16px 20px; }
  .hero-copy { padding: 48px 0 36px; }
  .hero-lead { margin-bottom: 26px; }
  .hero-media { min-height: 250px; }
  .button { width: 100%; padding-inline: 18px; }
  .toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .editorial-image { min-height: 390px; }
  .job-sheet { width: 94%; padding: 20px; }
  .sheet-head { font-size: 1.35rem; }
  .feedback-card { width: 100%; padding: 20px; }
  .support-item { grid-template-columns: 24px 42px 1fr; gap: 12px; }
  .support-item svg { width: 42px; }
  .support-item h3 { margin-bottom: 10px; font-size: 1.18rem; }
  .sample-map { margin-top: 40px; padding: 18px; }
  .comparison-diagram { padding: 24px 14px; }
  .comparison-diagram figcaption { font-size: 1.15rem; }
  .comparison-conditions { gap: 8px; }
  .comparison-conditions > div { flex-direction: column; gap: 4px; font-size: .8rem; }
  .comparison-conditions svg { width: 32px; }
  .comparison-jobs { gap: 7px; }
  .job-card { min-height: 122px; padding: 12px 9px; gap: 10px; }
  .job-card.is-company { min-height: 136px; }
  .comparison-diagram > p { font-size: .88rem; line-height: 1.7; }
  .feedback-flow { padding: 24px 14px; }
  .feedback-flow-steps { grid-template-columns: 1fr; gap: 10px; }
  .feedback-step { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 6px 18px; text-align: left; font-size: .8rem; }
  .feedback-step svg { flex: 0 0 44px; width: 44px; }
  .flow-arrow { display: block; justify-self: center; transform: rotate(90deg); font-size: 1.1rem; }
  .map-columns { grid-template-columns: 1fr; }
  .map-panel, .site-wireframe { min-height: auto; padding: 16px; }
  .wire-content { grid-template-columns: 70px 1fr; }
  .advisor-grid { grid-template-columns: 1fr; }
  .profile-placeholder { min-height: 220px; }
  .table-scroll { margin-inline: 0; padding-inline: 0; }
  th, td { padding: 12px 10px; font-size: .86rem; line-height: 1.65; }
  th:first-child, td:first-child { width: 38%; }
  .calendar-card { margin-inline: -4px; padding: 20px 14px; }
  .calendar-head h3 { font-size: 1.35rem; }
  .booking-flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .booking-flow li:nth-child(2)::after { display: none; }
  .embed-area iframe { min-height: 620px; }
  .footer-main { padding: 28px 0; display: block; }
  .footer-main p { margin: 5px 0; }
  .postscript .shell { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .candidate-stage { transform: none !important; }
  .job-sheet { transform: none !important; }
}

/* Keep the external calendar scroll inside its own container. */
.booking-grid { grid-template-columns: minmax(0, 1fr); }
.calendar-card, .embed-area, #timerex_calendar { min-width: 0; max-width: 100%; }
