/* NJ Hustle — the studio landing page
   Editable design tokens below. No font downloads or framework dependencies. */
:root {
  --navy: #071b2e;
  --navy-deep: #04111f;
  --navy-card: #081f36;
  --ink: #10243a;
  --body: #506074;
  --muted-light: #b8c8da;
  --blue: #0085ff;
  --blue-link: #075fac;
  --gold: #ffd12e;
  --gold-deep: #b77b00;
  --paper: #fbfaf7;
  --cream: #f1f2ee;
  --line: #dce2e7;
  --container: 1248px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --header-height: 84px;
  --gutter: clamp(20px, 4.5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h1, h2 { letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 3.75vw, 3.45rem); line-height: 1.08; }
h2 em { font-weight: 500; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-link); outline-offset: 5px; border-radius: 3px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .process-section :focus-visible { outline-color: var(--gold); }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.container > *, .section-heading > *, .studio-principles article > div { min-width: 0; }
.icon { width: 22px; height: 22px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 12px 22px; background: var(--gold); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 13px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; line-height: 1.4; font-weight: 700; transition: background .2s, box-shadow .2s, transform .2s; }
.button .icon { width: 19px; height: 19px; transition: transform .2s; }
.button:hover .icon { transform: translateX(3px); }
.button-gold { background: var(--gold); color: #091b2c; box-shadow: 0 3px 0 rgba(169,116,0,.18); }
.button-gold:hover { background: #ffe16e; box-shadow: 0 8px 25px #ffcd2420; }
.button-outline { background: #06162666; color: #fff; border-color: #8294a6; }
.button-outline:hover { background: #173750; border-color: #cfdfed; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 9px; min-height: 44px; color: var(--ink); border: 0; background: transparent; font-size: 14px; font-weight: 700; line-height: 1.4; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover { color: var(--blue-link); }
.text-link:hover .icon { transform: translateX(3px); }
.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; color: #576675; font-size: 11px; font-weight: 700; line-height: 1.6; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow > span { display: block; width: 30px; height: 2px; background: var(--gold-deep); flex-shrink: 0; }
.eyebrow-light { color: #d0deeb; }
.eyebrow-light > span { background: var(--gold); }
.section { padding-block: clamp(64px, 7.5vw, 108px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 46px; }
.section-heading > p { max-width: 365px; margin-bottom: 5px; color: var(--body); font-size: 17px; line-height: 1.65; }

/* Header and navigation. The same disclosure becomes the mobile menu. */
.site-header { position: sticky; top: 0; z-index: 30; color: white; background: #06182af5; border-bottom: 1px solid #b9daff20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: var(--header-height); }
.brand { display: inline-flex; gap: 12px; align-items: center; flex: 0 0 auto; }
.brand img { width: 49px; height: 49px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font: 600 29px/1.05 var(--serif); letter-spacing: -.025em; }
.brand-subtitle { margin-top: 7px; font-size: 9px; letter-spacing: .29em; text-transform: uppercase; font-weight: 600; line-height: 1.2; color: #d3deeb; }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; position: relative; font-size: 13px; font-weight: 500; color: #dde4ed; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .2s; }
.main-nav > a:hover, .main-nav > a[aria-current="location"] { color: var(--gold); }
.main-nav > a:not(.button):hover::after, .main-nav > a[aria-current="location"]::after { width: 100%; }
.nav-cta { min-height: 45px; padding: 11px 17px; font-size: 12px; margin-left: 3px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 9px; background: transparent; border: 1px solid #47607b; border-radius: 6px; color: white; min-width: 88px; min-height: 44px; font-size: 13px; }

/* Signature hero. The logo is its own original transparent PNG. */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-background { position: absolute; inset: 0; z-index: -2; background: url("assets/illustrations/horizon.svg") center 60% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #04111fd9 0%, #04111f80 40%, transparent 76%), linear-gradient(0deg, #04111f 0, transparent 19%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 44px; align-items: center; min-height: 590px; padding-block: 72px 64px; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { font-size: 10px; margin-bottom: 24px; }
h1 { font-size: clamp(2.5rem, 5.05vw, 4.65rem); line-height: 1.035; font-weight: 500; }
h1 > span { color: var(--gold); }
.hero-description { max-width: 530px; font-size: 17px; line-height: 1.75; color: #d9e3ef; margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.hero-location { display: flex; align-items: center; gap: 8px; margin-top: 25px; color: #b6c7d9; font-size: 12px; }
.hero-location .icon { width: 16px; height: 16px; color: #9cb7ce; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 435px; }
.hero-logo { width: min(77%, 352px); position: relative; z-index: 2; filter: drop-shadow(0 14px 35px #00091d99) drop-shadow(0 0 20px #187ff72a); }
.orbital-system { position: absolute; inset: 0; pointer-events: none; }
.orbit { position: absolute; border: 1px solid #70b7f340; border-radius: 50%; width: 94%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orbit-two { width: 111%; border-style: dashed; border-color: #86abd723; transform: translate(-50%, -50%) rotate(-13deg); }
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px #ffda5590; }
.orbit-dot-one { top: 7%; left: 28%; }.orbit-dot-two { bottom: 24%; right: 4%; width: 5px; height: 5px; background: #269fff; }
.hero-bottom { display: grid; grid-template-columns: 1.07fr 1fr 1fr 1.1fr; border-top: 1px solid #bad7f329; min-height: 107px; align-items: center; }
.hero-bottom > p { color: #a8bed1; font-size: 12px; line-height: 1.7; }
.hero-bottom > p strong { font-weight: 500; color: #f1f5fb; }
.hero-bottom > a { display: flex; align-items: center; gap: 20px; min-height: 58px; padding-left: 29px; margin-block: 14px; border-left: 1px solid #bad7f328; font-size: 19px; line-height: 1.4; }
.hero-bottom > a > .icon { margin-left: auto; margin-right: 29px; color: #a7bbce; width: 18px; height: 18px; }
.hero-bottom > a:last-child > .icon { margin-right: 0; }
.pillar-index { font: italic 14px/1 var(--serif); color: var(--gold); }
.hero-bottom small { display: block; font-size: 11px; color: #a7bbce; margin-top: 6px; font-weight: 400; }
.hero-bottom a:hover { color: var(--gold); }

/* Services: illustrated covers, clear hierarchy, and generous clickable rows. */
.services-section { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); border-radius: 16px; border: 1px solid #dce3e7; box-shadow: 0 4px 16px #071b2e04; }
.service-visual { overflow: hidden; margin: 10px 10px 0; border-radius: 9px; background: var(--navy); }
.service-visual img { width: 100%; aspect-ratio: 1.9; object-fit: cover; transition: transform .35s; }
.service-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 28px; }
.service-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; color: #5c6d7c; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.service-number { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid #cdd8e0; border-radius: 50%; color: #48627b; font-size: 10px; letter-spacing: 0; }
.service-content h3 { font-size: clamp(2rem, 2.75vw, 2.4rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 500; }
.service-description { color: var(--body); font-size: 15px; line-height: 1.75; margin-top: 12px; min-height: 79px; }
.service-list { list-style: none; padding: 0; margin: 20px 0 28px; border-top: 1px solid #e5e9ec; }
.service-list li { margin: 0; border-bottom: 1px solid #e5e9ec; }
.service-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 2px; font-size: 14px; line-height: 1.55; color: #2f465b; border-radius: 3px; transition: color .2s, background .2s; }
.service-list a > span { min-width: 0; }
.service-list .service-link-arrow { width: 15px; height: 15px; color: #768b9b; transition: transform .2s, color .2s; }
.service-list a:hover, .service-list a:focus-visible { color: var(--blue-link); background: #f1f7fb; }
.service-list a:hover .service-link-arrow { color: var(--blue-link); transform: translate(2px, -2px); }
.service-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; min-height: 49px; padding: 13px 16px; border-radius: 7px; background: #edf2f5; color: var(--navy); font-size: 13px; line-height: 1.5; font-weight: 650; transition: background .2s, color .2s; }
.service-cta .icon { width: 18px; height: 18px; transition: transform .2s; }
.service-cta:hover { background: var(--navy); color: #fff; }
.service-cta:hover .icon { transform: translateX(3px); }
.development-note { margin: 0 0 28px; padding: 20px; border-left: 2px solid #cfaa39; background: #faf8f0; border-radius: 0 7px 7px 0; color: #58616b; font: italic 18px/1.7 var(--serif); }
.services-footnote { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 32px; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--body); font-size: 13px; }
.services-footnote a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 650; min-height: 44px; }
.services-footnote a:hover { color: var(--blue-link); }
.services-footnote .icon { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-visual img { transform: scale(1.035); }
}

/* Portfolio: actual game screenshot + explicitly labelled editorial project artwork. */
.work-section { background: #edf1f4; border-block: 1px solid #e5e9ed; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-card { min-width: 0; background: #fff; border: 1px solid #dce3ea; border-radius: 16px; overflow: hidden; }
.work-image-link { display: block; position: relative; overflow: hidden; background: #092741; }
.work-image-link > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .35s; }
.work-image-link:hover > img { transform: scale(1.025); }
.project-visual-label { position: absolute; top: 16px; left: 16px; padding: 5px 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .085em; border: 1px solid #b4d6f34f; border-radius: 4px; background: #061528ed; color: #e1edf8; }
.play-badge { position: absolute; bottom: 17px; right: 17px; display: flex; align-items: center; gap: 9px; background: var(--gold); color: var(--navy); padding: 9px 13px; border-radius: 5px; font-size: 11px; font-weight: 700; box-shadow: 0 4px 15px #00102940; }
.play-badge .icon { width: 14px; height: 14px; fill: currentColor; }
.work-open-icon { position: absolute; bottom: 17px; right: 17px; width: 36px; height: 36px; display: grid; place-items: center; background: #dbf5ee; border-radius: 50%; color: #0b3a3d; }
.work-open-icon .icon { width: 18px; height: 18px; }
.work-content { padding: 30px 32px 28px; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .095em; color: var(--blue-link); font-weight: 650; }
.work-meta span + span { padding-left: 13px; border-left: 1px solid #c8d4df; color: #68788a; }
.work-content h3 { margin-top: 13px; font-size: 30px; line-height: 1.2; letter-spacing: -.03em; }
.work-content > p { color: var(--body); font-size: 16px; line-height: 1.75; margin: 11px 0 9px; }
.work-note { color: #5e6e7f; font-size: 11px; margin-top: 21px; text-align: center; }

/* Studio rationale */
.studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 95px); align-items: start; }
.studio-copy > p:not(.eyebrow) { color: var(--body); margin-top: 23px; font-size: 17px; line-height: 1.8; max-width: 480px; }
.studio-copy > .text-link { margin-top: 19px; }
.studio-stamp { display: flex; align-items: center; gap: 14px; padding-top: 32px; color: #65768a; font-size: 11px; line-height: 1.8; }
.studio-stamp .icon { width: 32px; height: 32px; color: #0d5c99; stroke-width: 1.2; }
.studio-stamp strong { color: #314b65; font-weight: 600; }
.studio-principles article { display: flex; gap: 21px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.studio-principles article:first-child { padding-top: 4px; }
.studio-principles article:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #fff2cb; color: #936108; margin-top: 2px; }
.principle-icon .icon { width: 23px; height: 23px; }
.principle-label { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: #687589; font-weight: 650; }
.studio-principles h3 { margin: 4px 0 7px; font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
.studio-principles p { color: var(--body); font-size: 15px; line-height: 1.8; }

/* One adaptable process; no unrelated stock-photo background. */
.process-section { background: radial-gradient(ellipse at 80% 120%, #08416b75, transparent 70%), var(--navy); color: #fff; position: relative; overflow: hidden; }
.process-section::after { content: ""; width: 680px; height: 680px; position: absolute; right: -400px; bottom: -480px; border: 1px solid #50739036; border-radius: 50%; box-shadow: 0 0 0 50px #5073900a, 0 0 0 110px #50739008; pointer-events: none; }
.process-section h2 em { color: #f5cf63; }
.process-section .section-heading > p { color: #b6c9dc; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 45px 0 0; }
.process-step { position: relative; }
.step-top { display: flex; align-items: center; gap: 15px; position: relative; margin-bottom: 23px; }
.step-top::after { content: ""; height: 1px; position: absolute; background: linear-gradient(90deg, #ba9136b0, #7494b333); left: 113px; right: -21px; top: 24px; }
.process-step:last-child .step-top::after { right: 0; }
.step-number { font-family: var(--serif); color: var(--gold); font-size: 14px; font-style: italic; }
.step-icon { width: 49px; height: 49px; border: 1px solid #7291ab70; border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.step-icon .icon { width: 24px; height: 24px; }
.process-step h3 { font-size: 28px; font-weight: 500; line-height: 1.3; margin-bottom: 11px; }
.process-step p { color: #b5c8d9; font-size: 15px; line-height: 1.85; }

/* A transparent static-site inquiry workflow: prepare a draft, never fake a send. */
.contact-section { background: radial-gradient(ellipse at 7% 90%, #ffce3510, transparent 45%), var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 92px); align-items: center; }
.contact-copy h2 { font-size: clamp(2.8rem, 4.2vw, 3.9rem); line-height: 1.05; }
.contact-copy > p:not(.eyebrow, .contact-location) { max-width: 435px; color: var(--body); font-size: 16px; line-height: 1.8; margin-top: 24px; }
.contact-methods { margin-top: 27px; display: flex; flex-direction: column; gap: 19px; }
.contact-methods > a { display: flex; align-items: center; gap: 15px; min-height: 48px; font-size: 22px; letter-spacing: -.03em; max-width: 370px; }
.contact-methods > a > .icon:first-child { color: #947011; width: 22px; height: 22px; }
.contact-methods > a > .icon:last-child { width: 17px; height: 17px; margin-left: auto; color: #60768d; }
.contact-methods > a > span { min-width: 0; overflow-wrap: anywhere; }
.contact-methods small { display: block; margin-bottom: 2px; font-size: 10px; letter-spacing: .045em; color: #637286; }
.contact-methods > a:hover { color: var(--blue-link); }
.contact-location { display: flex; align-items: center; gap: 9px; margin-top: 27px; color: #68798b; font-size: 12px; }
.contact-location .icon { width: 15px; height: 15px; }
.inquiry-panel { background: #fff; border: 1px solid #dde3e6; box-shadow: 0 12px 40px #071b2e08; border-radius: 16px; padding: 32px; min-width: 0; }
.panel-eyebrow { color: #6a7686; font-size: 9px; letter-spacing: .15em; font-weight: 650; text-transform: uppercase; margin-bottom: 6px; }
.inquiry-panel > h3 { font-size: 28px; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 26px; }
.inquiry-intro p { font-size: 16px; color: var(--body); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 16px; }
.form-field label { font-size: 12px; color: #2a4059; font-weight: 650; line-height: 1.7; margin-bottom: 6px; }
.form-field label span { font-size: 10px; font-weight: 400; color: #586b81; }
.form-field input, .form-field select, .form-field textarea, #inquiry-copy { width: 100%; border: 1px solid #bac7d2; border-radius: 5px; background: #fafbfd; color: #182d45; min-height: 44px; padding: 10px 12px; font-size: 16px; line-height: 1.55; transition: border-color .2s, box-shadow .2s; }
.form-field select { padding-right: 23px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #5f7083; opacity: 1; }
.form-field textarea { resize: vertical; min-height: 104px; max-height: 330px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #1274c9; outline: 2px solid #a7d0f3; outline-offset: 2px; }
.field-help { font-size: 10px; color: #617185; line-height: 1.6; margin-top: 6px; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 2px; }
.form-disclosure { font-size: 10px; line-height: 1.7; color: #566a80; margin-top: 12px; }
.form-status { font-size: 12px; line-height: 1.7; color: #184f79; }
.form-status:not(:empty) { margin-top: 14px; padding: 12px; border-radius: 5px; background: #edf6fc; border: 1px solid #c5dfed; }
.form-fallback { margin-top: 8px; }
.form-fallback .text-link { font-size: 12px; }
#inquiry-copy { margin-top: 8px; font-family: var(--sans); resize: vertical; }

/* Footer */
.site-footer { color: #fff; background: #051628; }
.footer-main { display: grid; grid-template-columns: 1.6fr .8fr .9fr 1.1fr; gap: 42px; padding-block: 52px 40px; }
.footer-brand > p { color: #aabdd1; font-size: 12px; line-height: 1.85; margin-top: 21px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-column h2 { font: 650 12px/1.4 var(--sans); letter-spacing: .02em; margin: 4px 0 12px; }
.footer-column a, .footer-column > span { color: #b7c7d9; font-size: 12px; min-height: 44px; line-height: 1.7; display: flex; align-items: center; }
.footer-column a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; min-height: 66px; border-top: 1px solid #879fb425; }
.footer-bottom p { color: #9db1c8; font-size: 10px; }
.footer-bottom a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #c2d2e2; font-size: 11px; }
.footer-bottom .icon { width: 16px; height: 16px; }
.footer-bottom a:hover { color: var(--gold); }

/* Native dialog details remain a progressive enhancement, not a fake destination. */
.detail-dialog { padding: 0; width: min(720px, calc(100% - 40px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border: 1px solid #c7d5df; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 32px 110px #000b2255; }
.detail-dialog::backdrop { background: #03111ddd; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 45px; }
.dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d2dce5; border-radius: 50%; background: #fff; color: #27435d; }
.dialog-close:hover { background: #edf4fa; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-link); font-weight: 650; margin-bottom: 11px; padding-right: 20px; }
.dialog-shell h2 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 20px 16px 0; }
.dialog-shell h2:focus { outline: none; }
.dialog-description { font-size: 17px; color: var(--body); line-height: 1.8; }
.dialog-shell h3 { font: 650 12px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .07em; margin: 26px 0 12px; }
.dialog-list { padding-left: 20px; font-size: 14px; line-height: 1.8; color: #42576d; margin: 0; }
.dialog-list li { padding-block: 3px; }
.dialog-list li::marker { color: #a77906; }
.dialog-note { border-left: 2px solid #ddb832; padding-left: 14px; margin-top: 21px; font-size: 12px; color: #677587; line-height: 1.8; }
.dialog-action { margin-top: 28px; }
.dialog-service-links { margin-top: 23px; display: grid; gap: 6px; }
.dialog-service-links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid #dbe3e9; padding: 7px 0; font-size: 14px; }
.dialog-service-links a:hover { color: var(--blue-link); }
.dialog-service-links .icon { width: 16px; height: 16px; }

/* Adapt each layout when its content needs more room. */
@media (max-width: 1150px) {
  .main-nav { gap: 20px; }
  .nav-cta { gap: 10px; }
  .hero-grid { gap: 28px; min-height: 530px; }
  .hero-art { min-height: 350px; }
  .hero-bottom > a { padding-left: 20px; gap: 12px; font-size: 17px; }
  .hero-bottom > a > .icon { margin-right: 16px; }
  .studio-grid, .contact-grid { gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { gap: 24px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .service-visual { display: grid; align-items: center; margin: 10px 0 10px 10px; }
  .service-visual img { aspect-ratio: auto; object-fit: contain; }
  .service-content { padding: 30px; }
  .service-content h3 { font-size: 36px; }
  .service-description { min-height: 0; }
}
@media (max-width: 1020px) {
  :root { --header-height: 78px; }
  .header-inner { flex-wrap: wrap; padding-block: 13px; gap: 16px; }
  .brand img { width: 43px; height: 43px; }
  .brand-name { font-size: 27px; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 8px 24px; padding-block: 6px 13px; }
  .main-nav .nav-cta { margin-left: auto; }
  .js-nav .header-inner { flex-wrap: nowrap; }
  .js-nav .menu-toggle { display: inline-flex; }
  .js-nav .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #071b2efa; border-bottom: 1px solid #51677f; padding: 16px var(--gutter) 24px; box-shadow: 0 25px 40px #03111e55; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
  .js-nav .main-nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 5px; }
  .js-nav .main-nav > a { flex-shrink: 0; }
  .js-nav .main-nav > a:not(.button) { min-height: 46px; font-size: 16px; }
  .js-nav .main-nav .nav-cta { margin: 10px 0 0; width: fit-content; }
  .hero-bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-bottom > p { display: none; }
  .hero-bottom > a:first-of-type { border-left: 0; padding-left: 0; }
  .section-heading { gap: 32px; }
  .section-heading > p { max-width: 310px; font-size: 16px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .process-step:nth-child(2) .step-top::after { right: 0; }
  .contact-methods > a { font-size: 20px; gap: 12px; }
  .contact-methods > a > .icon:last-child { display: none; }
  .inquiry-panel { padding: 26px; }
  .footer-main { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 30px; }
  .footer-contact { grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  .footer-contact h2 { flex-basis: 100%; margin-bottom: 0; }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 52px 28px; gap: 32px; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: clamp(2rem, 8.7vw, 4rem); }
  .hero-description { max-width: 560px; font-size: 16px; }
  .hero-art { min-height: 230px; }
  .hero-logo { width: 210px; }
  .orbital-system { left: 50%; transform: translateX(-50%); width: 280px; }
  .orbit-one { width: 240px; }
  .orbit-two { width: 274px; }
  .orbit-dot-one { top: 9%; }
  .hero-background { background-position: 64% 40%; }
  .hero::before { background: linear-gradient(0deg, #04111f 0, transparent 32%), linear-gradient(90deg, #04111fbf, transparent); }
  .hero-bottom { min-height: 90px; }
  .hero-bottom > a { gap: 10px; font-size: 17px; padding-left: 18px; }
  .hero-bottom > a > .icon { margin-right: 14px; }
  .hero-bottom small { font-size: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .section-heading > p { max-width: 540px; }
  h2 { font-size: clamp(2.25rem, 5.7vw, 3.1rem); }
  .work-grid { gap: 22px; }
  .work-content { padding: 24px; }
  .work-content h3 { font-size: 27px; }
  .work-content > p { font-size: 15px; }
  .work-meta { font-size: 9px; gap: 8px; }
  .work-meta span + span { padding-left: 8px; }
  .studio-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .studio-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow, .contact-location) { max-width: 580px; }
  .studio-principles article { padding-block: 24px; }
  .contact-copy h2 { font-size: clamp(2.5rem, 6.3vw, 3.5rem); }
  .contact-copy h2 br:nth-of-type(2) { display: none; }
  .contact-methods > a { font-size: 23px; }
  .contact-methods > a > .icon:last-child { display: block; }
  .inquiry-panel { padding: 32px; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-visual img { aspect-ratio: 2.1; }
  .service-content { padding: 28px; }
  .service-content h3 { font-size: clamp(2rem, 5.8vw, 2.5rem); }
  .service-description { min-height: 0; max-width: 470px; font-size: 16px; }
  .service-list a { font-size: 15px; min-height: 48px; }
  .service-kicker { margin-bottom: 14px; }
  .services-footnote { justify-content: flex-start; gap: 4px; }
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  :root { --header-height: 76px; --gutter: 22px; }
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 26px; }
  .brand-subtitle { font-size: 8px; margin-top: 6px; }
  .menu-toggle { min-width: 78px; font-size: 12px; }
  .menu-toggle .icon { width: 19px; height: 19px; }
  .hero-grid { padding-block: 44px 26px; gap: 28px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 22px; gap: 9px; }
  .hero .eyebrow > span { width: 20px; }
  h1 { font-size: clamp(1.8rem, 9.05vw, 3.4rem); line-height: 1.08; }
  .hero-description { font-size: 15px; line-height: 1.8; margin-top: 22px; }
  .hero-actions { gap: 12px; margin-top: 25px; }
  .hero-actions .button { font-size: 13px; padding-inline: 16px; gap: 12px; }
  .hero-location { font-size: 11px; line-height: 1.7; margin-top: 22px; }
  .hero-art { min-height: 204px; }
  .hero-logo { width: 180px; }
  .orbital-system { width: 240px; }
  .orbit-one { width: 208px; }
  .orbit-two { width: 238px; }
  .hero-bottom { min-height: 78px; }
  .hero-bottom > a { min-height: 44px; padding-left: 12px; gap: 8px; font-size: 14px; }
  .hero-bottom small, .hero-bottom > a > .icon { display: none; }
  .pillar-index { font-size: 11px; }
  .section { padding-block: 60px; }
  .section-heading > p { font-size: 15px; margin: 0; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .16em; gap: 10px; }
  .eyebrow > span { width: 24px; }
  .service-content { padding: 24px; }
  .service-cta { font-size: 14px; min-height: 50px; }
  .services-footnote { font-size: 12px; line-height: 1.8; margin-top: 26px; }
  .work-content { padding: 25px; }
  .work-content h3 { font-size: 29px; }
  .work-content > p { font-size: 16px; }
  .work-note { font-size: 11px; text-align: left; line-height: 1.8; }
  .studio-copy > p:not(.eyebrow) { font-size: 16px; margin-top: 22px; }
  .studio-stamp { padding-top: 22px; }
  .studio-principles article { gap: 16px; }
  .principle-icon { width: 42px; height: 42px; }
  .studio-principles h3 { font-size: 24px; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .process-step { padding-left: 72px; min-height: 108px; }
  .step-top { position: absolute; top: 1px; left: 0; width: 48px; margin: 0; flex-direction: column; gap: 9px; }
  .step-number { font-size: 12px; }
  .step-icon { width: 44px; height: 44px; }
  .step-top::after { display: none; }
  .process-step:not(:last-child)::after { position: absolute; content: ""; top: 82px; bottom: -21px; width: 1px; background: #7691a940; left: 24px; }
  .process-step h3 { font-size: 28px; margin-bottom: 8px; }
  .contact-methods > a { max-width: 100%; font-size: 22px; gap: 12px; }
  .contact-copy > p:not(.eyebrow, .contact-location) { font-size: 16px; }
  .inquiry-panel { padding: 26px 22px; }
  .inquiry-panel > h3 { font-size: 27px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 20px; }
  .form-field input, .form-field select, .form-field textarea { min-height: 48px; }
  .field-help, .form-disclosure { font-size: 11px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-block: 42px 30px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-brand > p { font-size: 13px; margin-top: 18px; }
  .footer-column h2, .footer-column a, .footer-column > span { font-size: 13px; }
  .footer-contact { flex-direction: column; gap: 3px; }
  .footer-contact h2 { margin-bottom: 8px; }
  .footer-contact a { font-size: 14px; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; gap: 4px 16px; padding-block: 18px; }
  .footer-bottom p { font-size: 10px; max-width: 235px; line-height: 1.9; }
  .footer-bottom a { font-size: 11px; }
  .detail-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .dialog-shell { padding: 62px 24px 30px; }
  .dialog-shell h2 { margin-right: 0; font-size: 32px; }
  .dialog-description { font-size: 16px; }
  .dialog-close { top: 10px; right: 10px; }
  .dialog-action { width: 100%; }
}
@media (max-width: 460px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 24px; }
  .brand-subtitle { font-size: 7px; }
  .brand img { width: 36px; height: 36px; }
  .menu-toggle { min-width: 70px; gap: 6px; }
  .hero .eyebrow { font-size: 8px; }
  .hero-bottom > a { font-size: 12px; gap: 6px; padding-left: 9px; }
  h2 { font-size: 32px; }
  .service-content { padding: 22px; }
  .contact-methods > a { font-size: 19px; }
  .contact-copy h2 { font-size: 36px; }
  .inquiry-panel { padding-inline: 18px; }
}
@media (max-width: 319px) {
  .hero-bottom { grid-template-columns: 1fr; padding-block: 12px; }
  .hero-bottom > a { border-left: 0; padding-left: 0; margin-block: 0; font-size: 15px; }
}
@media (max-height: 500px) and (max-width: 1020px) {
  html:not(.js-nav) .site-header { position: static; }
  .hero-grid { padding-block: 36px; }
  .hero-art { display: none; }
}
/* Keep content away from notches in landscape without adding a fixed page width. */
@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .service-card:hover .service-visual img, .work-image-link:hover > img { transform: none; }
}
@media (forced-colors: active) {
  .button, .service-card, .work-card, .principle-icon, .step-icon, .inquiry-panel { border: 1px solid CanvasText; }
  .hero-background, .orbital-system { display: none; }
}
@media print {
  .site-header { position: static; }
  .main-nav, .menu-toggle, .hero-art, .hero-background, .orbital-system, .inquiry-panel, .detail-dialog, .footer-bottom a { display: none !important; }
  body, .hero, .service-card, .process-section, .site-footer { color: #10243a; background: white !important; }
  .hero::before { display: none; }
  .container { width: 100%; }
  .section { padding-block: 25px; }
  .hero-grid, .studio-grid, .contact-grid { display: block; min-height: 0; padding-block: 24px; }
  h1 { font-size: 38px; } h2 { font-size: 30px; }
  .service-card, .work-card, .process-step { break-inside: avoid; }
  .service-visual { display: none; }
  .service-description, .service-list a, .service-cta, .hero-description, .process-step p, .footer-column a, .footer-brand > p { color: #24374a; }
  .work-image-link > img { max-height: 180px; object-fit: cover; }
}
