@charset "UTF-8";

:root {
  color-scheme: light;
  --navy: #102b46;
  --teal: #087f8c;
  --teal-dark: #086977;
  --aqua: #16b6b2;
  --ink: #17344b;
  --muted: #506477;
  --ice: #edf6fa;
  --white: #fff;
  --border: #d7e6ed;
  --amber: #e6b35d;
  --page-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; }
::selection { color: var(--navy); background: #9fe3df; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
.container { width: min(var(--page-width), calc(100% - 112px)); margin-inline: auto; }
.nowrap { display: inline-block; }
.mobile-break { display: none; }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 10px 18px; color: white; background: var(--navy); z-index: 100; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid #edf2f5; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 232px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .875rem; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; padding-block: 16px; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; bottom: 8px; left: 0; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > a:not(.button):hover::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 58px; padding: 15px 28px; background: var(--teal-dark); color: var(--white); border: 1px solid transparent; border-radius: 4px; font-size: .9375rem; line-height: 1.6; font-weight: 700; text-align: center; box-shadow: 0 8px 22px rgba(8,105,119,.10); transition: background .2s, transform .2s, box-shadow .2s; }
.button > span { font-size: 1.2em; }
.button:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,43,70,.14); }
.button-small { min-height: 46px; padding: 10px 20px; font-size: .875rem; gap: 18px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #fff 5%, #f9fcfe 42%, #eaf5fa 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 708px; align-items: center; padding-block: 66px 110px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .19em; line-height: 1.7; color: var(--teal-dark); }
.eyebrow::after { content: ""; width: 52px; height: 1px; margin-left: 8px; background: currentColor; opacity: .45; }
.hero-eyebrow { font-size: .75rem; letter-spacing: .16em; margin-bottom: 26px; }
h1 { font-size: clamp(2.9rem, 4.45vw, 4.25rem); line-height: 1.4; letter-spacing: -.035em; font-weight: 800; color: var(--navy); }
.hero-accent { color: var(--teal); }
.hero-description { margin-top: 27px; font-size: 1rem; line-height: 2; font-weight: 500; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; font-size: .875rem; font-weight: 700; border-bottom: 1px solid #758d9d; }
.text-link:hover { color: var(--teal); border-color: var(--teal); }
.hero-art { position: relative; width: 132%; margin-left: -13%; }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; mix-blend-mode: multiply; }
.art-caption { position: absolute; right: 9%; bottom: -13%; padding-left: 14px; border-left: 2px solid var(--amber); color: #506a7b; font-family: Arial, sans-serif; font-size: .75rem; letter-spacing: .23em; line-height: 2; }
.scroll-link { display: inline-flex; align-items: center; gap: 16px; position: absolute; bottom: 34px; left: 0; font: 600 .75rem/1.5 Arial, sans-serif; letter-spacing: .2em; color: var(--muted); }
.scroll-line { display: block; width: 1px; height: 40px; background: linear-gradient(var(--teal), #b7dce4); }

.section-space { padding-block: 92px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
h2 { font-size: clamp(1.75rem, 2.55vw, 2.4rem); line-height: 1.5; letter-spacing: -.02em; color: var(--navy); font-weight: 800; }
.section-heading h2 { margin-top: 12px; }
.section-intro { color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-card { position: relative; padding: 30px 28px 34px; background: #f1f7fa; border-top: 2px solid #2b759b; border-radius: 0 0 6px 6px; }
.service-card:nth-child(2) { background: #eef9f8; border-top-color: var(--teal); }
.service-card:nth-child(3) { background: #f4f7fb; border-top-color: #637dae; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; color: #256484; background: #e0eff5; border: 1px solid #cbe3ed; border-radius: 12px; font: 500 25px/1 ui-monospace, monospace; }
.service-card:nth-child(2) .service-icon { color: var(--teal-dark); background: #d7f0ed; border-color: #b8e4e0; font-size: 32px; }
.service-card:nth-child(3) .service-icon { color: #4f6795; background: #e6edf8; border-color: #d4dff2; font-size: 30px; }
.service-number { color: #637c8b; font: 400 .875rem/1 Arial, sans-serif; letter-spacing: .08em; }
.service-category { color: #526d80; font: 600 .75rem/1.6 Arial, sans-serif; letter-spacing: .12em; margin-bottom: 8px; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; line-height: 1.6; font-weight: 800; margin-bottom: 15px; }
.service-card > p:last-child { font-size: 1rem; line-height: 1.95; }

.approach { position: relative; overflow: hidden; color: #eaf4fa; background: linear-gradient(105deg, #102b46 15%, #0d3c53 76%, #085564); }
.approach::after { position: absolute; content: ""; inset: 0 0 0 70%; pointer-events: none; opacity: .12; background-image: linear-gradient(#61ced2 1px, transparent 1px), linear-gradient(90deg,#61ced2 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, transparent, black); }
.approach-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 68px; }
.approach .eyebrow { color: #8ed9dd; }
.approach h2 { margin-top: 19px; color: white; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.approach-copy { padding-block: 8px; padding-left: 44px; border-left: 1px solid rgba(161,215,227,.35); font-size: 1rem; line-height: 2; }
.approach-copy p + p { margin-top: 8px; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.step-header { display: flex; align-items: center; gap: 16px; color: var(--teal); font: 400 1.375rem/1.5 Arial, sans-serif; }
.step-rule { height: 1px; flex: 1; background: #bcdce3; }
.process-grid h3 { margin-top: 22px; margin-bottom: 12px; color: var(--navy); font-size: 1.1875rem; font-weight: 800; }
.process-grid p { font-size: .9375rem; color: var(--muted); line-height: 1.95; }

.contact { position: relative; background: linear-gradient(108deg, #e4f3f7, #d7f1ef); border-block: 1px solid #d6ebee; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 65px; }
.contact h2 { margin-top: 14px; font-size: clamp(1.65rem, 2.6vw, 2.4rem); }
.contact-copy > p:last-child { margin-top: 14px; font-size: .9375rem; }
.contact-action { flex-shrink: 0; text-align: center; }
.button-contact { min-width: 250px; min-height: 64px; justify-content: space-between; }
.contact-note { margin-top: 12px; font-size: .75rem; color: #456875; }
.site-footer { background: white; }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 108px; }
.footer-brand img { width: 174px; }
.footer-inner > p { margin-left: auto; font-family: Arial, sans-serif; font-size: .75rem; color: var(--muted); letter-spacing: .07em; }
.back-top { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; color: var(--teal); }
.back-top:hover { background: var(--ice); }

.contact-dialog { width: min(560px, calc(100% - 40px)); color: var(--ink); background: white; border: 0; padding: 0; border-radius: 10px; box-shadow: 0 24px 96px #06182840; }
.contact-dialog::backdrop { background: #0b2336b3; backdrop-filter: blur(4px); }
.dialog-inner { padding: 38px; }
.dialog-inner h2 { font-size: 1.5rem; margin-top: 14px; }
.dialog-inner > p:not(.eyebrow) { margin-top: 18px; }
.dialog-inner form { margin-top: 26px; }
.dialog-inner .button { width: 100%; }

@media (min-width: 1600px) {
  .hero-inner { min-height: 760px; }
}

@media (max-width: 1150px) {
  .container { width: calc(100% - 72px); }
  .header-inner { gap: 20px; }
  .brand img { width: 206px; }
  .site-nav { gap: 20px; }
  .hero-inner { min-height: 664px; grid-template-columns: 1.1fr 1fr; }
  .hero-description { font-size: .9375rem; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { padding-inline: 20px; }
  .service-grid { gap: 20px; }
  .service-card { padding-inline: 22px; }
  .service-card h3 { font-size: 1.125rem; }
  .desktop-break { display: none; }
  .approach-inner { gap: 30px; }
  .approach-copy { padding-left: 28px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 80px; flex-wrap: wrap; }
  .brand img { width: 190px; }
  .site-nav { flex: 1 0 100%; padding-bottom: 16px; justify-content: space-between; gap: 16px; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--navy); padding: 12px 0 12px 12px; font-size: .875rem; font-weight: 700; }
  .menu-icon { display: grid; gap: 6px; width: 22px; }
  .menu-icon > span { display: block; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 28px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 18px 22px #102b4610; }
  .js .site-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 2px; }
  .js .site-nav > a:not(.button) { padding: 14px 4px; }
  .js .site-nav .button { margin-top: 10px; }
  .hero-inner { min-height: 600px; padding-top: 50px; padding-bottom: 94px; }
  h1 { font-size: clamp(2.4rem, 5vw, 3.2rem); }
  .hero-eyebrow { font-size: .75rem; max-width: 300px; flex-wrap: wrap; letter-spacing: .10em; }
  .hero-eyebrow::after { display: none; }
  .hero-art { width: 155%; margin-left: -28%; }
  .hero-description .nowrap { display: inline; }
  .art-caption { display: none; }
  .hero-actions { gap: 16px; }
  .section-space { padding-block: 68px; }
  .service-grid { gap: 16px; }
  .service-card { padding: 24px 18px; }
  .service-card h3 { font-size: 1.0625rem; }
  .service-card > p:last-child { font-size: .9375rem; }
  .approach-inner { padding-block: 54px; gap: 20px; }
  .approach h2 { font-size: 1.9rem; }
  .approach-copy { font-size: .9375rem; padding-left: 22px; }
  .process-grid { gap: 22px; }
  .contact-inner { align-items: flex-start; }
  .button-contact { min-width: 212px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 78px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 180px; }
  .site-nav { flex-wrap: wrap; font-size: .8125rem; }
  .menu-label { font-size: .8125rem; }
  .hero { background: linear-gradient(155deg, #fff 0%, #f6fbfd 55%, #e6f3f7 100%); }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; padding-bottom: 64px; }
  .hero-copy { z-index: 1; }
  .hero-eyebrow { margin-bottom: 21px; max-width: none; font-size: .75rem; letter-spacing: .10em; }
  h1 { font-size: clamp(2.5rem, 10.2vw, 3.8rem); line-height: 1.38; letter-spacing: -.045em; }
  .hero-description { margin-top: 22px; font-size: .9375rem; line-height: 1.95; max-width: 390px; }
  .hero-description .nowrap { display: inline; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .hero-actions .button { min-height: 54px; gap: 16px; padding-inline: 20px; font-size: .875rem; }
  .hero-actions .text-link { font-size: .8125rem; gap: 12px; }
  .hero-art { width: 116%; max-width: 650px; margin: 8px -8% -2px; }
  .hero-art img { aspect-ratio: 3 / 2; }
  .scroll-link { bottom: 21px; gap: 12px; }
  .scroll-line { height: 24px; }
  .section-space { padding-block: 56px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { margin-top: 10px; }
  .section-intro { margin-top: 18px; }
  h2 { font-size: 1.75rem; }
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 25px 26px 28px; }
  .service-top { margin-bottom: 20px; }
  .service-icon { width: 54px; height: 54px; }
  .service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
  .service-card > p:last-child { font-size: 1rem; }
  .approach-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 50px; }
  .approach h2 { font-size: 2rem; line-height: 1.5; }
  .approach-copy { padding: 0 0 0 20px; font-size: 1rem; }
  .approach::after { left: 45%; }
  .mobile-break { display: block; }
  .approach .mobile-break { display: none; }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 22px; }
  .process-grid h3 { margin-top: 13px; margin-bottom: 9px; font-size: 1.125rem; }
  .process-grid p { font-size: .9375rem; }
  .process-grid p br { display: none; }
  .contact-inner { flex-direction: column; gap: 26px; padding-block: 48px; }
  .contact h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); line-height: 1.6; }
  .contact-copy > p:last-child { font-size: .9375rem; }
  .contact-action { width: 100%; }
  .button-contact { min-width: 0; width: 100%; min-height: 60px; padding-inline: 25px; }
  .footer-inner { min-height: 90px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .footer-brand img { width: 145px; }
  .footer-inner > p { font-size: .75rem; letter-spacing: 0; }
  .back-top { width: 40px; height: 40px; }
  .dialog-inner { padding: 28px 24px; }
  .dialog-inner h2 { font-size: 1.25rem; }
}

@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 157px; }
  .hero-eyebrow { letter-spacing: .025em; }
  h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .approach .mobile-break { display: block; }
  .footer-brand img { width: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-override) { scroll-behavior: auto; }
  html:not(.motion-override) *, html:not(.motion-override) *::before, html:not(.motion-override) *::after { transition: none !important; animation: none !important; }
}

/* Motion follows the existing brand: light, depth, and a measured rhythm. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
.site-header { background: rgba(255, 255, 255, .91); backdrop-filter: blur(18px); transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 28px #102b460a; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--aqua), var(--amber)); transform: scaleX(var(--read-progress, 0)); transform-origin: left; pointer-events: none; }
.site-nav > a[aria-current="location"]:not(.button)::after,
.site-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }
.site-nav > a[aria-current="location"]:not(.button) { color: var(--teal-dark); }
.button { position: relative; isolation: isolate; overflow: hidden; border-radius: 8px; transition: background .25s, transform .3s var(--ease-out), box-shadow .3s; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 15%, #ffffff24 48%, transparent 80%); transform: translateX(-120%); transition: transform .7s var(--ease-out); pointer-events: none; }
.button:hover::before, .button:focus-visible::before { transform: translateX(120%); }
.button > span, .text-link > span { display: inline-block; transition: transform .3s var(--ease-out); }
.button:hover > span, .button:focus-visible > span { transform: translate(3px, -3px); }
.text-link:hover > span, .text-link:focus-visible > span { transform: translateY(4px); }
.hero { isolation: isolate; background: radial-gradient(ellipse at 79% 46%, #c8eeef82, transparent 53%), linear-gradient(110deg, #fff 5%, #f9fcfe 42%, #eaf5fa 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#087f8c0a 1px, transparent 1px), linear-gradient(90deg, #087f8c0a 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 32%, #000 80%); }
.hero-title-line { display: block; }
.hero-accent { position: relative; display: inline-block; isolation: isolate; }
.hero-accent::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .12em; height: .13em; background: linear-gradient(90deg, #16b6b240, #e6b35d55); transform-origin: left; }
.hero-art { perspective: 1100px; }
.hero-art-stage { position: relative; z-index: 1; transform: rotateX(var(--art-rx, 0deg)) rotateY(var(--art-ry, 0deg)); transition: transform .7s var(--ease-out); }
.hero-art-float { transform-origin: 50% 55%; }
.hero-art img { mask-image: radial-gradient(ellipse 65% 66% at 50% 50%, #000 46%, transparent 86%); }
.hero-orbit { position: absolute; z-index: 0; pointer-events: none; border: 1px solid #087f8c24; border-radius: 50%; aspect-ratio: 1; }
.hero-orbit-outer { width: 72%; left: 15%; top: -3%; transform: rotate(-24deg) scaleY(.74); }
.hero-orbit-inner { width: 56%; left: 23%; top: 9%; border-style: dashed; opacity: .65; transform: rotate(24deg) scaleY(.82); }
.hero-orbit-outer::after { content: ""; position: absolute; top: 20%; left: 9%; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 6px #e6b35d19; }
.art-caption { bottom: -10%; font-size: .75rem; }
.scroll-line { position: relative; overflow: hidden; background: #bfdde2; }
.scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--teal); }
.motion-toggle { position: absolute; right: 0; bottom: 28px; display: inline-flex; gap: 9px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #bddbe0; border-radius: 24px; background: #ffffffb3; color: var(--teal-dark); font-size: .875rem; line-height: 1.5; }
.motion-toggle:hover { background: white; border-color: var(--teal); }
.motion-toggle-icon { width: 14px; text-align: center; font-family: Arial, sans-serif; font-size: .875rem; }
.section-space { padding-block: 104px; }
.section-heading { margin-bottom: 46px; }
.section-intro, .process-grid p, .contact-copy > p:last-child { font-size: 1rem; }
.service-card { --card-accent: #2b759b; overflow: hidden; border: 1px solid #d7e6ed; border-top: 2px solid var(--card-accent); border-radius: 4px 4px 18px 18px; background: linear-gradient(145deg, #f1f7fa, #f9fcfd); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.service-card:nth-child(2) { --card-accent: var(--teal); background: linear-gradient(145deg, #eef9f8, #f8fcfb); }
.service-card:nth-child(3) { --card-accent: #637dae; background: linear-gradient(145deg, #f4f7fb, #fbfcfe); }
.service-card::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--card-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.service-icon { transition: transform .45s var(--ease-out), background .3s; }
.service-number { font-size: 2.3rem; font-weight: 400; color: #c3d6e0; letter-spacing: -.06em; }
.service-card:nth-child(2) .service-number { color: #b8dbd6; }
.service-card:nth-child(3) .service-number { color: #ccd5e6; }
.approach-inner { padding-block: 88px; }
.approach::before { content: ""; position: absolute; width: 480px; height: 480px; right: -150px; top: -280px; border: 1px solid #8ed9dd2b; border-radius: 50%; box-shadow: 0 0 0 60px #8ed9dd06, 0 0 0 120px #8ed9dd04; pointer-events: none; }
.approach h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.step-header > span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #bcdce3; border-radius: 50%; font-size: 1rem; background: var(--white); }
.step-rule { transform-origin: left; background: linear-gradient(90deg, var(--teal), #bcdce3); }
.process-grid li { position: relative; }
.contact { overflow: hidden; background: radial-gradient(ellipse at 90% 0%, #a3e2db80, transparent 60%), linear-gradient(108deg, #e4f3f7, #d7f1ef); }
.contact-inner { position: relative; padding-block: 80px; }
.contact-note { font-size: .875rem; }
.back-top { transition: transform .3s var(--ease-out), background .3s; }
.back-top:hover, .back-top:focus-visible { transform: translateY(-4px); }

/* Content stays visible without JS. Only initialized observers can hide it. */
.motion-enabled .reveal-pending { opacity: 0; transform: translateY(44px); }
.motion-enabled .reveal-item { transition: opacity .9s var(--ease-out) var(--reveal-delay, 0ms), transform .9s var(--ease-out) var(--reveal-delay, 0ms); }
.motion-enabled .reveal-item.is-visible { opacity: 1; transform: none; }
.motion-enabled .reveal-item:focus-within { opacity: 1; transform: none; transition: none; }
.motion-enabled .process-grid .is-visible .step-rule { animation: line-in .9s var(--ease-out) var(--reveal-delay, 0ms) both; }
.motion-enabled.motion-intro .hero-eyebrow { animation: enter-up .7s var(--ease-out) both; }
.motion-enabled.motion-intro .hero-title-line { animation: enter-up .9s var(--ease-out) both; }
.motion-enabled.motion-intro .hero-title-line:nth-child(1) { animation-delay: .07s; }
.motion-enabled.motion-intro .hero-title-line:nth-child(2) { animation-delay: .16s; }
.motion-enabled.motion-intro .hero-title-line:nth-child(3) { animation-delay: .25s; }
.motion-enabled.motion-intro .hero-description { animation: enter-up .9s var(--ease-out) .32s both; }
.motion-enabled.motion-intro .hero-actions { animation: enter-up .9s var(--ease-out) .4s both; }
.motion-enabled.motion-intro .hero-accent::after { animation: line-in 1s var(--ease-out) .6s both; }
.motion-enabled.motion-intro .hero-art { animation: art-enter 1.2s var(--ease-out) .15s both; }
.motion-enabled .hero-art-float { animation: art-float 4.5s ease-in-out infinite; }
.motion-enabled .hero-orbit-outer { animation: orbit-drift 12s linear infinite; }
.motion-enabled .scroll-line::after { animation: scroll-cue 2s ease-in-out infinite; }
.motion-enabled:not(.hero-in-view) .hero-art-float,
.motion-enabled:not(.hero-in-view) .hero-orbit,
.motion-enabled:not(.hero-in-view) .scroll-line::after,
.page-hidden *, .page-hidden *::after { animation-play-state: paused !important; }
@keyframes enter-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-enter { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes art-float { 0%, 100% { transform: translateY(8px) rotate(-1.2deg); } 50% { transform: translateY(-22px) rotate(1.2deg); } }
@keyframes orbit-drift { from { transform: rotate(-24deg) scaleY(.74); } to { transform: rotate(336deg) scaleY(.74); } }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scroll-cue { from { transform: translateY(0); } to { transform: translateY(300%); } }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px #102b4610; border-color: var(--card-accent); }
  .service-card.is-visible:hover { transform: translateY(-7px); transition-delay: 0ms; }
  .service-card:hover::after { transform: scaleX(1); }
  .service-card:hover .service-icon { transform: translateY(-3px) rotate(-6deg); }
}
@media (max-width: 900px) {
  .section-space { padding-block: 72px; }
  .approach-inner { padding-block: 64px; }
  .hero-description, .service-card > p:last-child, .approach-copy { font-size: 1rem; }
}
@media (max-width: 640px) {
  .hero-grid { background-size: 40px 40px; mask-image: linear-gradient(180deg, transparent 25%, #000); }
  .hero-art { margin-top: 24px; }
  .hero-orbit-outer { top: -2%; }
  .hero-orbit-inner { top: 8%; }
  .motion-toggle { bottom: 13px; padding-inline: 10px; }
  .section-space { padding-block: 60px; }
  .section-heading { margin-bottom: 30px; }
  .section-intro { font-size: 1rem; }
  .service-card { padding: 26px; }
  .service-number { font-size: 2rem; }
  .approach-inner { padding-block: 56px; }
  .approach h2 { font-size: 2rem; }
  .contact-inner { padding-block: 54px; }
  .hero-actions .text-link, .site-nav, .menu-label { font-size: .875rem; }
  .motion-enabled .reveal-item { transition-delay: 0ms; }
  .motion-enabled .process-grid .is-visible .step-rule { animation-delay: 0ms; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-override) { scroll-behavior: auto; }
  html:not(.motion-override) *, html:not(.motion-override) *::before, html:not(.motion-override) *::after { animation: none !important; transition: none !important; }
  html:not(.motion-override) .reveal-pending { opacity: 1; transform: none; }
  html:not(.motion-override) :is(.hero-art-stage, .hero-art-float, .service-card.is-visible:hover, .service-card:hover, .service-card:hover .service-icon) { transform: none; }
}
html.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .hero-art-stage, .motion-paused .hero-art-float, .motion-paused .service-card:hover, .motion-paused .service-card:hover .service-icon { transform: none; }

/* Ambient motion remains perceptible without hovering. */
.hero-orbit-outer { border-color: #087f8c50; }
.hero-orbit-inner { border-color: #087f8c60; }
.hero-orbit-beacon { position: absolute; z-index: 2; left: 17%; top: 0; width: 68%; aspect-ratio: 1; pointer-events: none; border-radius: 50%; transform: rotate(-35deg); }
.hero-orbit-beacon > span { position: absolute; width: 12px; height: 12px; top: 10%; left: 17%; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 7px #16b6b218, 0 0 24px #16b6b266; }
.motion-enabled .hero-orbit-beacon { animation: beacon-orbit 9s linear infinite; }
.motion-enabled .hero-orbit-inner { animation: inner-orbit 16s linear infinite reverse; }
.motion-enabled:not(.hero-in-view) .hero-orbit-beacon { animation-play-state: paused; }
.scroll-line { width: 2px; }
.motion-toggle { z-index: 3; }
.motion-enabled .services.scene-in-view .service-icon { animation: icon-float 4s ease-in-out infinite; }
.motion-enabled .services.scene-in-view .service-card:nth-child(2) .service-icon { animation-delay: -.8s; }
.motion-enabled .services.scene-in-view .service-card:nth-child(3) .service-icon { animation-delay: -1.6s; }
.approach::after { inset-block: -44px; opacity: .22; }
.motion-enabled .approach.scene-in-view::after { animation: grid-flow 5s linear infinite; }
@keyframes beacon-orbit { from { transform: rotate(-35deg); } to { transform: rotate(325deg); } }
@keyframes inner-orbit { from { transform: rotate(24deg) scaleY(.82); } to { transform: rotate(384deg) scaleY(.82); } }
@keyframes icon-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-5deg); } }
@keyframes grid-flow { from { transform: translateY(0); } to { transform: translateY(44px); } }
