:root {
  --navy: #102a35;
  --deep: #0b222c;
  --white: #f5f6f3;
  --gold: #b7a58a;
  --teal: #3f7f86;
  --ink-muted: #4a6067;
  --line: #d1dad9;
  --pad: clamp(1.2rem, 5vw, 4rem);
  color: var(--navy);
  background: var(--white);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", system-ui, sans-serif;
  word-break: keep-all;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; width: 100%; height: 100%; object-fit: contain; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3f7f86; outline-offset: 4px; }
.hero a:focus-visible, .quote a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p, dd, li { line-height: 1.65; }
.frame { width: min(100%, 85rem); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .6rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.4rem; flex-wrap: wrap; padding-block: 1rem; min-height: 4.7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 760; font-size: 1.12rem; letter-spacing: -.045em; white-space: nowrap; text-decoration: none; }
nav { display: flex; justify-content: center; gap: clamp(.7rem, 2.7vw, 2.5rem); }
nav a, .header-phone { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover, .header-phone:hover { text-decoration: underline; text-underline-offset: .28em; }
.header-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero { background: var(--navy); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; gap: clamp(1.7rem, 5vw, 5rem); padding-block: clamp(2.6rem, 6vw, 5.4rem); }
.eyebrow { color: #366c73; font-size: .9rem; font-weight: 750; letter-spacing: .045em; margin-bottom: .8rem; }
.hero .eyebrow, .method .eyebrow, .quote .eyebrow { color: #dfcfb5; }
h1 { font-size: clamp(2.8rem, 6vw, 6.1rem); line-height: 1.11; letter-spacing: -.08em; font-weight: 760; }
h1 em { color: #cebb9c; font-style: normal; }
.hero-intro { margin-top: 1.5rem; max-width: 22rem; color: #dbe5e4; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; max-width: 100%; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: .2rem; text-decoration: none; font-weight: 720; transition: background-color .2s ease, color .2s ease; }
.button-primary { color: var(--deep); background: #c9b99e; }
.button-primary:hover { background: #eddfc7; }
.button-outline { border-color: #829398; color: var(--white); }
.button-outline:hover { background: #294550; }
.hero-photo { min-width: 0; height: clamp(20rem, 38vw, 32rem); background: var(--deep); overflow: hidden; }
.photo-placeholder { position: relative; display: grid; align-items: end; height: 100%; min-height: 6rem; isolation: isolate; overflow: hidden; padding: .9rem; background: #e6ece8; color: #344d53; }
.photo-placeholder::before { content: ''; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 21px, #102a3510 21px 22px); }
.photo-placeholder span { justify-self: start; padding: .28rem .6rem; border: 1px solid currentColor; font-size: .875rem; }
.hero-photo .photo-placeholder { padding: clamp(1rem, 3vw, 2rem); align-items: end; background: radial-gradient(ellipse at 80% 12%, #537b7e, transparent 60%), linear-gradient(145deg, #32575e, #172f3a); color: #f5f6f3; }
.hero-photo .photo-placeholder::before { inset: 12% 11% 16% 27%; border: 1px solid #e4d2b67a; background: none; box-shadow: -2.4rem 2.4rem 0 -1px #23434c, -2.4rem 2.4rem 0 0 #92a8a17e, 2.4rem -2.4rem 0 -1px #31565f, 2.4rem -2.4rem 0 0 #92a8a17e; transform: skewY(-12deg); }
.hero-photo .photo-placeholder span { background: #142f3b; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 26rem; color: var(--ink-muted); }
h2 { font-size: clamp(1.95rem, 3.5vw, 3.38rem); line-height: 1.18; letter-spacing: -.065em; }
h3 { font-size: 1.15rem; letter-spacing: -.035em; line-height: 1.36; }
.steps p, .case-details p, .faq-list p { color: var(--ink-muted); }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: .4rem; min-height: 2.4rem; margin-top: auto; color: #31666c; text-decoration: none; font-size: .9rem; font-weight: 750; }
.service-link:hover { text-decoration: underline; text-underline-offset: .25rem; }
.method, .quote { background: var(--navy); color: var(--white); }
.method-grid, .faq-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(1.7rem, 6vw, 6.2rem); }
.method dl > div { display: grid; grid-template-columns: minmax(7rem, .75fr) minmax(0, 1.35fr); gap: 1rem; border-top: 1px solid #527079; padding-block: 1rem; }
.method dl > div:last-child { border-bottom: 1px solid #527079; }
.method dt { font-weight: 750; }
.method dd { color: #d5e0df; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; }
.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: work-step; gap: .6rem; }
.steps li { counter-increment: work-step; position: relative; padding: 1.2rem .8rem .25rem 0; border-top: 1px solid var(--teal); }
.steps li::before { content: counter(work-step, decimal-leading-zero); color: #356e74; font-weight: 750; font-variant-numeric: tabular-nums; display: block; margin-bottom: .65rem; }
.steps p { margin-top: .3rem; }
.case-section, .faq-section { background: #e9eeeb; }
.case-grid { display: grid; gap: 1.2rem; }
.case-card { background: #fbfcfa; border: 1px solid var(--line); padding: clamp(.7rem, 2.25vw, 1.8rem); }
.case-details { margin-top: 1.15rem; }
.case-details p, .case-details dl { margin-top: .45rem; }
.faq-list details { border-top: 1px solid #aebfbc; }
.faq-list details:last-child { border-bottom: 1px solid #aebfbc; }
.faq-list summary { cursor: pointer; font-weight: 750; display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-block: 1.05rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before { content: '+'; color: #31666c; font-size: 1.2rem; }
.faq-list details[open] summary span::before { content: '−'; }
.faq-list p { margin-bottom: 1.1rem; padding-right: 1rem; }
.quote { padding-block: clamp(3rem, 6vw, 5.5rem); }
.quote p:not(.eyebrow) { color: #d5e0df; margin-top: .85rem; }
.quote .button { margin-top: 1.35rem; }
.quote-notes { background: #183642; border: 1px solid #527079; padding: clamp(1.2rem, 3vw, 2rem); }
.quote-notes ul { padding-left: 1.25rem; margin-bottom: 0; color: #e1e9e7; }
.quote-notes li + li { margin-top: .32rem; }
#selected-service:not(:empty) { display: block; color: #e3cda9; font-weight: 750; }
.site-footer { background: var(--deep); color: #e0e8e7; padding-block: 1.5rem; }
.site-footer .frame { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; align-items: center; font-size: .9rem; }
.site-footer a { margin-left: auto; }
.mobile-call { display: none; }
@media (max-width: 47rem) {
  .header-inner { gap: .75rem .5rem; }
  nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .75rem; gap: .35rem; }
  nav a { padding-block: .2rem; }
  .hero-inner, .method-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-photo { height: clamp(12rem, 55vw, 26rem); }
  .hero-intro { margin-top: 1rem; }
  .actions { margin-top: 1.25rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 2.5rem 1fr; padding-block: .8rem; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps p { grid-column: 2; }
  .site-footer { padding-bottom: calc(5.3rem + env(safe-area-inset-bottom)); }
  .mobile-call { display: block; position: fixed; z-index: 2; inset: auto 0 0; padding: .55rem var(--pad) calc(.55rem + env(safe-area-inset-bottom)); background: var(--deep); }
  .mobile-call .button { display: flex; width: 100%; }
  html { scroll-padding-bottom: 5rem; }
}
@media (max-width: 24rem) {
  .header-phone { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Main page service groups and site photography */
.brand-mark { position: relative; overflow: hidden; flex: none; width: 2.55rem; height: 2.55rem; }
.brand-mark img { position: absolute; width: 240%; max-width: none; height: auto; top: -48.5%; left: -70%; filter: brightness(1.15); mix-blend-mode: multiply; }
.hero-inner { padding-block: clamp(2.2rem, 4.3vw, 4rem); }
.hero-photo { grid-column: 2; grid-row: 1; border-radius: .32rem; }
.hero-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.hero-intro { max-width: 29rem; }
.hero-photo img { object-fit: cover; }
.hero-photo .photo-placeholder {
  background:
    linear-gradient(32deg, transparent 62%, #ddc7a71f 63%, transparent 64%),
    radial-gradient(ellipse at 75% 17%, #7c9085, transparent 60%),
    linear-gradient(150deg, #496068, #17343e 80%);
}
.hero-photo .photo-placeholder::before {
  inset: 11% 14% 20% 32%;
  border-color: #c4bd9b9c;
  box-shadow: -2.4rem 2.4rem 0 -1px #34515a, -2.4rem 2.4rem 0 0 #92a8a19e, 2.4rem -2.4rem 0 -1px #5f7979, 2.4rem -2.4rem 0 0 #b0b9a87e;
}

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.1rem; }
.service-category { min-width: 0; border: 1px solid var(--line); border-radius: .34rem; background: #fbfcfa; }
.service-category summary { display: block; list-style: none; cursor: pointer; }
.service-category summary::-webkit-details-marker { display: none; }
.category-media { display: block; aspect-ratio: 4 / 3; background: #e9efeb; border-radius: .3rem .3rem 0 0; overflow: hidden; }
.category-media img { object-fit: contain; }
.category-media .photo-placeholder { background: linear-gradient(112deg, #e9e3d5, #bcb2a1); }
.category-business .photo-placeholder { background: linear-gradient(112deg, #dce8ea, #9bb1b9); }
.category-construction .photo-placeholder { background: linear-gradient(112deg, #ece4d9, #b2a08f); }
.category-specialist .photo-placeholder { background: linear-gradient(112deg, #dce6df, #9bac9e); }
.category-media .photo-placeholder::before { inset: 14% -10% 0 40%; border: 1px solid #102a3540; background: none; transform: skewY(-10deg); box-shadow: -2rem 1.5rem 0 -1px #ffffff22, -2rem 1.5rem 0 0 #102a3520; }
.category-media .photo-placeholder > span { background: #f5f6f3e8; }
.category-copy { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding: clamp(.7rem, 2.2vw, 1.4rem); }
.category-copy strong { display: block; font-size: clamp(1.06rem, 2.3vw, 1.45rem); letter-spacing: -.04em; }
.category-summary { display: block; margin-top: .26rem; color: var(--ink-muted); font-size: .94rem; line-height: 1.5; }
.summary-icon { display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line); font-size: 1.2rem; }
.summary-icon::before { content: '+'; }
.service-category[open] .summary-icon::before { content: '−'; }
.service-category[open] summary, .service-category summary:hover { background: #eaf0ed; }
.category-services { list-style: none; margin: 0; padding: 0 clamp(.7rem, 2.2vw, 1.4rem); background: #fbfcfa; color: var(--navy); }
.category-services li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; border-top: 1px solid var(--line); padding-block: .75rem; scroll-margin-top: .65rem; }
.category-services li:target { background: #e3eee8; }
.category-services h4 { margin: 0; line-height: 1.4; }
.category-services p { margin-top: .15rem; color: var(--ink-muted); font-size: .94rem; }
.category-services .service-link { align-self: center; margin-top: 0; padding-inline: .4rem; }
.case-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: #2e646c; text-underline-offset: .26em; font-weight: 750; }

.case-media p { margin-top: 1rem; color: var(--ink-muted); }
.case-media-links { padding-left: 1.1rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.coverage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(.85rem, 3vw, 2.5rem); }
.region-list { display: grid; list-style: none; padding: 0; margin: 0; gap: .5rem; align-content: center; }
.region-list li { border-left: 3px solid #bacdc6; padding: .55rem .85rem; background: #fbfcfa; scroll-margin-top: .75rem; }
.region-list li:first-child { border-left-color: #356b73; }
.region-list li:target { background: #dfebe5; }
.region-list li div { display: flex; gap: .65rem; align-items: baseline; flex-wrap: wrap; }
.region-list p { font-size: .94rem; color: var(--ink-muted); }
.coverage-type { font-size: .85rem; color: #31666c; }

@media (max-width: 47rem) {
  .hero-photo, .hero-copy { grid-column: 1; grid-row: auto; }
  .hero-inner { gap: 1.35rem; padding-block: .75rem 2rem; }
  .hero-photo { height: clamp(12rem, 52vw, 23rem); }
  .category-grid { gap: .65rem; }
  .category-media .photo-placeholder { padding: .36rem; }
  .category-media .photo-placeholder > span { font-size: .875rem; padding: .15rem .25rem; }
  .category-copy { align-items: start; }
  .category-summary { font-size: .88rem; }
  .summary-icon { width: 1.36rem; height: 1.36rem; font-size: 1rem; }
  .category-services li { grid-template-columns: 1fr; gap: .25rem; }
  .category-services .service-link { justify-self: start; padding-inline: 0; }
  .coverage { grid-template-columns: 1fr; }
}

/* Work case cards, photo gallery and regional map */
.case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.case-grid.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card { padding: 0; border-radius: .35rem; }
.case-card-link { display: block; height: 100%; border-radius: inherit; text-decoration: none; }
.case-card-link:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.case-cover { aspect-ratio: 4 / 3; background: #dce7e2; overflow: hidden; border-radius: .32rem .32rem 0 0; }
.case-cover img { object-fit: cover; }
.case-details { margin: 0; padding: clamp(.7rem, 2.1vw, 1.25rem); }
.case-details .eyebrow { margin: 0 0 .45rem; color: #366c73; }
.case-hero { padding-block: clamp(2.5rem, 5vw, 5rem); background: var(--navy); color: var(--white); }
.case-hero .eyebrow { color: #dfcfb5; }
.case-hero h1 { font-size: clamp(2.15rem, 4.5vw, 4.25rem); letter-spacing: -.06em; }
.case-gallery { position: relative; max-width: 56rem; margin: 1.15rem auto 0; }
.gallery-slide { overflow: hidden; border: 1px solid #517079; border-radius: .35rem; background: #183843; }
.gallery-slide[hidden], .case-gallery [hidden] { display: none; }
.gallery-image { width: 100%; height: clamp(13rem, 65vw, 31rem); background: #0b2029; touch-action: pan-y pinch-zoom; }
.gallery-image img, .gallery-image video {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.gallery-control {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; padding: 0;
  color: #fff; background: #102a35e8; border: 1px solid #f5f6f3b0; border-radius: 50%; cursor: pointer;
}
.gallery-control:hover { background: #0a222e; }
.gallery-control:focus-visible { outline: 3px solid #f2d4a3; outline-offset: 3px; }
.gallery-prev { left: .7rem; }
.gallery-next { right: .7rem; }
.gallery-control span { width: .61rem; height: .61rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.gallery-prev span { transform: rotate(-135deg); }
.gallery-count { position: absolute; top: .65rem; right: .7rem; padding: .25rem .55rem; border-radius: .2rem; background: #102a35e8; color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; }
.coverage-map { display: grid; justify-items: center; background: #edf4f1; border: 1px solid var(--line); border-radius: .35rem; overflow: hidden; }
.service-map { display: block; width: min(100%, 30rem); height: auto; }
.coverage-map figcaption { justify-self: stretch; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem .8rem; padding: .45rem .7rem; color: #45605f; font-size: .82rem; }
.region-swatch { flex: none; width: .8rem; height: .8rem; border-radius: .12rem; background: #22605b; }
.region-gangwon { background: #6d958a; }
.region-chungcheong { background: #ad7e48; }
@media (max-width: 58rem) {
  .case-grid, .case-grid.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
  .case-grid { gap: .65rem; }
  .case-details h3 { font-size: 1.02rem; }
  .case-details .eyebrow { font-size: .875rem; }
}

.quote-intake .quote-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); align-items: start; }
.quote-channels { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.quote-channel { display: inline-flex; align-items: center; min-height: 2.8rem; padding: .6rem .75rem; border: 1px solid #8ca9a1; border-radius: .35rem; text-decoration: none; font-weight: 720; }
.quote-channel:hover { background: #254952; }
.quote-form { background: #f7faf7; color: #102a35; padding: clamp(1rem, 3.4vw, 1.9rem); border-radius: .55rem; }
#quote-custom-service { margin-bottom: .8rem; }
.quote-form label { display: grid; gap: .35rem; font-weight: 720; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; margin-bottom: .8rem; }
.quote-form input:not([type="checkbox"]), .quote-form textarea, .quote-form select { padding: .6rem .65rem; border: 1px solid #9eb6af; border-radius: .35rem; background: #fff; color: #102a35; font: inherit; font-size: 1rem; width: 100%; min-height: 2.8rem; }
.quote-form :focus-visible { outline: 3px solid #34736c; outline-offset: 2px; }
.quote-form textarea { resize: vertical; }
.quote-privacy { margin-top: .85rem; font-size: .9rem; }
.quote-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: .16em; }
.quote-form .quote-privacy p, .quote-form p#quote-status, .quote-form noscript p { color: #345e56; margin-top: .5rem; }
.quote-form p#quote-status[data-error] { color: #98203b; }
.quote-form p#quote-status:empty { display: none; }
.quote-form label.quote-agree { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin-block: .85rem; cursor: pointer; }
.quote-agree input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: #205e55; flex: none; }
.quote-form button { width: 100%; border: 0; border-radius: .35rem; min-height: 3rem; padding: .55rem; background: #205e55; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.quote-form button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 47rem) {
  .quote-intake .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .quote-fields { grid-template-columns: 1fr; }
}

.hero-photo, .category-media, .admin-image-preview { position: relative; }
.sample-image-label { position: absolute; inset: auto auto .55rem .55rem; padding: .2rem .45rem; background: #102a35ed; border: 1px solid #ffffff60; border-radius: .25rem; color: #fff; font-size: .81rem; font-weight: 700; }

.site-footer .footer-company { align-items: flex-start; flex-direction: column; gap: .7rem; }
.footer-company strong { color: #fff; font-size: 1rem; }
.footer-company-info { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 0; }
.footer-company-info div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .45rem; }
.footer-company-info dt { color: #b6cbc9; }
.footer-company-info dd { margin: 0; }
.site-footer .footer-company a { margin-left: 0; }
.floating-kakao {
  position: fixed; z-index: 4; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .45rem; min-height: 3rem; padding: .55rem .9rem;
  border-radius: 1.5rem; background: #fee500; color: #211b07;
  font-weight: 800; text-decoration: none; box-shadow: 0 .25rem 1.05rem #102a3540;
}
.floating-kakao:hover { background: #f4d900; }
.floating-kakao-icon { display: inline-block; position: relative; width: 1.12rem; height: .9rem; border-radius: 50%; background: currentColor; }
.floating-kakao-icon::after { content: ''; position: absolute; width: .4rem; height: .4rem; bottom: -.1rem; left: .14rem; background: currentColor; transform: skew(-23deg); }
@media (max-width: 47rem) {
  .floating-kakao { bottom: calc(4.55rem + env(safe-area-inset-bottom)); }
  .footer-company-info { flex-direction: column; }
}

.map-geography { stroke: #f7faf8; stroke-width: 1.15; stroke-linejoin: round; fill-rule: evenodd; pointer-events: none; }
.map-labels { pointer-events: none; }
.map-area-shape { transform-box: fill-box; transform-origin: center; transition: transform .24s ease, filter .24s ease, stroke-width .24s ease; }
.map-area-shape.is-raised { transform: translateY(-2px) scale(1.105); filter: drop-shadow(0 4px 4px #102a3560); stroke-width: 2; }
.map-area-target { cursor: pointer; outline: none; pointer-events: none; }
.map-area-target > use, .map-area-target > rect { pointer-events: fill; opacity: 0; }
.map-area-target:focus-visible > use { opacity: 1; fill-opacity: 0; stroke: #102a35; stroke-width: 2.8; }
.region-list li.map-region-active { background: #dfebe5; border-left-color: #356b73; }
@media (prefers-reduced-motion: reduce) {
  .map-area-shape { transition: none; }
}

.case-actions, .case-pagination { display: flex; align-items: center; gap: .55rem; }
.case-all, .case-pagination a {
  border: 1px solid #8da4a7; border-radius: .35rem; padding: .5rem .85rem;
  color: var(--navy); font-size: .95rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.case-all:hover, .case-pagination a:hover { background: #dbe8e4; }
.case-arrow {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid #8da4a7; border-radius: 50%; color: var(--navy);
  background: transparent; cursor: pointer;
}
.case-arrow[hidden] { display: none; }
.case-arrow[aria-disabled="true"] { opacity: .45; cursor: default; }
.case-arrow::before {
  content: ''; width: .55rem; height: .55rem; border: solid currentColor;
  border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.case-arrow-prev::before { transform: rotate(-135deg); }
.case-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 4);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain; scrollbar-width: none; padding-block: .4rem;
}
.case-rail::-webkit-scrollbar { display: none; }
.case-rail > .case-card { scroll-snap-align: start; min-width: 0; }
.case-rail > .case-card a:focus-visible { outline-offset: -3px; }
.case-rail > .case-empty { grid-column: span 4; }
.case-archive h1 { font-size: clamp(2rem, 5vw, 3.75rem); margin: 0 0 1.5rem; }
.case-pagination { justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
@media (max-width: 58rem) { .case-rail { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 34rem) {
  .case-rail { grid-auto-columns: 78%; gap: .65rem; }
  .case-rail > .case-empty { grid-column: span 1; }
  #cases .section-heading { gap: .75rem; }
}
