/* Meridian / design revision 02
   EDIT: palette and spacing tokens here; copy lives in index.html.
   Approved source colors: navy #051534 and blue #3a9bf8. */
:root {
  --navy: #051534;
  --blue: #3a9bf8;
  --ink: #051534;
  --muted: #526079;
  --paper: #fff;
  --wash: #f2f6fb;
  --line: #d8e1ed;
  --serif: Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --assembly: 1;
  --page-progress: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a, button, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1360px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: white; color: var(--navy); padding: 16px; }
.skip-link:focus { top: 10px; }
.preview-notice { display: flex; justify-content: space-between; gap: 16px; padding: 8px 56px; background: var(--wash); color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffffff5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--page-progress)); background: var(--blue); }
.header-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; width: 368px; flex-shrink: 0; }
.brand img { width: 100%; }
.header-inner nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.header-inner nav a:not(.nav-cta)::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.header-inner nav a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--navy); color: white; padding: 15px 22px; border-radius: 4px; gap: 24px; }
.nav-cta:hover { background: #143765; }
.menu-toggle { display: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; line-height: 1.7; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.blue-rule { width: 28px; height: 2px; background: var(--blue); flex-shrink: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 36px; min-height: 56px; padding: 17px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .25s, transform .35s var(--ease), box-shadow .35s; }
.button > span { font-size: 20px; font-weight: 400; transition: transform .35s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button:hover > span { transform: translate(2px,-2px); }
.button-blue { background: var(--blue); color: var(--navy); }
.button-blue:hover { background: #73baff; box-shadow: 0 10px 40px #3a9bf82b; }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #e8f3ff; }
.button-outline { color: white; background: transparent; border-color: #8195b2; }
.button-navy { background: var(--navy); color: white; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; font-size: 13px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
/* Opening: oversized live typography, a native website composition, orbital lines. */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: white; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding-block: 68px 64px; min-height: 710px; }
.hero-copy { z-index: 2; position: relative; }
.hero .eyebrow { color: #c4d5ed; margin: 0 0 28px; }
.hero h1 { font-size: clamp(64px, 6.85vw, 104px); font-weight: 500; line-height: .98; letter-spacing: -.062em; margin: 0 0 29px; }
.hero h1 span { color: var(--blue); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.065em; }
.hero-lede { color: #eff5ff; font-size: 20px; line-height: 1.5; letter-spacing: -.025em; margin: 0 0 13px; }
.hero-detail { color: #b3c2d9; max-width: 370px; font-size: 14px; line-height: 1.8; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .text-link { color: #e3edfc; }
.hero-footnote { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .05em; color: #a5bad5; margin-top: 35px; }
.footnote-line { width: 25px; height: 1px; background: #526c90; }
.hero-orbits { position: absolute; width: 940px; height: 940px; right: -180px; top: -90px; border: 1px solid #3a9bf826; border-radius: 50%; z-index: -1; transform: rotate(-30deg); }
.hero-orbits::before, .hero-orbits::after, .hero-orbits span { content: ''; position: absolute; inset: 0; border: 1px solid #3a9bf822; border-radius: 50%; }
.hero-orbits::before { inset: 90px; }
.hero-orbits::after { inset: 190px; }
.hero-orbits span:nth-child(1) { inset: 0 270px; }
.hero-orbits span:nth-child(2) { inset: 0 390px; }
.hero-orbits span:nth-child(3) { inset: 380px 0; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; color: #b3c2d9; font-size: 10px; letter-spacing: .06em; min-height: 70px; }
.hero-bottom a { min-height: 44px; display: flex; align-items: center; gap: 28px; }
.hero-bottom a span { color: var(--blue); font-size: 20px; }
#motion-control { min-height: 44px; padding: 8px 0 8px 14px; color: #c9d8ed; background: none; border: 0; font-size: 11px; }
#motion-control:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
/* Editable HTML concept; no baked-in text, films or external libraries. */
.craft { min-width: 0; position: relative; }
.craft-stage { position: relative; height: 510px; perspective: 1200px; isolation: isolate; }
.stage-grid { position: absolute; inset: 0 -20px; background-image: linear-gradient(#3a9bf814 1px, transparent 1px), linear-gradient(90deg, #3a9bf814 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse, black 10%, transparent 70%); }
.stage-orbit { position: absolute; width: 370px; height: 370px; top: 50px; left: 9%; border: 1px solid #3a9bf838; border-radius: 50%; }
.measure { position: absolute; color: #b3c7e3; font-size: 8px; letter-spacing: .14em; }
.measure-top { top: 14px; left: 5%; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.measure-bottom { left: 9%; bottom: 14px; }
.crosshair { color: var(--blue); font-size: 22px; margin-right: 12px; vertical-align: middle; }
.browser-piece { position: absolute; width: 96%; top: 103px; left: -2%; border-radius: 8px; overflow: hidden; color: var(--navy); background: #fff; box-shadow: 0 40px 80px #0006, 0 0 0 1px #ffffff50; z-index: 2; transform: translateY(calc((1 - var(--assembly)) * 12px)) rotateY(calc((1 - var(--assembly)) * -9deg)) rotate(calc((1 - var(--assembly)) * -5deg)); }
.browser-chrome { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 8px; color: #62718a; background: #eef2f7; border-bottom: 1px solid var(--line); }
.browser-dots { font-size: 6px; letter-spacing: 2px; color: #8d9db4; }
.browser-menu { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 7px; }
.demo-wordmark { font-family: var(--serif); font-size: 18px; }
.browser-content { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; padding: 0 24px 24px; }
.browser-eyebrow { color: #62718a; font-size: 6px; letter-spacing: .1em; }
.browser-content p { font-size: clamp(27px, 2.65vw, 41px); line-height: 1.02; letter-spacing: -.05em; margin: 15px 0; }
.browser-content p i { font-family: var(--serif); font-weight: 400; }
.browser-content img { width: 100%; height: 210px; object-fit: cover; object-position: 38% center; }
.mini-button { display: inline-block; padding: 9px; background: var(--navy); color: #fff; font-size: 6px; }
.browser-bottom { display: flex; justify-content: space-between; gap: 5px; border-top: 1px solid var(--line); color: var(--muted); font-size: 7px; padding: 12px 24px; }
.image-fragment, .detail-fragment { display: none; }
.phone-piece { position: absolute; z-index: 3; top: 60px; right: -4%; width: 126px; background: white; color: var(--navy); border: 4px solid #243b5c; border-radius: 21px; padding: 17px 9px 10px; box-shadow: 0 25px 45px #0006; transform: translateY(calc((1 - var(--assembly)) * -18px)) rotate(calc((1 - var(--assembly)) * 7deg)); }
.phone-speaker { display: block; background: var(--navy); width: 30px; height: 4px; border-radius: 8px; margin: -8px auto 11px; }
.phone-brand { font-family: var(--serif); font-size: 10px; display: block; margin: 0 0 8px; }
.phone-piece img { height: 96px; object-fit: cover; width: 100%; }
.phone-title { display: block; font-family: var(--serif); font-size: 23px; line-height: 1; padding: 10px 0; }
.phone-button { display: block; background: var(--navy); color: white; font-size: 5px; padding: 7px 2px; text-align: center; }
.craft-caption { color: #a5bad5; font-size: 10px; margin-top: 8px; text-align: center; }
/* A strong rhythm: light statement / work / dark services / local image. */
.intro-band { background: var(--wash); }
.intro-rule { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 32px; padding-block: 44px; }
.intro-rule .eyebrow { color: var(--muted); }
.intro-rule p { font-size: clamp(22px, 2.3vw, 33px); line-height: 1.3; letter-spacing: -.035em; margin: 0; color: var(--muted); }
.intro-rule strong { color: var(--navy); font-weight: 500; }
.intro-mark { font-size: 54px; color: #075caa; font-weight: 300; }
.section-space { padding-block: 112px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 42px; }
.section-topline .eyebrow { margin: 0; }
.section-note { color: var(--muted); font-size: 11px; }
h2 { font-size: clamp(44px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; margin: 0; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.055em; }
h3 { font-weight: 500; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 50px; }
.section-heading > p { max-width: 340px; font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 5px; }
.project-showcase { display: block; }
.project-photo { position: relative; overflow: hidden; border-radius: 6px; background: var(--navy); }
.project-photo > img { width: 100%; height: 540px; object-fit: cover; object-position: center 43%; transition: transform 1.1s var(--ease); opacity: .88; }
.project-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#051534b8,transparent 85%); pointer-events: none; }
.project-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; color: white; padding: 72px; }
.project-label { font-size: 10px; letter-spacing: .18em; }
.project-overlay h3 { font-family: var(--serif); font-size: clamp(50px, 7vw, 104px); line-height: 1; letter-spacing: -.05em; margin: 24px 0 18px; }
.project-overlay p { font-size: 18px; margin: 0; }
.project-open { position: absolute; bottom: 35px; right: 35px; z-index: 2; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: white; color: var(--navy); font-size: 31px; transition: background .3s, transform .4s var(--ease); }
.project-showcase:hover .project-photo > img { transform: scale(1.035); }
.project-showcase:hover .project-open { background: var(--blue); transform: rotate(45deg); }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.project-caption > div { display: flex; align-items: center; gap: 26px; }
.project-caption strong { font-size: 19px; font-weight: 500; }
.project-caption span { font-size: 11px; color: var(--muted); }
.project-caption > span { color: var(--navy); }
.project-caption > span > span { font-size: 18px; margin-left: 15px; }
.design-reasons { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding-top: 35px; }
.design-reasons > div { padding-left: 20px; border-left: 2px solid var(--blue); }
.design-reasons > div > span { color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.design-reasons p { font-size: 17px; line-height: 1.5; margin: 10px 0 0; }
.services-section { background: var(--navy); color: white; position: relative; overflow: clip; }
.services-section .section-note, .services-section .eyebrow { color: #b7c9e2; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.service-intro h2 .serif { color: var(--blue); }
.service-intro > p { color: #b7c9e2; font-size: 15px; line-height: 1.8; max-width: 340px; margin: 27px 0 20px; }
.service-intro .text-link { color: white; }
.service-intro .text-link span { color: var(--blue); }
.service-emblem { width: 235px; height: 150px; position: relative; margin-top: 42px; display: grid; place-items: center; border: 1px solid #3a9bf85e; border-radius: 50%; transform: rotate(-15deg); }
.service-emblem::before { content: ''; position: absolute; inset: -20px 42px; border: 1px solid #3a9bf85e; border-radius: 50%; transform: rotate(35deg); }
.service-emblem > span { font-size: 20px; line-height: 1.2; text-align: center; transform: rotate(15deg); }
.service-emblem i { font-family: var(--serif); color: var(--blue); }
.service-list article { display: flex; align-items: flex-start; gap: 23px; padding-block: 31px; border-top: 1px solid #ffffff32; }
.service-list article:last-child { border-bottom: 1px solid #ffffff32; }
.service-number { font-size: 11px; color: var(--blue); padding-top: 7px; }
.service-list h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.03em; margin: 0 0 12px; }
.service-list p { color: #b7c9e2; font-size: 14px; line-height: 1.8; margin: 0; max-width: 350px; }
.service-symbol { font-size: 24px; color: var(--blue); margin-left: auto; }
.scope-note { display: flex; align-items: flex-start; gap: 60px; padding-top: 30px; border-top: 1px solid #ffffff32; margin-top: 60px; }
.scope-note > span { font-size: 9px; letter-spacing: .14em; color: #b7c9e2; white-space: nowrap; padding-top: 5px; }
.scope-note p { font-size: 13px; line-height: 1.8; margin: 0; max-width: 760px; color: #b7c9e2; }
.local-section { padding-bottom: 0; }
.local-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 28px 70px; margin-bottom: 54px; }
.local-heading > .eyebrow { grid-column: 1/-1; margin: 0; color: var(--muted); }
.local-heading h2 { font-size: clamp(42px, 4.1vw, 63px); }
.local-heading p { justify-self: end; max-width: 330px; font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 4px; }
.coast-figure { margin: 0; }
.coast-figure img { width: 100%; aspect-ratio: 1280/340; object-fit: cover; }
.coast-figure figcaption { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; padding-block: 18px; }
.coast-figure a { text-decoration: underline; text-underline-offset: 3px; }
.process-grid { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; }
.step-no { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; color: #075caa; font-size: 54px; letter-spacing: -.06em; font-weight: 300; }
.step-no > span { font-size: 23px; }
.process-grid h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; margin: 26px 0 15px; }
.process-grid p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.questions-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; border-top: 1px solid var(--line); }
.questions-intro .eyebrow { margin: 0 0 28px; color: var(--muted); }
.questions-list details { border-bottom: 1px solid var(--line); }
.questions-list details:first-child { border-top: 1px solid var(--line); }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 22px; font-size: 17px; line-height: 1.5; list-style: none; cursor: pointer; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary > span { color: #075caa; font-size: 25px; transition: transform .3s; }
.questions-list details[open] summary > span { transform: rotate(45deg); }
.questions-list p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; padding: 0 22px 26px 0; }
.contact-section { background: var(--navy); color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-copy .eyebrow { color: #b7c9e2; margin: 0 0 32px; }
.contact-copy h2 { font-size: clamp(51px, 5.3vw, 80px); }
.contact-copy h2 .serif { color: var(--blue); }
.contact-copy > p { color: #b7c9e2; font-size: 15px; line-height: 1.8; max-width: 340px; margin: 30px 0 38px; }
.contact-local { display: flex; gap: 40px; align-items: center; font-size: 11px; color: #b7c9e2; }
.contact-local > span { font-size: 24px; color: var(--blue); }
.contact-form-wrap { border: 1px solid #ffffff2c; border-radius: 8px; padding: 32px; background: #ffffff05; }
.draft-notice { font-size: 11px; color: #b7c9e2; line-height: 1.7; border-bottom: 1px solid #ffffff2c; padding-bottom: 20px; margin: 0 0 25px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 12px; margin-bottom: 8px; }
.field label span { color: #aebed5; font-size: 10px; }
.field input, .field textarea { width: 100%; min-height: 46px; background: transparent; border: 0; border-bottom: 1px solid #6a81a2; color: white; border-radius: 0; padding: 10px 0; font-size: 16px; }
.field textarea { resize: vertical; min-height: 106px; }
.field input::placeholder, .field textarea::placeholder { color: #aebed5; opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
#prepare-draft { width: 100%; justify-content: space-between; }
.draft-result h3 { font-size: 28px; margin-top: 0; }
.draft-result > p { color: #b7c9e2; font-size: 14px; line-height: 1.8; }
.draft-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; line-height: 1.8; border: 1px solid #6a81a2; padding: 20px; user-select: text; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.draft-status { min-height: 20px; font-size: 12px; line-height: 1.7; color: #c9d8ed; margin-bottom: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 34px; padding-block: 50px 30px; }
.site-footer .brand { width: 310px; }
.site-footer > div > span { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 28px; margin-top: 20px; font-size: 12px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-preview { width: 100%; padding-top: 24px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.6; color: var(--muted); }
/* Motion is progressively enhanced by script.js. Nothing hides without JS. */
.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0,28px,0); filter: blur(4px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.motion-ready [data-reveal].is-visible, .motion-ready [data-reveal]:focus-within { opacity: 1; transform: none; filter: none; }
.motion-paused [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.motion-paused .browser-piece, .motion-paused .phone-piece { transform: none !important; }
html.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .button:hover, .motion-paused .button:hover > span, .motion-paused .project-showcase:hover .project-photo > img, .motion-paused .project-showcase:hover .project-open { transform: none !important; }
/* Tablet */
@media (max-width: 1150px) {
  .shell { width: calc(100% - 72px); }
  .preview-notice { padding-inline: 36px; }
  .brand { width: 320px; }
  .header-inner nav { gap: 20px; font-size: 12px; }
  .nav-cta { padding-inline: 17px; gap: 15px; }
  .hero-inner { gap: 25px; min-height: 680px; padding-block: 60px; }
  .hero h1 { font-size: clamp(62px,7.25vw,82px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .hero-lede { font-size: 18px; }
  .craft-stage { height: 460px; }
  .browser-piece { top: 110px; }
  .browser-content img { height: 180px; }
  .browser-content p { font-size: 30px; }
  .browser-content { padding: 0 17px 18px; gap: 12px; }
  .browser-menu { padding: 16px 17px; }
  .browser-menu > span:last-child { font-size: 6px; }
  .demo-wordmark { font-size: 15px; }
  .phone-piece { width: 108px; right: -2%; top: 62px; }
  .phone-piece img { height: 75px; }
  .phone-title { font-size: 21px; }
  .stage-orbit { width: 310px; height: 310px; left: 4%; }
  .service-layout, .contact-layout, .questions-section { gap: 58px; }
  .service-list h3 { font-size: 23px; }
  .contact-form-wrap { padding: 25px; }
  .project-photo > img { height: 470px; }
  .section-space { padding-block: 90px; }
  .local-section { padding-bottom: 0; }
}
@media (max-width: 950px) {
  .shell { width: calc(100% - 48px); }
  .preview-notice { padding-inline: 24px; }
  .header-inner { min-height: 96px; }
  .brand { width: 290px; }
  .header-inner nav { gap: 17px; font-size: 11px; }
  .nav-cta { gap: 12px; padding: 13px; }
  .hero-inner { grid-template-columns: 1.12fr 1fr; }
  .hero h1 { font-size: 65px; }
  .hero-actions { gap: 10px 20px; }
  .hero .eyebrow { max-width: 340px; }
  .hero-detail { max-width: 300px; }
  .craft-stage { height: 410px; }
  .browser-content p { font-size: 25px; }
  .browser-content img { height: 147px; }
  .browser-chrome { font-size: 6px; padding: 10px; }
  .browser-menu { padding: 14px; }
  .browser-content { padding-inline: 14px; }
  .browser-eyebrow { font-size: 5px; }
  .mini-button { font-size: 5px; padding: 6px; }
  .browser-bottom { font-size: 6px; padding: 10px 14px; }
  .phone-piece { width: 91px; border-width: 3px; padding: 15px 6px 8px; border-radius: 16px; top: 62px; }
  .phone-brand { font-size: 8px; }
  .phone-piece img { height: 65px; }
  .phone-title { font-size: 18px; }
  .phone-button { font-size: 4px; }
  .stage-orbit { width: 270px; height: 270px; }
  .measure { font-size: 7px; }
  .measure-top { top: 34px; }
  .craft-caption { font-size: 9px; }
  .section-heading { gap: 35px; }
  .section-heading > p { max-width: 285px; font-size: 14px; }
  .intro-rule { grid-template-columns: 1fr 1.6fr auto; gap: 22px; }
  .intro-rule .eyebrow { max-width: 130px; }
  .service-layout { gap: 45px; }
  .service-list article { gap: 17px; }
  .service-list h3 { font-size: 21px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .contact-layout { gap: 38px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .questions-section { gap: 45px; }
}
/* Phone: keep the story legible, controls reachable, motion optional. */
@media (max-width: 760px) {
  html { scroll-padding-top: 102px; }
  .shell { width: calc(100% - 40px); }
  .preview-notice { padding: 7px 20px; justify-content: center; font-size: 9px; }
  .preview-notice > span:last-child { display: none; }
  .header-inner { min-height: 90px; flex-wrap: wrap; gap: 0; }
  .brand { width: 285px; max-width: calc(100% - 64px); }
  .header-inner nav { width: 100%; flex-wrap: wrap; font-size: 13px; padding-block: 0 20px; gap: 6px 24px; }
  .js .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; gap: 8px; border: 0; background: transparent; color: var(--navy); font-size: 0; }
  .menu-toggle > span { position: relative; width: 22px; height: 16px; border-block: 1px solid currentColor; font-size: 0; transition: transform .25s; }
  .menu-toggle > span::after { content: ''; position: absolute; inset: 6px 0 auto; border-top: 1px solid currentColor; }
  .menu-toggle[aria-expanded=true] > span { transform: rotate(90deg); }
  .js .header-inner nav { display: none; }
  .js .header-inner nav.is-open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 25px; min-height: 0; }
  .hero .eyebrow { max-width: none; font-size: 8px; letter-spacing: .095em; margin-bottom: 26px; gap: 10px; }
  .blue-rule { width: 20px; }
  .hero h1 { font-size: clamp(61px, 10.8vw, 82px); line-height: .99; margin-bottom: 25px; }
  .hero-lede { font-size: 19px; }
  .hero-detail { font-size: 14px; max-width: 370px; }
  .hero-actions { gap: 14px 22px; margin-top: 24px; }
  .hero-actions .button { gap: 24px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-footnote { margin-top: 28px; }
  .hero-orbits { width: 800px; height: 800px; right: -420px; top: 420px; }
  .craft { width: min(100%, 470px); margin: 0 auto; }
  .craft-stage { height: 385px; }
  .browser-piece { top: 69px; width: 92%; left: 1%; }
  .browser-content p { font-size: 31px; }
  .browser-content img { height: 168px; }
  .browser-menu { padding: 16px 18px; }
  .browser-content { padding: 0 18px 18px; gap: 14px; }
  .browser-chrome { padding: 10px 13px; font-size: 7px; }
  .demo-wordmark { font-size: 17px; }
  .phone-piece { width: 103px; top: 39px; right: 0; }
  .phone-piece img { height: 77px; }
  .phone-title { font-size: 21px; }
  .phone-brand { font-size: 9px; }
  .measure-top { top: 12px; left: 4%; }
  .measure-bottom { bottom: 0; left: 5%; font-size: 6px; }
  .stage-orbit { width: 280px; height: 280px; top: 40px; left: 10%; }
  .craft-caption { margin-top: 6px; }
  .hero-bottom { min-height: 64px; gap: 12px; font-size: 9px; }
  .hero-bottom > span { display: none; }
  #motion-control { font-size: 10px; }
  .intro-rule { grid-template-columns: 1fr auto; gap: 18px; padding-block: 36px; }
  .intro-rule .eyebrow { grid-column: 1/-1; max-width: none; margin: 0; font-size: 9px; }
  .intro-rule p { font-size: 25px; }
  .intro-mark { font-size: 42px; }
  .section-space { padding-block: 68px; }
  .section-topline { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 30px; }
  .section-note { font-size: 10px; }
  h2 { font-size: clamp(44px, 8vw, 60px); }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 23px; max-width: 420px; font-size: 14px; }
  .project-photo > img { height: 390px; }
  .project-overlay { padding: 28px; }
  .project-label { font-size: 8px; }
  .project-overlay h3 { font-size: clamp(47px, 9vw, 66px); margin-block: 22px 15px; }
  .project-overlay p { font-size: 15px; }
  .project-open { width: 49px; height: 49px; bottom: 22px; right: 22px; font-size: 24px; }
  .project-caption { gap: 16px; padding-block: 20px; }
  .project-caption > div { display: block; }
  .project-caption strong { font-size: 18px; display: block; }
  .project-caption > div > span { display: block; font-size: 10px; margin-top: 8px; }
  .project-caption > span { max-width: 92px; font-size: 10px; line-height: 1.6; }
  .project-caption > span > span { margin-left: 2px; }
  .design-reasons { gap: 18px; padding-top: 25px; }
  .design-reasons > div { padding-left: 11px; }
  .design-reasons > div > span { font-size: 7px; letter-spacing: .08em; }
  .design-reasons p { font-size: 12px; line-height: 1.5; }
  .design-reasons p br { display: none; }
  .service-layout { grid-template-columns: 1fr; gap: 34px; }
  .service-intro > p { max-width: 410px; font-size: 14px; }
  .service-emblem { display: none; }
  .service-list article { padding-block: 27px; gap: 20px; }
  .service-list h3 { font-size: 23px; }
  .service-list p { font-size: 14px; }
  .scope-note { display: block; margin-top: 35px; padding-top: 25px; }
  .scope-note > span { display: block; margin-bottom: 12px; }
  .scope-note p { font-size: 12px; }
  .local-section { padding-bottom: 0; }
  .local-heading { display: block; margin-bottom: 32px; }
  .local-heading .eyebrow { font-size: 9px; margin-bottom: 26px; }
  .local-heading h2 { font-size: clamp(39px, 7.8vw, 56px); }
  .local-heading p { max-width: 410px; font-size: 14px; margin-top: 25px; }
  .coast-figure img { height: 260px; aspect-ratio: auto; object-position: 55% center; }
  .coast-figure figcaption { font-size: 9px; line-height: 1.6; gap: 12px; }
  .coast-figure figcaption a { white-space: nowrap; }
  .process-grid { gap: 36px 24px; margin-top: 35px; }
  .step-no { font-size: 43px; padding-top: 18px; }
  .process-grid h3 { font-size: 21px; margin-block: 20px 12px; }
  .process-grid p { font-size: 13px; }
  .questions-section { grid-template-columns: 1fr; gap: 32px; }
  .questions-list summary { font-size: 16px; min-height: 73px; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .contact-copy h2 { font-size: clamp(53px, 9vw, 68px); }
  .contact-copy > p { font-size: 14px; margin-block: 25px; }
  .contact-form-wrap { padding: 24px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .site-footer { padding-block: 35px 25px; gap: 24px; }
  .site-footer .brand { width: 300px; max-width: 100%; }
  .site-footer > div > span { font-size: 11px; }
  .footer-links { gap: 23px; margin-top: 12px; font-size: 11px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .brand { max-width: calc(100% - 52px); }
  .hero h1 { font-size: 56px; }
  .hero .eyebrow { font-size: 7px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: 12px; padding-inline: 18px; }
  .craft-stage { height: 340px; }
  .browser-content p { font-size: 24px; }
  .browser-content img { height: 133px; }
  .browser-menu { padding-inline: 13px; }
  .browser-content { padding-inline: 13px; gap: 10px; }
  .demo-wordmark { font-size: 14px; }
  .phone-piece { width: 86px; top: 45px; }
  .phone-piece img { height: 57px; }
  .phone-title { font-size: 17px; }
  .phone-brand { font-size: 7px; }
  .stage-orbit { width: 235px; height: 235px; }
  .intro-rule p { font-size: 22px; }
  h2 { font-size: 41px; }
  .project-overlay { padding: 23px; }
  .project-photo > img { height: 340px; }
  .project-overlay h3 { font-size: 43px; }
  .design-reasons { gap: 10px; }
  .design-reasons > div { padding-left: 8px; }
  .design-reasons p { font-size: 11px; }
  .service-list article { gap: 14px; }
  .service-list h3 { font-size: 21px; }
  .local-heading h2 { font-size: 35px; }
  .process-grid { gap: 30px 20px; }
  .process-grid h3 { font-size: 18px; }
  .contact-copy h2 { font-size: 49px; }
  .contact-form-wrap { padding: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .browser-piece, .phone-piece, .project-showcase:hover .project-photo > img, .project-showcase:hover .project-open, .button:hover, .button:hover > span { transform: none !important; }
}
