:root {
  color-scheme: dark;
  --background: #0d0b11;
  --surface: #131018;
  --card: #18141f;
  --line: #2d2638;
  --text: #f7f3ff;
  --muted: #bcb4c8;
  --accent: #ceb1ff;
  --ink: #201132;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
  --header-offset: 16px;
  --header-height: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-offset) + var(--header-height) + 14px); }
body { margin: 0; padding-top: calc(var(--header-offset) + var(--header-height)); background: var(--background); color: var(--text); font: 1rem/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
em { font-style: normal; }
.shell { width: min(100% - 112px, 1248px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; background: var(--accent); color: var(--ink); z-index: 20; padding: 8px 16px; border-radius: 6px; }

.site-header { position: fixed; inset: var(--header-offset) 0 auto; z-index: 10; pointer-events: none; }
.header-inner {
  width: min(840px, 100% - 40px);
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 7px 13px 7px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  border: 1px solid #f1e4ff3d;
  border-radius: 18px;
  background: linear-gradient(145deg, #362b42f5, #1b1525f7 72%);
  box-shadow: 0 6px 18px #08050b66, inset 0 1px 0 #fff2, inset 0 -1px 0 #fff1;
}
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.brand-mark { flex: none; width: 44px; height: 44px; }
.brand-wordmark {
  display: grid;
  justify-items: start;
  gap: 3px;
  font-family: var(--display);
  line-height: 1;
  white-space: nowrap;
}
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: .035em; }
.brand-descriptor { color: var(--accent); font-size: .6875rem; font-weight: 600; letter-spacing: .215em; }
.nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(17px, 3vw, 38px); color: var(--muted); font-size: .94rem; font-weight: 500; }
.nav a:hover, .footer-inner nav a:hover { color: var(--text); }
.site-header .nav { gap: clamp(5px, 1.2vw, 17px); color: #e5ddef; }
.site-header .nav a { display: inline-flex; align-items: center; min-height: 38px; padding-inline: 8px; border-radius: 8px; }
.site-header .nav a:hover { background: #fff1; }
.header-cta { justify-self: end; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 48px; padding: 10px 19px; border-radius: 8px; border: 1px solid transparent; font: 700 .94rem/1.25 var(--sans); transition: transform .18s ease; }
.button-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button-primary:hover { background: #dfcbff; border-color: #dfcbff; box-shadow: 0 0 22px #b084f34d; }
.button-outline { background: #100c18a8; border-color: #483a57; color: var(--text); }
.button-outline:hover { background: #241b30; border-color: #a78bc3; }
.header-cta { min-height: 40px; border-color: #e5d5ff36; background: #f0e9ff13; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: clip; isolation: isolate; }
.hero-inner { min-height: clamp(560px, 44vw, 660px); display: grid; align-items: center; position: relative; }
.hero-copy { max-width: 690px; padding: 70px 0 76px; position: relative; z-index: 1; }
.kicker { color: var(--accent); font: 700 .8rem/1.45 var(--sans); letter-spacing: .145em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
h1 { margin: 0 0 21px; font-size: clamp(3.5rem, 6.75vw, 6.55rem); line-height: .99; letter-spacing: -.075em; }
h1 em { color: var(--accent); background: linear-gradient(101deg, #ead8ff 1%, #c9a6ff 60%, #aa83f6 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 435px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { min-height: 51px; padding-inline: 22px; }
.motion-toggle { margin-top: 8px; }
.hero-art { position: absolute; top: 50%; right: -9%; width: 63%; height: auto; aspect-ratio: 1.33; transform: translateY(-49%); isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: -3% -6%; background: radial-gradient(ellipse at 57% 50%, #411d6d55 3%, #25103933 36%, transparent 71%); z-index: -1; }
.hero-float {
  position: absolute;
  top: 6%;
  left: 3%;
  width: 96%;
  overflow: clip;
  animation: art-arrive .7s ease-out;
}
@supports not (overflow: clip) {
  .hero, .hero-float { clip-path: inset(0); }
}
.hero-float::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--background), transparent 13%, transparent 87%, var(--background)),
    linear-gradient(0deg, var(--background), transparent 14%, transparent 86%, var(--background));
}
.hero-float img {
  width: 100%;
  height: auto;
  animation: hero-drift 4s ease-in-out infinite alternate;
}
.orbit { position: absolute; top: 50%; left: 53%; border: 1px solid #c09be637; border-radius: 50%; transform: translate(-50%, -50%) rotate(-17deg); pointer-events: none; }
.orbit-one { width: 94%; height: 60%; }
.orbit-two { width: 79%; height: 76%; transform: translate(-50%, -50%) rotate(26deg); border-color: #8b67a932; }
.hero-axis { position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); pointer-events: none; opacity: .65; }
.axis-x { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, #82559a50, #82559a50, transparent); }
.axis-y { width: 1px; height: 82%; background: linear-gradient(0deg, transparent, #82559a50, #82559a50, transparent); }
.art-spark { width: 3px; height: 3px; border-radius: 50%; position: absolute; background: #e3c6ff; box-shadow: 0 0 11px 3px #d593ff9e; }
.spark-one { top: 22%; right: 22%; }.spark-two { top: 70%; left: 19%; }.spark-three { top: 64%; right: 7%; }

.capabilities { border-block: 1px solid #2c2338; background: #131019; }
.capability-inner { min-height: 77px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 18px; }
.capability-inner > span { display: flex; justify-content: center; align-items: center; gap: 11px; color: #dfd6ea; font-size: .93rem; font-weight: 600; white-space: nowrap; }
.capability-inner > :first-child { justify-content: flex-start; }
.capability-inner > :last-child { justify-content: flex-end; }
.mini-symbol { display: block; width: 15px; height: 15px; color: var(--accent); position: relative; flex: none; }
.symbol-diamond { width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); }
.symbol-device { width: 11px; height: 15px; border: 1px solid currentColor; border-radius: 3px; }
.symbol-device::after { content: ""; position: absolute; width: 3px; height: 1px; background: currentColor; bottom: 2px; left: 3px; }
.symbol-search::before { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; width: 11px; height: 11px; }
.symbol-search::after { content: ""; position: absolute; width: 6px; height: 1px; background: currentColor; transform: rotate(45deg); right: 0; bottom: 3px; }
.symbol-launch { background: currentColor; clip-path: polygon(50% 0, 59% 40%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 40%); }

.section { padding-block: clamp(68px, 7vw, 112px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head .kicker, .faq-section .kicker, .contact .kicker { margin-bottom: 9px; }
h2 { font-size: clamp(2.15rem, 4.45vw, 4.15rem); line-height: 1.05; letter-spacing: -.065em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.12; }
.section-head > p { max-width: 340px; color: var(--muted); padding-bottom: 2px; }
.surface { border-block: 1px solid #25202d; background: var(--surface); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-card { min-width: 0; }
.work-art { width: 100%; aspect-ratio: 1.63; display: grid; border: 1px solid #54483b; border-radius: 15px; padding: 7% 7% 9%; position: relative; overflow: hidden; text-align: left; }
.fieldwork-art { background: radial-gradient(ellipse at 15% 15%, #d6b494, #927150 65%, #664835); }
.goodroot-art { background: radial-gradient(ellipse at 20% 14%, #bfc398, #838b61 65%, #505c3a); border-color: #4e5a3b; }
.mock-window { display: flex; flex-direction: column; width: 100%; min-height: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 20px 26px #16111464; border: 1px solid #fffbf267; color: #fff9ef; container-type: inline-size; transition: transform .22s; }
.fieldwork-mock { background: linear-gradient(90deg, #35291fa6, #42342522 68%), url("assets/fieldwork.webp") center 61% / cover; }
.goodroot-mock { background: linear-gradient(90deg, #d6d8b343, transparent 80%), url("assets/goodroot.webp") center 57% / cover; color: #172111; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4% 5%; font: 600 9px/1 var(--sans); }
.mock-nav b { font-family: var(--display); font-size: clamp(10px, 4cqw, 21px); line-height: 1; letter-spacing: -.04em; }
.mock-nav > span { font-size: clamp(5px, 1.6cqw, 10px); letter-spacing: .05em; white-space: nowrap; }
.mock-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8%; padding: 0 6% 6%; flex: 1; }
.mock-main strong { font: 600 clamp(18px, 9.1cqw, 64px)/.93 var(--display); letter-spacing: -.06em; }
.goodroot-mock .mock-main strong { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.066em; }
.mock-link { margin-top: .5em; padding: .5em .8em; border-radius: 3px; background: #efdfcb; color: #2c1e12; font-size: clamp(6px, 2cqw, 13px); font-weight: 700; }
.goodroot-mock .mock-link { background: #25371a; color: #f1f4de; }
.art-index { position: absolute; bottom: 3.2%; right: 7%; color: #fff8ef; font-size: clamp(.6rem, .9vw, .72rem); font-weight: 700; letter-spacing: .105em; text-shadow: 0 1px 5px #111; }
.work-caption { padding: 18px 1px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-caption p { color: var(--muted); margin-top: 5px; }
.text-button { border: 0; background: none; color: var(--accent); padding: 8px 0 8px 5px; font-weight: 700; }
.text-button:hover { text-decoration: underline; text-underline-offset: 5px; }

.service-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service-card, .plan {
  position: relative;
  isolation: isolate;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(21px, 2.55vw, 33px);
  transition: translate .24s cubic-bezier(.2, .65, .3, 1);
}
:is(.service-card, .plan)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at 20% 0%, #ba90ff2b, transparent 72%);
  box-shadow: 0 0 0 1px #bb92f887, 0 12px 30px #0b0518a6;
  opacity: 0;
  transition: opacity .24s ease;
}
.plan:focus-within::before { opacity: 1; }
.service-card h3 { margin: 23px 0 10px; }
.service-card p, .plan p, .process-grid p, .contact-panel p:not(.kicker) { color: var(--muted); }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; background: #2d2040; border: 1px solid #49335e; color: var(--accent); border-radius: 10px; }
.service-icon i { width: 21px; height: 18px; position: relative; display: block; }
.icon-layout i { border-radius: 3px; border: 1px solid currentColor; }
.icon-layout i::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 1px solid currentColor; }
.icon-layout i::after { content: ""; position: absolute; inset: 5px auto 0 6px; border-left: 1px solid currentColor; }
.icon-refresh i { width: 17px; height: 17px; border-radius: 50%; border: 1px solid currentColor; border-top-color: transparent; }
.icon-refresh i::after { content: ""; position: absolute; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; top: 0; right: -1px; }
.icon-bag i { width: 18px; height: 15px; border-radius: 2px; border: 1px solid currentColor; margin-top: 4px; }
.icon-bag i::before { content: ""; position: absolute; width: 8px; height: 7px; border: 1px solid currentColor; border-radius: 5px 5px 0 0; border-bottom: 0; top: -6px; left: 4px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 18px; margin: 41px 0 0; padding: 0; }
.process-grid li { border-top: 1px solid #453454; padding: 0 10px 0 0; }
.process-grid h3 { margin: 13px 0 8px; }
.step-dot { background: #271839; border: 1px solid #593a75; color: var(--accent); font-weight: 700; border-radius: 50%; display: grid; place-items: center; width: 34px; height: 34px; transform: translateY(-50%); margin-bottom: -13px; }
.plan { display: flex; flex-direction: column; }
.plan-featured { border-color: #8f65bf; background: linear-gradient(155deg, #291e38, #1b1524 64%); }
.plan p { margin-top: 10px; }
.plan ul { list-style: none; margin: 23px 0 27px; padding: 17px 0 0; border-top: 1px solid #3a2e46; }
.plan li { color: #e4d9ef; margin-block: 8px; display: flex; align-items: baseline; gap: 9px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .button { margin-top: auto; }
.faq-section { display: grid; grid-template-columns: .83fr 1.17fr; gap: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; position: relative; list-style: none; padding: 16px 33px 16px 0; font-weight: 700; font-size: 1.04rem; }
.faq-list summary:focus-visible { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; top: 50%; right: 4px; width: 12px; height: 1px; background: var(--accent); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list p { color: var(--muted); padding: 0 26px 17px 0; }
.contact { margin-bottom: clamp(64px, 7vw, 100px); }
.contact-panel { border: 1px solid #563b72; border-radius: 19px; background: radial-gradient(ellipse at 95% 100%, #5c358f63, transparent 61%), #1b1327; padding: clamp(28px, 5.3vw, 67px); display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.contact-panel p:not(.kicker) { margin-top: 12px; }
.contact-panel .button { flex: none; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner > small { color: var(--muted); }

.dialog { max-height: calc(100dvh - 28px); width: min(100% - 28px, 630px); color: var(--text); background: #191420; border: 1px solid #5b436f; border-radius: 17px; padding: clamp(18px, 4vw, 32px); box-shadow: 0 28px 100px #000b; }
.dialog::backdrop { background: #09060cba; backdrop-filter: blur(6px); }
.dialog-top, .concept-toolbar, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-top { align-items: start; }
.dialog h2 { font-size: clamp(1.8rem, 5vw, 2.65rem); margin-top: 5px; }
.icon-close { width: 42px; height: 42px; flex: none; display: grid; place-content: center; border-radius: 8px; border: 1px solid #5b436f; background: #261e30; font-size: 1.65rem; line-height: 1; }
.icon-close:hover, .view-switch button:hover { background: #392a49; }
.concept-dialog { width: min(100% - 28px, 930px); }
.concept-toolbar { margin: 14px 0; }
.concept-toolbar p, .dialog-footer p, .step-intro { color: var(--muted); }
.view-switch { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; flex: none; }
.view-switch button { border: 0; border-radius: 5px; padding: 7px 10px; background: transparent; font-size: .87rem; font-weight: 700; }
.view-switch [aria-pressed="true"] { background: #4a3362; }
.concept-stage { display: grid; place-items: center; background: #0e0a12; padding: 12px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.concept-stage .mock-window { width: min(100%, 750px); height: min(38vw, 420px); min-height: 210px; }
.concept-stage.is-mobile .mock-window { width: min(100%, 240px); height: 355px; min-height: 0; background-position: 62% center; }
.concept-stage.is-mobile .mock-nav > span { display: none; }
.concept-stage.is-mobile .mock-nav { padding: 7%; }
.concept-stage.is-mobile .mock-main { justify-content: flex-end; padding: 0 7% 12%; }
.concept-stage.is-mobile .mock-main strong { font-size: 2rem; }
.concept-stage.is-mobile .mock-link { font-size: .75rem; }
.dialog-footer { margin-top: 16px; align-items: center; }
.dialog-footer p { max-width: 460px; }
.dialog-footer .button { flex: none; }
.step-intro { margin: 14px 0 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.form-grid label { display: block; font-size: .9rem; font-weight: 700; }
.form-grid label > span { color: var(--muted); font-weight: 400; }
.form-grid :is(input, select, textarea) { display: block; width: 100%; margin-top: 5px; padding: 10px 11px; border: 1px solid #554463; border-radius: 7px; background: #100d15; color: var(--text); font-size: 1rem; font-weight: 400; }
.form-grid :is(input, select, textarea):focus { background-color: #20172b; border-color: var(--accent); }
.form-grid textarea { resize: vertical; }
.form-grid select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 15px) center, calc(100% - 10px) center; background-size: 5px 5px; background-repeat: no-repeat; }
.span-2 { grid-column: span 2; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.form-actions-wrap { flex-wrap: wrap; }
.form-status { min-height: 1.4em; margin-top: 10px; color: var(--accent); font-size: .9rem; }
.brief-summary { border: 1px solid var(--line); border-radius: 8px; margin-top: 18px; padding: 13px; background: #120e18; }
.brief-summary dl { display: grid; grid-template-columns: minmax(100px, .37fr) minmax(0, 1fr); gap: 5px 12px; margin: 0; }
.brief-summary dt { font-weight: 700; }
.brief-summary dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; white-space: pre-wrap; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 68px); }
  .hero-inner { min-height: 530px; }
  .hero-art { right: -13%; width: 66%; }
  .plan .button { padding-inline: 9px; }
}
@media (max-width: 850px) {
  :root { --header-offset: 10px; --header-height: 58px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { width: min(100% - 24px, 600px); grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; padding-inline: 8px; border-radius: 16px; }
  .header-inner .brand { gap: 7px; }
  .header-inner .brand-mark { width: 40px; height: 40px; }
  .header-inner .brand-name { font-size: 1.125rem; }
  .header-inner .brand-descriptor { font-size: .625rem; }
  .header-cta { grid-column: 2; grid-row: 1; min-height: 38px; padding-inline: 8px; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; min-height: 38px; border: 1px solid #e5d5ff36; background: #f0e9ff13; border-radius: 8px; padding: 5px 9px; font-size: .9rem; }
  .nav { display: none; grid-column: 1 / -1; justify-content: space-between; flex-wrap: wrap; padding: 5px 2px 0; border-top: 1px solid #f1e4ff26; }
  .nav.is-open { display: flex; }
  .hero-inner { min-height: auto; }
  .hero-copy { padding: 61px 0 0; }
  h1 { font-size: clamp(3.1rem, 9.8vw, 5rem); }
  .hero-art { width: min(115%, 640px); height: auto; right: auto; margin: -8% auto -1%; left: 50%; top: auto; transform: translateX(-50%); position: relative; grid-row: 2; }
  .hero-actions { margin-top: 22px; }
  .section-head { display: grid; align-items: start; gap: 12px; margin-bottom: 23px; }
  .section-head > p { max-width: 450px; }
  .capability-inner { padding-block: 14px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .capability-inner > span, .capability-inner > :last-child { justify-content: flex-start; }
  .work-grid { gap: 25px 14px; }
  .work-caption { align-items: start; padding-top: 12px; }
  .work-caption p { font-size: .9rem; }
  .work-caption .text-button { padding-top: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .pricing-grid, .faq-section { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 15px; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 490px) {
  .shell { width: calc(100% - 32px); }
  .hero-copy { padding-top: 47px; }
  .hero-actions .button { padding-inline: 14px; }
  .hero-art { margin-top: -3%; }
  .capability-inner > span { font-size: .84rem; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-panel, .dialog-footer { flex-direction: column; align-items: flex-start; }
  .concept-toolbar { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .footer-inner nav { column-gap: 15px; }
}
@media (max-width: 380px) {
  .header-inner .brand { gap: 6px; }
  .header-inner .brand-mark { width: 32px; height: 32px; }
  .header-inner .brand-name { font-size: 1rem; }
  .header-inner .brand-descriptor { font-size: .5625rem; }
  .header-cta { padding-inline: 7px; font-size: .875rem; }
  .menu-toggle { padding-inline: 7px; }
}
@media (max-width: 350px) {
  .header-inner .brand-mark { width: 40px; height: 40px; }
  .header-inner .brand-wordmark { display: none; }
  h1 { font-size: 2.8rem; }
}

.has-arrived { animation: section-arrive .34s ease-out; }
.hero-copy > :is(h1, .hero-description, .hero-actions) {
  --enter-opacity: .4;
  --enter-offset: 14px;
  animation: section-arrive .55s ease-out backwards;
}
.hero-copy > .hero-description { animation-delay: .08s; }
.hero-copy > .hero-actions { animation-delay: .16s; }

@media (prefers-reduced-motion: no-preference) {
  .button:active { transform: translateY(1px); }
  .work-art:focus-visible .mock-window { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .button:hover:not(:active) { transform: translateY(-2px); }
  .work-art:hover .mock-window { transform: translateY(-4px); }
  :is(.service-card, .plan):hover { translate: 0 -4px; }
  /* Keep the hover target under the pointer when the card lifts. */
  :is(.service-card, .plan):hover::after { content: ""; position: absolute; inset: auto 0 -5px; height: 6px; }
}
@media (hover: hover) {
  :is(.service-card, .plan):hover::before { opacity: 1; }
  .faq-list summary:hover { color: var(--accent); }
  .form-grid :is(input, select, textarea):hover:not(:focus) { background-color: #191321; border-color: #9b78c8; }
}
@keyframes hero-drift {
  from { transform: translate3d(-11px, 7px, 0) rotate(-1deg); }
  to { transform: translate3d(11px, -7px, 0) rotate(1deg); }
}
@keyframes section-arrive {
  from { opacity: var(--enter-opacity, .82); transform: translateY(var(--enter-offset, 8px)); }
  to { opacity: 1; transform: none; }
}
@keyframes art-arrive {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-play-motion]) :is(.hero-float, .hero-float img, .has-arrived, .hero-copy > h1, .hero-copy > .hero-description, .hero-copy > .hero-actions) { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
