@font-face {
  font-family: Manrope;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #1b1e24;
  --ink-deep: #101216;
  --paper: #fafaf8;
  --paper-warm: #f3f2ee;
  --porcelain: #e8e9ea;
  --muted: #c7c8cc;
  --accent: #a8c5ff;
  --accent-dark: #315de5;
  --rule: #e5e5e532;
  --studio-night: var(--ink);
  --studio-shell: #23262c;
  --studio-raised: #282d35;
  --studio-hover: #32363f;
  --studio-active: #3c4350;
  --studio-focus: #557be6;
  --studio-disabled: #a4a6ab;
  --studio-paper: var(--paper);
  --studio-field: var(--porcelain);
  --studio-rule: #c9cbd0;
  --studio-ink: #1b1e24;
  --studio-muted: #53565e;
  --studio-blue: var(--accent-dark);
  --studio-hover-light: #eeedf0;
  --studio-active-light: #dedfe3;
  --studio-disabled-light: #e8e9ea;
  --studio-success: #17654e;
  --studio-success-bg: #def1e9;
  --studio-warning: #79511b;
  --studio-warning-bg: #f5ead8;
  --studio-error: #9c3446;
  --studio-error-bg: #fbe7ea;
  --studio-signal: var(--accent);
  --radius-control: .5rem;
  --studio-radius: .875rem;
  --studio-shadow: 0 2px 6px #07122517, 0 16px 38px #07122526;
  --studio-shadow-raised: 0 2px 5px #050d1b29, 0 24px 56px #050d1b3b;
  --studio-label: var(--label);
  --font-body: Manrope, 'Segoe UI', system-ui, sans-serif;
  --type-display: var(--font-body);
  --font-technical: ui-monospace, Consolas, monospace;
  --display: clamp(3.15rem, 5.72vw, 5.35rem);
  --heading-2: clamp(2.45rem, 4.18vw, 3.9rem);
  --heading-3: clamp(1.55rem, 2.35vw, 2.25rem);
  --heading-4: 1.25rem;
  --heading-5: 1.0625rem;
  --heading-6: 1rem;
  --body: clamp(1rem, 1.23vw, 1.125rem);
  --text-lead: clamp(1.04rem, 1.5vw, 1.25rem);
  --text-ui: .9375rem;
  --label: .8125rem;
  --caption: .875rem;
  --micro: .75rem;
  --weight-display: 660;
  --tracking-display: -.052em;
  --leading-display: 1.02;
  --gutter: clamp(1rem, 4.25vw, 3.5rem);
  --page-width: 78rem;
  --section-space: clamp(4.25rem, 7.4vw, 7.5rem);
  --header-height: 70px;
  --motion-fast: 140ms;
  --motion-normal: 240ms;
  --motion-slow: 480ms;
  --ease-out: cubic-bezier(.2,.68,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; background: var(--ink-deep); color: var(--paper); font: var(--body)/1.6 var(--font-body); }
:where(h1, h2, h3, h4, h5, h6, p, figure) { margin: 0; }
:where(h1, h2, h3, h4, h5, h6) { font-family: var(--type-display); line-height: 1.1; }
h1 { font-size: var(--display); }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
h4 { font-size: var(--heading-4); }
h5 { font-size: var(--heading-5); }
h6 { font-size: var(--heading-6); }
:where(a) { color: inherit; text-underline-offset: .25em; }
:where(img, svg, canvas) { display: block; max-width: 100%; }
img { object-fit: contain; }
:where(button, select, textarea) { font: inherit; }
:where(button, summary) { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--studio-focus); outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); margin-inline: auto; }
.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: 30; top: .5rem; left: var(--gutter); padding: .625rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-kicker { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: var(--label); line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; }
.site-kicker::before { content: ''; display: block; flex: 0 0 1.15rem; height: 2px; background: currentColor; transform: skewX(-35deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 48px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: var(--radius-control); font-size: var(--text-ui); line-height: 1.25; font-weight: 700; text-decoration: none; transition: background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-normal) var(--ease-out); }
.button--primary { background: var(--paper); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 2px 4px #070d1a26; }
.button--primary:hover { background: var(--studio-hover-light); box-shadow: inset 0 1px 0 #fff, 0 7px 18px #070d1a42; }
.button--primary:active { background: var(--studio-active-light); box-shadow: inset 0 1px 0 #ffffff93; }
.button--quiet { border-color: var(--rule); background: transparent; color: var(--paper); }
.button--quiet:hover { border-color: #c6c7ce; background: var(--studio-hover); }
.button--quiet:active { background: var(--studio-active); }
.button:disabled { border-color: transparent; background: var(--studio-shell); color: var(--studio-disabled); box-shadow: none; }
.button--brand { background: var(--studio-blue); color: #fff; }
.button--brand:hover { background: #2549bf; }
.button--brand:active { background: #203d9d; }

.site-header { position: sticky; top: 0; z-index: 25; border-bottom: 1px solid #e5e5e515; background: var(--ink-deep); transition: background-color var(--motion-fast), border-color var(--motion-fast); }
.site-header.is-scrolled { border-bottom-color: var(--rule); background: #17191f; }
.site-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.4rem; min-height: calc(var(--header-height) - 1px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: 0 0 auto; width: fit-content; min-height: 44px; color: inherit; font-size: 1.55rem; line-height: 1; font-weight: 730; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.site-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.site-nav__list { display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 2.5vw, 2.15rem); }
.site-nav__list { margin: 0; padding: 0; list-style: none; }
.site-nav__list a { display: flex; align-items: center; min-height: 44px; padding-inline: .2rem; color: var(--muted); font-size: .9375rem; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list a:focus-visible { color: var(--paper); text-decoration: underline; }
.site-nav .button { min-height: 44px; padding-inline: 1rem; }
.menu-toggle { background: transparent; color: inherit; border: 1px solid var(--rule); }

.hero { position: relative; isolation: isolate; display: grid; min-block-size: calc(100vh - var(--header-height)); min-block-size: calc(100svh - var(--header-height)); background: radial-gradient(ellipse at 67% 40%, #18283d, var(--ink-deep) 65%); }
.hero-artwork { position: absolute; z-index: -2; inset: 0 0 0 19%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 23%); }
.hero-artwork picture { display: block; height: 100%; }
.hero-artwork img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 49%; opacity: .76; }
.hero-artwork::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--ink-deep),#101216db 17%,#1012169c 36%,transparent 69%), linear-gradient(0deg,var(--ink-deep),transparent 31%,transparent 83%,#10121681); }
.hero__grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); grid-template-areas: 'copy map'; align-items: center; gap: clamp(1.5rem,4vw,4rem); padding-block: clamp(.65rem,calc(47svh - 25rem),6.5rem) 1.9rem; }
.hero__content { grid-area: copy; min-width: 0; }
.hero__content .site-kicker { color: #aac9ff; margin-bottom: clamp(.9rem,2vh,1.4rem); }
.hero h1 { margin: 0; color: #f7f8fc; font-size: clamp(3.25rem,5.05vw,5.2rem); letter-spacing: -.062em; line-height: 1.06; font-weight: var(--weight-display); }
.hero h1 span { display: block; color: #e2e8f5; }
.hero h1 em { color: #a9caff; font-style: normal; }
.hero__description { max-width: 41ch; margin-top: clamp(.95rem,2.2vh,1.45rem); color: #d5deec; font-size: clamp(1rem,1.24vw,1.17rem); line-height: 1.57; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem .7rem; margin-top: clamp(1.1rem,2.6vh,1.65rem); }
.hero__actions .button { min-height: 50px; padding-inline: clamp(.85rem,1.3vw,1.12rem); }
.hero__actions .button--quiet { border-color: #e1e4ef78; background: #e1e4ef0a; }
.hero__actions .button--quiet:hover { border-color: var(--paper); background: var(--studio-hover); }

.contact-section { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(3.75rem,8vw,8rem); background: radial-gradient(ellipse at 76% 48%, #1a3554, #111c2c 42%, var(--ink-deep) 75%); }
.contact-section__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,4vw,4.5rem); align-items: center; }
.contact-section__copy { min-width: 0; }
.contact-section .site-kicker { color: var(--studio-signal); margin-bottom: clamp(.9rem,2.4vw,1.6rem); }
.contact-section h2 { color: #f5f8ff; font-size: clamp(3rem,4.7vw,4.45rem); font-weight: var(--weight-display); line-height: 1.06; letter-spacing: -.062em; }
.contact-section h2 span { display: block; }
.contact-section h2 em { color: #a9caff; font-style: normal; }
.contact-intro { margin-top: clamp(1.15rem,2.6vw,1.7rem); max-width: 41ch; color: #dbe6f8; font-size: clamp(1.05rem,1.55vw,1.27rem); line-height: 1.6; }
.contact-section__cta { min-height: 54px; margin-top: clamp(1.4rem,3vw,2.1rem); }
.contact-availability { max-width: 47ch; margin-top: .9rem; color: #c2d1e8; font-size: .875rem; line-height: 1.5; }
.contact-art { min-width: 0; margin: 0; }
.contact-art svg { display: block; width: 100%; height: auto; }
.contact-art figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-inline: 8%; padding-top: .85rem; border-top: 1px solid #8bb6e351; color: #c5d7ed; font: 650 clamp(.7rem,1.18vw,.875rem)/1.35 var(--font-technical); }
.contact-section__inner:has(.brief[open]) { align-items: start; }
.brief { min-width: 0; max-width: 32rem; margin-top: 1rem; }
.brief summary { display: flex; width: fit-content; min-height: 46px; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: 1rem; font-size: .9375rem; font-weight: 700; list-style: none; }
.brief summary::-webkit-details-marker { display: none; }
.brief summary span { font-size: 1.2rem; transition: transform var(--motion-normal) var(--ease-out); }
.brief[open] summary span { transform: rotate(45deg); }
.brief > p, .brief > noscript p { max-width: 43ch; margin-top: .85rem; color: #dbe6f8; font-size: .9375rem; }
.brief form { margin-top: 1.2rem; }
.brief label { display: block; width: fit-content; margin: .85rem 0 .35rem; font-size: .9375rem; font-weight: 650; }
.brief :where(select, textarea) { width: 100%; padding: .6rem .7rem; border: 1px solid #7894bf; border-radius: var(--radius-control); background: var(--studio-night); color: #f5f7ff; font-size: 1rem; }
.brief :where(select, textarea):user-invalid { border-color: #ed9ca9; background: var(--studio-error-bg); color: var(--studio-error); }
.brief select { min-height: 44px; }
.brief textarea { min-height: 6.75rem; resize: vertical; }
.brief textarea::placeholder { color: #bdcce7; }
.brief textarea:user-invalid::placeholder { color: var(--studio-error); }
.brief-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.brief-status { min-height: 1.6em; margin-top: .65rem; font-size: .9375rem; color: #edf4ff; }
.brief-output { margin-top: .8rem; }
.brief-output p { margin: 0 0 .4rem; color: #d1dff5; font-size: .9375rem; }

.site-footer { padding-block: clamp(2.6rem,5.5vw,5rem) 1rem; border-top: 1px solid #323740; background: #14171d; color: var(--muted); }
.site-footer__main { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr) minmax(0,.86fr) minmax(0,.82fr); align-items: start; gap: 1.65rem clamp(1rem,3vw,3rem); }
.site-footer .brand { color: var(--paper); }
.site-footer__brand p { max-width: 32ch; margin: .6rem 0 1rem; font-size: var(--text-ui); line-height: 1.55; }
.site-footer nav { display: grid; justify-items: start; align-content: start; }
.site-footer nav p { margin: .4rem 0 .3rem; color: var(--paper); font-weight: 730; }
.site-footer nav a, .site-footer__meta a { display: flex; align-items: center; gap: .3rem; min-height: 44px; font-size: var(--text-ui); line-height: 1.4; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.site-footer__social a { width: 44px; justify-content: center; border: 1px solid var(--rule); border-radius: var(--radius-control); }
.site-footer__social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 1rem; margin-top: 1.65rem; padding-top: .6rem; border-top: 1px solid var(--rule); font-size: var(--caption); }
.site-footer__meta > div { display: flex; flex-wrap: wrap; gap: 0 1rem; }

.contact-dialog { width: min(27rem,calc(100% - 2.2rem)); max-width: none; max-height: calc(100vh - 2.2rem); max-height: calc(100dvh - 2.2rem); margin: auto max(1.1rem,env(safe-area-inset-right)) max(1.1rem,env(safe-area-inset-bottom)) auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #8291ae83; border-radius: 1rem; background: #1b202a; color: var(--paper); box-shadow: 0 20px 65px #0008; }
.contact-dialog::backdrop { background: #070a105e; }
.contact-dialog[open] { animation: contact-dialog-in var(--motion-normal) var(--ease-out); }
@keyframes contact-dialog-in { from { opacity: .55; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
.contact-dialog__header { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: start; gap: .75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--rule); background: #202631; }
.contact-dialog__header p { color: var(--accent); font-size: var(--label); font-weight: 730; }
.contact-dialog__header h2 { margin-top: .18rem; font-size: clamp(1.5rem,5vw,2rem); letter-spacing: -.035em; }
.contact-dialog__close { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: var(--radius-control); background: #2d3545; color: var(--paper); font-size: 1.5rem; line-height: 1; }
.contact-dialog__close:hover { background: var(--studio-hover); }
.contact-dialog__body { display: grid; gap: .9rem; padding: 1.1rem; font-size: var(--text-ui); }
.contact-dialog__body > p { color: #d2dbe9; }
.contact-dialog__channels { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.contact-dialog__channels a { display: grid; grid-template-columns: 1.5rem minmax(0,1fr) auto; align-items: center; gap: .65rem; min-height: 53px; padding: .55rem .65rem; border: 1px solid var(--rule); border-radius: var(--radius-control); color: var(--paper); line-height: 1.32; text-decoration: none; }
.contact-dialog__channels a:hover { background: var(--studio-hover); }
.contact-dialog__channels svg { width: 23px; height: 23px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.contact-dialog__channels small { display: block; margin-top: .15rem; color: #c7d3e6; font-size: var(--label); }
.contact-dialog__pending { padding: .65rem .75rem; border-left: 2px solid var(--accent); background: #272e3d; }
.contact-dialog__brief .button { width: 100%; }

.floating-contact { position: fixed; z-index: 23; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .5rem .85rem; border: 1px solid #ffffff24; border-radius: 99px; background: #272e3d; color: #fff; box-shadow: 0 5px 18px #0a0e1940; font-size: var(--text-ui); font-weight: 720; text-decoration: none; transition: background-color var(--motion-fast); }
.floating-contact:hover { background: #35415b; }
.floating-contact:active { background: #1b2231; }
.floating-contact:focus-visible { outline-offset: 3px; }
.floating-contact[data-obscured] { visibility: hidden; pointer-events: none; }
.privacy { max-width: min(calc(100% - var(--gutter) * 2), 48rem); margin-inline: auto; padding-block: var(--section-space); }
.privacy h1 { margin: .6rem 0 1.4rem; font-size: var(--heading-2); letter-spacing: var(--tracking-display); }
.privacy h2 { margin: 2rem 0 .5rem; font-size: var(--heading-4); }
.privacy p:not(.site-kicker) { color: var(--muted); }
.privacy a { color: var(--accent); }

@media (max-width: 56rem) {
  :root { --header-height: 64px; }
  .site-header:not(.nav-enhanced) { position: relative; }
  .site-header__inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
  .site-nav { width: 100%; display: grid; grid-template-columns: 1fr; justify-items: start; gap: .55rem; padding-bottom: .75rem; }
  .site-nav__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { border-bottom: 1px solid var(--rule); }
  .nav-enhanced .site-nav { position: absolute; inset: 100% calc(-1 * var(--gutter)) auto; width: auto; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: .45rem var(--gutter) 1rem; border-block: 1px solid var(--rule); background: #17191f; }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 4.25rem); }
  .site-footer__main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0,1fr); grid-template-areas: 'copy' 'map'; align-content: start; padding-block: clamp(1.6rem,5vw,2.6rem) 1.8rem; row-gap: 1.65rem; }
  .hero__content { max-width: 37rem; }
}
@media (max-width: 52rem) {
  .contact-section__inner { grid-template-columns: minmax(0,1fr); }
  .contact-art { width: min(100%,34rem); justify-self: center; }
}
@media (max-width: 44rem) {
  .hero-artwork { inset: 0; mask-image: none; }
  .hero-artwork img { object-position: 70% 48%; opacity: .61; }
  .hero-artwork::after { background: linear-gradient(180deg,var(--ink-deep),#101216de 27%,#10121643 52%,transparent 70%,var(--ink-deep) 99%); }
  .hero h1 { font-size: clamp(2.65rem, 10.55vw, 4.35rem); }
  .hero__actions .button { font-size: .875rem; min-height: 48px; }
  .contact-section { background-position: 55% bottom; }
  .contact-section h2 { font-size: clamp(2rem,10.2vw,4rem); }
  .contact-art { max-width: 29rem; }
  .floating-contact { width: 50px; padding: 0; }
  .floating-contact > span { display: none; }
  .site-footer__brand { grid-column: 1 / -1; }
  .contact-dialog { width: 100%; margin: auto 0 0; max-height: calc(100dvh - 1rem); padding-bottom: env(safe-area-inset-bottom); border-radius: 1rem 1rem 0 0; }
}
@media (min-width: 22.5rem) and (max-width: 44rem) {
  .hero__actions { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: .5rem; width: min(100%,26rem); }
  .hero__actions .button { gap: .38rem; padding-inline: .62rem; line-height: 1.28; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-normal: 0ms; --motion-slow: 0ms; }
  .contact-dialog[open] { animation: none; }
}
