@font-face {
  font-family: "Epox Didot";
  src: url("assets/didot.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Epox Didot Title";
  src: url("assets/didot-title.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #10233b;
  --navy-deep: #0b1b2e;
  --blue: #22a8f0;
  --pale: #f2f5f7;
  --ink: #14283f;
  --muted: #aeb9bd;
  --white: #fff;
  --wrap: 1320px;
  --page-gutter: clamp(22px, 6vw, 88px);
  --sans: Arial, Helvetica, sans-serif;
  --serif: "Epox Didot", "Didot", "Bodoni MT", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { position: relative; isolation: isolate; margin: 0; background: var(--navy); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--navy); background: var(--blue); }

.page-wrap { width: min(var(--wrap), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.section-dark { background: rgba(16,35,59,.8); color: var(--white); }
.section-light { background: rgba(242,245,247,.82); color: var(--ink); }
.site-background { position: fixed; z-index: 0; inset: 0; overflow: hidden; background: var(--navy-deep); pointer-events: none; }
.site-background-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; filter: brightness(.7) saturate(.82) contrast(1.05); }
.site-background-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,19,32,.28), rgba(7,19,32,.1) 48%, rgba(7,19,32,.3)); }
main, .site-footer { position: relative; z-index: 1; }
.skip-link { position: absolute; top: -100px; left: 18px; z-index: 99; padding: 12px 18px; background: var(--blue); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 50; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: var(--blue); box-shadow: 0 0 14px rgba(34,168,240,.65); }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(16, 35, 59, .97); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.header-inner { width: min(var(--wrap), calc(100% - var(--page-gutter) * 2)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 0 0 auto; }
.brand-name { display: flex; align-items: baseline; color: var(--white); font-size: 28px; font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.brand-id { padding-left: 5px; color: var(--blue); }
.brand-caption { color: #aebbc6; font-size: 8px; font-weight: 700; letter-spacing: .24em; }
.primary-nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 42px); }
.primary-nav > a:not(.nav-cta) { color: #d3dce4; font-size: 13px; font-weight: 700; transition: color .2s ease; }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a:not(.nav-cta):focus-visible { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; gap: 18px; padding: 13px 17px; border: 1px solid var(--blue); color: var(--white); font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.nav-cta span { color: var(--blue); font-size: 17px; line-height: .7; }
.nav-cta:hover { background: var(--blue); color: var(--navy); }
.nav-cta:hover span { color: var(--navy); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 130px) 0 0; }
.hero::before { position: absolute; top: 0; left: 58%; width: 1px; height: 80%; background: linear-gradient(transparent, rgba(34,168,240,.18), transparent); content: ""; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 20px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: #c4d3df; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.eyebrow-rule { width: 42px; height: 3px; background: var(--blue); }
.eyebrow-dot { color: var(--blue); }
.eyebrow-dark { color: #596b7b; }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(54px, 6vw, 88px); font-weight: 900; letter-spacing: -.065em; line-height: .98; }
.hero h1 span { color: #c3d0dc; }
.hero-description { max-width: 440px; margin: 28px 0 30px; color: #c0ccd6; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 0 21px; font-size: 12px; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-blue { background: var(--blue); color: var(--navy-deep); }
.button-blue:hover { background: #67c5fb; }
.button span { font-size: 17px; }
.button span, .nav-cta span, .text-link span, .dark-link span, .footer-top span { display: inline-block; transition: transform .2s ease; }
.button:hover span, .nav-cta:hover span, .text-link:hover span, .dark-link:hover span, .footer-top:hover span { transform: translate(2px,-2px); }
.text-link, .dark-link { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 12px; font-weight: 700; }
.text-link span, .dark-link span { color: var(--blue); font-size: 18px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: clamp(36px, 5vw, 60px); color: #91a3b2; font-size: 11px; letter-spacing: .04em; }
.note-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(34,168,240,.12); }

.hero-visual { min-width: 0; margin: 0; }
.hero-image-frame { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #d9e0e5; isolation: isolate; }
.hero-image-frame::before { position: absolute; z-index: 1; inset: 0; background: radial-gradient(ellipse 30% 24% at var(--hero-light-x, 70%) var(--hero-light-y, 34%), rgba(255,255,255,.21), transparent 72%); content: ""; pointer-events: none; transition: opacity .3s ease; }
.hero-image-frame::after { position: absolute; z-index: 3; inset: 0; border: 12px solid rgba(16,35,59,.07); content: ""; pointer-events: none; }
.hero-slides { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #d9e0e5; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; opacity: 0; transform: scale(1.025); transition: opacity .9s ease, transform 7s ease; }
.hero-slide.is-current { opacity: 1; transform: scale(1); }
.hero-slide-controls { position: absolute; z-index: 4; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid rgba(255,255,255,.32); background: rgba(11,27,46,.78); backdrop-filter: blur(12px); }
.hero-slide-arrow { display: grid; width: 31px; height: 31px; place-items: center; border: 0; background: transparent; color: var(--white); font-size: 17px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.hero-slide-arrow:hover { background: var(--blue); color: var(--navy-deep); }
.hero-slide-dots { display: flex; align-items: center; gap: 7px; padding-inline: 2px; }
.hero-slide-dot { display: grid; width: 26px; height: 28px; padding: 0; place-items: center; border: 0; background: transparent; cursor: pointer; }
.hero-slide-dot::before { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.46); content: ""; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.hero-slide-dot.is-current::before { width: 18px; border-radius: 7px; background: var(--blue); }
.image-corner { position: absolute; z-index: 4; top: 15px; left: 15px; padding: 8px 10px; background: rgba(16,35,59,.9); color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.image-corner b { color: var(--blue); }
.hero-caption { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 15px; row-gap: 5px; padding: 18px 1px 0; }
.caption-kicker { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.caption-title { color: var(--white); font-family: var(--serif); font-size: clamp(21px, 2vw, 28px); letter-spacing: .03em; }
.caption-copy { grid-column: 2; color: #aab9c5; font-size: 12px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 42px; padding-bottom: 26px; margin-top: clamp(65px, 8vw, 112px); border-top: 1px solid rgba(255,255,255,.14); color: #9fb0bd; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.motion-strip { overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(11,27,46,.84); }
.motion-strip-track { display: flex; width: max-content; align-items: center; gap: 31px; animation: stripFlow 34s linear infinite; color: #c4d3df; font-size: 10px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.motion-strip-track i { color: var(--blue); font-size: 14px; font-style: normal; }
@keyframes stripFlow { to { transform: translateX(-50%); } }

.services { padding: clamp(78px, 10vw, 140px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 19px; }
.section-heading h2, .process-title h2, .contact h2 { margin: 0; font-size: clamp(38px, 5.1vw, 68px); font-weight: 900; letter-spacing: -.065em; line-height: 1.02; }
.section-heading h2 span { color: #728391; }
.section-intro { max-width: 385px; margin: 0 0 6px; color: #657684; font-size: 14px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ccd5dc; border-bottom: 1px solid #ccd5dc; }
.service-card { min-height: 352px; padding: 30px clamp(20px, 3vw, 42px) 27px 0; }
.service-card { position: relative; }
.service-card::after { position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover::after, .service-card:focus-within::after { transform: scaleX(1); }
.service-card + .service-card { padding-left: clamp(20px, 3vw, 42px); border-left: 1px solid #ccd5dc; }
.service-number { display: flex; align-items: center; gap: 11px; color: #6d7d8a; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.service-number i { width: 31px; height: 2px; background: var(--blue); }
.service-icon { width: 51px; height: 51px; margin: 34px 0 22px; color: #168dcc; }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.service-card h3 { margin: 0 0 13px; font-size: 21px; letter-spacing: -.035em; }
.service-card p { max-width: 300px; min-height: 72px; margin-bottom: 20px; color: #63717e; font-size: 13px; line-height: 1.7; }
.service-card > a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 11px; font-weight: 800; }
.service-card > a span { color: #168dcc; font-size: 17px; }

.finish-lab { overflow: hidden; padding: clamp(82px, 10vw, 140px) 0; border-top: 1px solid rgba(255,255,255,.1); }
.finish-lab-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(46px, 8vw, 110px); }
.finish-copy h2 { margin: 0; font-size: clamp(39px, 5vw, 67px); font-weight: 900; letter-spacing: -.065em; line-height: 1.02; }
.finish-copy h2 span { color: #afbdc9; }
.finish-copy > p:not(.eyebrow):not(.finish-disclaimer) { max-width: 400px; margin: 22px 0 26px; color: #b9c7d2; font-size: 13px; line-height: 1.75; }
.finish-disclaimer { margin: 18px 0 0; color: #8397a8; font-size: 10px; line-height: 1.6; }
.finish-stage { --floor-color: #cbd3d1; --light-x: 58%; --light-y: 35%; min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.18); background: #0c1c2e; box-shadow: 0 25px 75px rgba(0,0,0,.22); }
.finish-stage-top, .finish-stage-bottom { display: flex; justify-content: space-between; gap: 15px; color: #8fa2b2; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.finish-stage-top { padding: 2px 2px 12px; }
.finish-stage-current { color: var(--blue); }
.finish-surface { position: relative; display: grid; min-height: clamp(250px, 31vw, 405px); overflow: hidden; place-items: center; isolation: isolate; background-color: var(--floor-color); background-image: linear-gradient(145deg, rgba(255,255,255,.2), transparent 45%, rgba(5,15,27,.14)), radial-gradient(ellipse at var(--light-x) var(--light-y), rgba(255,255,255,.56), transparent 38%); transition: background-color .65s ease; cursor: crosshair; }
.finish-surface::before { position: absolute; z-index: -1; inset: -35% auto -35% -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.54), transparent); content: ""; filter: blur(6px); transform: skewX(-15deg); animation: glossSweep 5.5s ease-in-out infinite; }
.surface-grain { position: absolute; z-index: -1; inset: 0; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.8) .7px, transparent .7px); background-size: 8px 8px; mix-blend-mode: overlay; }
.surface-gloss { position: absolute; z-index: -1; top: var(--light-y); left: var(--light-x); width: 38%; height: 34%; border-radius: 50%; background: rgba(255,255,255,.24); filter: blur(31px); transform: translate(-50%,-50%); transition: top .16s ease-out, left .16s ease-out; }
.surface-label { color: rgba(16,35,59,.55); font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: .23em; }
.finish-stage-bottom { padding: 12px 2px 1px; font-size: 7px; }
.finish-stage-bottom span:last-child { color: var(--blue); }
@keyframes glossSweep { 0%, 15% { left: -40%; opacity: 0; } 34% { opacity: .9; } 60%, 100% { left: 125%; opacity: 0; } }

.ral-catalog { margin-top: clamp(60px, 8vw, 104px); padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.ral-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.ral-catalog-kicker { margin: 0 0 9px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.ral-catalog-heading h3 { margin: 0; color: var(--white); font-size: clamp(26px, 3vw, 39px); font-weight: 900; letter-spacing: -.055em; }
.ral-catalog-heading h3 span { color: #aebdca; }
.ral-search-wrap { display: flex; width: min(360px, 40%); min-height: 48px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.035); color: #93a7b8; }
.ral-search-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34,168,240,.1); }
.ral-search-icon { font-size: 22px; line-height: 1; }
.ral-search { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--white); font: 12px var(--sans); }
.ral-search::placeholder { color: #8093a4; }
.ral-search-wrap kbd { padding: 4px 5px; border: 1px solid rgba(255,255,255,.16); color: #8194a4; font: 8px var(--sans); }
.ral-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.ral-filter { display: inline-flex; min-height: 33px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #c0ced8; font-size: 9px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.ral-filter span { color: #8297a8; font-size: 8px; }
.ral-filter:hover, .ral-filter.is-active { border-color: var(--blue); background: rgba(34,168,240,.12); color: var(--white); }
.ral-filter.is-active span { color: var(--blue); }
.ral-result-count { margin: -8px 0 10px; color: #90a3b3; font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.ral-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: start; gap: clamp(18px, 3vw, 38px); }
.ral-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-content: start; gap: 8px; padding: 4px 14px 20px 0; overflow: visible; }
.ral-empty { grid-column: 1 / -1; margin: 0; padding: 24px 0; color: #9aabba; font-size: 12px; }
.ral-swatch { position: relative; z-index: 0; display: flex; width: 100%; min-width: 0; aspect-ratio: 1.42; align-items: end; justify-content: start; padding: 6px; border: 1px solid rgba(255,255,255,.22); background: var(--swatch); color: var(--swatch-text, #14283f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); font: 800 8px var(--sans); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ral-swatch:hover, .ral-swatch:focus-visible, .ral-swatch.is-preview { z-index: 6; transform: scale(1.16); border-color: var(--white); box-shadow: 0 8px 22px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.22); }
.ral-swatch.is-selected { box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 4px var(--white); }
.ral-swatch::after { position: absolute; z-index: 8; top: 50%; left: calc(100% + 9px); width: max-content; max-width: 220px; padding: 9px 11px; transform: translateY(-50%) translateX(-3px); border: 1px solid rgba(255,255,255,.16); background: var(--navy-deep); color: var(--white); content: attr(data-ral) " · " attr(data-name); font: 800 9px var(--sans); letter-spacing: .035em; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.ral-swatch.tip-left::after { right: calc(100% + 9px); left: auto; transform: translateY(-50%) translateX(3px); }
.ral-swatch:hover::after, .ral-swatch:focus-visible::after, .ral-swatch.is-preview::after { transform: translateY(-50%); opacity: 1; }
.ral-swatch.is-preview::after { border-color: var(--blue); }
.ral-swatch[hidden] { display: none; }
.ral-detail { position: sticky; top: 112px; min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.18); background: #0c1c2e; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.ral-detail-swatch { position: relative; display: grid; min-height: 118px; overflow: hidden; place-items: end start; padding: 9px; background: var(--swatch); transition: background-color .24s ease; }
.ral-detail-index { padding: 5px 7px; background: rgba(11,27,46,.75); color: var(--white); font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.ral-detail-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; }
.ral-detail-label { color: #8498a9; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.ral-detail-hex { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.ral-detail-code { margin: 12px 0 2px; color: var(--white); font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: .015em; }
.ral-detail-name { margin: 0 0 16px; color: #afbdc9; font-size: 11px; }
.ral-apply { display: flex; width: 100%; min-height: 37px; align-items: center; justify-content: space-between; padding: 0 10px; border: 1px solid var(--blue); background: transparent; color: var(--white); font-size: 8px; font-weight: 800; letter-spacing: .07em; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ral-apply:hover { background: var(--blue); color: var(--navy); }
.ral-apply span { color: var(--blue); font-size: 15px; }
.ral-apply:hover span { color: var(--navy); }
.ral-detail-note { margin: 12px 0 0; color: #8498a9; font-size: 8px; line-height: 1.6; }
.ral-footnote { margin: 9px 0 0; color: #8295a5; font-size: 9px; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.projects { padding: clamp(82px, 10vw, 140px) 0; }
.project-heading { align-items: end; margin-bottom: 50px; }
.project-heading h2 { color: var(--white); }
.project-heading h2 span { color: #b7c5d0; }
.project-summary { max-width: 320px; padding-left: 19px; border-left: 2px solid var(--blue); }
.project-location { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.project-summary p { margin: 10px 0 0; color: #bdc9d3; font-size: 13px; line-height: 1.7; }
.project-gallery { columns: 3; column-gap: 22px; }
.gallery-item { position: relative; break-inside: avoid; overflow: hidden; margin: 0 0 22px; background: #1b3048; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; background: #d9e0e5; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.gallery-item::after { position: absolute; right: 12px; bottom: 58px; padding: 9px 12px; background: var(--navy); color: var(--white); content: "HAP FOTON  ↗"; font-size: 9px; font-weight: 800; letter-spacing: .12em; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.025); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-item figcaption { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 10px 14px; color: #e1e7eb; font-size: 11px; }
.gallery-item figcaption span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.gallery-item:focus-visible { outline-offset: -4px; }

.photo-lightbox { position: fixed; width: min(1100px, calc(100% - 34px)); max-width: none; max-height: min(92vh, 1100px); padding: 48px 20px 18px; overflow: auto; border: 1px solid rgba(255,255,255,.2); background: var(--navy); color: var(--white); opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .25s ease, transform .25s ease, overlay .25s ease allow-discrete, display .25s ease allow-discrete; }
.photo-lightbox[open] { display: grid; gap: 12px; opacity: 1; transform: translateY(0) scale(1); }
.photo-lightbox::backdrop { background: rgba(5,13,23,.84); backdrop-filter: blur(8px); }
.photo-lightbox img { max-width: 100%; max-height: calc(88vh - 100px); width: auto; height: auto; justify-self: center; object-fit: contain; }
.photo-lightbox p { margin: 0; color: #d1dce4; font-size: 12px; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--blue); color: var(--navy); }
@starting-style { .photo-lightbox[open] { opacity: 0; transform: translateY(18px) scale(.985); } }

.process { padding: clamp(78px, 10vw, 140px) 0; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 10vw, 145px); }
.process-title h2 span { color: #768693; }
.process-title > p:not(.eyebrow) { max-width: 300px; margin: 23px 0 25px; color: #657684; font-size: 14px; line-height: 1.75; }
.dark-link { color: var(--ink); }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #cbd4db; }
.process-list li { display: grid; grid-template-columns: 48px 1fr 20px; gap: 15px; align-items: start; padding: 26px 0; border-bottom: 1px solid #cbd4db; }
.process-index { padding-top: 4px; color: #168dcc; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.process-list h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; }
.process-list p { max-width: 410px; margin: 0; color: #657684; font-size: 12px; line-height: 1.7; }
.process-plus { color: #168dcc; font-size: 22px; font-weight: 300; }

.contact { position: relative; overflow: hidden; padding: clamp(75px, 9vw, 120px) 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact::after { position: absolute; right: -120px; bottom: -235px; width: 570px; height: 570px; border: 1px solid rgba(34,168,240,.18); border-radius: 50%; box-shadow: 0 0 0 54px rgba(34,168,240,.025), 0 0 0 108px rgba(34,168,240,.025); content: ""; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.contact h2 { font-size: clamp(39px, 5.2vw, 70px); }
.contact h2 span { color: #aebdca; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; min-width: 285px; padding-bottom: 4px; }
.contact-action p { max-width: 280px; margin: 0 0 4px; color: #b7c5d0; font-size: 13px; line-height: 1.7; }
.contact-phone { color: var(--white); font-size: 19px; font-weight: 800; letter-spacing: .035em; }

.site-footer { border-top: 1px solid rgba(255,255,255,.15); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; min-height: 136px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-main > p { margin: 0; color: #9eafbc; font-size: 12px; }
.footer-top { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 11px; font-weight: 700; }
.footer-top span { color: var(--blue); font-size: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8295a5; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 980px) {
  :root { --page-gutter: 34px; }
  .header-inner { gap: 20px; }
  .primary-nav { gap: 19px; }
  .primary-nav > a:not(.nav-cta) { font-size: 12px; }
  .hero-inner { gap: 40px; }
  .hero h1 { font-size: clamp(50px, 6.3vw, 69px); }
  .service-card { min-height: 380px; }
  .project-gallery { columns: 2; }
  .finish-lab-inner { gap: 36px; }
  .ral-workspace { grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; }
  .ral-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 7px; }
}

@media (max-width: 800px) {
  :root { --page-gutter: 22px; }
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 24px; }
  .brand-caption { font-size: 7px; }
  .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 13px; padding: 9px 0 9px 9px; border: 0; background: transparent; color: var(--white); cursor: pointer; }
  .menu-toggle-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
  .menu-icon { display: grid; gap: 5px; width: 22px; }
  .menu-icon i { display: block; width: 22px; height: 2px; background: var(--blue); transition: transform .2s ease; }
  .nav-open .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px var(--page-gutter) 22px; background: rgba(16,35,59,.98); border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 24px rgba(0,0,0,.2); }
  .nav-open .primary-nav { display: flex; flex-direction: column; }
  .primary-nav > a:not(.nav-cta) { display: flex; min-height: 46px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
  .primary-nav .nav-cta { min-height: 48px; justify-content: space-between; margin-top: 17px; }
  .hero { padding-top: 60px; }
  .hero::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { padding-bottom: 0; }
  .hero .eyebrow { margin-bottom: 21px; font-size: 9px; }
  .hero h1 { font-size: clamp(49px, 13vw, 76px); }
  .hero-description { max-width: 520px; margin: 23px 0 24px; }
  .hero-note { margin-top: 29px; }
  .hero-slide-controls { right: 12px; bottom: 12px; gap: 7px; padding: 5px; }
  .hero-slide-arrow { width: 40px; height: 40px; }
  .hero-slide-dot { width: 30px; height: 36px; }
  .hero-caption { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding-top: 14px; }
  .caption-copy { grid-column: 1; }
  .hero-bottom { flex-wrap: wrap; justify-content: flex-start; column-gap: 24px; row-gap: 11px; margin-top: 55px; padding-top: 25px; font-size: 8px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading h2, .process-title h2 { font-size: clamp(40px, 10vw, 56px); }
  .section-intro { margin-top: 20px; }
  .services, .projects, .process { padding: 75px 0; }
  .finish-lab { padding: 76px 0; }
  .finish-lab-inner { grid-template-columns: 1fr; gap: 36px; }
  .finish-copy h2 { font-size: clamp(40px, 10vw, 56px); }
  .finish-surface { min-height: 275px; }
  .finish-stage-bottom { font-size: 6px; letter-spacing: .09em; }
  .ral-catalog { margin-top: 62px; padding-top: 27px; }
  .ral-catalog-heading { display: block; }
  .ral-search-wrap { width: 100%; margin-top: 21px; }
  .ral-filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: thin; }
  .ral-filter { min-height: 42px; flex: 0 0 auto; }
  .ral-workspace { grid-template-columns: 1fr; gap: 13px; }
  .ral-detail { position: sticky; z-index: 9; top: 73px; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; padding: 9px; backdrop-filter: blur(14px); }
  .ral-detail-swatch { grid-column: 1; grid-row: 1 / span 4; min-height: 76px; }
  .ral-detail-meta { grid-column: 2; margin-top: 2px; }
  .ral-detail-code { grid-column: 2; margin: 1px 0 0; font-size: 21px; }
  .ral-detail-name { grid-column: 2; margin: 0; }
  .ral-apply { grid-column: 2; min-height: 30px; margin-top: 4px; }
  .ral-detail-note { grid-column: 1 / -1; margin-top: 8px; }
  .ral-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding-right: 7px; }
  .ral-swatch { aspect-ratio: 1.25; padding: 4px; font-size: 7px; }
  .ral-footnote { font-size: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { min-height: 0; padding: 25px 0 27px; border-left: 0; }
  .service-card + .service-card { border-top: 1px solid #ccd5dc; }
  .service-icon { margin: 23px 0 16px; }
  .service-card p { min-height: 0; max-width: 420px; }
  .project-heading { display: block; }
  .project-summary { margin-top: 25px; }
  .project-gallery { columns: 1; }
  .gallery-item { margin-bottom: 20px; }
  .process-layout { grid-template-columns: 1fr; gap: 42px; }
  .process-title > p:not(.eyebrow) { margin-top: 18px; }
  .process-list li { grid-template-columns: 36px 1fr 16px; gap: 10px; padding: 23px 0; }
  .contact { padding: 72px 0; }
  .contact-inner { display: block; }
  .contact h2 { font-size: clamp(38px, 9.8vw, 56px); }
  .contact-action { width: 100%; min-width: 0; margin-top: 34px; }
  .contact-phone { font-size: clamp(16px, 5vw, 19px); }
  .footer-main { grid-template-columns: 1fr auto; min-height: 0; padding-top: 29px; padding-bottom: 26px; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-top { grid-column: 2; grid-row: 1; }
  .footer-bottom { flex-wrap: wrap; gap: 9px 16px; font-size: 8px; letter-spacing: .1em; }
  .photo-lightbox { width: calc(100% - 20px); max-height: 92dvh; padding: 46px 12px 14px; }
  .photo-lightbox img { max-height: calc(88dvh - 90px); }
}

@media (max-width: 520px) {
  :root { --page-gutter: 18px; }
  .hero { padding-top: 48px; }
  .hero-inner { gap: 34px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 62px); }
  .hero-actions { align-items: flex-start; gap: 16px 19px; }
  .button { min-height: 48px; }
  .hero-bottom { column-gap: 15px; font-size: 7px; letter-spacing: .1em; }
  .hero-slide-controls { right: 8px; bottom: 8px; }
  .hero-slide-arrow { width: 36px; height: 36px; }
  .hero-slide-dot { width: 26px; height: 32px; }
  .ral-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-right: 0; }
  .ral-swatch { min-height: 46px; aspect-ratio: 1.3; padding: 6px; font-size: 9px; }
  .ral-detail { top: 73px; }
  .finish-stage { padding: 10px; }
  .finish-stage-top, .finish-stage-bottom { gap: 8px; font-size: 7px; letter-spacing: .08em; }
  .finish-surface { min-height: 235px; }
  .surface-label { font-size: clamp(24px, 8vw, 38px); letter-spacing: .16em; }
  .project-gallery { columns: 1; }
  .contact h2 { font-size: clamp(36px, 10vw, 48px); }
  .footer-main { column-gap: 12px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 47px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 15px; }
  .caption-copy { font-size: 11px; }
  .hero-slide-controls { gap: 4px; padding: 4px; }
  .hero-slide-arrow { width: 34px; height: 34px; }
  .hero-slide-dot { width: 23px; height: 30px; }
  .finish-stage-top, .finish-stage-bottom { font-size: 6px; letter-spacing: .04em; }
}

@media (hover: none) {
  .ral-swatch:hover, .ral-swatch:focus-visible, .ral-swatch.is-preview { transform: none; }
  .ral-swatch::after { display: none; }
  .gallery-item:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
