/* Adapted from the awesome-design-md Linear reference: restrained surfaces,
   readable type, consistent spacing. Loaded after page-specific styles. */
:root {
  --bg: #090909;
  --surface: #141414;
  --text: #f5f3f1;
  --muted: #b4b0b1;
  --border: #ffffff20;
  --max: 1200px;
}
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 3px solid #cfcbcc;
  outline-offset: 5px;
}
.shell { width: min(var(--max), calc(100% - 80px)); }
.site-header { min-height: 96px; height: auto; padding-block: 20px; border-bottom: 1px solid var(--border); }
.wordmark { font-size: 24px; letter-spacing: -.8px; }
.nav-pill { background: #ffffff03; box-shadow: none; border-color: var(--border); }
.nav-pill a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; color: var(--muted); }
.nav-pill a.active { background: #ed233425; box-shadow: none; }
.button { min-height: 48px; border-radius: 12px; box-shadow: none; background: #c91e30; }
.button:hover { background: #e5263b; box-shadow: none; }
.button-quiet { background: transparent; border-color: #ffffff40; color: #eae6e7; }
.button-quiet:hover { background: #ffffff08; }
.hero { padding-block: 72px; gap: 32px; }
.hero h1 { font-size: clamp(38px, 4.3vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.hero-description { font-size: 18px; max-width: 55ch; }
.hero-art { width: 110%; margin-left: -5%; }
.hero-actions { flex-wrap: wrap; }
.identity-pill { background: #ffffff03; font-size: 12px; }
.glass-card { background: #ffffff03; border-color: var(--border); border-radius: 20px; box-shadow: none; }
.projects > article + article { margin-top: 32px; }
.featured-header { padding: 36px 40px 0; }
.eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.featured-grid { gap: 40px; }
.project-copy { padding: 32px 40px 40px 0; min-width: 0; }
.project-description, .dragshift-copy .project-description, .dukan-feature .project-description { font-size: 16px; line-height: 1.75; }
.project-category { font-size: 15px; }
.feature-tags, .dragshift-copy .feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags li { font-size: 12px; min-height: 32px; padding: 6px 12px; white-space: normal; background: #ffffff03; border-color: var(--border); border-radius: 8px; }
.platform-note, .download-link { font-size: 13px; }
.download-link, .legacy-links a { padding-block: 12px; }
.subtle-link { min-height: 44px; font-size: 14px; border-radius: 10px; }
.product-art { align-items: center; padding: 32px 20px 56px; background: radial-gradient(ellipse at center, #ed23341a, transparent 75%); }
.product-phone, .product-phone:hover { width: 180px; height: auto; aspect-ratio: 610 / 1356; transform: none; flex-shrink: 0; }
.product-phone > img { height: auto; object-fit: contain; }
.floating-symbol, .map-contours { display: none; }
.art-caption, .preview-caption, .dukan-preview-caption, .launcher-preview figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); }
.dragshift-feature, .dukan-feature, .launcher-feature { padding: 40px; gap: 32px; background: #ffffff03; }
.dragshift-brand h2, .dukan-brand h2, .launcher-brand h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; }
.dragshift-brand, .dukan-brand, .launcher-brand { min-width: 0; }
.dragshift-brand img, .launcher-brand img { flex-shrink: 0; }
.launcher-brand h2 { overflow-wrap: anywhere; }
.motion-heading p:not(.eyebrow), .motion-card p { font-size: 14px; }
.motion-toggle, .viewer-button { min-height: 44px; min-width: 44px; }
.motion-toggle { font-size: 12px; }
.recording-bar { font-size: 10px; letter-spacing: .06em; }
.story-grid { margin-top: 32px; gap: 24px; }
.story-grid > section { padding: 32px; }
.story-grid p:not(.eyebrow) { font-size: 16px; }
.coming-soon { margin-top: 32px; background: #ffffff02; }
.contact-card { margin-top: 32px; padding: 32px; }
.legacy-links { font-size: 13px; gap: 12px 24px; }
.site-footer { margin-top: 24px; border-top: 1px solid var(--border); }
.site-footer p, .site-footer > span { font-size: 12px; }
.project-details { margin-top: 32px; }
.project-details p, .project-details li { font-size: 16px; }
.project-screens p { font-size: 14px; }
/* The GPS page uses its own layout; share only readability and control sizes. */
.wrap .intro, .journey-card > p, .installation li p { font-size: 15px; }
.trust-badges span, .release-card span, .release-links { font-size: 12px; }
.nav nav a, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .header-contact { display: none; }
  .site-header { gap: 16px; }
  .nav-pill a { padding-inline: 12px; }
  .dragshift-feature, .dukan-feature, .launcher-feature { padding: 28px; gap: 24px; }
  .featured-grid { gap: 24px; }
  .featured-header { padding: 28px 28px 0; }
  .project-copy { padding: 28px 28px 28px 0; }
}
@media (max-width: 700px) {
  .dragshift-feature, .dukan-feature, .launcher-feature { grid-template-columns: minmax(0, 1fr); }
  .featured-grid { display: flex; flex-direction: column; gap: 0; }
  .product-art { width: 100%; min-height: 430px; order: 1; }
  .project-copy { width: 100%; padding: 28px; order: 2; border-top: 1px solid var(--border); }
  .project-description { max-width: none; }
  .hero-art { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-copy { max-width: none; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .site-header { gap: 16px; padding-block: 20px 16px; min-height: 0; }
  .nav-pill { width: 100%; }
  .nav-pill a { font-size: 12px; padding-inline: 9px; }
  .hero { padding-block: 44px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 46px); letter-spacing: -.04em; }
  .hero-description { font-size: 16px; }
  .button { font-size: 14px; padding: 14px 18px; }
  .hero-actions { gap: 10px; }
  .featured-header { padding: 24px 24px 0; }
  .eyebrow { font-size: 11px; }
  .featured-header > p:last-child { font-size: 15px; }
  .project-copy, .dragshift-feature, .dukan-feature, .launcher-feature { padding: 24px; }
  .feature-tags li { font-size: 12px; }
  .platform-note, .download-link { font-size: 12px; }
  .project-action { min-width: 0; }
  .story-grid > section, .contact-card { padding: 24px; }
  .contact-card .button { width: 100%; }
  .contact-card { flex-wrap: wrap; }
  .motion-heading { flex-wrap: wrap; }
  .recording-bar { letter-spacing: 0; }
  .initials { opacity: .5; }
  .site-footer { gap: 16px; }
  .site-footer > span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Uppercase split-cross identity, rendered as paths for consistent lettering. */
.wordmark, .nav .brand, footer .brand { display: inline-flex; flex-shrink: 0; }
.wordmark img.brand-wordmark, .nav .brand img.brand-wordmark,
footer .brand img.brand-wordmark {
  width: 170px;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}
.site-footer .wordmark img.brand-wordmark, footer .brand img.brand-wordmark { width: 144px; }
@media (max-width: 900px) {
  .wordmark img.brand-wordmark, .nav .brand img.brand-wordmark { width: 146px; }
}
@media (max-width: 560px) {
  .wordmark img.brand-wordmark, .nav .brand img.brand-wordmark { width: 156px; }
  .site-footer .wordmark img.brand-wordmark, footer .brand img.brand-wordmark { width: 136px; }
}

/* Site-wide black and crimson palette from the portrait reference. */
body { background-color: #090909; background-image: radial-gradient(ellipse at 85% 5%, #ed233408, transparent 50%); }
::selection { background: #ed233450; color: #fff; }
.hero-art img { filter: hue-rotate(130deg) saturate(.85); }
.nav-pill a.active { color: #f5f3f1; }
:is(.eyebrow, .project-category, .launcher-number) { color: #f45365; }
.button { color: #fff; }
.button-quiet { color: #f5f3f1; }
:is(.glass-card, .motion-card, .journey-card, .release-card) { border-color: #ffffff24; }
