:root {
  color-scheme: dark;
  --study-ink: #e0e9eb;
  --study-muted: #b5c4cb;
  --study-dark: #091820;
  --study-mint: #8ddbc7;
  --study-line: #26383f;
  --study-paper: #0c1c24;
  --study-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --study-body-size: 16px;
  --study-note-size: 14px;
  --study-meta-size: 13px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body.case-study {
  margin: 0; background: var(--study-paper); color: var(--study-ink);
  font: var(--study-body-size)/1.75 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.case-study a { color: inherit; text-decoration: none; }
.case-study button { font: inherit; cursor: pointer; }
.case-study a:focus-visible, .case-study button:focus-visible { outline: 2px solid var(--study-mint); outline-offset: 5px; }
.study-wrap { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.study-skip { position: absolute; z-index: 20; left: 16px; top: -100px; padding: 10px 16px; background: var(--study-mint); color: #091820!important; }
.study-skip:focus { top: 12px; }
.study-header { background: var(--study-dark); border-bottom: 1px solid var(--study-line); }
.study-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.study-brand { display: flex; align-items: center; gap: 12px; }
.study-brand img { width: 49px; height: 33px; object-fit: contain; }
.study-brand strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: .14em; }
.study-brand small { display: block; font: 10px/1.6 var(--study-mono); letter-spacing: .09em; color: var(--study-muted); }
.study-language { display: flex; align-items: center; gap: 15px; }
.study-language a { display: flex; align-items: center; min-height: 44px; font-size: var(--study-note-size); color: var(--study-muted); }
.study-language a[aria-current=page], .study-language a:hover { color: var(--study-mint); }
.study-hero { background: var(--study-dark); padding-bottom: 28px; }
.study-breadcrumb { display: flex; gap: 9px; flex-wrap: wrap; padding: 17px 0 22px; font-size: var(--study-meta-size); color: var(--study-muted); }
.study-breadcrumb a:hover { color: var(--study-mint); }
.study-hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 55px; align-items: center; }
.study-eyebrow { margin: 0 0 10px; font: 12px/1.6 var(--study-mono); letter-spacing: .1em; color: var(--study-mint); }
.study-hero h1 { margin: 0; max-width: 15em; font-size: clamp(27px,2.6vw,34px); font-weight: 550; line-height: 1.45; letter-spacing: .005em; text-wrap: balance; }
.study-title-line { display: inline; }
.study-lead { margin: 12px 0; color: var(--study-muted); font-size: var(--study-body-size); line-height: 1.8; max-width: 34em; }
.study-tags { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 16px; }
.study-tags span { font-size: var(--study-meta-size); color: #b4c9c9; }
.study-tags span+span::before { content: '/'; margin-inline: 10px; color: #536d72; }
.study-hero-meta { display: flex; flex-wrap: wrap; gap: 25px; border-top: 1px solid var(--study-line); padding: 12px 0 0; margin: 0 0 8px; }
.study-hero-meta div { display: grid; gap: 2px; }
.study-hero-meta dt { font-size: var(--study-meta-size); color: var(--study-muted); }
.study-hero-meta dd { margin: 0; font-size: var(--study-note-size); font-weight: 450; }
.study-hero-actions { display: flex; flex-wrap: wrap; gap: 25px; }
.study-hero-actions a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--study-note-size); color: var(--study-mint); }
.study-cover { margin: 0; min-width: 0; }
.study-cover-link { display: flex; align-items: center; justify-content: center; height: 280px; overflow: hidden; }
.study-cover img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.study-cover figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding-top: 8px; font-size: var(--study-meta-size); color: var(--study-muted); }
.study-cover figcaption span:last-child { flex-shrink: 0; color: var(--study-mint); }
.study-tabs { position: sticky; top: 0; z-index: 5; background: #0c1c24f5; border-block: 1px solid var(--study-line); backdrop-filter: blur(12px); }
.study-tabs .study-wrap { display: flex; gap: 30px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.study-tabs a { display: inline-flex; gap: 8px; align-items: center; min-height: 48px; white-space: nowrap; font-size: var(--study-note-size); color: var(--study-muted); border-bottom: 1px solid transparent; }
.study-tabs a[aria-current=location] { color: var(--study-mint); border-color: var(--study-mint); }
.study-tabs span { font: 12px var(--study-mono); color: #9cb4b8; }
.study-section { padding: 36px 0; scroll-margin-top: 14px; }
.study-section+.study-section { border-top: 1px solid var(--study-line); }
.study-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 19px; }
.study-section h2 { font-size: 24px; line-height: 1.45; font-weight: 500; margin: 0; letter-spacing: .025em; }
.study-section-heading p { margin: 0; max-width: 29em; font-size: var(--study-note-size); color: var(--study-muted); }
.study-section .study-eyebrow { margin-bottom: 5px; }
.study-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.study-overview article { padding: 0; }
.study-overview h3 { display: inline; font-size: 18px; font-weight: 500; margin: 0; }
.study-overview .study-step { display: inline; color: #96b9b5; font: 12px var(--study-mono); letter-spacing: .08em; margin-right: 10px; }
.study-overview p { margin: 7px 0 0; color: var(--study-muted); font-size: var(--study-body-size); line-height: 1.8; }
#photographs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
#photographs>.study-section-heading, #photographs>.study-gallery-note { grid-column: 1/-1; }
#photographs>.study-section-heading { margin-bottom: 0; }
.study-gallery-group { min-width: 0; }
.study-gallery-group:has(.study-photo-grid.three) { grid-column: 1/-1; }
.study-gallery-group h3 { font-size: 16px; font-weight: 450; color: var(--study-muted); margin: 0 0 10px; }
.study-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.study-photo-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.study-shot { margin: 0; min-width: 0; }
.study-shot>a { display: flex; align-items: center; justify-content: center; height: 236px; position: relative; overflow: hidden; }
.study-photo-grid.three .study-shot>a { height: 250px; }
.study-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.study-zoom-hint { position: absolute; bottom: 8px; right: 8px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #091820d9; color: var(--study-mint); font-size: 16px; line-height: 1; }
.study-shot>a:hover .study-zoom-hint { background: var(--study-mint); color: var(--study-dark); }
.study-shot figcaption { padding-top: 8px; }
.study-shot figcaption strong { display: block; font-size: var(--study-note-size); font-weight: 450; }
.study-shot figcaption strong span { font: 12px var(--study-mono); color: var(--study-mint); margin-right: 10px; }
.study-shot figcaption p { font-size: var(--study-note-size); color: var(--study-muted); margin: 5px 0 0; }
.study-gallery-note { font-size: var(--study-note-size); color: var(--study-muted); margin: 0; }
.study-test-panel { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 40px; align-items: center; }
.study-test-image { margin: 0; min-width: 0; }
.study-test-image>a { display: flex; align-items: center; justify-content: center; position: relative; height: 330px; }
.study-test-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.study-test-image figcaption { padding-top: 8px; color: var(--study-muted); font-size: var(--study-note-size); line-height: 1.65; }
.study-test-copy { min-width: 0; }
.study-test-copy h3 { font-size: 21px; font-weight: 500; line-height: 1.45; margin: 0 0 10px; }
.study-test-copy>p { font-size: var(--study-body-size); color: var(--study-muted); line-height: 1.8; }
.study-result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
.study-result-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.study-result-grid div { padding: 12px 0; border-block: 1px solid var(--study-line); min-width: 0; }
.study-result-grid dt { font-size: var(--study-note-size); color: var(--study-muted); margin-bottom: 4px; }
.study-result-grid dd { margin: 0; font: 400 27px/1.3 var(--study-mono); color: var(--study-mint); }
.study-result-grid dd small { font: 13px var(--study-mono); margin-left: 5px; color: var(--study-muted); }
.study-test-copy>.study-test-note { font-size: var(--study-note-size); color: var(--study-muted); border-left: 1px solid #507c72; padding-left: 12px; margin: 14px 0 0; }
.study-handover { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.study-handover p { color: var(--study-muted); font-size: var(--study-body-size); margin: 10px 0 0; }
.study-handover ul { padding: 0; margin: 0; list-style: none; }
.study-handover li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--study-line); font-size: var(--study-body-size); }
.study-handover li::before { content: '✓'; color: var(--study-mint); }
.study-handover li:first-child { padding-top: 0; }
.study-contact { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; margin: 0 0 28px; border-block: 1px solid var(--study-line); padding: 25px 0; }
.study-contact h2 { font-size: 24px; font-weight: 500; line-height: 1.45; margin: 0 0 8px; }
.study-contact p { font-size: var(--study-body-size); color: var(--study-muted); max-width: 42em; margin: 0; }
.study-contact-actions { display: flex; align-items: center; gap: 12px; }
.study-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 16px; border: 1px solid #628e83; color: var(--study-mint)!important; font-size: var(--study-note-size); }
.study-button:hover { background: #172e34; }
.study-button.secondary { border-color: transparent; color: var(--study-muted)!important; }
.study-related { display: flex; justify-content: space-between; gap: 25px; padding: 0 0 25px; font-size: var(--study-note-size); }
.study-related a { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.study-related small { display: block; color: var(--study-muted); font: 12px var(--study-mono); margin-bottom: 3px; }
.study-footer { background: var(--study-dark); color: var(--study-muted); border-top: 1px solid var(--study-line); padding: 22px 0; }
.study-footer .study-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.study-footer strong { font-size: var(--study-note-size); font-weight: 500; color: var(--study-ink); }
.study-footer p { font-size: var(--study-meta-size); margin: 5px 0 0; }
.study-footer a { color: var(--study-mint); }
.study-lightbox { padding: 0; border: 1px solid #375551; border-radius: 3px; background: #081c23; color: #fff; width: min(1440px,calc(100vw - 40px)); max-width: none; height: calc(100dvh - 40px); max-height: none; overflow: hidden; }
.study-lightbox::backdrop { background: #020c11eb; }
.study-lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.study-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 15px; border-bottom: 1px solid var(--study-line); font: 13px var(--study-mono); }
.study-lightbox-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.study-lightbox button { border: 1px solid #41625e; background: transparent; color: #e8f4ef; padding: 7px 12px; font-size: var(--study-note-size); min-width: 44px; min-height: 44px; }
.study-lightbox button:disabled { opacity: .4; cursor: default; }
.study-lightbox-view { overflow: auto; display: flex; align-items: center; justify-content: center; padding: 14px; background: #020a0d; min-width: 0; min-height: 0; }
.study-lightbox-view img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.study-lightbox.is-zoomed .study-lightbox-view { display: block; }
.study-lightbox.is-zoomed img { max-width: none; max-height: none; width: auto; height: auto; }
.study-lightbox-caption { padding: 10px 16px; font-size: var(--study-note-size); display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.study-lightbox-caption p { margin: 0; }
.study-lightbox-caption a { color: var(--study-mint); white-space: nowrap; text-decoration: underline; }
.study-no-scroll { overflow: hidden; }
@media(max-width:900px) {
  .study-wrap { width: calc(100% - 48px); }
  .study-hero-grid { gap: 28px; }
  .study-hero h1 { font-size: 28px; }
  .study-cover-link { height: 255px; }
  .study-contact { gap: 25px; }
  .study-contact-actions { flex-direction: column; align-items: stretch; gap: 4px; }
}
@media(max-width:700px) {
  .study-wrap { width: calc(100% - 36px); }
  .study-topbar { min-height: 64px; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0; }
  .study-brand img { width: 40px; height: 30px; }
  .study-brand strong { font-size: 15px; }
  .study-brand small { font-size: 10px; }
  .study-language { gap: 14px; }
  .study-breadcrumb { padding: 13px 0 17px; }
  .study-hero { padding-bottom: 20px; }
  .study-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .study-hero h1 { font-size: 28px; max-width: 17em; }
  .study-lead { margin: 9px 0; }
  .study-eyebrow { margin-bottom: 7px; }
  .study-tags { margin-bottom: 12px; }
  .study-hero-meta { gap: 25px; padding-top: 10px; margin-bottom: 3px; }
  .study-cover-link { height: 220px; }
  .study-cover figcaption { padding-top: 6px; }
  .study-tabs .study-wrap { gap: 23px; }
  .study-tabs a { min-height: 48px; }
  .study-section { padding: 27px 0; }
  .study-section-heading { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .study-section h2 { font-size: 22px; }
  .study-overview { grid-template-columns: 1fr; gap: 17px; }
  .study-overview p { margin-top: 5px; }
  .study-photo-grid, .study-photo-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .study-shot>a, .study-photo-grid.three .study-shot>a { height: 195px; }
  .study-shot figcaption strong { line-height: 1.65; }
  .study-shot figcaption strong span { margin-right: 6px; }
  #photographs { gap: 16px; }
  .study-gallery-group { grid-column: 1/-1; }
  .study-gallery-note { margin-top: 0; }
  .study-test-panel { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
  .study-test-image { order: 2; width: min(100%,280px); align-self: center; }
  .study-test-image>a { height: 270px; }
  .study-test-copy h3 { font-size: 20px; margin-bottom: 8px; }
  .study-test-copy>p { margin: 8px 0; }
  .study-result-grid { gap: 0 12px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 12px 0; }
  .study-result-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .study-result-grid div { border-top: 0; padding: 7px 0; }
  .study-result-grid dd { font-size: 26px; }
  .study-result-grid dd small { display: block; margin: 3px 0 0; }
  .study-handover { grid-template-columns: 1fr; gap: 15px; }
  .study-handover p { margin-top: 7px; }
  .study-contact { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; margin-bottom: 18px; }
  .study-contact h2 { font-size: 22px; }
  .study-contact-actions { flex-direction: row; flex-wrap: wrap; }
  .study-related { gap: 20px; padding-bottom: 18px; flex-wrap: wrap; }
  .study-footer .study-wrap { display: block; }
  .study-footer .study-wrap>div+div { margin-top: 13px; }
  .study-lightbox { width: calc(100vw - 16px); height: calc(100dvh - 16px); }
  .study-lightbox-toolbar { padding: 8px; gap: 5px; }
  .study-lightbox-controls { gap: 5px; }
  .study-lightbox button { padding: 5px 9px; font-size: 13px; }
  .study-lightbox-caption { padding: 12px; display: block; }
  .study-lightbox-caption a { display: inline-block; margin-top: 5px; }
  .study-lightbox-view { padding: 5px; }
}
@media(max-width:380px) {
  .study-test-image>a { height: 235px; }
  .study-shot>a, .study-photo-grid.three .study-shot>a { height: 175px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { color-scheme: light; --study-ink:#112d36; --study-muted:#526a70; --study-line:#c8d4d4; --study-mint:#22674f; --study-dark:#fff; --study-paper:#fff; }
  .study-tabs, .study-contact-actions, .study-language, .study-lightbox, .study-hero-actions { display:none!important; }
  .study-section { padding:20px 0; }
  .study-shot { break-inside:avoid; }
}


.study-gallery-group:has(.study-photo-grid.four){grid-column:1/-1}
.study-photo-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.study-photo-grid.four .study-shot>a{height:250px}
@media(min-width:701px) and (max-width:900px){.study-photo-grid.four{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.study-photo-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.study-photo-grid.four .study-shot>a{height:195px}}
