/* =========================================================================
   NIGHTJAR — public design system. Dusk night, porch-light amber, barrier
   mint, bone. Bricolage Grotesque for the voice, Instrument Serif italics for
   the aside, Inter Tight to read, IBM Plex Mono for numbers & labels.
   ========================================================================= */
:root {
  --night: #070b10; --night-2: #0b1118; --dusk: #111a25; --dusk-2: #172331; --dusk-3: #1f2d3e; --bone: #f2efe6; --bone-2: rgba(242, 239, 230, .74); --mute: rgba(242, 239, 230, .52); --line: rgba(242, 239, 230, .1); --line-2: rgba(242, 239, 230, .2);
  --amber: #ffb547; --amber-2: #ff8f2b; --amber-3: rgba(255, 181, 71, .14); --mint: #49e3b0; --mint-2: #1fbf8f; --mint-3: rgba(73, 227, 176, .14); --red: #ff5d4a; --sky: #7fd7ff; --violet: #9fb4ff;
  --fd: 'Bricolage Grotesque', system-ui, sans-serif; --fs: 'Instrument Serif', Georgia, serif; --f: 'Inter Tight', system-ui, sans-serif; --fm: 'IBM Plex Mono', ui-monospace, monospace;
  --e: cubic-bezier(.2, .8, .1, 1); --gut: clamp(18px, 4.4vw, 64px); --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 16.5px/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fd); font-weight: 560; letter-spacing: -.03em; font-variation-settings: 'wdth' 90; } p { margin: 0; }
a { color: inherit; } img, svg, canvas { display: block; max-width: 100%; } button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--night); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.serif { font-family: var(--fs); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.glow { color: var(--amber); text-shadow: 0 0 40px rgba(255, 181, 71, .45); } .mintc { color: var(--mint); } .amberc { color: var(--amber); }
.eyebrow { font: 500 11px/1 var(--fm); letter-spacing: .22em; text-transform: uppercase; color: var(--mint); display: inline-flex; align-items: center; gap: 10px; } .eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-3), 0 0 14px var(--mint); }
.fine { font-size: 13px; color: var(--mute); } .mono { font-family: var(--fm); } .muted { color: var(--mute); } .ink2 { color: var(--bone-2); }
.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; } .hide { display: none !important; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pills — porch-light amber, barrier mint, glass */
.pill { --py: 15px; --px: 26px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--py) var(--px); border: 0; border-radius: 999px; cursor: pointer; font: 650 15px/1 var(--f); text-decoration: none; white-space: nowrap; transition: transform .35s var(--e), box-shadow .35s var(--e), background .3s, color .3s; }
.pill i { font-style: normal; transition: transform .4s var(--e); } .pill:hover i { transform: translateX(3px); } .pill:active { transform: scale(.97); } .pill:disabled { opacity: .4; cursor: not-allowed; }
.pill--sm { --py: 10px; --px: 17px; font-size: 13.5px; } .pill--lg { --py: 19px; --px: 32px; font-size: 16.5px; }
.pill--amber { color: #1a0f02; background: linear-gradient(180deg, #ffe2a8 0%, #ffb547 48%, #ff8f2b 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -2px 0 rgba(120, 50, 0, .25) inset, 0 18px 40px -14px rgba(255, 150, 40, .85), 0 0 0 1px rgba(255, 181, 71, .3); }
.pill--amber:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -2px 0 rgba(120, 50, 0, .25) inset, 0 26px 54px -14px rgba(255, 150, 40, 1), 0 0 0 1px rgba(255, 181, 71, .5); }
.pill--mint { color: #03140e; background: linear-gradient(180deg, #b8f7e0 0%, #49e3b0 50%, #1fbf8f 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(0, 60, 40, .25) inset, 0 18px 40px -14px rgba(31, 191, 143, .85); } .pill--mint:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 26px 50px -14px rgba(31, 191, 143, 1); }
.pill--bone { color: var(--night); background: linear-gradient(180deg, #ffffff, #e9e4d6); box-shadow: 0 1px 0 #fff inset, 0 16px 34px -16px rgba(0, 0, 0, .8); } .pill--bone:hover { transform: translateY(-2px); }
.pill--ghost { color: var(--bone); background: linear-gradient(180deg, rgba(242, 239, 230, .1), rgba(242, 239, 230, .03)); box-shadow: inset 0 0 0 1.5px var(--line-2), 0 14px 30px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); } .pill--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bone), 0 14px 30px -16px rgba(0, 0, 0, .8); transform: translateY(-1px); }
.pill--red { color: #fff; background: linear-gradient(180deg, #ff9a8c, #ff5d4a 55%, #e2412f); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 16px 30px -14px rgba(255, 93, 74, .9); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(242, 239, 230, .08), rgba(242, 239, 230, .02)); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 14px var(--f); transition: all .25s var(--e); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--bone-2); } .chip.on { color: #1a0f02; background: linear-gradient(180deg, #ffe2a8, #ffb547 60%, #ff8f2b); box-shadow: 0 10px 26px -12px rgba(255, 150, 40, .9); } .chip:disabled { opacity: .3; cursor: not-allowed; }
.chip small { font: 500 11px var(--fm); color: var(--mute); } .chip.on small { color: rgba(26, 15, 2, .65); } .chip.mint.on { color: #03140e; background: linear-gradient(180deg, #b8f7e0, #49e3b0 60%, #1fbf8f); box-shadow: 0 10px 26px -12px rgba(31, 191, 143, .9); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 18px; padding: 18px var(--gut); transition: background .4s, padding .4s, box-shadow .4s; }
.nav.solid { background: rgba(7, 11, 16, .72); backdrop-filter: blur(18px) saturate(150%); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--bone); } .brand svg { width: 36px; height: 36px; } .brand b { font: 650 20px/1 var(--fd); letter-spacing: .14em; } .brand small { display: block; margin-top: 4px; font: 500 9.5px/1 var(--fm); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.nav .links { display: flex; gap: 2px; margin-left: auto; } .nav .links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 14.5px; color: var(--bone-2); } .nav .links a:hover { background: rgba(242, 239, 230, .07); color: var(--bone); }
.nav .burger { display: none; } @media (max-width: 980px) { .nav .links { display: none; } .nav .burger { display: inline-flex; margin-left: auto; } .nav .cta { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 70; background: var(--night); display: grid; align-content: center; gap: 4px; padding: var(--gut); transform: translateY(-100%); transition: transform .5s var(--e); } .drawer.open { transform: none; } .drawer a { font: 560 40px/1.25 var(--fd); letter-spacing: -.03em; text-decoration: none; } .drawer .x { position: absolute; top: 18px; right: var(--gut); }

/* sections */
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; } .sec-h { display: grid; gap: 18px; max-width: 840px; margin-bottom: clamp(36px, 5vw, 70px); }
.h-xl { font-size: clamp(54px, 9vw, 150px); line-height: .88; letter-spacing: -.05em; } .h-l { font-size: clamp(40px, 5.6vw, 86px); line-height: .94; letter-spacing: -.045em; } .h-m { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
.h-xl .serif, .h-l .serif, .h-m .serif { font-weight: 400; letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--bone-2); max-width: 60ch; }
.card { border-radius: 26px; background: linear-gradient(180deg, rgba(242, 239, 230, .055), rgba(242, 239, 230, .02)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(0, 0, 0, .9); padding: 28px; }
.glass { background: rgba(17, 26, 37, .6); backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0, 0, 0, .8); }

/* forms */
.form { display: grid; gap: 16px; } .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } @media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; } .field > span { font: 500 10.5px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 0; background: rgba(242, 239, 230, .05); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 16px; transition: box-shadow .2s, background .2s; }
.field select option { background: var(--dusk); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(242, 239, 230, .08); box-shadow: inset 0 0 0 2px var(--mint), 0 0 0 5px var(--mint-3); }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 239, 230, .3); }
.err { color: var(--red); font-size: 14px; min-height: 1.2em; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(242, 239, 230, .05); box-shadow: inset 0 0 0 1.5px var(--line-2); } .stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(242, 239, 230, .14), rgba(242, 239, 230, .04)); font-size: 20px; } .stepper b { min-width: 40px; text-align: center; font: 500 20px var(--fm); }
input[type=range] { width: 100%; accent-color: var(--amber); }

/* overlays */
.toasts { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; pointer-events: none; display: grid; justify-items: center; gap: 8px; padding: 20px; } .toast { background: var(--bone); color: var(--night); padding: 13px 20px; border-radius: 999px; font-weight: 650; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); } .toast--err { background: var(--red); color: #fff; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(3, 6, 10, .6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; } .modal.is-open { opacity: 1; }
.modal__c { width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--dusk); color: var(--bone); border-radius: 26px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -30px rgba(0, 0, 0, .9); } .modal__c--wide { width: min(880px, 100%); }
.mh { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; } .mh h2 { font-size: 30px; } .mf { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; cursor: pointer; font: 650 14px var(--f); color: var(--bone); background: linear-gradient(180deg, rgba(242, 239, 230, .12), rgba(242, 239, 230, .04)); box-shadow: inset 0 0 0 1.5px var(--line-2); } .btn svg { width: 16px; height: 16px; }
.btn--heat, .btn--sea { color: #1a0f02; background: linear-gradient(180deg, #ffe2a8, #ffb547 55%, #ff8f2b); box-shadow: 0 12px 26px -12px rgba(255, 150, 40, .9); } .btn--ghost { background: transparent; box-shadow: none; } .btn--icon { padding: 9px; }

/* footer */
.foot { padding: 90px 0 40px; background: linear-gradient(180deg, var(--night), #04070a); box-shadow: inset 0 1px 0 var(--line); } .foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; } .foot h4 { font: 500 10.5px var(--fm); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; } .foot a { display: block; color: var(--bone-2); text-decoration: none; padding: 4px 0; } .foot a:hover { color: var(--amber); }
.foot .big { font: 700 clamp(64px, 15vw, 250px)/.8 var(--fd); letter-spacing: .02em; margin-top: 60px; background: linear-gradient(180deg, rgba(242, 239, 230, .16), rgba(242, 239, 230, .02)); -webkit-background-clip: text; background-clip: text; color: transparent; } @media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e), transform 1s var(--e); } [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
@media (max-width: 420px) { .eyebrow { letter-spacing: .15em; line-height: 1.5; } } /* phones: fewer wrapped eyebrows, and room between the lines when one wraps */
