/*
Theme Name: 노무법인 너울
Author: 비랜딩 (blanding.kr)
Author URI: https://blanding.kr
Description: 노무법인 너울의 반응형 워드프레스 홈페이지
Version: 2.8.0
Text Domain: neoul-site
*/
@font-face {
    font-family: "Noto Sans KR Neoul";
    src: url("assets/noto-sans-kr-1.2.0.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 750;
    font-display: swap;
}

:root {
    color-scheme: light;
    --sans: "Noto Sans KR Neoul", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    --display: 650 clamp(2.4rem, 4.2vw, 4.45rem)/1.17 var(--sans);
    --heading: 650 clamp(1.9rem, 3vw, 2.9rem)/1.2 var(--sans);
    --subheading: 650 clamp(1.28rem, 1.65vw, 1.62rem)/1.36 var(--sans);
    --body: 400 1rem/1.7 var(--sans);
    --small: 400 .9375rem/1.65 var(--sans);
    --label: 620 .9375rem/1.4 var(--sans);
    --caption: 600 .8125rem/1.48 var(--sans);
    --ink: #142e40;
    --muted: #4e626f;
    --brand: #006ea1;
    --brand-dark: #005781;
    --navy: #0e3149;
    --pale: #f0f6f8;
    --line: #dbe5e9;
    --ice: #a7ddf4;
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --frame: 80rem;
    --section: clamp(3.6rem, 6.5vw, 6.75rem);
    --header: 5.25rem;
    --motion-ease: cubic-bezier(.2,.72,.27,1);
    --motion-open: 360ms;
    --motion-enter: 680ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: #fff; font: var(--body); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: var(--label); }
h1, h2, h3, p { margin: 0; }
h1 { font: var(--display); letter-spacing: -.048em; }
h2 { font: var(--heading); letter-spacing: -.045em; }
h3 { font: var(--subheading); letter-spacing: -.035em; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1988bd; outline-offset: 4px; }
.frame { width: min(calc(100% - var(--gutter) * 2), var(--frame)); margin-inline: auto; }
.eyebrow { color: var(--brand-dark); font: var(--caption); letter-spacing: .025em; }
.meta { font: var(--caption); color: var(--muted); }
.section { padding-block: var(--section); }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: 1rem; padding: .7rem 1rem; background: #fff; color: var(--ink); translate: 0 -200%; }
.skip-link:focus { translate: none; }

.neoul-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.admin-bar .neoul-header { top: 32px; }
.header-layout { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: clamp(9rem, 14vw, 12.25rem); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.65rem); min-height: var(--header); font: var(--label); }
.site-nav > a, .nav-fields > summary { display: flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }
.site-nav a:hover, .nav-fields summary:hover { color: var(--brand); }
.nav-fields { position: relative; }
.nav-fields > summary { gap: .55rem; list-style: none; cursor: pointer; }
.nav-fields > summary::-webkit-details-marker { display: none; }
.nav-fields > summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform 180ms var(--motion-ease); }
.nav-fields[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.nav-fields-panel { position: absolute; top: calc(100% + .38rem); left: 50%; transform: translateX(-50%); width: 24rem; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: 3px solid var(--brand); background: #fff; padding: 1rem 1.2rem 1.3rem; gap: .75rem 1rem; box-shadow: 0 12px 30px #112e4015; }
.nav-fields[open] .nav-fields-panel { animation: panel-open var(--motion-open) var(--motion-ease) both; }
.nav-fields-panel .nav-overview { grid-column: 1/-1; border-bottom: 1px solid var(--line); padding: .25rem 0 .7rem; }
.nav-field-group { display: grid; align-content: start; gap: .12rem; }
.nav-field-group .meta { margin-block: .25rem .3rem; }
.nav-field-group a { min-height: 2.5rem; display: flex; align-items: center; }
.header-call { color: var(--brand-dark); font: var(--label); white-space: nowrap; padding: .6rem 0 .6rem 1.15rem; border-left: 1px solid var(--line); }
.mobile-toggle { display: none; }

.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(29rem, 39vw, 39rem); max-width: 110rem; margin-inline: auto; }
.hero-main { align-self: center; position: relative; z-index: 1; padding: 4rem 2rem 4rem max(var(--gutter), calc((100% * 2 - var(--frame)) / 2)); }
.hero-eyebrow { color: var(--ice); display: flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; }
.hero-eyebrow::before { content: ""; width: 1.35rem; height: 1px; background: currentColor; }
.hero-line { display: block; overflow: clip; padding-bottom: .075em; margin-bottom: -.075em; }
.hero-line > span { display: block; animation: headline-open .92s var(--motion-ease) both; }
.hero-line-accent { color: var(--ice); }
.hero-line-accent > span { animation-delay: .12s; }
.hero-lead { color: #e1eef4; margin-top: 1.5rem; }
.hero-actions, .visit-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.hero-photo { position: relative; overflow: hidden; min-height: 100%; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 65% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e314945, transparent 32%); pointer-events: none; }
.hero-eyebrow { animation: enter .57s var(--motion-ease) both; }
.hero-lead { animation: enter var(--motion-enter) var(--motion-ease) .21s both; }
.hero-actions { animation: enter var(--motion-enter) var(--motion-ease) .33s both; }
.hero-photo img { animation: image-open 1.52s var(--motion-ease) both; }
.hero-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 38%;
    background: linear-gradient(90deg, var(--navy), #147da1 84%, #87c6dd 99%);
    pointer-events: none;
    transform-origin: left;
    animation: shutter 1.18s var(--motion-ease) both;
}
@keyframes headline-open {
    from { opacity: .2; transform: translateY(.87em); }
    to { opacity: 1; transform: none; }
}
@keyframes enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes image-open {
    from { opacity: .72; transform: scale(1.09); clip-path: inset(0 0 0 24%); }
    to { opacity: 1; transform: none; clip-path: inset(0); }
}
@keyframes shutter {
    0% { opacity: .97; transform: scaleX(.98); }
    100% { opacity: 0; transform: scaleX(0); }
}
@keyframes panel-open {
    from { opacity: 0; translate: 0 -8px; clip-path: inset(0 0 14%); }
    to { opacity: 1; translate: none; clip-path: inset(0); }
}

.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.14rem; border: 1px solid transparent; font: var(--label); white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: var(--ice); }
.button-outline { border-color: #92b1c1; color: #fff; }
.button-outline:hover { background: #ffffff1f; }
.button-blue { background: var(--brand-dark); color: #fff; }
.button-blue:hover { background: var(--navy); }
.hero :focus-visible, .visit :focus-visible { outline-color: var(--ice); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: .75rem 2rem; margin-bottom: 1.75rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head .eyebrow, .people-copy .eyebrow { margin-bottom: .55rem; }
.work { padding-top: clamp(2.5rem, 4.4vw, 4.6rem); }
.work-picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); }
.work-picker a { display: grid; align-items: center; text-align: center; min-height: 3.75rem; padding: .45rem .55rem; font: var(--label); border-right: 1px solid var(--line); transition: background-color .18s ease, color .18s ease; }
.work-picker a:last-child { border-right: 0; }
.work-picker a[aria-current="true"] { color: #fff; background: var(--brand-dark); }
.work-picker a:hover:not([aria-current="true"]) { color: var(--brand-dark); background: var(--pale); }
.work-picker a:focus-visible { outline-offset: -4px; }
.work-panels { position: relative; }
.work-panel {
    display: grid;
    grid-template-columns: 1.33fr 1fr;
    align-items: start;
    gap: clamp(1.05rem, 3.5vw, 3rem);
    padding-block: clamp(1.45rem, 3vw, 2.15rem);
    padding-inline: clamp(1.1rem, 3vw, 2.35rem);
    min-height: 10rem;
    background: var(--pale);
    border-left: 3px solid var(--brand);
}
.work-panel + .work-panel:not([hidden]) { margin-top: .5rem; }
.js .work-panel + .work-panel { margin-top: 0; }
.work-panel .eyebrow { margin-bottom: .25rem; }
.work-panel h3 + p { color: var(--muted); margin-top: .4rem; }

.cases { background: var(--pale); }
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-block: 1px solid #a9c6d4;
}
.case {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .8rem;
    min-height: 14rem;
    padding: 1.65rem clamp(1.1rem, 2.3vw, 2.2rem);
}
.case + .case { border-left: 1px solid var(--line); }
.case p:not(.eyebrow) { color: var(--muted); font: var(--small); }
.text-link { display: inline-block; width: fit-content; color: var(--brand-dark); text-decoration: underline; text-underline-offset: .25em; font: var(--label); }
.text-link:hover { text-decoration-thickness: 2px; }
.case .text-link { margin-top: auto; }
.detail-link::after {
    content: "";
    display: inline-block;
    width: .4rem;
    height: .4rem;
    margin-left: .45rem;
    vertical-align: .1em;
    background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,
                linear-gradient(currentColor,currentColor) center/1px 100% no-repeat;
}
.case-controls { display: none; }
.js .case-grid {
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 50%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.js .case-grid::-webkit-scrollbar { display: none; }
.js .case { scroll-snap-align: start; }
.js .case-controls { display: flex; align-items: center; justify-content: flex-start; gap: .45rem; margin-top: .8rem; }
.case-position { font-variant-numeric: tabular-nums; margin-right: .3rem; }
.case-controls button {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid #a9c6d4;
    background: #fff;
    color: var(--brand-dark);
    cursor: pointer;
    transition: color 180ms, background-color 180ms;
}
.case-controls button:not(:disabled):hover { background: var(--brand-dark); color: #fff; }
.case-controls button:disabled { color: #606f76; background: transparent; border-color: var(--line); cursor: default; }
.case-controls button::after { content: ""; width: .52rem; height: .52rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.case-controls .case-prev::after { transform: rotate(225deg); }

.people-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(1.35rem, 5vw, 5rem); }
.people-copy > p:not(.eyebrow) { max-width: 18rem; color: var(--muted); margin: 1rem 0 1.15rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(.8rem, 2vw, 1.75rem); }
.profile { border-bottom: 1px solid var(--line); }
.profile-photo { background: var(--pale); aspect-ratio: 5/4; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-copy { padding: 1rem 0 1.15rem; }
.profile-copy .eyebrow { margin-bottom: .27rem; }
.profile-copy ul { padding-left: 1rem; margin: .55rem 0 0; font: var(--small); color: var(--muted); }
.profile-copy .detail-link { margin-top: .75rem; }
.profile-photo img { transition: transform var(--motion-enter) var(--motion-ease); }
.profile:hover .profile-photo img, .profile:focus-within .profile-photo img { transform: scale(1.04); }

.quick-consult {
    position: fixed;
    z-index: 3;
    right: clamp(.9rem, 2.8vw, 2.8rem);
    bottom: max(1rem, env(safe-area-inset-bottom));
}
.quick-consult > summary {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    list-style: none;
    cursor: pointer;
    padding: .8rem 1.05rem;
    min-height: 3rem;
    background: var(--brand-dark);
    color: #fff;
    font: var(--label);
    box-shadow: 0 5px 20px #0e31493b;
}
.quick-consult > summary::-webkit-details-marker { display: none; }
.quick-consult > summary::after {
    content: "";
    width: .72rem;
    height: .72rem;
    background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,
                linear-gradient(currentColor,currentColor) center/1px 100% no-repeat;
    transition: transform var(--motion-open) var(--motion-ease);
}
.quick-consult[open] > summary::after { transform: rotate(45deg); }
.quick-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + .6rem);
    min-width: 13rem;
    max-width: calc(100vw - 2rem);
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    box-shadow: 0 12px 30px #0e314925;
}
.quick-consult[open] .quick-panel { animation: float-open var(--motion-open) var(--motion-ease) both; }
.quick-panel .button { width: 100%; margin-top: .8rem; }
.quick-call { display: grid; gap: .2rem; color: var(--brand-dark); font: var(--subheading); }
.quick-call:hover strong { text-decoration: underline; }

html:has(.detail-dialog[open]) { overflow: hidden; }
.detail-dialog {
    width: min(36rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    border: 0;
    border-top: 4px solid var(--brand);
    padding: 0;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 15px 75px #081d36a0;
    overscroll-behavior: contain;
}
.detail-dialog[open] { animation: float-open 430ms var(--motion-ease) both; }
.detail-dialog::backdrop { background: #09273db3; animation: fade-in 280ms ease-out both; }
@keyframes float-open {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
.dialog-inner { padding: clamp(1.15rem, 4vw, 2.1rem); }
.dialog-actions { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.dialog-close { padding: .38rem .68rem; min-height: 2.75rem; background: var(--pale); border: 1px solid var(--line); cursor: pointer; }
.dialog-close:hover { background: var(--navy); color: #fff; }
.dialog-content > .eyebrow, .dialog-profile .eyebrow { margin-bottom: .5rem; }
.dialog-content h2 { margin-bottom: .85rem; }
.dialog-content > p:not(.eyebrow), .dialog-note p { color: var(--muted); }
.dialog-content .button { margin-top: 1.2rem; }
.dialog-note { margin-top: 1.15rem; padding: .95rem 1.15rem; background: var(--pale); border-left: 3px solid var(--brand); }
.dialog-note h3 { margin-bottom: .3rem; }
.dialog-profile { display: flex; gap: 1.15rem; align-items: center; }
.dialog-profile img { width: clamp(4.5rem, 18vw, 7rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 19%; }
.dialog-career { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.dialog-career li + li { margin-top: .25rem; }

.visit { background: var(--navy); color: #fff; }
.visit-layout { display: grid; grid-template-columns: 1.15fr .85fr; padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.consult { padding-right: clamp(1.25rem, 4vw, 3.5rem); }
.location { padding-left: clamp(1.25rem, 4vw, 3.5rem); border-left: 1px solid #618092; }
.visit h2 { margin-bottom: .8rem; }
.visit h2 + p, .visit address { color: #e1eef4; }
.visit .text-link { color: var(--ice); margin-top: 1rem; }
.visit .visit-actions { margin-top: 1.25rem; }
.footer-layout { display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; color: var(--muted); font: var(--small); padding-block: 1.7rem; }
.footer-layout .brand img { width: 9rem; }
.footer-layout p:last-child { font: var(--caption); }

.has-reveal [data-reveal].pending { opacity: 0; transform: translateY(18px); }
.has-reveal [data-reveal].revealed { animation: enter var(--motion-enter) var(--motion-ease) both; }
.has-reveal .case-window.revealed, .has-reveal .profile-grid.revealed { animation-delay: .09s; }
.has-reveal [data-reveal]:focus-within { opacity: 1; transform: none; }

@media (min-width: 110rem) {
    .hero-main { padding-left: 15rem; }
}
@media (max-width: 64rem) {
    :root { --header: 4.5rem; }
    .header-layout { gap: 1.5rem; }
    .header-call { display: none; }
    .hero-main { padding: 3.3rem 1.5rem 3.3rem var(--gutter); }
    .work-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .work-picker a:nth-child(4) { border-right: 0; }
    .work-picker a:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
    .work-picker a:last-child { border-right: 1px solid var(--line); }
}
@media (max-width: 48rem) {
    :root { --header: 4rem; --display: 650 clamp(2.2rem, 6.6vw, 3.55rem)/1.18 var(--sans); }
    .admin-bar .neoul-header { top: 46px; }
    .header-layout { flex-wrap: wrap; gap: 0; }
    .header-layout > .brand, .mobile-toggle { margin-block: .65rem; }
    .has-drawer .mobile-toggle { display: inline-flex; min-height: 2.65rem; align-items: center; gap: .65rem; border: 0; background: transparent; padding: .25rem 0 .25rem .7rem; cursor: pointer; }
    .mobile-toggle::after { content: ""; height: .65rem; width: .95rem; border-top: 1.5px solid; border-bottom: 1.5px solid; background: linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat; }
    .site-nav { display: grid; width: 100%; gap: 0; min-height: auto; padding-block: 0 .7rem; }
    .site-nav > a, .nav-fields > summary { min-height: 2.85rem; border-top: 1px solid var(--line); }
    .nav-fields-panel { position: static; width: auto; transform: none; padding: .5rem .75rem .7rem; box-shadow: none; background: var(--pale); border: 0; }
    .nav-fields-panel .nav-overview { padding-top: .45rem; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-main { padding: 2.65rem var(--gutter) 2.4rem; }
    .hero-eyebrow { margin-bottom: .95rem; }
    .hero-lead { margin-top: 1.1rem; }
    .hero-actions { margin-top: 1.25rem; }
    .hero-photo { aspect-ratio: 2.05; }
    .hero-photo img { object-position: 60% 59%; }
    .hero-photo::after { background: linear-gradient(180deg, #0e314933, transparent 35%); }
    .section-head { display: block; margin-bottom: 1.2rem; }
    .section-head p:not(.eyebrow) { margin-top: .55rem; }
    .case-grid, .people-layout, .visit-layout { grid-template-columns: 1fr; }
    .case { padding-inline: 0; min-height: 0; }
    .case + .case { border: 0; border-top: 1px solid var(--line); }
    .js .case-grid { grid-auto-columns: 100%; }
    .js .case { padding-inline: 3px; padding-bottom: 1.3rem; border-top: 0; }
    .profile-photo { aspect-ratio: 4/5; }
    .consult { padding-right: 0; }
    .location { padding: 1.35rem 0 0; margin-top: 1.75rem; border: 0; border-top: 1px solid #618092; }
    .footer-layout { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: .65rem 1.1rem; }
    .js body:has(.mobile-toggle[aria-expanded="true"]) .quick-consult { display: none; }
    .quick-consult > summary { min-height: 2.75rem; padding: .62rem .78rem; }
}
@media (max-width: 30rem) {
    .work-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-picker a:nth-child(even) { border-right: 0; }
    .work-picker a:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
    .work-picker a:last-child { grid-column: 1/-1; border-right: 0; }
}
@media (max-width: 23rem) {
    .hero-lead br { display: none; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-photo { aspect-ratio: 5/4; }
}
.site-main .page-header, .site-main .entry-header:has(h1) {
    animation: enter var(--motion-enter) var(--motion-ease) both;
}
.site-main .entry-content, .site-main article:first-child .entry-summary {
    animation: enter var(--motion-enter) var(--motion-ease) .12s both;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-photo::before { display: none; }
    .hero-eyebrow, .hero-line > span, .hero-lead, .hero-actions, .hero-photo img,
    .nav-fields[open] .nav-fields-panel,
    .quick-consult[open] .quick-panel, .detail-dialog[open], .detail-dialog::backdrop,
    .site-main .page-header, .site-main .entry-header:has(h1), .site-main .entry-content,
    .site-main article:first-child .entry-summary,
    .has-reveal [data-reveal].revealed { animation: fade-in .22s ease-out both; }
    .has-reveal .case-window.revealed, .has-reveal .profile-grid.revealed { animation-delay: 0s; }
    .has-reveal [data-reveal].pending { transform: none; }
    .profile:hover .profile-photo img, .profile:focus-within .profile-photo img { transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media print {
    .neoul-header { position: static; }
    .quick-consult { display: none; }
    .has-reveal [data-reveal].pending { opacity: 1; transform: none; }
}/* The service directory, practice approach, and consultation resources. */
.work-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}
.work-feature {
    position: relative;
    min-height: clamp(11.5rem, 16vw, 16rem);
    display: flex;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}
.work-feature img,
.work-feature::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.work-feature img {
    z-index: -2;
    object-fit: cover;
    transition: transform var(--motion-enter) var(--motion-ease);
}
.work-feature::after {
    content: "";
    z-index: -1;
    background: linear-gradient(180deg, #09233505 7%, #09233549 35%, #081e30eb 100%);
}
.work-feature:hover img, .work-feature:focus-visible img { transform: scale(1.055); }
.work-feature-copy {
    width: 100%;
    padding: clamp(.8rem, 1.6vw, 1.35rem);
    border-bottom: 2px solid #8dcced;
}
.work-feature-copy p {
    margin-top: .3rem;
    color: #f2f6f7;
    font: var(--small);
}
.work-directory { margin-top: clamp(2rem, 4vw, 3.25rem); }
.work-directory-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .45rem 1.25rem;
    margin-bottom: .8rem;
}
.work-directory-head p { color: var(--muted); font: var(--small); }
.work-panel h4 { margin: 0 0 .5rem; color: var(--brand-dark); font: var(--label); }
.work-scope {
    display: grid;
    gap: .28rem;
    margin: .9rem 0 0;
    padding-left: 1.18rem;
    font: var(--small);
}
.work-scope li::marker { color: var(--brand); }
.work-prep {
    padding: .95rem 0 .2rem clamp(1rem, 3vw, 2.25rem);
    border-left: 1px solid #cadce4;
}
.work-prep p { color: var(--muted); font: var(--small); }
.work-prep-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    margin-top: 1.05rem;
}
.approach {
    background: var(--navy);
    color: #fff;
}
.approach-layout, .questions-layout {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    align-items: start;
    gap: clamp(1.3rem, 6vw, 5.2rem);
}
.approach .eyebrow, .approach .text-link { color: var(--ice); }
.approach .text-link { margin-top: 1.3rem; }
.approach-intro .eyebrow, .questions-intro .eyebrow { margin-bottom: .55rem; }
.approach-list { padding: 0; margin: 0; border-top: 1px solid #668696; }
.approach-list > div { padding: 1rem 0 1.12rem; border-bottom: 1px solid #668696; }
.approach-list dt { font: var(--subheading); letter-spacing: -.035em; }
.approach-list dd { padding: 0; margin: .35rem 0 0; color: #e2eef4; font: var(--small); }
.reading { background: var(--pale); }
.reading-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid #a9c6d4;
}
.reading-item { padding: 1.35rem clamp(1rem, 2.5vw, 1.8rem); }
.reading-item + .reading-item { border-left: 1px solid var(--line); }
.reading-item h3 { margin: .4rem 0 .55rem; }
.reading-item h3 a { text-decoration: underline; text-decoration-color: #7fa4b5; text-underline-offset: .18em; }
.reading-item h3 a:hover { color: var(--brand-dark); text-decoration-color: currentColor; }
.reading-item > p:last-child { color: var(--muted); font: var(--small); }
.questions-list { border-top: 1px solid #a9c6d4; }
.question { border-bottom: 1px solid var(--line); }
.question > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .7rem;
    cursor: pointer;
    padding: .95rem .18rem;
    min-height: 3.4rem;
    font: var(--label);
}
.question > summary::-webkit-details-marker { display: none; }
.question > summary:hover, .question[open] > summary { color: var(--brand-dark); }
.question > summary::after {
    content: "";
    flex: 0 0 .76rem;
    height: .76rem;
    background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,
                linear-gradient(currentColor,currentColor) center/1px 100% no-repeat;
    transition: transform var(--motion-open) var(--motion-ease);
}
.question[open] > summary::after { transform: rotate(45deg); }
.question-answer { padding: 0 .18rem 1.05rem; }
.question-answer > p { color: var(--muted); }
.question-answer .text-link { margin-top: .65rem; }
.question[open] .question-answer { animation: panel-open var(--motion-open) var(--motion-ease) both; }

@media (max-width: 61rem) {
    .work-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
    .work-feature { min-height: 10.35rem; }
    .work-feature-copy { padding: .75rem .72rem; }
    .work-feature-copy p { font: var(--caption); }
    .work-panel { grid-template-columns: 1fr; min-height: 0; }
    .work-prep { border-left: 0; border-top: 1px solid #cadce4; padding: .8rem 0 0; }
    .approach-layout, .questions-layout, .reading-list { grid-template-columns: 1fr; }
    .reading .section-head .text-link { margin-top: .55rem; }
    .reading-item { padding-inline: 0; }
    .reading-item + .reading-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
    .work-feature:hover img, .work-feature:focus-visible img { transform: none; }
    .question[open] .question-answer { animation: fade-in .22s ease-out both; }
}
.neoul-inner { padding-block:var(--section); min-height:55vh; }
.neoul-inner .entry-header { border-bottom:1px solid var(--line); padding-bottom:2rem; margin-bottom:2rem; }
.neoul-inner .entry-header h1 { margin-top:.45rem; font:var(--display); }
.neoul-inner .entry-header p:not(.eyebrow), .profile-copy > p:not(.eyebrow) { color:var(--muted); margin-top:.7rem; }
.neoul-entry .entry-content { display:flow-root; }
.neoul-entry .entry-content > :where(h2,h3,ul,ol,p) { max-width:56rem; margin:0 0 1.1rem; }
.neoul-entry .entry-content > :where(h2,h3) { margin-top:1.65rem; }
.neoul-entry > .button { margin-top:2rem; }
.neoul-entry .bio-photo { width:min(100%,18rem); height:auto; margin-bottom:1.5rem; }
.neoul-directory { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap:2.5rem 2rem; }
.neoul-directory article { border-top:1px solid var(--line); padding-block:1.3rem; }
.neoul-directory img { width:100%; height:15rem; object-fit:cover; object-position:center 25%; margin-bottom:1.3rem; }
.neoul-directory h2 { font:var(--subheading); }
.neoul-directory article p { color:var(--muted); margin-top:.5rem; }
.neoul-directory a:hover, .entry-content p a { text-decoration:underline; text-underline-offset:.2em; }
.neoul-header .brand { line-height:1; }
.work-feature-copy:empty { display:none; }
@media(max-width:48rem) { .neoul-inner { padding-block:2.8rem; } .neoul-directory { gap:1rem; } }

.illustrated-entry { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(18rem,.75fr); column-gap:clamp(2rem,6vw,6rem); align-items:start; }
.illustrated-entry .entry-header { grid-column:1/-1; }
.illustrated-entry .entry-photo { grid-column:2; grid-row:2/5; margin:0; position:sticky; top:calc(var(--header) + 1.5rem); }
.illustrated-entry .entry-photo img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.type-neoul_person .entry-photo img { aspect-ratio:4/5; object-position:50% 20%; }
.illustrated-entry .entry-content, .illustrated-entry > .button { grid-column:1; }
.illustrated-entry > .button { justify-self:start; }
.neoul-inner .entry-header, .neoul-inner .entry-content { animation:enter var(--motion-enter) var(--motion-ease) both; }
@media(max-width:48rem) { .illustrated-entry { display:block; } .illustrated-entry .entry-photo { position:static; margin:0 0 1.5rem; } .illustrated-entry .entry-photo img { max-height:20rem; } }
@media(prefers-reduced-motion:reduce) { .neoul-inner .entry-header, .neoul-inner .entry-content { animation:fade-in 220ms ease both; } }


.nav-drawer:not([open]) { display: none; }
@media screen {
    .neoul-header {
        z-index: 30;
        background-color: transparent;
        border-color: transparent;
        transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
    }
    .neoul-header.is-scrolled {
        background-color: #fff;
        border-color: var(--line);
        box-shadow: 0 3px 18px rgb(13 45 66 / 8%);
    }
    .home .neoul-header { margin-bottom: calc(-1 * var(--header)); }
    .home .hero { position: relative; isolation: isolate; }
    .home .hero-main { padding-top: calc(var(--header) + 3rem); }
    .home .hero::after {
        content: ""; position: absolute; inset: 0 0 auto;
        height: calc(var(--header) + 2rem);
        background: linear-gradient(to bottom, rgb(4 22 36 / 78%), rgb(4 22 36 / 55%) 70%, transparent);
        pointer-events: none; z-index: 2;
    }
    .home .neoul-header:not(.is-scrolled),
    .home .neoul-header:not(.is-scrolled) .header-call { color: white; }
    .home .neoul-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
    .neoul-header .nav-fields-panel { color: var(--ink); }
    .home .neoul-header:not(.is-scrolled) .site-nav > a:hover,
    .home .neoul-header:not(.is-scrolled) .nav-fields summary:hover { color: #c5e3ef; }
    .home .neoul-header:not(.is-scrolled) .header-call { border-color: rgb(255 255 255 / 50%); }
    body:not(.home) .neoul-header:not(.is-scrolled) { color: var(--brand-dark); }
    .neoul-header .brand img { transition: filter .2s ease; }
    html.drawer-open { overflow: hidden; }
}
@media screen and (max-width: 48rem) {
    .home .hero-main { padding-top: calc(var(--header) + 2rem); }
    .has-drawer .header-layout { flex-wrap: nowrap; }
    .nav-drawer[open] {
        position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0 1.35rem 2rem;
        width: min(86vw, 24rem); max-width: 100vw; height: 100%; height: 100dvh;
        max-height: 100dvh; border: 0; box-sizing: border-box; color: var(--ink);
        background: #fff; box-shadow: -12px 0 48px rgb(9 39 57 / 16%);
        overflow-y: auto; overscroll-behavior: contain; animation: drawer-enter .25s ease-out both;
    }
    .nav-drawer::backdrop { background: rgb(6 30 46 / 56%); }
    .drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); gap: 1rem; }
    .drawer-top .brand img { width: 9rem; }
    .drawer-close { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
    .drawer-close span { font: 400 2rem/1 sans-serif; }
    .nav-drawer .site-nav { display: grid; gap: 0; }
    .nav-drawer .site-nav > a, .nav-drawer summary { min-height: 3.5rem; }
    .nav-drawer .nav-fields-panel { animation: none; }
    .nav-drawer .site-nav :focus-visible, .drawer-close:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
    @keyframes drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
    @media (prefers-reduced-motion: reduce) { .nav-drawer[open] { animation: fade-in .12s ease-out both; } }
}

/* The main photo and both contact options stay together on small screens. */
@media screen {
    .home .hero-layout { position: relative; display: grid; grid-template-columns: 1fr; place-items: center; min-height: clamp(37rem, 77svh, 55rem); max-width: none; }
    .home .hero-photo { position: absolute; inset: 0; aspect-ratio: auto; }
    .home .hero-photo img { object-position: 54% 54%; }
    .home .hero-photo::after { background: linear-gradient(180deg, rgb(4 25 38 / 48%), rgb(5 33 51 / 73%) 49%, rgb(3 25 39 / 70%)); }
    .home .hero-main { width: min(100%, 64rem); padding: calc(var(--header) + 3rem) var(--gutter) 4.4rem; text-align: center; }
    .home .hero-eyebrow, .home .hero-actions { justify-content: center; }
    .home .hero-eyebrow { color: #dfedf3; }
    .home .hero-eyebrow::before { display: none; }
    .home .hero-line-accent { color: #d0effc; }
    .home .hero-lead { max-width: 34rem; margin: 1.3rem auto 0; color: #fff; word-break: keep-all; }
    .hero-call { gap: .45rem; }
    .hero-call strong { font-variant-numeric: tabular-nums; }
    .hero-actions .button-outline { border-color: rgb(255 255 255 / 80%); background: rgb(6 35 51 / 56%); }
    .nav-fields-panel { width: 12.5rem; display: block; padding: .4rem; }
    .nav-fields-panel .nav-overview { display: block; padding: .7rem; }
    .nav-field-group { display: block; }
    .nav-field-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 2.8rem; padding: .5rem .7rem; cursor: pointer; list-style: none; }
    .nav-field-group > summary::-webkit-details-marker { display: none; }
    .nav-field-group > summary::after { content: ''; width: .4rem; height: .4rem; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
    .nav-field-group[open] > summary, .home .neoul-header:not(.is-scrolled) .nav-field-group > summary:hover { background: var(--pale); color: var(--brand-dark); }
    .nav-child-links a { padding: .3rem .7rem; color: var(--ink); }
    .nav-child-links a:hover { color: var(--brand-dark); background: var(--pale); }
}
@media screen and (min-width: 48.001rem) {
    .nav-fields[open] .nav-fields-panel { animation: fade-in .18s ease-out; }
    .nav-field-group { position: relative; }
    .nav-child-links { position: absolute; left: 100%; top: 0; width: 12rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgb(12 43 61 / 12%); padding: .35rem; }
    .nav-field-group:not([open]) .nav-child-links { display: none; }
}
@media screen and (max-width: 48rem) {
    .home .hero-layout { min-height: clamp(31rem, 76svh, 42rem); }
    .home .hero-main { padding: calc(var(--header) + 3rem) 1.15rem 4rem; }
    .home .hero-photo img { object-position: 61% center; }
    .hero-actions { column-gap: .5rem; }
    .hero-actions .button { padding-inline: .8rem; }
    .nav-drawer .nav-fields-panel { width: 100%; padding: .3rem .5rem; }
    .nav-drawer .nav-field-group > summary { min-height: 2.9rem; }
    .nav-drawer .nav-field-group > summary::after { transform: rotate(135deg); }
    .nav-drawer .nav-field-group[open] > summary::after { transform: rotate(-45deg); }
    .nav-drawer .nav-child-links { border-left: 2px solid var(--brand); margin: 0 .6rem .45rem; padding-left: .25rem; }
    .nav-drawer .nav-child-links a { min-height: 2.75rem; }
}

@media screen and (max-width: 23rem) {
    .home .hero-actions { display: grid; width: min(100%, 15rem); margin-inline: auto; }
}

/* Image-led case cards share their layout with the case directory. */
.cases.section { background: #f5f8fa; }
.cases .section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.cases .section-head .text-link { position: absolute; inset-inline-end: 0; align-self: end; }
.case-grid, .js .case-grid { gap: clamp(14px,1.5vw,24px); border: 0; padding: 3px 3px 12px; }
.js .case-grid { grid-auto-columns: calc((100% - 2 * clamp(14px,1.5vw,24px)) / 3); }
.case-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: clamp(16px,2vw,30px); }
.case-grid .case, .case-directory .case { display: block; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 0; background: transparent; }
.case-card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid #dbe5eb; background: #fff; color: var(--navy); box-shadow: 0 3px 9px rgba(24,53,72,.045); text-decoration: none; }
.case-card-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.case-cover { position: relative; width: 100%; aspect-ratio: 1.82; overflow: hidden; background: #173c51; }
.case-cover img { height: 100%; width: 100%; object-fit: cover; }
.case-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(6,27,41,.78),transparent 80%); }
.case-field { position: absolute; left: clamp(18px, 2vw, 28px); bottom: 16px; z-index: 1; font-size: clamp(20px,2vw,30px); font-weight: 700; line-height: 1.25; letter-spacing: -.045em; color: white; }
.case-copy { width: 100%; box-sizing: border-box; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px,2vw,28px); gap: 10px; }
.case-copy h2, .case-copy h3 { margin: 0; color: #18384a; line-height: 1.4; font-size: clamp(20px,1.65vw,25px); font-weight: 700; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
.case .case-copy p { margin: 0 0 8px; line-height: 1.65; color: #465d68; font-size: 15px; }
.case-kind { background: #e9f3f8; color: #165771; border-radius: 4px; padding: 3px 8px; font-size: 13px; line-height: 1.45; font-weight: 650; }
.case-card-more { display:flex; justify-content: space-between; align-items:center; width: 100%; margin-top: auto; border-top:1px solid #e1e9ed; padding-top: 13px; color: var(--brand-dark); font-size: 14px; font-weight: 650; }
.case-card-link:hover .case-card-more { text-decoration: underline; text-underline-offset: 3px; }
.case-card-more span { font-size: 18px; line-height: 1; }
@media (max-width: 62rem) { .js .case-grid { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 48rem) {
    .cases .section-head { gap: 12px; }
    .cases .section-head .text-link { position: static; justify-self: center; }
    .js .case-grid { grid-auto-columns: 87%; gap: 12px; }
    .case-grid:not(.js .case-grid) { grid-template-columns: 1fr; }
    .case-cover { aspect-ratio: 1.7; }
}

/* Opening screens and the common subpage masthead. */
@media screen {
    .home .hero-layout { min-height: 100vh; min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)); }
    .home .neoul-header { margin-bottom: calc(-1 * var(--header) - 1px); }
    body:not(.home) .neoul-header { margin-bottom: calc(-1 * var(--header) - 1px); }
    body:not(.home) .neoul-header:not(.is-scrolled), body:not(.home) .neoul-header:not(.is-scrolled) .header-call { color: #fff; }
    body:not(.home) .neoul-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
    body:not(.home) .neoul-header:not(.is-scrolled) .header-call { border-color: rgb(255 255 255 / 40%); }
}
.neoul-inner:has(.subhero) { padding-top: 0; }
.subhero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(19rem, 26vw, 26rem); background: #17394c; color: #fff; overflow: hidden; }
.subhero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.subhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(8 34 50 / 92%), rgb(8 34 50 / 79%) 40%, rgb(8 34 50 / 24%) 90%), linear-gradient(to bottom, rgb(7 24 38 / 64%), transparent 56%); }
.subhero-inner { padding-block: calc(var(--header) + 3rem) clamp(2.4rem, 4.8vw, 4.8rem); animation: enter var(--motion-enter) var(--motion-ease) both; }
body .subhero .subhero-inner h1 { max-width: 24em; margin: 0; color: #fff; font: var(--display) !important; letter-spacing: -.052em; word-break: keep-all; overflow-wrap: anywhere; }
.subhero .subhero-inner p { max-width: 45rem; margin: .8rem 0 0; color: #eff6fa; font: var(--body); }
.subhero .subhero-parent { display: inline-block; margin-bottom: .65rem; color: #e1f0f6; font: var(--label); text-underline-offset: .25em; }
.subhero-parent:hover { text-decoration: underline; }
.subhero + .frame { padding-top: clamp(2.4rem, 5vw, 5rem); }
.neoul-directory article { border: 0; padding-block: 0; }
.illustrated-entry .entry-photo { grid-row: 1 / span 3; }
.neoul-float { position: fixed; z-index: 12; right: max(clamp(1rem,2.6vw,2.7rem), env(safe-area-inset-right)); bottom: max(1.2rem,env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .55rem; min-height: 3.2rem; padding: .65rem 1.2rem; border-radius: 99rem; background: #00658c; color: #fff; font: var(--label); box-shadow: 0 4px 16px rgb(3 28 44 / 25%); }
.neoul-float:hover, .neoul-float:focus-visible { background: #074563; color: #fff; }
.neoul-float:focus-visible { outline: 3px solid #7bd6ff; outline-offset: 3px; }
.neoul-float svg { width: 1.35rem; height: 1.35rem; flex: none; }
html.drawer-open .neoul-float { visibility: hidden; }
body:has(.neoul-float) .neoul-footer { padding-bottom: max(4.8rem, calc(3.5rem + env(safe-area-inset-bottom))); }
.inquiry-layout { display: grid; grid-template-columns: minmax(12rem,.62fr) minmax(0,1.3fr); gap: clamp(2rem,7vw,8rem); max-width: 72rem; margin: auto; }
.inquiry-contact h2 { margin: 0 0 .45rem; font: var(--label); color: var(--muted); }
.inquiry-contact a { font: var(--subheading); color: var(--brand-dark); white-space: nowrap; }
body .inquiry-body h2 { font: var(--heading) !important; color: var(--ink); margin: 0; }
.inquiry-lead, .inquiry-success p { margin: .65rem 0 2rem; color: var(--muted); font: var(--body); }
.inquiry-form { display: grid; gap: 1.35rem; font: var(--body); }
.inquiry-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inquiry-form label { display: block; color: var(--ink); font: var(--label); }
.inquiry-form label small, .inquiry-help { color: var(--muted); font: var(--small); }
.inquiry-form :is(input:not([type=checkbox],[type=hidden]),select,textarea) { box-sizing: border-box; display: block; width: 100%; margin-top: .45rem; padding: .8rem .9rem; min-height: 3rem; border: 1px solid #90a6b2; border-radius: 6px; background: #fff; color: var(--ink); font: var(--body); }
.inquiry-form textarea { resize: vertical; min-height: 9rem; }
.inquiry-form :is(input,textarea,select):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.inquiry-form .inquiry-consent { display: flex; align-items: flex-start; gap: .7rem; font: var(--small); }
.inquiry-consent input { flex: none; width: 1.16rem; height: 1.16rem; margin: .18rem 0 0; accent-color: var(--brand-dark); }
.inquiry-help { margin: -.8rem 0 0; }
.inquiry-submit { justify-self: start; border-radius: 6px; cursor: pointer; }
.inquiry-trap { display: none; }
.inquiry-errors { color: #8b2737; margin: 1rem 0; }
#inquiry-status { scroll-margin-top: calc(var(--header) + 1rem); }
@media (max-width: 48rem) {
    .subhero { min-height: 15.5rem; }
    .subhero-inner { padding-block: calc(var(--header) + 2.2rem) 2.3rem; }
    .subhero::before { background: linear-gradient(100deg,rgb(5 31 49 / 87%),rgb(5 31 49 / 58%)); }
    .neoul-float { min-height: 2.85rem; padding: .55rem .95rem; right: max(.9rem,env(safe-area-inset-right)); bottom: max(.9rem,env(safe-area-inset-bottom)); }
    .inquiry-layout { display: flex; flex-direction: column; gap: 2.5rem; }
    .inquiry-body { order: -1; }
    .inquiry-pair { grid-template-columns: 1fr; }
    .inquiry-submit { width: 100%; }
}
@media (max-height: 32rem) and (min-width: 40rem) { .home .hero-main { padding-block: calc(var(--header) + .8rem) 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .subhero-inner { animation: fade-in 220ms ease both; } }
@media print { .neoul-float, .subhero-image, .subhero::before { display: none; } .subhero { min-height: 0; background: white; } .subhero-inner { padding: 0; } body .subhero .subhero-inner h1 { color: #111; } }

/* Keep decoration subordinate to the address, photographs and text links. */
:root {
    --editor-title: 640 clamp(1.65rem, 2.55vw, 2.55rem)/1.32 var(--sans);
    --editor-lead: 450 clamp(1.0625rem, 1.4vw, 1.3rem)/1.72 var(--sans);
    --paper: #f4f8f8;
}
.neoul-header .header-call { border: 0; padding-left: 0; }
.neoul-header, .neoul-header.is-scrolled { border-color: transparent; }
.visit .location { border: 0; }
.reading-list, .library-index { display: grid; gap: clamp(1.1rem,2.6vw,2.4rem); border: 0; }
.reading-list .reading-item, .library-index .reading-item { padding: 0; border: 0; }
.reading-link { display: block; height: 100%; color: var(--ink); text-decoration: none; }
.reading-link:is(:hover,:focus-visible) :is(h2,h3) { color: var(--brand-dark); }
.reading .text-link, .reading a, .reading a:hover, .library-index a { text-decoration: none; border: 0; }
.reading .text-link { color: var(--brand-dark); font: var(--label); }
.reading .text-link:hover { color: var(--navy); }
.reading-meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: baseline; color: var(--muted); font: var(--caption); }
.reading-meta span { color: var(--brand-dark); }
.reading-item .reading-link :is(h2,h3) { margin: .55rem 0 0; font: var(--subheading); letter-spacing: -.04em; }
.reading-list .reading-link { padding: .5rem 0; }
.library-index { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(2rem,6vw,6.5rem); row-gap: clamp(2.5rem,4.4vw,4rem); max-width: 70rem; margin-inline: auto; }
.library-index .reading-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); margin: .75rem 0 0; font: var(--body); }
.subhero-inner { padding-bottom: clamp(2.6rem,4.4vw,4.2rem); }
.subhero h1 { text-wrap: balance; }
.neoul-inner .navigation.pagination { margin: 3rem auto 0; text-align: center; }
.neoul-inner .nav-links .page-numbers { display: inline-block; padding: .4rem .65rem; }
.neoul-inner .nav-links .current { border-radius: .25rem; background: var(--pale); color: var(--brand-dark); }
.arrival { display: grid; grid-template-columns: minmax(17rem,.78fr) minmax(0,1.45fr); column-gap: clamp(2.5rem,6vw,6rem); align-items: start; }
.arrival-info { padding-block: .5rem; }
.arrival-info h2 { font: var(--editor-title); color: var(--ink); letter-spacing: -.048em; margin: 0; max-width: 13em; }
.arrival-info .arrival-landmark { font: var(--body); color: var(--muted); margin: .8rem 0 0; }
.arrival-map-link { display:inline-flex; align-items:center; justify-content:center; min-height: 2.9rem; padding: .65rem 1.15rem; margin-top: 1.4rem; border: 0; border-radius: 5px; color: #fff; background: var(--brand-dark); font: var(--label); text-decoration: none; }
.arrival-map-link:hover { background: var(--navy); color: white; }
.arrival-parking { margin: 2.1rem 0 0; }
.arrival-parking h3 { margin: 0; font: var(--label); color: var(--ink); }
.arrival-parking p { margin: .35rem 0 0; color: var(--muted); font: var(--body); }
.arrival-contacts { display: grid; gap: .65rem; margin: 1.55rem 0 0; }
.arrival-contacts div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: .4rem; }
.arrival-contacts dt { font: var(--small); color: var(--muted); }
.arrival-contacts dd { margin: 0; font: var(--label); color: var(--ink); }
.arrival-contacts a:hover { color: var(--brand-dark); }
.arrival-map { background: var(--paper); border-radius: .6rem; overflow: hidden; }
.arrival-map iframe { display: block; width: 100%; height: clamp(24rem,35vw,32rem); border: 0; }
.practice-directory { display: grid; gap: clamp(3rem,6vw,6rem); }
.practice-group { display: grid; grid-template-columns: minmax(13rem,.72fr) minmax(0,1.55fr); gap: clamp(1.75rem,5vw,5rem); align-items: start; }
.practice-group-cover { position: relative; isolation: isolate; overflow: hidden; min-height: 13.5rem; aspect-ratio: 1.38; display: flex; align-items: end; background: var(--navy); border-radius: 6px; }
.practice-group-cover img, .practice-group-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.practice-group-cover::after { content: ""; z-index: -1; background: linear-gradient(0deg, rgb(6 28 40 / 83%), transparent 75%); }
.practice-group-cover h2 { margin: 0; padding: clamp(1.2rem,2vw,2rem); color: #fff; font: var(--editor-title); letter-spacing: -.045em; }
.practice-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 1.75rem 2.2rem; padding: 0; margin: 0; list-style:none; }
.practice-links a { display: block; text-decoration: none; }
.practice-links h3, .profile-info h2 { margin: 0; color: var(--ink); font: var(--subheading); letter-spacing: -.045em; }
.practice-links p, .profile-info p { margin: .45rem 0 0; font: var(--body); color: var(--muted); }
.practice-links a:hover h3, .profile-person:hover h2 { color: var(--brand-dark); }
.team-directory { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.8rem,4vw,4rem); }
.profile-person { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(1rem,2vw,2rem); align-items: center; color: var(--ink); }
.profile-person img { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 5px; object-fit: cover; object-position: 50% 20%; }
.profile-info h2 { font: var(--editor-title); }
.profile-info p { font: var(--small); }
.profile-info .profile-more { display:block; margin-top: 1.1rem; color: var(--brand-dark); font: var(--label); }
.service-layout { display: grid; grid-template-columns: minmax(13rem,.58fr) minmax(0,1.55fr); align-items: start; gap: clamp(2.4rem,6vw,6rem); max-width: 68rem; margin-inline: auto; }
.service-nav { background: var(--paper); border: 0; padding: 1.5rem 1.65rem; border-radius: 6px; }
.service-nav h2 { margin: 0 0 .65rem; color: var(--ink); font: var(--subheading); }
.service-nav a { padding: .35rem 0; display: block; width: fit-content; color: var(--muted); font: var(--small); }
.service-nav a[aria-current], .service-nav a:hover { color: var(--brand-dark); font-weight: 650; }
.neoul-entry.type-neoul_case, .neoul-entry.type-post { max-width: 49rem; margin-inline: auto; }
.neoul-entry.illustrated-entry { max-width: 62rem; margin-inline: auto; }
.neoul-entry.illustrated-entry .entry-photo img { border-radius: 6px; }
.neoul-entry:is(.type-neoul_field,.type-neoul_person,.type-neoul_case) .entry-content > h2 { font: var(--subheading); margin: 2rem 0 .75rem; color: var(--ink); }
.neoul-entry:is(.type-neoul_field,.type-neoul_person) .entry-content > :first-child { margin-top: 0; }
.neoul-entry:is(.type-neoul_case,.type-neoul_field) .entry-content > p:first-child { font: var(--editor-lead); color: var(--ink); margin-bottom: 1.4rem; }
.neoul-entry:is(.type-neoul_case,.type-neoul_field,.type-neoul_person) .entry-content li { margin: .3rem 0; }
.service-content > .button { margin-top: 1.6rem; }
.case-card-more { border: 0; padding-top: .25rem; }
.neoul-float { padding-inline: 1.4rem; border-radius: 1.6rem; }
.neoul-inner .entry-content .elementor-widget-divider:has(.elementor-divider-separator:empty) { display: none; }
.neoul-inner .entry-content .elementor-widget-icon-list .elementor-icon-list-item:has(.elementor-icon-list-icon) { gap: .6rem; align-items: baseline; }
.neoul-inner .entry-content .elementor-icon-list-icon:has(i[aria-hidden=true]) { width: .3rem; min-width: .3rem; height: .3rem; border-radius: 50%; background: var(--brand-dark); align-self: baseline; transform: translateY(-.17em); }
.neoul-inner .entry-content .elementor-icon-list-icon i[aria-hidden=true] { display: none; }
.neoul-inner .entry-content .elementor-widget-button .elementor-button { background: var(--brand-dark); border: 0; border-radius: 5px; padding: .82rem 1.25rem; font: var(--label); }
.neoul-inner .entry-content .elementor-widget-heading .elementor-heading-title, .neoul-inner .entry-content .elementor-widget-text-editor, .neoul-inner .entry-content .elementor-icon-list-text { font-family: var(--sans); }
.neoul-inner .entry-content .elementor-icon-box-icon:not(:has(a[href])):has(+ .elementor-icon-box-content) { display: none; }
@media (max-width: 60rem) {
    .profile-person { grid-template-columns: 1fr; align-content: start; }
    .profile-person img { max-height: 24rem; }
}
@media (max-width: 48rem) {
    .arrival { grid-template-columns: 1fr; gap: 2rem; }
    .arrival-map iframe { height: 20rem; }
    .arrival-parking { margin-top: 1.6rem; }
    .library-index, .practice-group { grid-template-columns: 1fr; }
    .practice-group-cover { aspect-ratio: 2.2; min-height: 8rem; }
    .practice-links { gap: 1.4rem; }
    .team-directory { grid-template-columns: 1fr; }
    .profile-person { grid-template-columns: minmax(5.5rem,.75fr) minmax(0,1fr); }
    .profile-person img { max-height: 16rem; }
    .service-layout { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 2.2rem; }
    .service-nav { padding: 1.25rem; }
    .service-nav div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
    .reading-list { gap: 1.25rem; }
}
@media (max-width: 28rem) { .practice-links { grid-template-columns: 1fr; } }

.arrival { grid-template-areas: 'address map' 'details map'; grid-template-rows: auto 1fr; row-gap: clamp(1.5rem,2.6vw,2.5rem); }
.arrival-info { grid-area: address; padding: 0; }
.arrival-region { margin: 0 0 .45rem; color: var(--brand-dark); font: var(--label); }
.arrival-details { grid-area: details; }
.arrival-details .arrival-parking { margin-top: 0; }
.arrival-map { grid-area: map; }
@media (max-width:48rem) {
    .arrival { grid-template-areas: 'address' 'map' 'details'; grid-template-rows:auto; }
    .arrival-map iframe { height: clamp(16rem,75vw,20rem); }
}

/* Treat imported Elementor panels as part of the same publication. */
.neoul-inner .entry-content .elementor-section.neoul-legacy-paper,
.neoul-inner .entry-content .elementor-column.neoul-legacy-paper > .elementor-widget-wrap { background-color: var(--paper); }
.neoul-inner .entry-content .elementor-section.neoul-legacy-navy { background-color: var(--navy); }
.neoul-inner .entry-content .elementor-top-section:has(img[alt="text_white"]):has(table) { margin-top: 2.5rem; padding-block: 1rem; border-radius: 5px; }
.neoul-inner .entry-content .elementor-top-section:has(img[alt="text_white"]):has(table) :is(table, td, th, a) { border: 0; text-decoration: none; }
.neoul-inner .entry-content .elementor-top-section:has(img[alt="text_white"]):has(table) a:focus-visible { outline: 2px solid white; }
.neoul-inner .entry-content .elementor-top-section:has(img[alt="text_white"]):has(table) .elementor-widget-heading .elementor-heading-title { font: var(--label); }
.neoul-inner .entry-content .elementor-widget-text-editor p { line-height: 1.78; }

.library-index > .navigation { grid-column: 1 / -1; }
.arrival-map-link .screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Keep the photo and its caption inside one continuous corner on every card. */
.home .work-feature { border-radius: clamp(.75rem, 1.15vw, 1.1rem); }
.home .work-feature-copy { border-bottom: 0; }
.home .work-directory { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.home .work-picker { border-radius: .75rem; overflow: hidden; }

.subhero { align-items: center; }
.subhero::before {
    background: linear-gradient(180deg, rgb(7 28 43 / 71%), rgb(9 32 46 / 57%) 52%, rgb(7 27 40 / 66%)),
                linear-gradient(90deg, transparent, rgb(9 33 49 / 22%) 50%, transparent);
}
.subhero-inner {
    --banner-space: clamp(2.15rem, 4vw, 3.75rem);
    padding-block: calc(var(--header) + var(--banner-space)) var(--banner-space);
    text-align: center;
}
body .subhero .subhero-inner h1, .subhero .subhero-inner p { margin-inline: auto; }
.subhero .subhero-inner p { text-wrap: balance; }

@media screen and (prefers-reduced-motion: no-preference) {
    .home .hero-photo img {
        --photo-travel: clamp(24px, 5vw, 72px);
        top: calc(-1 * var(--photo-travel));
        height: calc(100% + var(--photo-travel));
        translate: 0 calc(var(--scroll-progress, 0) * var(--photo-travel));
        animation: neoul-photo-settle 1.65s var(--motion-ease) both;
    }
    .home .hero-photo::before { display: none; }
    @keyframes neoul-photo-settle {
        from { opacity: .78; transform: scale(1.055); }
        to { opacity: 1; transform: scale(1); }
    }
    .home .work-feature:nth-child(even), .home .profile:nth-child(2) { --card-delay: 70ms; }
    .has-reveal .work-feature.revealed, .has-reveal .profile.revealed { animation-delay: var(--card-delay, 0s); }
}
@media screen and (min-width: 62rem) and (prefers-reduced-motion: no-preference) {
    .home .work-feature:nth-child(3) { --card-delay: 140ms; }
    .home .work-feature:nth-child(4) { --card-delay: 210ms; }
}
@media screen and (max-width: 35rem) {
    .home .profile:nth-child(2) { --card-delay: 0s; }
}
.has-reveal :is(.work-feature,.profile)[data-reveal]:focus-within { animation: none; opacity: 1; transform: none; }

/* Subpage titles and paths */
:root { --subpage-title: 650 clamp(2rem, 3.65vw, 3.85rem)/1.22 var(--sans); }
body .subhero .subhero-inner :is(h1,.subhero-name) {
    margin: 0 auto; max-width: 24em; font: var(--subpage-title) !important; color: #fff;
    letter-spacing: -.048em; text-wrap: balance; overflow-wrap: anywhere; word-break: keep-all;
}
.neoul-crumb { margin: 0 auto .7rem; color: #f0f6f9; font: var(--small); }
.neoul-crumb ol { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .12rem 0; margin: 0; padding: 0; list-style: none; }
.neoul-crumb li { display: inline-flex; align-items: baseline; max-width: 100%; min-width: 0; }
.neoul-crumb li + li::before { content: ""; width: .34rem; height: .34rem; border: solid currentColor; border-width: 1px 1px 0 0; transform: translateY(-.13em) rotate(45deg); margin: 0 .65rem; flex: none; opacity: .72; }
.neoul-crumb a { color: inherit; text-decoration: none; padding-block: .2rem; }
.neoul-crumb a:hover,.neoul-crumb a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.neoul-crumb li[aria-current] span { max-width: min(38ch,62vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.single-neoul_case .subhero { min-height: clamp(15rem,21vw,20rem); }
.case-directory { max-width: 71rem; margin-inline: auto; gap: clamp(1.5rem,3.5vw,3.3rem); }
.case-directory .case-cover { border-radius: .75rem; }
@media(min-width: 56rem) {
    .case-directory { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .case-directory > .case:first-child { grid-column: 1 / -1; }
    .case-directory > .case:first-child .case-card-link { display: grid; grid-template-columns: 1.18fr 1fr; overflow: hidden; background: var(--paper); border-radius: .85rem; }
    .case-directory > .case:first-child .case-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem,4vw,4rem); }
    .case-directory > .case:first-child .case-copy h2 { font: var(--editor-title); }
    .case-directory > .case:first-child .case-cover { border-radius: 0; height: 100%; min-height: 16rem; }
}
.neoul-entry.type-neoul_case, .neoul-entry.type-post { max-width: 70rem; }
.story-opening { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.82fr); align-items: stretch; overflow: hidden; border-radius: .9rem; color: var(--ink); background: var(--paper); margin-bottom: clamp(2rem,4.4vw,4.5rem); }
.story-opening:not(:has(.story-image)) { grid-template-columns: 1fr; }
.story-heading { padding: clamp(1.5rem,4.2vw,4rem); align-self: center; }
.story-topic { display: flex; align-items: center; gap: .75rem; color: var(--brand-dark); font: var(--label); margin: 0 0 .8rem; }
.story-topic span { border-radius: 2rem; padding: .16rem .65rem; background: #dbe9ee; color: #1d5268; font: var(--caption); }
.story-heading h1 { margin: 0; font: var(--heading); letter-spacing: -.052em; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.story-lead { margin: 1rem 0 0; font: var(--body); color: var(--muted); }
.story-image { margin: 0; position: relative; min-height: 15rem; }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-reading { display: grid; grid-template-columns: minmax(11rem,.57fr) minmax(0,1.9fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.story-margin { position: sticky; top: calc(var(--header) + 1.5rem); align-self: start; color: var(--muted); }
.article-contents h2 { margin: 0 0 .75rem; font: var(--label); color: var(--ink); }
.article-contents ol { padding: 0; margin: 0; list-style: none; }
.article-contents li { margin: 0; }
.article-contents a { display: block; padding: .33rem 0; font: var(--small); color: var(--muted); overflow-wrap: anywhere; }
.article-contents a:hover,.back-to-list:hover { color: var(--brand-dark); text-decoration: underline; }
.back-to-list { display: inline-flex; padding-block: .65rem; margin-top: .85rem; color: var(--brand-dark); font: var(--label); }
.story-column { min-width: 0; max-width: 47rem; }
.neoul-entry.type-neoul_case .story-prose > h2 { margin: 2.1rem 0 .65rem; font: var(--editor-title); letter-spacing: -.045em; }
.story-prose { font: var(--body); }
.story-prose > :first-child { margin-top: 0; }
.story-prose :is(h2,h3),.library-prose :is(h2,h3) { scroll-margin-top: calc(var(--header) + 1.6rem); }
.neoul-entry .sample-story .story-prose > p:first-child { background: #edf5f6; padding: 1rem 1.25rem; border-radius: .5rem; font: var(--small) !important; color: #284b58 !important; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; margin-top: 2.25rem; font: var(--label); }
.library-reading .story-margin time { display: block; margin: -.4rem 0 1.1rem; font: var(--small); }
.library-prose { min-width: 0; }
.library-index .reading-link { display: block; height:100%; padding: clamp(1.3rem,2.5vw,2.25rem); background: var(--paper); border-radius: .75rem; }
.library-index { gap: 1.15rem; }
.library-index .reading-link:hover { background: #e9f2f5; }
.field-image { display:block; width:100%; height:clamp(9rem,18vw,15rem); object-fit:cover; border-radius:.65rem; margin-bottom:1.45rem; }
.service-content .entry-content > ul { list-style: none; display: grid; gap: .5rem; padding: 0; }
.service-content .entry-content > ul > li { margin:0; padding:.8rem 1rem; background:var(--paper); border-radius:.45rem; }
.neoul-entry.type-neoul_person .entry-content { padding: clamp(1.25rem,3vw,2.75rem); background:var(--paper); border-radius:.75rem; }
.neoul-entry.type-neoul_person .entry-content ul { margin: .8rem 0 0; padding-left: 1.2rem; }
.neoul-entry.type-neoul_person .entry-content li { padding: .33rem 0 .33rem .25rem; }
.neoul-entry.type-neoul_person .entry-content li::marker { color:var(--brand-dark); }
.team-directory .profile-person { background:var(--paper); border-radius:.75rem; overflow:hidden; }
.team-directory .profile-person img { border-radius:0; }
.team-directory .profile-info { padding:1.15rem; }
.practice-group-cover { border-radius:.75rem; overflow:hidden; }
.inquiry-layout { grid-template-columns:minmax(18rem,.85fr) minmax(0,1.3fr); gap:clamp(2rem,5.5vw,5.5rem); }
.inquiry-contact { position:sticky; align-self:start; top:calc(var(--header) + 1rem); width:100%; border-radius:.8rem; overflow:hidden; background:#edf3f5; }
.office-phone { background:#103c51; color:#fff; padding:1.45rem clamp(1.25rem,2.2vw,2rem); }
.office-phone h2 { color:#d2e8f0; font:var(--label); margin:0 0 .15rem; }
.office-phone a { display:inline-block; color:white; font:var(--editor-title); letter-spacing:-.037em; font-variant-numeric:tabular-nums; }
.office-phone p { margin:.45rem 0 0; color:#e5eff3; font:var(--small); }
.office-directory { margin:0; padding:1.2rem clamp(1.2rem,2.2vw,2rem) 1.45rem; display:grid; gap:1rem; }
.office-directory div { display:grid; grid-template-columns:3.5rem minmax(0,1fr); gap:.6rem; }
.office-directory dt { color:var(--brand-dark); font:var(--label); }
.office-directory dd { margin:0; color:var(--ink); font:var(--small); }
.office-directory dd strong,.office-directory dd span { display:block; }
.office-directory a { color:var(--brand-dark); font:var(--small); text-decoration:underline; text-underline-offset:.22em; white-space:normal; overflow-wrap:anywhere; }
.mobile-form-link { display:none; }
.inquiry-body { min-width:0; }
.inquiry-form { scroll-margin-top:calc(var(--header) + 1rem); }
@media(max-width:48rem) {
    .story-opening { grid-template-columns:1fr; }
    .story-image { min-height:0; aspect-ratio:2.65; }
    .story-reading { grid-template-columns:1fr; gap:1.4rem; }
    .story-margin { position:static; }
    .story-margin .back-to-list { margin:0; }
    .story-reading:has(.story-actions) .story-margin .back-to-list { display:none; }
    .article-contents ol { display:flex; flex-wrap:wrap; column-gap:1.05rem; }
    .article-contents h2 { margin-bottom:.25rem; }
    .inquiry-contact { position:static; }
    .inquiry-body { order:0; }
    .mobile-form-link { display:block; border-radius:0; padding:.7rem 1.25rem; background:#deebee; }
    .inquiry-contact a.mobile-form-link { font:var(--label); color:var(--brand-dark); }
    .story-heading { padding:1.4rem; }
    .single-neoul_case .subhero { min-height:13.5rem; }
}
@media(min-width:48.001rem) and (max-height:41rem) {
    .inquiry-contact,.story-margin { max-height:calc(100dvh - var(--header) - 2rem); overflow-y:auto; }
}
@media (prefers-reduced-motion: reduce) { .neoul-crumb { scroll-behavior:auto; } }


/* ==========================================================================
   v2.8.0 Client Revision Upgrades (Kmong #7753369 · 2026-11-24)
   - Balanced desktop typography & larger desktop top nav / footer
   - Flat 7-item practice menu & directory (no group split)
   - Custom color/text case badges
   - Member role label ('대표 공인노무사')
   - Readable labor info board toolbar, search, cards & prev/next pager
   ========================================================================== */

/* 1. Desktop Typography Scale Balance & Top Navigation / Footer Sizing */
@media screen and (min-width: 48.001rem) {
    :root {
        --display: 650 clamp(2.45rem, 3.45vw, 3.55rem)/1.18 var(--sans);
        --subpage-title: 650 clamp(2rem, 2.95vw, 3.05rem)/1.22 var(--sans);
        --heading: 650 clamp(1.85rem, 2.35vw, 2.45rem)/1.22 var(--sans);
        --subheading: 650 clamp(1.25rem, 1.5vw, 1.5rem)/1.38 var(--sans);
        --body: 400 1.0625rem/1.74 var(--sans);
        --small: 400 1rem/1.68 var(--sans);
        --label: 620 1.03125rem/1.4 var(--sans);
        --caption: 600 .90625rem/1.48 var(--sans);
        --header: 5.5rem;
    }
    .neoul-header .brand img { width: clamp(10.5rem, 13.5vw, 12.75rem); }
    .site-nav {
        font: 620 1.09375rem/1.4 var(--sans);
        gap: clamp(1rem, 2.05vw, 2.15rem);
    }
    .header-call {
        font: 700 1.09375rem/1.4 var(--sans);
    }
    .footer-layout {
        padding-block: 2.4rem;
        gap: 1.25rem 2.5rem;
        font: 450 1.0625rem/1.65 var(--sans);
    }
    .footer-layout .brand img {
        width: 12.75rem;
    }
    .footer-layout p:last-child {
        font: 550 1rem/1.5 var(--sans);
    }
}
@media screen and (min-width: 48.001rem) and (max-width: 74rem) {
    .site-nav {
        font-size: 1rem;
        gap: 1.05rem;
    }
    .header-call {
        font-size: 1rem;
    }
}

/* 2. Flat 7-Item Practice Dropdown (No Group Split) */
.nav-fields-panel.is-flat {
    width: 13.75rem;
    display: block;
    padding: .5rem;
}
.nav-fields-panel.is-flat .nav-overview {
    display: block;
    padding: .58rem .75rem .72rem;
    margin-bottom: .25rem;
    font-weight: 700;
    color: var(--brand-dark);
    border-bottom: 1px solid var(--line);
}
.nav-flat-links {
    display: grid;
    gap: .12rem;
}
.nav-flat-links a {
    display: flex;
    align-items: center;
    min-height: 2.55rem;
    padding: .35rem .75rem;
    border-radius: 4px;
    color: var(--ink);
    font: 500 1rem/1.4 var(--sans);
    transition: background-color .16s ease, color .16s ease;
}
.nav-flat-links a:hover,
.nav-flat-links a:focus-visible {
    background: var(--pale);
    color: var(--brand-dark);
    font-weight: 620;
}
@media screen and (max-width: 48rem) {
    .nav-drawer .nav-fields-panel.is-flat {
        width: 100%;
        padding: .35rem .65rem .6rem;
        background: var(--pale);
        border: 0;
        box-shadow: none;
    }
    .nav-drawer .nav-flat-links a {
        min-height: 2.75rem;
        padding: .4rem .55rem;
    }
}

/* 3. Flat 7-Item Practice Archive Grid (/practice/) */
.practice-flat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.1rem, 2.2vw, 1.75rem);
    max-width: 72rem;
    margin-inline: auto;
}
.practice-flat-card {
    display: flex;
}
.practice-flat-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: clamp(1.5rem, 2.5vw, 2.2rem);
    border-radius: .85rem;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.practice-flat-link:hover,
.practice-flat-link:focus-visible {
    border-color: var(--brand);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 49, 73, .065);
}
.practice-flat-no {
    display: inline-block;
    margin-bottom: .75rem;
    font: 700 .875rem/1 var(--sans);
    color: var(--brand);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.practice-flat-link h2 {
    margin: 0 0 .65rem;
    font: var(--subheading);
    color: var(--ink);
    letter-spacing: -.04em;
}
.practice-flat-link:hover h2 {
    color: var(--brand-dark);
}
.practice-flat-link p {
    margin: 0 0 1.25rem;
    font: var(--body);
    color: var(--muted);
    flex: 1;
}
.practice-flat-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font: var(--label);
    color: var(--brand-dark);
}
.practice-flat-more::after {
    content: "→";
    transition: transform .18s ease;
}
.practice-flat-link:hover .practice-flat-more::after {
    transform: translateX(3px);
}
@media (max-width: 48rem) {
    .practice-flat-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Custom Case Result Badges */
.case-kind {
    display: inline-block;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: .875rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.015em;
}
.story-topic .story-badge {
    display: inline-block;
    border-radius: 5px;
    padding: .24rem .75rem;
    font: 700 .875rem/1.35 var(--sans);
    letter-spacing: -.015em;
}

/* 5. Member Role Title ('대표 공인노무사') */
.profile-role {
    margin: 0 0 .28rem !important;
    font: 680 .9375rem/1.35 var(--sans);
    color: var(--brand-dark) !important;
    letter-spacing: -.015em;
}
.subhero-role {
    display: inline-block;
    margin: 0 auto .55rem !important;
    padding: .24rem .88rem;
    border-radius: 999px;
    background: rgba(167, 221, 244, .18);
    border: 1px solid rgba(167, 221, 244, .48);
    color: #e4f5fd !important;
    font: 650 .9375rem/1.35 var(--sans) !important;
}

/* 6. Readable Info Board (/neoul-blog/) Toolbar, Cards & Detail Pager */
.board-toolbar {
    max-width: 70rem;
    margin: 0 auto clamp(1.6rem, 3vw, 2.4rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}
.board-cats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.board-cat {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: .35rem .95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font: 600 .9375rem/1.3 var(--sans);
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.board-cat:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
}
.board-cat.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.board-search {
    display: flex;
    align-items: stretch;
    gap: .4rem;
    min-width: min(100%, 19.5rem);
}
.board-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.65rem;
    padding: .45rem .85rem;
    border: 1px solid #b5c6d0;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: var(--small);
}
.board-search input[type="search"]:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
}
.board-search button {
    padding: 0 1.05rem;
    min-height: 2.65rem;
    border: 0;
    border-radius: 6px;
    background: var(--brand-dark);
    color: #fff;
    font: 620 .9375rem/1 var(--sans);
    cursor: pointer;
    white-space: nowrap;
}
.board-search button:hover {
    background: var(--navy);
}
.board-search .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.board-empty {
    grid-column: 1 / -1;
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--paper);
    border-radius: .75rem;
    color: var(--muted);
}
.reading-topic-pill {
    display: inline-block;
    padding: .16rem .6rem;
    border-radius: 4px;
    background: #e1eff5;
    color: var(--brand-dark);
    font-weight: 680;
}
.library-index .reading-link {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.library-index .reading-link:hover {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 10px 26px rgba(14, 49, 73, .06);
    transform: translateY(-2px);
}
.reading-more {
    margin-top: auto;
    padding-top: 1rem;
    font: 620 .9375rem/1.4 var(--sans);
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.reading-more::after {
    content: "→";
}
.library-column {
    min-width: 0;
    max-width: 49rem;
}
.neoul-naver-source {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    background: var(--paper);
    border-left: 3px solid var(--brand);
}
.neoul-naver-source a {
    color: var(--brand-dark);
    font-weight: 650;
}
.library-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.library-pager-item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.05rem 1.2rem;
    border-radius: .65rem;
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}
.library-pager-item:hover {
    border-color: var(--brand);
    background: #fff;
}
.library-pager-label {
    font: var(--caption);
    color: var(--muted);
}
.library-pager-item strong {
    font: var(--label);
    color: var(--ink);
}
@media (max-width: 48rem) {
    .board-search { width: 100%; }
    .library-pager { grid-template-columns: 1fr; }
}
