:root {
  color-scheme: light;
  --night: #111923;
  --night-2: #192532;
  --ink: #1e2834;
  --muted: #515d6a;
  --dim-text: #c3cdd9;
  --warm: #edb78e;
  --warm-deep: #864b31;
  --paper: #fff;
  --soft: #f4f5f7;
  --line: #dce0e6;
  --focus: #a04920;
  --header-size: 88px;
  --gutter: clamp(18px, 4vw, 66px);
  --measure: 1320px;
  --radius: 6px;
  font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}
.faq-topics { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; }
.faq-topics a { display:grid; place-items:center; padding:9px 16px; min-height:44px; border:1px solid #b9c7da; border-radius:24px; color:#193458; }
.faq-topics a[aria-current] { background:#244cba; border-color:#244cba; color:white; }
.faq-group h2 { margin-bottom:18px; }
.faq-group { margin-bottom:28px; }
@media(max-width:480px){ .faq-topics { display:grid; grid-template-columns:1fr 1fr; } }
.step-links { display:flex; gap:9px; margin:14px 0; }
.step-links a { display:grid; place-items:center; width:44px; height:44px; border:1px solid #bbc8da; border-radius:50%; }
.step-links a[aria-current] { background:#244cba; color:white; border-color:#244cba; }
.process-chapters li { min-height:clamp(150px,28vh,300px); scroll-margin-top:calc(var(--header-size) + 18px); }
.process-chapters li.is-current { border-top:2px solid #244cba; }
.process-chapters li.is-current h3 { color:#244cba; }
.faq-more { display:table; margin:22px auto 0; }
.faq-answers details { --faq-marker-size: clamp(24px,2.2vw,32px); --faq-marker-gap: 12px; border-bottom: 1px solid var(--line); }
.faq-answers summary { display: grid; grid-template-columns: var(--faq-marker-size) minmax(0,1fr); gap: var(--faq-marker-gap); padding: 20px 4px; list-style: none; cursor: pointer; font-weight: 680; font-size: var(--inner-subheading); line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.faq-answers summary::-webkit-details-marker { display: none; }
.faq-answers summary::before { content: ''; width: var(--faq-marker-size); aspect-ratio: 1; margin-top: calc((1.4em - var(--faq-marker-size))/2); border: 1px solid #b5c7e5; border-radius: 50%; background: linear-gradient(#244cba,#244cba) center / 48% 2px no-repeat, linear-gradient(#244cba,#244cba) center / 2px 48% no-repeat #edf3fc; }
.faq-answers details[open] summary::before { border-color: #244cba; background: linear-gradient(#fff,#fff) center / 48% 2px no-repeat #244cba; }
.faq-answers details[open] p { margin: 0 4px 22px calc(4px + var(--faq-marker-size) + var(--faq-marker-gap)); }
@media(max-width:695px){ .process-chapters li { min-height:142px; } }
.inner-page {
  --subpage-hero-height: clamp(300px,46svh,450px);
  --inner-title: clamp(2.125rem, 4.3vw, 4rem);
  --inner-section: clamp(1.9375rem, 3.4vw, 3.6875rem);
  --inner-subheading: clamp(1.25rem, 1.85vw, 1.75rem);
  --inner-body: clamp(1rem, 1.18vw, 1.1875rem);
}
.inner-page main h1, .inner-page main h2, .inner-page main h3 {
  word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -.045em;
}
.inner-page main h1 { font-size: var(--inner-title); line-height: 1.24; font-weight: 750; }
.inner-page main h2, .inner-page main .value-message h3 {
  font-size: var(--inner-section); line-height: 1.32; font-weight: 720;
}
.inner-page main h3, .inner-page main .directory-tile h2,
.inner-page main .cost-list dt, .inner-page main .case-part h4 {
  font-size: var(--inner-subheading); line-height: 1.4; font-weight: 700;
}
.inner-page main p:not(.section-label,.case-topic,.value-number,.value-label,.page-subtitle),
.inner-page main dd, .inner-page main .service-prep li {
  font-size: var(--inner-body); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere;
}
.inner-page main .page-subtitle { font-size: var(--inner-subheading); }
.inner-page main .inquiry-panel :is(label, select, input[type="tel"]) { font-size: 1rem; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.24; letter-spacing: -.047em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 63px); font-weight: 760; }
h2 { font-size: clamp(25px, 3.4vw, 41px); font-weight: 740; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 730; }
p { overflow-wrap: break-word; word-break: keep-all; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--header-size) + 18px); }
::selection { background: #f7d5bc; color: var(--night); }
[hidden] { display: none !important; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--measure)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2 * var(--gutter)), 765px); }
.section { padding-block: clamp(55px, 7.5vw, 103px); }
.section-heading { margin-bottom: clamp(24px, 3vw, 38px); }
.section-heading > p:last-child:not(.section-label) { margin-top: 9px; color: var(--muted); }
.section-label { color: var(--warm-deep); margin-bottom: 10px; font-size: 14px; font-weight: 750; letter-spacing: .015em; }
.skip { position: fixed; z-index: 40; top: 12px; left: 12px; transform: translateY(-180%); background: var(--paper); padding: 10px 14px; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { background: var(--night); color: var(--paper); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; color: #fff; }
.inner-page .site-header, .site-header.is-solid, .site-header:has(.mobile-nav[open]) { background: var(--paper); color: var(--night); box-shadow: 0 1px 0 var(--line); }
.inner-page main { padding-top: var(--header-size); }
.header-inner { width: min(calc(100% - 2 * clamp(14px, 2.7vw, 50px)), 1540px); min-height: var(--header-size); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: block; align-content: center; width: 47px; height: 41px; border: 1px solid #a67253; border-radius: 2px; color: var(--warm); text-align: center; font: 700 17px/1 Georgia, serif; letter-spacing: -1.6px; }
.brand-mark span { font-size: 9px; padding-inline: 2px; vertical-align: 1px; }
.brand-text { display: grid; gap: 5px; line-height: 1; }
.brand-text strong { font-size: 16px; line-height: 1.15; letter-spacing: -.028em; }
.brand-text > span { color: var(--dim-text); font-size: 9px; font-weight: 650; letter-spacing: .17em; }
.inner-page .site-header .brand-text > span, .site-header.is-solid .brand-text > span, .site-header:has(.mobile-nav[open]) .brand-text > span { color: var(--muted); }
.inner-page .site-header .brand-mark, .site-header.is-solid .brand-mark, .site-header:has(.mobile-nav[open]) .brand-mark { color: var(--warm-deep); }
.desktop-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 38px); }
.desktop-nav :is(a, .menu-label), .site-footer nav :is(a, .menu-label) { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: clamp(2px, .65vw, 11px); }
.icon-link, .mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; }
.sitemap-trigger { padding: 0; border: 0; background: transparent; color: inherit; }
html:has(#sitemap[open]) { overflow: hidden; }
#sitemap { width: min(1060px,calc(100% - 40px)); max-width: none; max-height: 85svh; padding: 0; border: 0; border-radius: 16px; color: var(--ink); }
#sitemap::backdrop { background: #0d1c32aa; }
.sitemap-inner { padding: clamp(22px,4vw,55px); }
.sitemap-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 2px solid #1c3453; color: #1c3453; }
.sitemap-close { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.sitemap-links { display: grid; grid-template-columns: 1fr 2.3fr 1fr; gap: clamp(18px,3.4vw,54px); padding-top: 25px; }
.sitemap-links h3 { color: #1b3556; margin-bottom: 12px; }
.sitemap-links ul { list-style: none; }
.sitemap-links li :is(a, .menu-label) { display: flex; align-items: center; min-height: 44px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.sitemap-links a[aria-current="page"], .sitemap-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sitemap-services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.sitemap-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sitemap-group-head > a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.mobile-nav summary { list-style: none; }
.mobile-nav summary span { line-height: 0; }
.mobile-nav .menu-close, .mobile-nav[open] .menu-open { display: none; }
.mobile-nav[open] .menu-close { display: block; }
.mobile-nav nav { position: absolute; inset: 100% 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; background: var(--paper); color: var(--ink); padding: 24px var(--gutter) 29px; border-block: 1px solid var(--line); }
.mobile-nav nav :is(a, .menu-label) { min-height: 46px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-weight: 650; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current] { color: var(--warm-deep); }
.site-header :focus-visible, .site-footer :focus-visible, .home-hero :focus-visible, .page-hero :focus-visible { outline-color: var(--warm); }
.inner-page .site-header :focus-visible, .site-header.is-solid :focus-visible, .mobile-nav[open] :focus-visible, .page-hero :focus-visible { outline-color: var(--focus); }
.mobile-contact { display: none; }
.desktop-quick { position: fixed; right: clamp(14px, 1.6vw, 26px); top: 50%; transform: translateY(-40%); z-index: 9; width: 61px; display: grid; gap: 4px; padding: 10px 2px; color: #fff; background: #1f304b; border-radius: 34px; box-shadow: 0 3px 14px #101a362e; }
.desktop-quick button, .mobile-contact button { background: none; border: 0; }
.desktop-quick :is(a, button, .menu-label) { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 68px; border-radius: 30px; font-size: 11px; letter-spacing: -.04em; }
.desktop-quick :is(a, button):hover { background: #324969; }
.desktop-quick :is(a, button, .menu-label) > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #20324e; background: #f0eeed; }
.desktop-quick svg { width: 20px; height: 20px; }
.desktop-quick :focus-visible { outline-color: var(--warm); outline-offset: -3px; }

.home-hero { min-height: 100svh; position: relative; isolation: isolate; display: grid; align-items: center; background: #18232f; color: var(--paper); }
.hero-media, .hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media, .hero-shade { z-index: -1; }
.hero-image { object-fit: cover; object-position: center 53%; }
.hero-image--3 { object-position: 76% 62%; }
.hero-shade { background: linear-gradient(180deg,#11213360,#10182752 35%,#101827a6); }
.hero-inner { padding-block: calc(var(--header-size) + 30px) 129px; display: grid; justify-items: center; text-align: center; }
.hero-headlines { display: grid; place-items: center; min-height: 2.55em; font-size: clamp(36px, 4vw, 62px); }
.hero-title { font-size: inherit; line-height: 1.23; letter-spacing: -.045em; font-weight: 740; word-break: keep-all; text-wrap: balance; text-shadow: 0 2px 18px #11192360; }
.work-search { display: flex; align-items: stretch; width: min(100%, 690px); min-height: 57px; border: 1px solid #6b7481; background: var(--paper); color: var(--ink); }
.work-search--hero { margin-top: clamp(24px, 3.25vw, 48px); border-color: #d9dce3c0; background: #101a2c52; color: #fff; }
.work-search input { min-width: 0; flex: 1; background: transparent; padding: 9px 15px; border: 0; border-radius: 0; font-weight: 550; font-size: 16px; }
.work-search input::placeholder { color: var(--muted); opacity: 1; }
.work-search--hero input::placeholder { color: #f1f3f7; }
.work-search--hero input::-webkit-search-cancel-button { filter: brightness(0) invert(1); }
.work-search button { display: grid; place-items: center; width: 54px; border: 0; border-radius: 0; background: none; }
.work-search button:hover { background: #aeb9ce30; }
.work-search button svg { width: 25px; height: 25px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 19px; min-height: 48px; padding: 9px 16px; border: 1px solid transparent; border-radius: var(--radius); font-size: 15px; line-height: 1.35; font-weight: 720; text-align: left; }
.button svg { width: 19px; height: 19px; flex: 0 0 auto; }
.button--primary { background: var(--warm); color: var(--night); }
.button--primary:hover { background: #f7c9a7; }
.button--outline { border-color: #8993a0; background: var(--paper); color: var(--ink); }
.button--outline:hover { border-color: var(--warm-deep); color: var(--warm-deep); }
.button--dark { background: var(--night-2); color: var(--paper); }
.button--dark:hover { background: #2d3c4b; }
.hero-controls { position: absolute; left: max(var(--gutter), 12vw); bottom: 9.6svh; display: flex; align-items: center; gap: 12px; }
.hero-controls button { color: #fff; border: 0; border-radius: 50%; background: transparent; }
.hero-controls .hero-toggle { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #ffffffb2; }
.hero-toggle span { line-height: 0; }
.hero-toggle svg { width: 18px; height: 18px; }
.hero-dots { display: flex; }
.hero-dots button { width: 36px; height: 42px; display: grid; place-items: center; }
.hero-dots button > span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ffffff95; }
.hero-dots button:hover > span, .hero-dots button[aria-pressed='true'] > span { background: #fff; }
.hero-dots button[aria-pressed='true'] > span { box-shadow: 0 0 0 4px #ffffff42; }
.hero-count { font-size: 14px; color: #f1f3f7; white-space: nowrap; }
.hero-count > span { font-size: 21px; font-weight: 700; margin-right: 2px; }
.hero-scroll { position: absolute; bottom: 10svh; left: 50%; transform: translateX(-50%); min-width: 44px; min-height: 44px; display: grid; justify-items: center; align-content: center; gap: 6px; color: #fff; font-size: 14px; }
.hero-scroll:hover { text-decoration: underline; }
.scroll-mark { width: 19px; height: 27px; border: 1.5px solid currentColor; border-radius: 13px; display: grid; justify-content: center; }
.scroll-mark::before { content: ''; width: 3px; height: 5px; margin-top: 5px; border-radius: 2px; background: currentColor; }

.office-overview { padding-block: clamp(58px,7vw,120px); background: linear-gradient(180deg,var(--paper) 0%,#f1f6fc 100%); }
.rail-layout { width: min(calc(100% - 2 * var(--gutter)),1560px); }
@media (min-width:696px) {
  .rail-layout { width: min(calc(100% - 2 * max(var(--gutter),92px)),1560px); }
}
.office-overview h2 { max-width: 18ch; margin-inline: auto; margin-bottom: clamp(28px,4vw,64px); color: #1a2d49; font-size: clamp(30px,5vw,76px); line-height: 1.18; word-break: keep-all; text-align: center; text-wrap: initial; }
.office-overview h2 span { display: block; }
.home-rail + .home-rail { margin-top: clamp(34px,4.5vw,76px); }
.rail-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.rail-heading { display: flex; align-items: center; flex-wrap: wrap; column-gap: 22px; }
.rail-intro h3 { color: #1a2d49; font-size: clamp(23px,2.5vw,36px); }
.rail-intro .text-link { color: #234881; font-size: 15px; }
.rail-strip { --rail-card-width: clamp(290px,25vw,380px); --rail-gap: clamp(12px,1.25vw,20px); display: flex; position: relative; align-items: stretch; gap: var(--rail-gap); min-width: 0; padding: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-inline: contain; }
@media (min-width:1100px) {
  .overview-cards { --rail-card-width: calc((100% - 2 * var(--rail-gap)) / 3); }
}
.rail-strip > * { flex: 0 0 min(var(--rail-card-width),92%); min-width: 0; scroll-snap-align: start; }
.rail-strip::-webkit-scrollbar { display: none; }
.rail-strip :focus-visible { outline-offset: -3px; }
.overview-cards[data-shuffle] { overflow: hidden; scroll-snap-type: none; padding-block: 22px; isolation: isolate; }
.overview-cards[data-shuffle] > .overview-card { position: relative; z-index: 1; }
.overview-cards[data-shuffle] > .shuffle-exit { position: absolute; z-index: 0; pointer-events: none; }
.rail-controls { display: flex; gap: 7px; align-items: center; }
.rail-count { color: #1a2d49; font-size: 14px; font-weight: 710; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rail-progress { width: clamp(24px,4.7vw,72px); height: 2px; background: #cfdae6; margin-inline: 3px; }
.rail-progress i { display: block; height: 100%; background: #254a76; transform: scaleX(var(--rail-progress,0)); transform-origin: left; }
.rail-controls button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid #bccbda; border-radius: 50%; background: var(--paper); color: #1a2d49; }
.rail-controls button:not(:disabled):hover { background: #eaf1fa; }
.rail-controls button:disabled { opacity: .47; cursor: default; }
.rail-controls button svg { width: 17px; height: 17px; }
.rail-controls button:first-of-type svg { rotate: 180deg; }
.overview-card { min-height: clamp(312px,29vw,440px); padding: clamp(22px,3vw,44px); color: white; border-radius: 20px; background: #214686; display: flex; flex-direction: column; align-items: flex-start; }
.overview-card--work { background: linear-gradient(150deg,#0f2147c9,#132a56d1),url('/assets/writing.webp') center / cover; }
.overview-card--process { background: linear-gradient(150deg,#0e1b40dc,#142950c2),url('/assets/review.webp') center / cover; }
.overview-card--duration { background: #244cba; }
.overview-card--preparation { background: linear-gradient(150deg,#123056df,#153658bc),url('/assets/dossier.webp') center / cover; }
.overview-card--report { background: #162e50; }
.rail-strip h4 { margin: 0; line-height: 1.24; font-weight: 730; letter-spacing: -.047em; word-break: keep-all; }
.overview-card h4 { font-size: clamp(21px,2vw,30px); }
.stat-value { display: inline-flex; align-items: baseline; gap: 5px; margin-top: 13px; white-space: nowrap; }
.stat-value strong { font-size: clamp(66px,6.5vw,108px); font-weight: 740; letter-spacing: -.06em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat-unit { font-size: clamp(19px,1.5vw,25px); line-height: 1; font-weight: 700; }
.overview-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 18px; border-radius: 14px; background: #ffffff1a; }
.overview-mark svg { width: 31px; height: 31px; }
.overview-card p { margin-top: 14px; color: #f0f2f5; font-size: clamp(15px,1.2vw,18px); }
@media (prefers-reduced-motion: no-preference) {
  .overview-card.is-revealed { animation-name: overview-enter; animation-delay: calc(var(--card-order) * 65ms); }
  @keyframes overview-enter { from { opacity: .15; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
}
.overview-arrow { margin: auto 0 0 auto; padding-top: 15px; line-height: 0; }
.overview-arrow svg { opacity: .86; }
.overview-card:hover .overview-arrow svg { opacity: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 710; color: var(--warm-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 18px; height: 18px; }
.home-inquiry :focus-visible { outline-color: var(--warm); }
.card-icon { display: inline-grid; place-items: center; color: var(--warm-deep); background: #f7eee8; width: 41px; height: 41px; border-radius: 6px; }
.card-icon svg { width: 21px; height: 21px; }

.mobile-nav summary::-webkit-details-marker { display: none; }
.client-guide { padding-block: clamp(64px,7vw,112px); }
.guide-wrap { max-width: 1240px; }
.client-guide h2 { text-align: center; font-size: clamp(32px,4.3vw,64px); color: #172c49; }
.guide-tabs { display: flex; justify-content: center; margin-block: 25px clamp(24px,3.2vw,48px); }
.guide-tabs button { border: 0; border-bottom: 1px solid #cad2dc; padding: 10px clamp(13px,2.8vw,43px); min-height: 48px; background: none; color: var(--muted); font-weight: 550; }
.guide-tabs button[aria-selected="true"] { color: #172c49; box-shadow: inset 0 -3px #243e62; font-weight: 750; }
.guide-panels { display: grid; gap: 24px; }
.guide-panel { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); overflow: hidden; border-radius: 24px; background: #eff3f7; }
.guide-panel:focus-visible { outline-offset: 3px; }
.guide-image { position: relative; min-height: clamp(330px,29vw,430px); }
.guide-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#guide-prepare img { object-position: center 78%; }
.guide-copy { align-self: center; padding: clamp(30px,4.7vw,74px); }
.guide-copy h3 { color: #192f50; font-size: clamp(26px,2.7vw,44px); line-height: 1.27; word-break: keep-all; }
.guide-copy p { margin-block: 22px 30px; max-width: 38ch; color: #364455; line-height: 1.8; font-size: clamp(16px,1.2vw,19px); }
.guide-copy a { display: inline-block; padding-block: 5px; border-bottom: 1px solid currentColor; color: #1b365d; font-weight: 700; }
.process-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(28px,7vw,100px); }
.process-portrait { position: sticky; top: calc(var(--header-size) + 24px); }
.process-portrait img { width: 100%; height: clamp(330px,39vw,580px); object-fit: cover; border-radius: 22px; }
.process-chapters { padding-block: 6px; }
.process-chapters ol { list-style: none; counter-reset: chapter; margin-top: 28px; }
.process-chapters li { position: relative; counter-increment: chapter; padding: 17px 0 19px 46px; border-top: 1px solid var(--line); }
.process-chapters li::before { position: absolute; left: 0; top: 17px; content: counter(chapter,decimal-leading-zero); color: #445b78; font-variant-numeric: tabular-nums; }
.process-chapters p { margin-top: 6px; color: var(--muted); }
.cost-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(26px, 6vw, 70px); }

.page-hero { background: var(--paper); color: var(--ink); text-align: center; padding-block: clamp(50px,8vw,105px) clamp(44px,6vw,78px); }
.page-hero--banner { min-height: clamp(290px,28vw,400px); display: grid; place-items: center; color: #fff; background: linear-gradient(100deg,#182030ab,#202939a1),url('/assets/consultation.webp') center 58% / cover; }
.page-hero--banner :is(h1,.page-lead,.breadcrumb,.branch-menu > summary) { color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.breadcrumb a { display: flex; align-items: center; min-height: 30px; }
.breadcrumb svg { width: 17px; height: 17px; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 650; }
.branch-menu { position: relative; }
.branch-menu summary { display: flex; align-items: center; gap: 5px; list-style: none; min-height: 35px; color: var(--ink); font-weight: 660; }
.branch-menu summary::-webkit-details-marker { display: none; }
.branch-menu summary svg { width: 14px; height: 14px; }
.branch-menu ul { position: absolute; z-index: 4; top: 100%; left: 50%; transform: translateX(-50%); list-style: none; min-width: 162px; background: #fff; box-shadow: 0 4px 19px #15223822; border: 1px solid var(--line); text-align: left; }
.branch-menu ul :is(a, .menu-label) { display: flex; align-items: center; min-height: 39px; padding: 4px 12px; white-space: nowrap; }
.branch-menu li + li { border-top: 1px solid var(--line); }
.page-hero-content { padding-top: clamp(14px,2vw,28px); max-width: 810px; margin-inline: auto; }
.page-hero h1 { color: #1a2d49; }
.page-subtitle { margin-top: 16px; color: var(--ink); font-size: clamp(20px,2.5vw,33px); font-weight: 700; line-height: 1.3; letter-spacing: -.045em; }
.page-lead { color: var(--muted); margin: 14px auto 0; max-width: 665px; font-size: clamp(16px, 2vw, 19px); }
.page-hero .button { margin-top: 23px; }
.page-hero + .section { padding-top: clamp(19px, 3.6vw, 42px); }
.directory { padding-top: 0 !important; }
.directory .wrap { padding-top: clamp(40px,5vw,80px); }
.directory-intro { display: grid; grid-template-columns: 1fr minmax(280px,360px); align-items: center; gap: 16px; }
.directory-intro .work-search { width: 100%; margin: 0; min-height: 46px; border-color: #a1adbd; border-radius: 8px; overflow: hidden; }
.directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,1.6vw,24px); list-style: none; margin-top: 28px; }
@media (max-width: 1000px) { .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.directory-help { padding: clamp(64px,7vw,112px) 20px; background: #0a0a0c; color: white; text-align: center; }
.directory-help h2 { color: white; font-size: clamp(30px,3.4vw,50px); line-height: 1.14; letter-spacing: -.055em; }
.directory-help p { margin-top: 22px; color: #b0b0b9; }
.directory-channels { max-width: 896px; margin: clamp(34px,4vw,60px) auto 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.directory-channel { background: #18181b; border: 1px solid #29292d; border-radius: 16px; padding: 27px 15px; display: grid; justify-items: center; gap: 6px; }
.directory-channel span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: white; color: #151515; margin-bottom: 10px; }
.directory-channel:nth-child(2) span { background: #ffe500; color: #38201d; }
.directory-channel:nth-child(3) span { background: #008bc7; color: white; }
.directory-channel small { color: #a6a6ad; }
@media(max-width: 600px) { .directory-channels { grid-template-columns: 1fr; gap: 8px; } .directory-channel { grid-template-columns: 42px 1fr auto; align-items: center; justify-items: start; gap: 12px; padding: 16px; } .directory-channel span { width: 42px; height: 42px; margin: 0; } }
.directory-tile { --card-image: url('/assets/consultation.webp'); --card-position: center; min-height: clamp(208px,24vw,320px); display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; position: relative; padding: clamp(19px, 3vw, 42px); border-radius: 18px; overflow: hidden; color: #fff; background: linear-gradient(180deg,#151e2f83,#121d32e5),var(--card-image) var(--card-position) / cover; }
.directory-tile--2, .directory-tile--5 { --card-image: url('/assets/city-day.webp'); --card-position: 69% 53%; }
.directory-tile--3, .directory-tile--7 { --card-image: url('/assets/review.webp'); --card-position: 50% 56%; }
.directory-tile--4, .directory-tile--8 { --card-image: url('/assets/writing.webp'); --card-position: 50% 66%; }
.directory-tile--6 { --card-image: url('/assets/city.webp'); --card-position: 67% 70%; }
.directory-tile > svg { position: absolute; top: clamp(19px,3vw,42px); }
.directory-tile h2 { font-size: clamp(24px,3vw,42px); text-wrap: wrap; }
.directory-tile p { color: #eff1f6; margin-top: 7px; font-size: 15px; }
.search-status { color: var(--muted); font-size: 15px; }
.search-status { margin-top: 15px; }
#search-empty { margin-top: 15px; }
.about-stage { min-height: var(--subpage-hero-height); padding-block: 36px; position: relative; display: grid; place-items: center; isolation: isolate; }
.about-media { position: absolute; inset: 0; background: #142437; z-index: -1; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 61%; opacity: .48; }
.about-heading { width: min(90%,820px); text-align: center; color: #fff; }
.about-heading > .button { margin-top: 28px; }
.blue-visual { background:linear-gradient(120deg,#102648,#1c4171); }
.home-hero, .detail-masthead, .page-hero, .about-visual {
  --hero-corner: clamp(22px,3vw,58px);
  position: relative;
  z-index: 1;
  border-radius: 0 0 var(--hero-corner) var(--hero-corner);
  box-shadow: 0 12px 24px rgb(18 29 46 / 20%);
}
.home-hero .hero-media, .home-hero .hero-shade, .detail-hero-media { border-radius: inherit; }
.home-hero .hero-media { overflow: hidden; }
.about-visual .about-media { border-radius: 0 0 var(--hero-corner) var(--hero-corner); overflow: hidden; }
.blue-visual .about-media { background:#102c50; }
.blue-visual .about-media img { opacity:.46; }
.visual-intro { margin:18px auto 0; color:#eff4fc; text-wrap:balance; }
.visual-intro span { display:block; }
@media(max-width:600px){ .visual-intro { max-width:29em; padding-inline:6px; } }
.about-heading h1 { margin-top: 14px; font-size: clamp(40px,6vw,88px); }
.about-heading .breadcrumb, .about-heading .branch-menu > summary { color: inherit; }
.about-heading .branch-menu ul { color: var(--ink); }
.about-body .prose { max-width: 730px; }
.about-location { background: #f4f7fb; }
.about-location .wrap { width: min(calc(100% - 2 * var(--gutter)),1120px); }
.about-location h2 { margin-bottom: clamp(20px,3vw,34px); }
.office-location { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: 16px; }
.office-address-card { padding: clamp(22px,3vw,40px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.office-address-card address { margin-top: 14px; color: var(--muted); font-size: var(--inner-body); font-style: normal; word-break: keep-all; }
.office-map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 26px 8px; }
#office-address-copy { padding: 0; border: 0; background: none; }
#office-address-status { color: var(--muted); }
.office-location iframe { display: block; width: 100%; height: 100%; min-height: 350px; border: 1px solid var(--line); border-radius: 16px; background: #e7edf4; }
@media (min-width:696px) {
  .about-location .wrap { width: min(calc(100% - 2 * max(var(--gutter),92px)),1120px); }
}
@media (max-width:830px) {
  .office-location { grid-template-columns: minmax(0,1fr); }
  .office-location iframe { height: 310px; min-height: 0; }
}
.detail-wrap { width: min(calc(100% - 2 * var(--gutter)),1160px); }
@media (min-width:696px) {
  .detail-wrap { width: min(calc(100% - 2 * max(var(--gutter),92px)),1160px); }
}
.detail-masthead { min-height: var(--subpage-hero-height); display: grid; align-items: center; isolation: isolate; padding-block: clamp(24px,4vw,50px); background: #122640; color: white; }
.detail-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.detail-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg,#0c1d33e8 0%,#0c1d33cc 48%,#0c1d3373 100%); }
.detail-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.detail-hero-copy { max-width: 42rem; }
.detail-hero-copy h1 { text-wrap: initial; }
.detail-hero-copy p { margin-top: 16px; color: #e5eef8; }
.detail-switch { display: table; margin-bottom: 14px; }
.detail-switch summary { min-height: 44px; color: #e0ebf7; }
.detail-switch ul { left: 0; transform: none; color: var(--ink); }
.detail-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; }
.detail-hero-actions a:not(.button) { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.detail-hero-actions a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero-actions a svg { width: 18px; height: 18px; }
.detail-masthead :focus-visible { outline-color: var(--warm); }
@media (prefers-reduced-motion: no-preference) {
  .about-media img, .detail-photo { animation: hero-circle-reveal 1.25s cubic-bezier(.28,.05,.26,1); }
  @keyframes hero-circle-reveal {
    from { clip-path: circle(clamp(42px,9vmin,106px) at 50% 56%); }
    to { clip-path: circle(92% at 50% 56%); }
  }
}
.detail-index { position: sticky; top: var(--header-size); z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.detail-index .wrap { display: flex; gap: clamp(14px,4vw,38px); }
.detail-index a { display: flex; align-items: center; min-height: 52px; color: #1d3654; font-size: 15px; font-weight: 700; white-space: nowrap; }
.detail-index a:hover, .detail-index a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.detail-page :is(#scope, #cases, #results, .case-file) { scroll-margin-top: calc(var(--header-size) + 66px); }
.service-scope { padding-top: clamp(34px,4vw,60px); }
.inner-page main .scope-heading h2 { font-size: clamp(30px,3.3vw,46px); }
.scope-heading p, .detail-results p { margin-top: 14px; color: var(--muted); }
.scope-heading { max-width: 720px; margin: 0 auto clamp(23px,4vw,45px); text-align: center; }
.detail-results .detail-layout { align-items: center; }
.detail-results .text-link { justify-self: start; }
.prose p { color: var(--muted); margin-top: 12px; max-width: 69ch; }
.prose p + h2 { margin-top: 32px; }
.prose .button { margin-top: 24px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; gap: clamp(28px, 6vw, 72px); }
.service-topics > div { display: grid; grid-template-columns: minmax(190px,.8fr) minmax(0,2.2fr); gap: clamp(12px,4vw,54px); align-items: start; border-top: 1px solid var(--line); padding-block: clamp(19px,2.6vw,37px); }
.service-topics > div:first-child { border-color: #315580; }
.service-topics > div:last-child { border-bottom: 1px solid var(--line); }
.service-topics dt { display: flex; align-items: baseline; gap: 12px; color: #1d3654; font-size: clamp(19px,1.65vw,24px); font-weight: 720; line-height: 1.4; word-break: keep-all; }
.scope-number { color: #496c96; font-size: 14px; font-variant-numeric: tabular-nums; flex: none; }
.service-topics dd { max-width: 71ch; color: var(--muted); }
.scope-prep { margin-top: clamp(24px,4vw,48px); background: #f4f7fb; border-radius: 12px; padding: clamp(18px,2.5vw,29px); }
.scope-prep h3 { color: #1d3654; }
.service-prep { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 22px; list-style: none; margin-top: 12px; }
.service-prep li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; }
.service-prep svg { width: 18px; height: 18px; margin-top: 4px; color: #254a76; }
@media (max-width:830px) {
  .service-topics > div, .service-prep { grid-template-columns: minmax(0,1fr); }
  .scope-heading { text-align: left; }
}
.case-section { background: #f1f5fa; }
.case-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; flex-wrap: wrap; margin-bottom: clamp(22px,3vw,40px); }
.case-header h2 { color: #1b304b; }
.case-header > p { color: #52606d; }
.case-gallery { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.4vw,36px); }
.case-gallery li { display: flex; min-width: 0; }
.case-card { display: flex; flex-direction: column; width: 100%; border: 1px solid #ccd7e4; border-radius: 14px; padding: clamp(12px,1.5vw,20px); background: var(--paper); color: #192d45; }
.case-card:hover .case-read, .case-card:focus-visible .case-read { text-decoration: underline; text-underline-offset: 4px; }
.case-photo { aspect-ratio: 1.87; overflow: hidden; border-radius: 8px; background: #e2e6e8; }
.case-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .22s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .case-card:hover img { transform: scale(1.035); } }
.case-card-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding-top: 16px; }
.case-topic { margin-bottom: 7px; font-size: 14px; font-weight: 700; color: #78533c; }
.case-card h3 { font-size: clamp(22px,1.95vw,30px); line-height: 1.34; word-break: keep-all; text-wrap: pretty; }
.case-excerpt { margin-block: 11px 16px; color: #515e69; font-size: 16px; line-height: 1.65; }
.case-read { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.case-read svg { width: 15px; height: 15px; }
.case-controls { display: none; }
.case-file { display: none; }
.case-file:target { display: block; max-width: 820px; margin: 24px auto 0; padding: clamp(20px,4vw,48px); border: 1px solid #ccd7e4; border-radius: 14px; background: var(--paper); }
.case-file-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 10px; }
.case-file-meta .case-topic { margin: 0; }
.case-file-meta a, .case-back { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #1d3654; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.case-file-meta svg { width: 16px; height: 16px; }
.inner-page main .case-file h3 { font-size: clamp(25px,3vw,42px); line-height: 1.3; text-wrap: initial; }
.case-file h3 + .case-part { margin-top: 26px; }
.case-part { padding-block: 21px; border-top: 1px solid var(--line); }
.case-part h4 { margin: 0 0 9px; font-size: 19px; line-height: 1.4; font-weight: 720; }
.case-part p { color: #414d59; line-height: 1.84; word-break: keep-all; overflow-wrap: anywhere; }
.case-part p + p { margin-top: 12px; }
@media (max-width:830px) {
  .detail-layout { grid-template-columns: minmax(0,1fr); }
  .detail-hero-media::after { background: linear-gradient(90deg,#0c1d33e8,#0c1d33bd); }
  .case-header { align-items: start; flex-direction: column; margin-bottom: 18px; }
  .case-gallery { --card-size: min(88%,500px); display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .case-gallery::-webkit-scrollbar { display: none; }
  .case-gallery li { flex: 0 0 var(--card-size); scroll-snap-align: start; }
  .case-gallery::after { content: ''; flex: 0 0 max(0px,calc(100% - var(--card-size) - 14px)); }
  .case-gallery .case-card:focus-visible { outline-offset: -3px; }
  .case-excerpt { margin-block: 8px 12px; }
  .case-photo { aspect-ratio: 2; }
  .case-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
  .case-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #aebfd2; border-radius: 50%; background: var(--paper); color: #1d3654; }
  .case-controls button:disabled { opacity: .45; cursor: default; }
  .case-prev svg { rotate: 180deg; }
  .case-position { margin-right: 8px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
}
.related-section { background: var(--soft); padding-block: 38px; }
.related-section h2 { font-size: clamp(23px, 2.8vw, 31px); margin-bottom: 16px; }
.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.related-links li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; font-size: 14px; }
.cost-section { border-block: 1px solid var(--line); }
.cost-list { border-top: 1px solid var(--line); }
.cost-list > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.cost-list dt { font-weight: 750; font-size: 18px; }
.cost-list dd { margin-top: 5px; color: var(--muted); }

.contact-wrap { width: min(calc(100% - 2 * var(--gutter)),1120px); }
@media (min-width:696px) {
  .contact-wrap { width: min(calc(100% - 2 * max(var(--gutter),92px)),1120px); }
}
.contact-hero { --subpage-hero-height: clamp(215px,34svh,325px); }
.contact-hero .about-stage { padding-block: 24px; }
.contact-hero-copy { color: white; }
.contact-hero-copy .breadcrumb { justify-content: start; color: #e1ecfa; margin-bottom: 12px; }
.contact-hero-copy .branch-menu summary { color: inherit; }
.contact-hero-copy .branch-menu ul { left: 0; transform: none; color: var(--ink); }
.contact-hero-copy > p { max-width: 34ch; margin-top: 14px; color: #e1ecfa; }
.contact-preparation dl { border-top: 1px solid #d4dfec; }
.contact-preparation dl > div { padding-block: 14px; border-bottom: 1px solid #d4dfec; }
.contact-preparation dt { font-weight: 720; color: #17365b; }
.contact-preparation dd { margin-top: 5px; color: var(--muted); }
.contact-intake { padding-block: clamp(22px,4vw,50px); background: #f4f7fb; }
.inner-page main .contact-intake .inquiry-panel h2 { font-size: clamp(26px,3vw,38px); }
.contact-intake .inquiry-panel { max-width: 680px; margin-inline: auto; background: var(--paper); border-color: #ccd9e8; border-radius: 16px; padding: clamp(20px,3vw,34px); }
.contact-intake .inquiry-panel button[type='submit'] { width: 100%; justify-content: space-between; }
.contact-guide-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(20px,5vw,72px); align-items: start; }
.inner-page main .contact-guide-heading h2 { font-size: clamp(27px,3vw,43px); }
.contact-guide-heading > p { margin-top: 10px; color: var(--muted); }
.contact-guide-heading .text-link { margin-top: 10px; }
.contact-journey { border-top: 1px solid var(--line); }
.contact-stages { list-style: none; }
.contact-stages li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 0 10px; padding-block: 16px; border-top: 1px solid var(--line); }
.contact-stages li:last-child { border-bottom: 1px solid var(--line); }
.contact-stages li > span { grid-row: span 2; color: #375d8b; font-weight: 720; font-variant-numeric: tabular-nums; }
.contact-stages li p { color: var(--muted); margin-top: 8px; }
.contact-help { background: #f4f7fb; }
.contact-questions details { border-top: 1px solid var(--line); }
.contact-questions details:last-of-type { border-bottom: 1px solid var(--line); }
.contact-questions summary { padding-block: 14px; min-height: 46px; font-weight: 690; }
.contact-questions details p { padding-bottom: 15px; color: var(--muted); }
.contact-phone { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px; background: #f4f7fb; border-radius: 10px; }
.contact-phone .card-icon { flex: none; }
.inner-page main .contact-phone h3 { font-size: 17px; }
.inner-page main .contact-phone p { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 830px) {
  .contact-guide-layout { grid-template-columns: minmax(0,1fr); }
  .contact-hero-copy .breadcrumb { margin-bottom: 4px; }
  .contact-hero-copy > p { margin-top: 8px; }
  .contact-intake .inquiry-panel fieldset { margin-top: 14px; }
  .contact-intake .inquiry-panel label:not(:first-of-type) { margin-top: 10px; }
}
.inquiry-panel { padding: clamp(18px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); grid-area: 1 / 2; }
.inquiry-panel h2 { margin-bottom: 10px; }
.inquiry-panel fieldset { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.inquiry-panel fieldset > .button { margin-top: 18px; }
.inquiry-panel label { display: block; margin: 16px 0 5px; font-size: 15px; font-weight: 710; }
.inquiry-panel label:first-of-type { margin-top: 0; }
.inquiry-panel label > span:not(.optional) { color: var(--warm-deep); }
.inquiry-panel .optional { color: var(--muted); margin-left: 3px; font-size: 13px; font-weight: 500; }
.inquiry-panel select, .inquiry-panel input[type='tel'] { border: 1px solid #87929f; border-radius: var(--radius); background: var(--paper); color: var(--ink); color-scheme: light; min-height: 46px; padding: 7px 10px; width: 100%; font-size: 16px; }
.inquiry-panel select { padding-right: 20px; }
.form-complete { padding-top: 24px; }
.form-complete h3 { margin-top: 10px; }
.form-complete p { color: var(--muted); margin-top: 10px; }
.form-complete .button { margin-top: 15px; }

.home-inquiry { margin: clamp(18px,2vw,31px); padding: clamp(45px,7vw,105px) 0; background: linear-gradient(90deg,#152032df,#121d30bd), url('/assets/consultation.webp') center 54% / cover; color: #fff; }
.home-inquiry-layout { width: min(calc(100% - 2 * var(--gutter)), 1150px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); align-items: start; gap: clamp(24px,7vw,102px); }
.home-page #inquiry { margin-inline: 0; width: 100%; }
.home-inquiry-copy p { margin-top: 15px; color: #f1f3f6; max-width: 36ch; }
.inquiry-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: clamp(22px, 4vw, 59px); max-width: 430px; list-style: none; }
.inquiry-steps li { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 14px; }
.inquiry-steps svg { box-sizing: content-box; padding: 13px; background: #e3e8f027; border-radius: 50%; }
.home-inquiry .inquiry-panel { grid-area: auto; padding: 0; border: 0; }
.home-inquiry .inquiry-panel h2 { font-size: 21px; }
.home-inquiry .inquiry-panel :is(label > span, .optional, .form-complete p) { color: #f1f3f6; }
.home-inquiry .inquiry-panel fieldset > .button { width: 100%; min-height: 54px; background: #2e4769; }
.home-inquiry .inquiry-panel fieldset > .button:hover { background: #3d5a7e; }

.page-progress { position: fixed; z-index: 11; inset: auto 0 0; height: 3px; pointer-events: none; }
.page-progress span { display: block; height: 100%; width: 100%; background: #a76d50; transform: scaleX(0); transform-origin: left; }
.is-revealed { animation: section-enter .52s ease-out both; }
@keyframes section-enter { from { opacity: .67; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .overview-card { transition: none; } .is-revealed { animation: none; } }

#quick-inquiry { width: min(calc(100% - 24px),500px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); }
#quick-inquiry::backdrop { background: #101827a8; }
.dialog-inner { position: relative; }
.dialog-close { position: absolute; top: 6px; right: 6px; background: transparent; width: 44px; height: 44px; border: 0; display: grid; place-items: center; }
#quick-inquiry .inquiry-panel { border: 0; }
#quick-inquiry .inquiry-panel h2 { padding-right: 38px; }

.agency-strip { position: relative; padding: 12px 0; background: #fff; }
.agency-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.agency-head .agency-controls { margin-inline-start: auto; }
.agency-controls { display: flex; gap: 6px; }
.agency-controls button { min-height: 37px; min-width: 38px; display: inline-grid; place-items: center; background: #fff; border: 1px solid #d0d6df; border-radius: 30px; }
.agency-controls button:hover { background: var(--soft); }
.agency-controls svg { width: 17px; height: 17px; }
.agency-playback span { display: flex; }
.agency-head { position: absolute; top: 4px; right: 16px; z-index: 1; width: auto; }
.agency-head:not(:focus-within) { clip-path: inset(50%); pointer-events: none; }
.agency-window {
  --edge: clamp(40px, 10vw, 190px);
  --edge-fade: linear-gradient(to right, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
  -webkit-mask-image: var(--edge-fade);
  mask-image: var(--edge-fade);
}
.agency-track { display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; overflow-anchor: none; }
.agency-track::-webkit-scrollbar { display: none; }
.agency-list { list-style: none; display: flex; flex: none; }
.agency-list li { width: max(170px,18vw); flex: none; }
.agency-list a { height: 104px; display: flex; align-items: center; justify-content: center; padding: 10px 22px; }
.agency-list a:focus-visible { outline-offset: -4px; }
.agency-list img { width: auto; height: auto; max-width: min(100%,176px); max-height: 72px; object-fit: contain; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: start; gap: 32px; padding-block: clamp(40px,5vw,76px) 28px; }
.footer-details { display: grid; gap: 5px; margin-top: 18px; color: #c1cbda; font-size: 14px; line-height: 1.6; }
.footer-details > div { display: grid; grid-template-columns: 6em minmax(0,1fr); gap: 10px; }
.footer-details dt { color: #e5edf7; font-weight: 650; }
.footer-details dd { word-break: keep-all; overflow-wrap: anywhere; }
.site-footer nav { display: grid; justify-items: start; align-content: start; gap: 0; }
.site-footer nav strong { margin-bottom: 12px; color: white; font-size: 16px; }
.site-footer nav :is(a, .menu-label) { min-height: 36px; color: #c1cbda; font-weight: 500; }
.footer-base { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid #354253; color: #b1bccb; font-size: 13px; }
.footer-base small { font-size: inherit; }

@media (max-width: 1030px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
}

@media (max-width: 695px) {
  :root { --header-size: 68px; }
  .inner-page { --subpage-hero-height: clamp(238px,36svh,305px); }
  #sitemap { width: calc(100% - 20px); max-height: 89svh; }
  .sitemap-links { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .sitemap-links h3 { margin-bottom: 4px; }
  .sitemap-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { gap: 3px; }
  .brand { gap: 9px; }
  .brand-mark { width: 41px; height: 37px; }
  .header-tools { gap: 0; }
  .desktop-quick { display: none; }
  .mobile-nav nav { grid-template-columns: 1fr; gap: 0; padding: 8px var(--gutter) 15px; }
  .mobile-contact { position: fixed; inset: auto 0 0; z-index: 12; padding-bottom: env(safe-area-inset-bottom, 0px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); background: #1f304b; color: var(--paper); border-top: 1px solid #667383; }
  .mobile-contact :is(a, button, .menu-label) { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 53px; font-size: 13px; font-weight: 690; }
  .mobile-contact > :not(:first-child):not([hidden]) { border-left: 1px solid #ffffff32; }
  .mobile-contact :focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
  .mobile-contact svg { width: 16px; height: 16px; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg,#14243864,#0e182c6d 40%,#0e192bb8); }
  .hero-inner { padding-block: calc(var(--header-size) + 26px) 115px; }
  .hero-headlines { font-size: clamp(23px,7.2vw,36px); }
  .work-search--hero { width: min(100%, 360px); min-height: 50px; margin-top: 23px; }
  .work-search input { padding-inline: 10px; }
  .work-search button { width: 45px; }
  .hero-controls { left: var(--gutter); bottom: 18svh; gap: 8px; }
  .hero-dots button { width: 31px; }
  .hero-scroll { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .hero-scroll .scroll-mark { display: none; }
  .button { gap: 10px; padding-inline: 13px; }
  .cost-layout, .detail-layout, .home-inquiry-layout, .guide-panel, .process-story { grid-template-columns: minmax(0, 1fr); }
  .guide-tabs { margin-block: 20px 24px; }
  .guide-tabs button { flex: 1; padding-inline: 2px; white-space: nowrap; font-size: 15px; }
  .guide-panel { border-radius: 16px; }
  .guide-image { min-height: 0; aspect-ratio: 1.94; }
  .guide-copy { padding: 26px 22px 30px; }
  .guide-copy p { margin-block: 13px 17px; }
  .process-portrait { position: static; }
  .process-portrait img { height: auto; aspect-ratio: 1.9; }
  .rail-strip { --rail-card-width: min(78vw,318px); }
  .rail-intro { gap: 6px 12px; }
  .rail-heading { column-gap: 12px; }
  .directory-grid { grid-template-columns: minmax(0,1fr); }
  .directory-intro { grid-template-columns: minmax(0,1fr); }
  .directory-tile { min-height: 180px; }
  .home-inquiry { margin: 0; }
  .inquiry-panel { grid-area: auto; }
  .cost-section .section-heading { margin: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer nav :is(a, .menu-label) { font-size: 14px; }
  .page-progress { bottom: calc(54px + env(safe-area-inset-bottom,0px)); }
}

@media (max-width: 350px) {
  .brand-mark { width: 36px; }
  .brand-text strong { font-size: 14px; }
  .header-tools .icon-link, .mobile-nav summary { width: 37px; }
  .header-tools .sitemap-trigger { width: 44px; }
}
