:root {
  --ink: #10283f;
  --ink-soft: #17344f;
  --ink-deep: #091d2e;
  --paper: #f5f7f8;
  --paper-soft: #edf2f5;
  --white: #fff;
  --muted: #52677a;
  --muted-light: #adbbc6;
  --line: rgba(16, 40, 63, .17);
  --line-light: rgba(255, 255, 255, .17);
  --blue: #2b7188;
  --cyan: #73c3df;
  --cta: #10283f;
  --cta-hover: #1b465a;
  --danger: #b42318;
  --shell: min(1320px, calc(100vw - 96px));
  --header-height: 82px;
  --radius: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: clip;
  background: var(--ink-deep);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: -.018em;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.menu-open, body.menu-open { overflow-y: hidden; overscroll-behavior: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 11px 17px; color: var(--white); background: var(--blue); border-radius: 999px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); color: var(--ink); background: rgba(245, 247, 248, .97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(9, 29, 46, .07); }
.site-header.is-menu-open { color: var(--white); background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.brand-mark { width: 46px; height: 36px; display: inline-block; flex: 0 0 auto; background: url("../images/hdevops-mark-v2.c78f49fdf48c.png") center / 46px 46px no-repeat; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 34px); font-size: 15px; font-weight: 700; transition: opacity .2s ease; }
.site-nav > a:not(.nav-cta) { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 50px; display: inline-flex; align-items: center; gap: 12px; padding: 4px 7px 4px 19px; color: var(--white); background: var(--cta); border-radius: 999px; transition: background .25s ease, transform .3s var(--ease-out); }
.nav-cta .cta-arrow { width: 36px; height: 36px; }
.nav-cta span, .button span, .text-link span { transition: transform .3s var(--ease-out); }
.menu-toggle { position: relative; z-index: 4; width: 52px; height: 48px; display: grid; place-items: center; padding: 0; color: var(--blue); background: transparent; border: 0; border-radius: 999px; cursor: pointer; touch-action: manipulation; transition: color .25s ease, background .25s ease; }
.menu-toggle:focus-visible { outline-width: 2px; outline-offset: 1px; }
.site-header.is-menu-open .menu-toggle { color: var(--white); }
.site-header.is-menu-open .site-nav { opacity: 0; pointer-events: none; }
.menu-toggle > span:not(.sr-only) { position: absolute; right: 9px; height: 3px; background: currentColor; border-radius: 99px; transform-origin: center; transition: width .26s var(--ease-out), transform .32s var(--ease-out), background .2s ease; }
.menu-toggle > span:nth-child(2) { width: 32px; transform: translate3d(0, -6px, 0); }
.menu-toggle > span:nth-child(3) { width: 22px; transform: translate3d(0, 6px, 0); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2), .menu-toggle[aria-expanded="true"] > span:nth-child(3) { width: 31px; }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: rotate(-45deg); }

.menu-overlay { position: fixed; z-index: 2; inset: 0 0 auto; height: 0; min-height: 0; overflow: hidden; overscroll-behavior: contain; visibility: hidden; color: var(--white); background: var(--ink-deep); pointer-events: none; will-change: height; transition: height .42s var(--ease-out), visibility 0s .42s; }
.menu-overlay.is-open { height: 100vh; height: 100dvh; overflow-y: auto; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu-overlay-inner { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); grid-template-rows: 1fr auto; align-items: center; gap: 54px clamp(70px, 10vw, 150px); padding-top: calc(var(--header-height) + 62px); padding-bottom: 38px; opacity: 0; transform: translate3d(0, -11px, 0); transition: opacity .2s ease, transform .27s ease-out; }
.menu-overlay.is-open .menu-overlay-inner { opacity: 1; transform: none; transition-delay: .17s; }
.menu-overlay-intro { max-width: 470px; }
.menu-overlay-kicker { margin: 0 0 26px; color: var(--cyan); font-size: 13px; font-weight: 760; letter-spacing: .08em; }
.menu-overlay-copy { margin: 0; font-size: clamp(38px, 3.8vw, 56px); font-weight: 750; line-height: 1.12; letter-spacing: -.055em; }
.menu-overlay-cta { width: min(100%, 290px); min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding: 6px 7px 6px 22px; color: var(--ink); background: var(--white); border: 1px solid var(--white); border-radius: 999px; font-size: 16px; font-weight: 760; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .3s var(--ease-out); }
.menu-overlay-cta .cta-arrow { color: var(--white); background: var(--cta); }
.menu-overlay-nav { align-self: center; border-top: 1px solid var(--line-light); }
.menu-overlay-nav a { min-height: 112px; display: grid; grid-template-columns: 46px minmax(170px, .72fr) minmax(190px, 1fr); align-items: center; gap: 18px; border-bottom: 1px solid var(--line-light); opacity: 0; transform: translate3d(0, -11px, 0); transition: color .2s ease, opacity .27s ease-out, transform .27s ease-out; }
.menu-overlay.is-open .menu-overlay-nav a { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-overlay-nav a:nth-child(1) { transition-delay: .2s; }
.menu-overlay.is-open .menu-overlay-nav a:nth-child(2) { transition-delay: .25s; }
.menu-overlay.is-open .menu-overlay-nav a:nth-child(3) { transition-delay: .3s; }
.menu-overlay.is-open .menu-overlay-nav a:nth-child(4) { transition-delay: .35s; }
.menu-overlay-number { color: var(--cyan); font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.menu-overlay-nav strong { font-size: clamp(32px, 3vw, 46px); font-weight: 730; line-height: 1.05; letter-spacing: -.045em; }
.menu-overlay-description { color: #aebdca; font-size: 15px; }
.menu-overlay-foot { grid-column: 1 / -1; margin: 0; padding-top: 25px; color: #8297a8; border-top: 1px solid var(--line-light); font-size: 13px; letter-spacing: .04em; }
.menu-overlay-nav a[aria-current="page"] { color: var(--cyan); }
.no-js .menu-toggle, .no-js .menu-overlay { display: none; }

/* Shared type, links and reveal */
.eyebrow, .section-label, .case-label { margin: 0 0 22px; color: var(--blue); font-size: 15px; font-weight: 760; line-height: 1.4; letter-spacing: -.01em; }
.button { min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 0 27px; font-size: 16px; font-weight: 760; background: transparent; border: 1px solid currentColor; border-radius: 3px; cursor: pointer; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease-out); }
.button--primary { color: var(--white); background: var(--cta); border-color: var(--cta); }
.button--cta { min-height: 62px; justify-content: space-between; gap: 26px; padding: 6px 7px 6px 23px; border-radius: 999px; }
.cta-arrow { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cta); background: var(--white); border-radius: 50%; transition: color .25s ease, background .25s ease, transform .35s var(--ease-out); }
.cta-arrow svg { display: block; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 740; }
.section { padding-block: clamp(112px, 10vw, 164px); }
.js .reveal { opacity: 0; transform: translate3d(0, 52px, 0); transition: opacity .72s ease, transform 1s var(--ease-out); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); will-change: auto; }
.js .service-card.reveal { transform: translate3d(0, 64px, 0); transition: opacity .72s ease, transform 1s var(--ease-out), background .3s ease; }
.js .service-card.reveal.is-visible { transform: none; }
.service-grid .reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.service-grid .reveal:nth-child(2) { transition-delay: .1s, .1s, 0s; }
.service-grid .reveal:nth-child(3) { transition-delay: .05s, .05s, 0s; }
.service-grid .reveal:nth-child(4) { transition-delay: .15s, .15s, 0s; }
.js .work-preview-copy.reveal { transform: translate3d(0, 52px, 0); }
.js .work-preview-copy.reveal.is-visible { transform: none; }
.js .work-preview .reveal--media { opacity: 0; transform: translate3d(0, 48px, 0); transition-duration: .9s, 1.15s; }
.js .work-preview .reveal--media.is-visible { opacity: 1; transform: none; will-change: auto; }
.js .process-list li.reveal { transform: translate3d(0, 36px, 0); }
.js .process-list li.reveal.is-visible { transform: none; }
.process-list .reveal:nth-child(1) { transition-delay: 0s; }
.process-list .reveal:nth-child(2) { transition-delay: .1s; }
.process-list .reveal:nth-child(3) { transition-delay: .2s; }

/* Home hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-height) + 76px) 0 74px; overflow: clip; background: #e9f0f4; isolation: isolate; }
.hero-media { position: absolute; z-index: -3; inset: 0; display: block; overflow: hidden; background: #e9f0f4; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.035) translate3d(0, var(--hero-shift, 0), 0); transform-origin: center; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(245, 247, 248, .98) 0%, rgba(245, 247, 248, .96) 31%, rgba(245, 247, 248, .78) 48%, rgba(245, 247, 248, .08) 69%, transparent 100%); pointer-events: none; }
.hero-unveil { display: none; }
.js .hero-unveil { position: absolute; z-index: -1; inset: 0; display: block; background: var(--paper); transform: scaleX(1); transform-origin: right center; transition: transform 1.65s var(--ease-out); pointer-events: none; }
.hero-inner { position: relative; width: var(--shell); margin-inline: auto; }
.hero-copy { width: min(720px, 52vw); min-width: 0; }
.hero-title { max-width: 800px; margin: 0; font-size: clamp(58px, 5.8vw, 84px); font-weight: 780; line-height: 1; letter-spacing: -.068em; text-wrap: balance; }
.hero-line { display: block; overflow: hidden; white-space: nowrap; }
.hero-line > span { display: block; }
.hero-title em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 34px 0 0; color: var(--muted); font-size: clamp(18px, 1.3vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.hero-scroll-cue { position: absolute; right: 50%; bottom: 27px; width: 28px; height: 46px; display: grid; place-items: start center; border: 1px solid rgba(16, 40, 63, .42); border-radius: 999px; transform: translateX(50%); }
.hero-scroll-cue span { width: 4px; height: 9px; margin-top: 9px; background: var(--blue); border-radius: 99px; animation: hero-scroll-cue 1.8s ease-in-out infinite; }

.js .hero-line > span, .js .hero-lead, .js .hero-actions { opacity: 0; transform: translate3d(0, 112%, 0); }
.js .hero-lead, .js .hero-actions { transform: translate3d(0, 28px, 0); }
.js.page-ready .hero-line > span { animation: hero-copy-in .9s var(--ease-out) forwards; }
.js.page-ready .hero-line:nth-child(2) > span { animation-delay: .08s; }
.js.page-ready .hero-line:nth-child(3) > span { animation-delay: .16s; }
.js.page-ready .hero-lead { animation: hero-detail-in .72s .3s ease forwards; }
.js.page-ready .hero-actions { animation: hero-detail-in .72s .4s ease forwards; }
.js.page-ready .hero-media img { animation: hero-media-in 1.9s .08s var(--ease-out) both; }
.js.page-ready .hero-unveil { transform: scaleX(0); }

@keyframes hero-copy-in { to { opacity: 1; transform: none; } }
@keyframes hero-detail-in { to { opacity: 1; transform: none; } }
@keyframes hero-media-in { from { opacity: .72; transform: scale(1.13) translate3d(0, var(--hero-shift, 0), 0); } to { opacity: 1; transform: scale(1.035) translate3d(0, var(--hero-shift, 0), 0); } }
@keyframes hero-scroll-cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(15px); opacity: 1; } }

/* Services */
.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr); align-items: end; gap: clamp(50px, 8vw, 130px); margin-bottom: 68px; }
.section-heading h2, .process-intro h2, .faq-intro h2, .contact-copy h2 { max-width: 820px; margin: 0; font-size: clamp(46px, 4.8vw, 70px); font-weight: 760; line-height: 1.08; letter-spacing: -.056em; text-wrap: balance; }
.section-heading-copy { display: grid; gap: 18px; justify-items: start; }
.section-heading-copy > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 282px; display: flex; flex-direction: column; gap: 28px; padding: clamp(34px, 3.3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease; }
.service-card h3 { max-width: 520px; margin: 0; font-size: clamp(28px, 2.3vw, 35px); font-weight: 740; line-height: 1.2; letter-spacing: -.045em; }
.service-card > div > p { max-width: 560px; margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.service-action { align-self: flex-start; margin-top: auto; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; line-height: 1.2; transition: color .3s ease; }
.service-card:focus-visible { background: var(--white); }
.service-card:focus-visible .service-action { color: var(--blue); }
.service-grid .reveal:nth-child(2n) { transition-delay: .08s, .08s, 0s; }

/* Selected work */
.work-preview { padding-block: clamp(110px, 10vw, 160px); overflow: hidden; color: var(--white); background: var(--ink); }
.work-preview-grid { display: grid; grid-template-columns: minmax(430px, .88fr) minmax(560px, 1.12fr); align-items: center; gap: clamp(48px, 4vw, 60px); }
.case-label { color: var(--cyan); }
.work-preview-primary-title { max-width: 680px; margin: 0; font-size: clamp(46px, 3.9vw, 60px); font-weight: 750; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.work-preview-copy > p:not(.case-label) { max-width: 630px; margin: 30px 0 26px; color: #becbd5; font-size: 18px; line-height: 1.8; }
.ga-messenger-visual { min-height: 510px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(95px, .24fr); align-items: center; gap: clamp(14px, 1.8vw, 24px); overflow: hidden; padding: clamp(20px, 2.6vw, 32px); background: #edf2f5; border: 1px solid #d7e1e7; border-radius: var(--radius); }
.ga-pc-windows { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(10px, 1.4vw, 18px); }
.ga-device-shot { min-width: 0; margin: 0; overflow: hidden; background: var(--white); border: 1px solid #cbd7de; border-radius: 3px; box-shadow: 0 16px 36px rgba(9, 29, 46, .13); }
.ga-device-shot img { display: block; width: 100%; height: auto; }
.ga-device-shot--pc-list, .ga-device-shot--pc-chat { width: min(100%, 420px); }
.ga-device-shot--pc-list { justify-self: end; }
.ga-device-shot--pc-chat { justify-self: start; transform: translateY(20px); }
.ga-device-shot--mobile { justify-self: center; width: min(100%, 210px); border: 5px solid #fff; border-radius: 20px; }
.work-preview .ga-messenger-visual { min-height: 500px; padding: clamp(22px, 2.6vw, 34px); }
.work-preview-secondary { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(48px, 4vw, 60px); margin-top: clamp(90px, 9vw, 140px); padding-top: clamp(50px, 5vw, 72px); border-top: 1px solid var(--line-light); }
.work-preview-secondary-copy h3 { margin: 0; font-size: clamp(36px, 3.3vw, 49px); line-height: 1.12; letter-spacing: -.045em; }
.work-preview-secondary-copy > p:not(.case-label) { max-width: 540px; margin: 20px 0 24px; color: #becbd5; font-size: 17px; line-height: 1.75; }
.work-preview-secondary-media { display: block; overflow: hidden; background: #f6f4eb; border: 1px solid rgba(255, 255, 255, .35); box-shadow: 12px 15px 0 rgba(115, 195, 223, .12); }
.work-preview-secondary-media img { display: block; width: 100%; height: auto; }
.work-preview-all { display: flex; justify-content: flex-end; margin-top: 44px; }
.work-preview-all .text-link { color: var(--white); }
.case-product-media { background: var(--paper); }

/* Scroll story */
.scroll-story { position: relative; height: 285vh; color: var(--white); background: var(--ink-deep); }
.scroll-stage { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; background: var(--ink-deep); }
.story-chrome { position: absolute; z-index: 5; top: clamp(100px, 12vh, 130px); left: 50%; display: flex; align-items: flex-start; justify-content: space-between; transform: translateX(-50%); }
.story-heading .section-label { margin-bottom: 13px; color: var(--cyan); }
.story-heading h2 { max-width: 480px; margin: 0; font-size: clamp(35px, 3.4vw, 50px); font-weight: 740; line-height: 1.1; letter-spacing: -.05em; }
.story-progress { width: min(260px, 22vw); padding-top: 13px; }
.story-progress progress { width: 100%; height: 3px; display: block; overflow: hidden; color: var(--cyan); background: rgba(255, 255, 255, .14); border: 0; border-radius: 0; appearance: none; }
.story-progress progress::-webkit-progress-bar { background: rgba(255, 255, 255, .14); }
.story-progress progress::-webkit-progress-value, .story-progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.story-scenes { position: absolute; inset: 0; }
.story-scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(430px, 1.1fr); align-items: center; gap: clamp(60px, 9vw, 145px); padding-top: 150px; visibility: hidden; opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .48s ease, transform .72s var(--ease-out), visibility 0s .72s; }
.story-scene.is-current { z-index: 2; visibility: visible; opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0s; }
.story-card { align-self: center; max-width: 600px; padding-top: 70px; opacity: 0; transform: translate3d(-54px, 0, 0); transition: opacity .48s ease, transform .72s var(--ease-out); }
.story-step { margin: 0 0 20px; color: var(--cyan); font-size: 15px; font-weight: 720; }
.story-card h3 { margin: 0; font-size: clamp(42px, 4vw, 60px); font-weight: 740; line-height: 1.1; letter-spacing: -.052em; text-wrap: balance; }
.story-card > p:not(.story-step) { max-width: 620px; margin: 28px 0 0; color: #bdcbd5; font-size: 18px; line-height: 1.8; }
.story-outcomes { width: min(43vw, 560px); justify-self: end; color: var(--white); border-top: 1px solid rgba(255, 255, 255, .34); border-bottom: 1px solid rgba(255, 255, 255, .34); opacity: 0; transform: translate3d(54px, 0, 0) scale(.975); transition: opacity .48s .08s ease, transform .72s .08s var(--ease-out); }
.story-scene.is-current .story-card, .story-scene.is-current .story-outcomes { opacity: 1; transform: none; }
.outcomes-head { display: flex; align-items: center; gap: 24px; padding: 19px 0 22px; color: #aebdca; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.outcomes-list span { color: var(--cyan); font-size: 15px; font-weight: 680; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.outcomes-head strong { font-size: 17px; font-weight: 660; }
.outcomes-list { margin: 0; padding: 0; list-style: none; }
.outcomes-list li { min-height: 92px; display: grid; grid-template-columns: 58px 1fr; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.outcomes-list li:last-child { border-bottom: 0; }
.outcomes-list strong { font-size: clamp(24px, 2.2vw, 31px); font-weight: 690; line-height: 1.2; letter-spacing: -.04em; }
.outcomes-result { display: flex; align-items: center; gap: 18px; margin: 0; padding: 21px 0 22px; color: #aebdca; font-size: 15px; font-weight: 600; }
.outcomes-result::before { width: 44px; height: 2px; flex: 0 0 auto; content: ""; background: var(--cyan); }

/* Process, FAQ and contact */
.process { background: var(--paper); }
.process-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(64px, 7vw, 108px); }
.faq-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); align-items: start; gap: clamp(72px, 10vw, 155px); }
.process-intro, .faq-intro, .contact-copy { position: sticky; top: calc(var(--header-height) + 42px); }
.process-intro h2, .contact-copy h2 { font-size: clamp(46px, 4.2vw, 60px); }
.process-intro > p, .contact-copy > p { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-list li { position: relative; padding: 36px 0 38px 54px; border-bottom: 1px solid var(--line); }
.process-list li::before { position: absolute; top: 44px; left: 4px; width: 10px; height: 10px; content: ""; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 7px rgba(115, 195, 223, .14); }
.process-list h3 { margin: 0; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -.04em; }
.process-list p { max-width: 720px; margin: 13px 0 0; color: var(--muted); font-size: 17px; }
.faq { background: var(--paper-soft); border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 2px; font-size: 19px; font-weight: 720; line-height: 1.45; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; content: ""; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details > p { max-width: 760px; margin: -3px 54px 28px 2px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.contact { color: var(--white); background: var(--ink); }
.contact-copy h2 { color: var(--white); }
.contact-copy > p { color: #becbd5; }
.contact-notes { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.contact-notes p { margin: 0; color: #d4dee5; font-size: 15px; }
.contact-notes span { margin-right: 8px; color: var(--cyan); }
.contact-panel { padding: clamp(30px, 4.5vw, 58px); color: var(--ink); background: var(--paper); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
.field--full { grid-column: 1 / -1; }
.field, .field-label-row { min-width: 0; }
.field label, .field-label-row label { display: block; margin-bottom: 9px; font-size: 15px; font-weight: 720; }
.field label span, .field-label-row label span, .form-footnote span, .privacy-check label span { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid rgba(16, 40, 63, .27); border-radius: 2px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.field select {
  padding-right: 50px;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2310283f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 8px;
  cursor: pointer;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 113, 136, .14); }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.field-label-row output { color: var(--muted); font-size: 13px; }
.errorlist { margin: 7px 0 0; padding: 0; color: var(--danger); font-size: 14px; list-style: none; }
.form-alert { margin-bottom: 24px; padding: 13px 15px; color: var(--danger); background: #fff1ef; border: 1px solid #f3b4ac; }
.honeypot { position: absolute; left: -10000px; }
.privacy-box { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.privacy-check { min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 11px; }
.privacy-check input { width: 22px; height: 22px; display: grid; place-content: center; flex: 0 0 auto; margin: 0; appearance: none; background: var(--white); border: 1.5px solid rgba(16, 40, 63, .48); border-radius: 4px; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.privacy-check input::before { width: 10px; height: 6px; content: ""; border-bottom: 2px solid var(--white); border-left: 2px solid var(--white); opacity: 0; transform: translateY(-1px) rotate(-45deg) scale(.7); transition: opacity .18s ease, transform .18s ease; }
.privacy-check input:checked { background: var(--blue); border-color: var(--blue); }
.privacy-check input:checked::before { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.privacy-check input:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(43, 113, 136, .17); }
.privacy-check label { min-width: 0; font-size: 15px; font-weight: 690; line-height: 1.5; cursor: pointer; }
.privacy-box details { margin-top: 2px; }
.privacy-box summary { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0; color: var(--muted); font-size: 14px; font-weight: 560; list-style: none; cursor: pointer; transition: color .2s ease; }
.privacy-box summary::-webkit-details-marker { display: none; }
.privacy-box summary:hover { color: var(--ink); }
.privacy-box summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.privacy-toggle { position: relative; width: 12px; height: 12px; flex: 0 0 auto; }
.privacy-toggle::before, .privacy-toggle::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1.25px; content: ""; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease; }
.privacy-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.privacy-box details[open] .privacy-toggle::after { transform: translate(-50%, -50%); }
.privacy-box details p { max-width: 640px; margin: 2px 0 0; padding: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.privacy-box > .errorlist { margin-top: 8px; }
.form-footnote { color: var(--muted); font-size: 14px; line-height: 1.7; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-actions .form-footnote { max-width: 330px; margin: 0; }
.button--submit { width: min(100%, 248px); min-height: 64px; flex: 0 0 auto; justify-content: space-between; gap: 34px; margin: 0; padding: 7px 8px 7px 24px; color: var(--white); background: var(--cta); border-color: var(--cta); border-radius: 999px; }
.button--submit .button-arrow { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cta); background: var(--white); border-radius: 50%; transition: color .25s ease, background .25s ease, transform .35s var(--ease-out); }
.button--submit:disabled { opacity: .6; cursor: wait; }
.success-message { min-height: 360px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.success-message > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; }
.success-message h3 { margin: 28px 0 10px; font-size: 32px; }
.success-message p { margin: 0 0 24px; color: var(--muted); }

/* Catalog and detail pages */
.catalog-page, .detail-page, .privacy-page { background: var(--paper); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: clamp(48px, 6vw, 82px); color: var(--muted); font-size: 14px; }
.breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; }
.catalog-hero, .detail-hero { padding: calc(var(--header-height) + 70px) 0 clamp(96px, 9vw, 140px); border-bottom: 1px solid var(--ink); }
.catalog-hero-grid, .detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(300px, .56fr); align-items: end; gap: clamp(60px, 9vw, 145px); }
.catalog-title, .detail-title, .case-title { max-width: 880px; margin: 0; font-size: clamp(50px, 5.4vw, 76px); font-weight: 770; line-height: 1.08; letter-spacing: -.058em; text-wrap: balance; }
.catalog-lead, .detail-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.82; }
.detail-lead { margin-top: 28px; }
.detail-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.detail-summary { margin: 0; border-top: 1px solid var(--ink); }
.detail-summary div { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-summary dt { color: var(--blue); font-size: 14px; }
.detail-summary dd { margin: 0; font-size: 16px; font-weight: 690; }
.catalog-section, .case-directory, .detail-section, .case-section, .related-services { padding-block: clamp(105px, 10vw, 155px); }
.catalog-section-heading, .related-heading, .case-section-heading { max-width: 930px; margin-bottom: 60px; }
.catalog-section-heading h2, .detail-section-heading h2, .related-heading h2, .case-section-heading h2, .service-guide-heading h2, .detail-cta h2 { max-width: 900px; margin: 0; font-size: clamp(39px, 4vw, 58px); font-weight: 750; line-height: 1.12; letter-spacing: -.052em; text-wrap: balance; }

.service-directory { border-top: 1px solid var(--ink); }
.service-directory-item { min-height: 164px; display: grid; grid-template-columns: 56px minmax(220px, .78fr) minmax(300px, 1.22fr) minmax(190px, .7fr) 34px; align-items: center; gap: 30px; padding: 30px 6px; border-bottom: 1px solid var(--line); transition: color .3s ease, background .3s ease, padding .4s var(--ease-out); }
.service-directory-number, .service-directory-name p { color: var(--muted); font-size: 14px; }
.service-directory-name p { margin: 0 0 8px; }
.service-directory-name h3 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: -.04em; }
.service-directory-description { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.service-directory-item ul { margin: 0; padding: 0; list-style: none; }
.service-directory-item li { padding: 2px 0; font-size: 15px; }
.service-directory-arrow { font-size: 21px; transition: transform .3s var(--ease-out); }

.service-guide { padding-block: clamp(105px, 10vw, 155px); color: var(--white); background: var(--ink-soft); }
.service-guide-grid, .detail-section-grid, .case-principles-grid { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(540px, 1.28fr); gap: clamp(72px, 10vw, 155px); align-items: start; }
.service-guide-heading > p:not(.eyebrow), .detail-section-heading > p:not(.eyebrow), .case-section-heading > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.service-guide-heading > p:not(.eyebrow) { color: var(--muted-light); }
.service-guide-list, .detail-item-list, .case-principles, .output-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.service-guide-list li, .detail-item, .case-principle, .output-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.service-guide-list li { border-color: var(--line-light); }
.service-guide-list > li > span, .detail-item > span, .case-principle > span, .output-list span, .scope-card > span, .case-feature > span, .related-card > span { color: var(--cyan); font-size: 14px; font-weight: 680; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.service-guide-list h3, .detail-item h3, .case-principle h3 { margin: 0 0 9px; font-size: 24px; line-height: 1.3; letter-spacing: -.04em; }
.service-guide-list p, .detail-item p, .case-principle p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.service-guide-list p { color: var(--muted-light); }
.detail-section-heading, .case-principles-grid .case-section-heading { position: sticky; top: calc(var(--header-height) + 42px); }
.detail-section-heading--wide, .case-section-heading, .related-heading { position: static; }
.detail-section--dark { color: var(--white); background: var(--ink-deep); }
.detail-section--dark .detail-section-heading > p:not(.eyebrow) { color: var(--muted-light); }
.detail-section-heading--wide { max-width: 900px; margin-bottom: 58px; }
.scope-grid, .case-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.scope-card, .case-feature { min-height: 310px; padding: clamp(28px, 3.7vw, 44px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.scope-card h3, .case-feature h3 { margin: 72px 0 15px; font-size: 27px; line-height: 1.25; letter-spacing: -.04em; }
.scope-card p, .case-feature p { margin: 0; color: var(--muted-light); font-size: 16px; line-height: 1.75; }
.detail-output { background: var(--paper-soft); }
.output-list li { font-size: 19px; font-weight: 680; }
.detail-prep { padding-block: clamp(60px, 6vw, 90px); border-top: 1px solid var(--line); }
.detail-prep-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(36px, 6vw, 96px); }
.detail-prep-heading .eyebrow { margin-bottom: 18px; }
.detail-prep-heading h2 { max-width: 620px; margin: 0; font-size: clamp(29px, 2.6vw, 38px); font-weight: 740; line-height: 1.22; letter-spacing: -.045em; text-wrap: balance; }
.detail-prep-answer { max-width: 650px; margin: 7px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }

.related-services { border-top: 1px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.related-card { min-height: 390px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .3s ease, background .3s ease; }
.related-card h3 { margin: 78px 0 15px; font-size: 29px; line-height: 1.25; letter-spacing: -.04em; }
.related-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.related-card b { margin-top: auto; padding-top: 30px; font-size: 15px; }
.related-card i { margin-left: 8px; font-style: normal; }
.detail-cta { padding-block: 88px; color: var(--white); background: var(--ink-soft); }
.detail-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.detail-cta .eyebrow { color: rgba(255, 255, 255, .78); }
.detail-cta h2 { max-width: 780px; font-size: clamp(34px, 3.4vw, 48px); }
.detail-cta .button { flex: 0 0 auto; color: var(--ink); background: var(--white); border-color: var(--white); }

/* Work pages */
.catalog-hero--work, .case-hero { color: var(--white); background: var(--ink-deep); border-color: var(--line-light); }
.catalog-hero--work .catalog-lead, .catalog-hero--work .breadcrumb, .breadcrumb--dark, .case-intro > p { color: #becbd5; }
.case-directory-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 5vw, 76px); padding: clamp(42px, 5vw, 64px); color: var(--white); background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease-out), box-shadow .4s ease; }
.case-directory-list { display: grid; gap: 22px; }
.case-directory-card--wellness { color: var(--ink); background: #e8eeeb; }
.case-directory-card--wellness .case-status { color: #486356; }
.case-directory-card--wellness .case-directory-copy > p { color: #455d54; }
.case-directory-card--wellness .text-link { color: var(--ink); }
.case-directory-media { min-width: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; border: 1px solid rgba(20, 40, 63, .14); box-shadow: 16px 20px 35px rgba(36, 58, 48, .14); }
.case-directory-media--messenger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .28fr); align-items: center; gap: clamp(10px, 1.4vw, 18px); padding: clamp(16px, 2vw, 24px); background: #e7eef2; border-color: #d3dfe6; box-shadow: 16px 20px 35px rgba(3, 15, 27, .16); }
.case-directory-pc-windows { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 10px; }
.case-directory-pc-windows img { display: block; width: 100%; height: auto; border: 1px solid #cbd7de; border-radius: 3px; box-shadow: 0 12px 28px rgba(9, 29, 46, .14); }
.case-directory-pc-windows img:last-child { transform: translateY(10px); }
.case-directory-messenger-mobile { display: block; width: 100%; height: auto; border: 5px solid #fff; border-radius: 18px; box-shadow: 0 12px 28px rgba(9, 29, 46, .14); }
.case-directory-media:not(.case-directory-media--messenger) { display: flex; align-items: center; justify-content: center; padding: clamp(16px, 2vw, 24px); background: #f3f6f3; }
.case-directory-media:not(.case-directory-media--messenger) > img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; border: 1px solid #d7e0d9; box-shadow: 0 12px 28px rgba(36, 58, 48, .12); }
.case-status { display: inline-flex; color: var(--cyan); font-size: 14px; font-weight: 720; }
.case-directory-copy h3 { margin: 32px 0 23px; font-size: clamp(37px, 3.7vw, 56px); line-height: 1.08; letter-spacing: -.052em; }
.case-directory-copy > p { max-width: 650px; margin: 0 0 28px; color: #becbd5; font-size: 17px; line-height: 1.82; }
.case-directory-facts, .stack-list { margin: 0; border-top: 1px solid var(--line-light); }
.case-directory-facts div, .stack-list div { display: grid; grid-template-columns: 116px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line-light); }
.case-directory-facts dt, .stack-list dt { color: var(--cyan); font-size: 14px; }
.case-directory-facts dd, .stack-list dd { margin: 0; font-size: 16px; font-weight: 670; }
.case-directory-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; text-align: right; }
.case-hero { padding: calc(var(--header-height) + 70px) 0 80px; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .55fr); align-items: end; gap: clamp(60px, 9vw, 145px); }
.case-kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.case-kicker .eyebrow { margin: 0; color: var(--cyan); }
.case-kicker span { color: #becbd5; font-size: 14px; }
.case-title { max-width: 920px; font-size: clamp(52px, 6vw, 84px); line-height: 1.05; }
.case-intro > p:first-child { margin: 0; font-size: 18px; line-height: 1.82; }
.case-note { margin: 24px 0 0; color: #91a5b5; font-size: 14px; }
.case-flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 16px; margin-top: 76px; padding: 23px 0 0; color: #d3dde5; border-top: 1px solid var(--line-light); font-size: 14px; }
.case-flow i { height: 1px; background: linear-gradient(90deg, rgba(115, 195, 223, .2), var(--cyan)); }
.case-feature-grid { border-color: var(--line); }
.case-feature { color: var(--ink); border-color: var(--line); }
.case-feature p { color: var(--muted); }
.case-section--muted { background: var(--paper-soft); }
.case-stack { color: var(--white); background: var(--ink-soft); }
.case-stack .case-section-heading > p:not(.eyebrow) { color: var(--muted-light); }
.stack-list { max-width: 900px; }
.wellness-site-link { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; color: var(--white); border-bottom: 1px solid var(--cyan); font-size: 16px; font-weight: 700; }
.wellness-site-link span[aria-hidden] { color: var(--cyan); }
.wellness-showcase { overflow: hidden; padding-top: clamp(72px, 7vw, 105px); background: #f4f7f5; }
.wellness-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .23fr); align-items: end; gap: clamp(24px, 3vw, 48px); }
.wellness-gallery figure, .wellness-secondary-shot { min-width: 0; margin: 0; }
.wellness-desktop-frame { overflow: hidden; background: #fff; border: 1px solid #d7e0d9; box-shadow: 20px 28px 60px rgba(36, 58, 48, .13); }
.wellness-desktop img { display: block; width: 100%; height: auto; }
.wellness-mobile { justify-self: center; width: min(100%, 245px); }
.wellness-mobile-frame { padding: 7px; overflow: hidden; background: #1c2823; border-radius: 26px; box-shadow: 12px 20px 35px rgba(36, 58, 48, .2); }
.wellness-mobile-frame img { display: block; width: 100%; height: auto; border-radius: 19px; }
.wellness-content-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.wellness-content-grid .case-section-heading { margin: 0; }
.wellness-secondary-shot { background: #f4f7f5; border: 1px solid #d7e0d9; box-shadow: 18px 23px 50px rgba(25, 50, 49, .09); }
.wellness-secondary-shot img { display: block; width: 100%; height: auto; }

/* Privacy and error pages */
.privacy-hero { padding: calc(var(--header-height) + 70px) 0 80px; border-bottom: 1px solid var(--ink); }
.privacy-hero h1 { max-width: 840px; margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.privacy-note { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.privacy-content { padding-block: 90px 140px; }
.privacy-content > section { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 34px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.privacy-content h2 { margin: 0; color: var(--blue); font-size: 17px; }
.privacy-content h3 { margin: 0 0 14px; font-size: 24px; }
.privacy-content p, .privacy-content li, .privacy-content dd, .privacy-content dt { font-size: 16px; }
.privacy-content dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.privacy-content dd { margin: 0; }
.error-page { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-height) + 50px) 0 80px; text-align: center; }
.error-page h1 { margin: 0; font-size: clamp(50px, 6vw, 82px); line-height: 1.08; letter-spacing: -.055em; }
.error-page p:not(.eyebrow) { max-width: 600px; margin: 22px auto 30px; color: var(--muted); }

/* Footer */
.site-footer { padding-block: 70px 46px; color: var(--white); background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 54px; }
.brand--footer { color: var(--white); }
.footer-grid > div > p { margin: 16px 0 0; color: #9fb0bd; font-size: 15px; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; font-size: 15px; }
.footer-grid nav a { min-height: 44px; display: inline-flex; align-items: center; }
.copyright { grid-column: 1 / -1; margin: 26px 0 0; padding-top: 28px; color: #8295a5; border-top: 1px solid var(--line-light); font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta:hover, .button--primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
  .nav-cta:hover span, .button:hover span, .text-link:hover span { transform: translate(3px, -3px); }
  .menu-toggle:hover { color: var(--ink); background: rgba(43, 113, 136, .07); }
  .menu-toggle:hover > span:nth-child(3) { width: 28px; }
  .site-header.is-menu-open .menu-toggle:hover { color: var(--cyan); background: rgba(255, 255, 255, .06); }
  .menu-overlay-nav a:hover { color: var(--cyan); }
  .menu-overlay-nav a:hover .menu-overlay-description { color: var(--white); }
  .menu-overlay-cta:hover { color: var(--white); background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-3px); }
  .menu-overlay-cta:hover .cta-arrow { color: var(--cta-hover); background: var(--white); transform: translate(2px, -2px); }
  .button--submit:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
  .button--submit:hover .button-label { transform: none; }
  .button--submit:hover .button-arrow { color: var(--cta-hover); transform: translate(2px, -2px); }
  .button:hover { transform: translateY(-3px); }
  .service-card:hover { background: var(--white); }
  .service-card:hover .service-action { color: var(--blue); }
  .service-directory-item:hover { padding-inline: 20px; color: var(--white); background: var(--ink); }
  .service-directory-item:hover .service-directory-number,
  .service-directory-item:hover .service-directory-name p,
  .service-directory-item:hover .service-directory-description { color: #becbd5; }
  .service-directory-item:hover .service-directory-arrow { transform: translate(4px, -4px); }
  .related-card:hover { color: var(--white); background: var(--ink); }
  .related-card:hover p { color: #becbd5; }
  .case-directory-card:hover { transform: translateY(-5px); box-shadow: 0 24px 56px rgba(16, 40, 63, .18); }
}

@media (max-width: 1120px) {
  :root { --shell: min(calc(100% - 64px), 960px); --header-height: 72px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 43px; height: 34px; background-size: 43px 43px; }
  .site-nav { display: none; }
  .menu-overlay-inner { grid-template-columns: minmax(240px, .7fr) minmax(420px, 1.3fr); gap: 48px 64px; padding-top: calc(var(--header-height) + 48px); }
  .menu-overlay-nav a { min-height: 100px; grid-template-columns: 40px minmax(150px, .7fr) minmax(170px, 1fr); }

  .no-js .site-header { position: relative; height: auto; color: var(--ink); background: var(--paper); border-color: var(--line); }
  .no-js .header-inner { min-height: var(--header-height); height: auto; flex-wrap: wrap; }
  .no-js .menu-toggle { display: none; }
  .no-js .header-actions { width: 100%; }
  .no-js .site-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 16px; opacity: 1; pointer-events: auto; }
  .no-js .site-nav > a:not(.nav-cta) { min-height: 44px; border: 0; }
  .no-js .nav-cta { min-height: 44px; margin: 0; }
  .no-js .menu-overlay { display: none; }

  .hero { min-height: max(760px, 100svh); padding: calc(var(--header-height) + 70px) 0 86px; }
  .section-heading, .work-preview-grid, .process-grid, .faq-grid, .contact-grid, .catalog-hero-grid, .detail-hero-grid, .service-guide-grid, .detail-section-grid, .case-principles-grid, .case-directory-card, .case-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: min(720px, 69vw); max-width: 720px; }
  .hero-title { max-width: 780px; font-size: clamp(50px, 7.2vw, 68px); }
  .hero-shade { background: linear-gradient(90deg, rgba(245, 247, 248, .98) 0%, rgba(245, 247, 248, .94) 44%, rgba(245, 247, 248, .45) 66%, transparent 100%); }

  .section, .work-preview, .catalog-section, .case-directory, .detail-section, .case-section, .related-services, .service-guide { padding-block: 96px; }
  .section-heading, .process-grid, .faq-grid, .contact-grid, .service-guide-grid, .detail-section-grid, .case-principles-grid { gap: 58px; }
  .section-heading { align-items: start; margin-bottom: 52px; }
  .service-card { min-height: 260px; }
  .work-preview-grid, .work-preview-secondary { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .ga-messenger-visual { width: 100%; max-width: 880px; }
  .work-preview .ga-messenger-visual { height: auto; min-height: clamp(560px, 72vw, 680px); }

  .scroll-story { height: auto; }
  .scroll-stage { position: relative; height: auto; min-height: 0; padding-block: 96px; overflow: visible; }
  .story-chrome { position: relative; top: auto; left: auto; width: var(--shell); margin: 0 auto 72px; transform: none; }
  .story-progress { display: none; }
  .story-scenes { position: relative; inset: auto; display: grid; gap: 86px; }
  .story-scene, .story-scene.is-current { position: relative; inset: auto; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 0; visibility: visible; opacity: 1; transform: none; transition: none; }
  .story-card { max-width: 680px; padding-top: 0; opacity: 1; transform: none; }
  .story-outcomes { width: 100%; max-width: 620px; justify-self: start; opacity: 1; transform: none; }
  .js .story-scene { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .65s ease, transform .85s var(--ease-out); }
  .js .story-scene.is-mobile-visible { opacity: 1; transform: none; }

  .process-intro, .faq-intro, .contact-copy, .detail-section-heading, .case-principles-grid .case-section-heading { position: static; }
  .process-intro h2, .contact-copy h2 { font-size: clamp(42px, 5.2vw, 56px); }
  .contact-copy, .contact-panel { max-width: 880px; }
  .catalog-hero, .detail-hero, .case-hero { padding-top: calc(var(--header-height) + 54px); }
  .catalog-hero-grid, .detail-hero-grid, .case-hero-grid, .case-directory-card { gap: 50px; }
  .case-directory-card { grid-template-columns: minmax(0, 1fr); }
  .case-directory-media { width: min(100%, 720px); }
  .wellness-gallery { grid-template-columns: minmax(0, 1fr) minmax(180px, .25fr); }
  .wellness-content-grid { grid-template-columns: minmax(0, 1fr); }
  .wellness-secondary-shot { max-width: 780px; }
  .detail-summary { display: grid; grid-template-columns: repeat(3, 1fr); }
  .detail-summary div { grid-template-columns: 1fr; gap: 7px; padding-right: 18px; border-right: 1px solid var(--line); }
  .detail-summary div:last-child { border-right: 0; }
  .service-directory-item { grid-template-columns: 44px minmax(180px, .76fr) 1fr 28px; gap: 20px; }
  .service-directory-item ul { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 320px; }
  .detail-cta-inner { align-items: flex-start; flex-direction: column; }
  .case-flow { grid-template-columns: 1fr; gap: 10px; }
  .case-flow i { width: 1px; height: 20px; margin-left: 7px; }
  .case-directory-note { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .wellness-gallery { grid-template-columns: minmax(0, 1fr) minmax(150px, .3fr); }
  .detail-prep-grid { grid-template-columns: 1fr; gap: 22px; }
  .detail-prep-answer { margin-top: 0; font-size: 17px; }
  .menu-overlay-inner { min-height: max(100svh, 760px); grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: center; gap: 34px; padding-top: calc(var(--header-height) + 42px); padding-bottom: 28px; }
  .menu-overlay-intro { max-width: 100%; }
  .menu-overlay-kicker { margin-bottom: 16px; }
  .menu-overlay-copy { font-size: clamp(34px, 6vw, 44px); }
  .menu-overlay-cta { width: min(100%, 290px); min-height: 56px; margin-top: 26px; }
  .menu-overlay-nav a { min-height: 78px; grid-template-columns: 36px minmax(160px, .8fr) minmax(160px, 1fr); gap: 12px; }
  .menu-overlay-nav strong { font-size: clamp(29px, 5vw, 38px); }
  .menu-overlay-foot { grid-column: auto; padding-top: 18px; }
}

@media (max-width: 819px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 40px); }
  body { font-size: 16px; }
  .header-inner { width: calc(100vw - 32px); }
  .menu-toggle { width: 48px; height: 44px; }
  .menu-toggle > span:not(.sr-only) { right: 8px; }
  .menu-overlay-inner { min-height: max(100svh, 700px); grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: center; gap: 38px; padding-top: calc(var(--header-height) + 38px); padding-bottom: 28px; }
  .menu-overlay-intro { max-width: 100%; }
  .menu-overlay-kicker { margin-bottom: 15px; font-size: 11px; }
  .menu-overlay-copy { font-size: clamp(30px, 9.2vw, 38px); }
  .menu-overlay-cta { min-height: 54px; margin-top: 24px; }
  .menu-overlay-nav a { min-height: 72px; grid-template-columns: 32px 1fr; gap: 10px; }
  .menu-overlay-nav strong { font-size: clamp(27px, 8vw, 34px); }
  .menu-overlay-description { display: none; }
  .menu-overlay-foot { grid-column: auto; padding-top: 18px; font-size: 11px; }
  .hero { min-height: max(780px, 100svh); align-items: end; padding: calc(var(--header-height) + 315px) 0 58px; background: var(--paper); }
  .hero-media { height: 370px; bottom: auto; }
  .hero-media img { object-position: 69% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(245, 247, 248, .04) 0%, rgba(245, 247, 248, .16) 48%, rgba(245, 247, 248, .96) 82%, var(--paper) 100%); }
  .hero-inner { align-self: end; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-title { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.05; letter-spacing: -.058em; }
  .hero-lead { margin-top: 28px; font-size: 17px; line-height: 1.72; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 34px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { width: max-content; }
  .hero-scroll-cue { display: none; }

  .section, .work-preview, .catalog-section, .case-directory, .detail-section, .case-section, .related-services, .service-guide { padding-block: 78px; }
  .section-heading h2, .process-intro h2, .faq-intro h2, .contact-copy h2 { font-size: clamp(35px, 9.4vw, 42px); line-height: 1.12; }
  .section-heading-copy > p, .process-intro > p, .contact-copy > p { font-size: 16px; }
  .service-grid { border-left: 0; }
  .service-card { min-height: 0; padding: 30px 0; border-right: 0; }
  .service-card h3 { font-size: 27px; }
  .service-card > div > p { font-size: 16px; }
  .service-action { margin-top: 28px; }
  .work-preview-grid { gap: 56px; }
  .work-preview-secondary { gap: 34px; margin-top: 80px; padding-top: 56px; }
  .work-preview-secondary-copy h3 { font-size: clamp(32px, 9vw, 40px); }
  .work-preview-secondary-copy > p:not(.case-label) { font-size: 16px; }
  .work-preview-all { justify-content: flex-start; margin-top: 38px; }
  .work-preview-primary-title { font-size: clamp(39px, 10.6vw, 47px); }
  .work-preview-copy > p:not(.case-label) { font-size: 16px; }
  .work-preview .ga-messenger-visual, .case-product-media .ga-messenger-visual { height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px; }
  .ga-pc-windows { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ga-device-shot--pc-list, .ga-device-shot--pc-chat { justify-self: center; width: min(100%, 320px); transform: none; }
  .ga-device-shot--mobile { width: min(58%, 180px); }
  .work-preview .ga-pc-windows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-preview .ga-device-shot--pc-list, .work-preview .ga-device-shot--pc-chat { width: 100%; }
  .work-preview .ga-device-shot--mobile { width: min(50%, 150px); }
  .case-directory-media--messenger { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; gap: 18px; }
  .case-directory-messenger-mobile { justify-self: center; width: min(52%, 140px); }

  .scroll-stage { padding-block: 78px; }
  .story-chrome { margin-bottom: 58px; }
  .story-heading h2 { font-size: clamp(32px, 8.8vw, 38px); }
  .story-scenes { gap: 72px; }
  .story-scene, .story-scene.is-current { gap: 28px; }
  .story-step { margin-bottom: 14px; font-size: 14px; }
  .story-card h3 { font-size: clamp(31px, 8.7vw, 37px); line-height: 1.13; }
  .story-card > p:not(.story-step) { margin-top: 20px; font-size: 16px; line-height: 1.75; }
  .outcomes-head { padding: 16px 0 18px; }
  .outcomes-head strong { font-size: 16px; }
  .outcomes-list span { font-size: 14px; }
  .outcomes-list li { min-height: 64px; grid-template-columns: 38px 1fr; }
  .outcomes-list strong { font-size: 20px; }
  .outcomes-result { padding: 18px 0; font-size: 14px; }
  .process-list li { padding: 29px 0 31px 40px; }
  .process-list li::before { top: 38px; }
  .process-list h3 { font-size: 24px; }
  .process-list p, .faq-list details > p { font-size: 16px; }
  .faq-list summary { min-height: 82px; font-size: 17px; }
  .faq-list details > p { margin-right: 36px; }
  .contact-panel { width: 100%; margin-left: 0; padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .field--full { grid-column: auto; }
  .field input, .field select { min-height: 56px; }
  .field textarea { min-height: 160px; }
  .form-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .form-actions .form-footnote { max-width: none; }
  .button--submit { width: 100%; }

  .catalog-hero, .detail-hero, .case-hero, .privacy-hero { padding-top: calc(var(--header-height) + 42px); }
  .breadcrumb { margin-bottom: 44px; }
  .catalog-title, .detail-title, .case-title, .privacy-hero h1 { max-width: 100%; font-size: clamp(39px, 10.8vw, 48px); line-height: 1.1; letter-spacing: -.052em; text-wrap: pretty; }
  .catalog-lead, .detail-lead, .case-intro > p:first-child { font-size: 16px; }
  .detail-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .detail-actions .button { width: 100%; justify-content: space-between; }
  .detail-summary { grid-template-columns: 1fr; }
  .detail-summary div { grid-template-columns: 76px 1fr; gap: 14px; padding-right: 0; border-right: 0; }
  .catalog-section-heading h2, .detail-section-heading h2, .related-heading h2, .case-section-heading h2, .service-guide-heading h2, .detail-cta h2 { font-size: clamp(33px, 9.1vw, 40px); line-height: 1.14; }
  .service-directory-item { min-height: auto; grid-template-columns: 34px 1fr 28px; gap: 14px; padding-block: 27px; }
  .service-directory-name { grid-column: 2; }
  .service-directory-description { grid-column: 2 / -1; font-size: 15px; }
  .service-directory-arrow { grid-column: 3; grid-row: 1; }
  .service-guide-list li, .detail-item, .case-principle, .output-list li { grid-template-columns: 36px 1fr; }
  .scope-grid, .case-feature-grid { grid-template-columns: 1fr; }
  .scope-card, .case-feature { min-height: 270px; }
  .scope-card h3, .case-feature h3 { margin-top: 62px; }
  .related-card { min-height: 290px; padding: 28px 24px; }
  .related-card h3 { margin-top: 58px; }
  .detail-cta { padding-block: 70px; }
  .detail-cta .button { width: 100%; justify-content: space-between; }
  .case-kicker { align-items: flex-start; flex-direction: column; gap: 8px; }
  .case-directory-card { padding: 32px 24px; }
  .case-directory-copy h3 { font-size: clamp(36px, 10vw, 43px); }
  .case-directory-list { gap: 16px; }
  .case-directory-media { box-shadow: 8px 10px 22px rgba(36, 58, 48, .12); }
  .wellness-gallery { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .wellness-showcase { padding-top: 66px; }
  .wellness-desktop-frame { box-shadow: 8px 12px 24px rgba(36, 58, 48, .12); }
  .wellness-mobile { width: min(66%, 245px); }
  .wellness-secondary-shot { box-shadow: 8px 12px 24px rgba(25, 50, 49, .09); }
  .case-directory-facts div, .stack-list div { grid-template-columns: 1fr; gap: 5px; }
  .privacy-content { padding-block: 70px 100px; }
  .privacy-content > section { grid-template-columns: 1fr; gap: 15px; }
  .privacy-content dl > div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { padding-block: 60px 38px; }
  .footer-grid nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (forced-colors: active) {
  .field select {
    padding-right: 14px;
    -webkit-appearance: menulist;
    appearance: auto;
    background-image: none;
  }
}
