/* Refinements of the supplied indigo design. */
:root {
  --neon: #dfe5ff;
  --line: rgba(255, 255, 255, .25);
  --muted: rgba(255, 255, 255, .76);
  --pad: clamp(22px, 4.25vw, 72px);
}

html { scroll-padding-top: 28px; }
body { min-width: 320px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.site-header { padding-block: 26px; }
.header-descriptor { letter-spacing: .02em; }
.site-header nav a { min-height: 44px; }
.hero-logo { line-height: 1; }
.hero-logo img { width: 100%; height: auto; }
.hero-bottom p { max-width: 600px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.hero .round-link {
  width: 140px;
  height: 140px;
  background: var(--white);
  color: var(--indigo);
  border-color: var(--white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: none;
}
.hero .round-link:hover, .hero .round-link:focus-visible {
  background: var(--neon);
  color: var(--indigo);
  box-shadow: none;
}
.cursor { top: 0; left: 0; width: 7px; height: 7px; background: white; }
.orb { will-change: auto; }
.reveal { transition-duration: .45s; }
.hbs-reveal-ready .reveal:not(.visible) { transform: translateY(16px); }

.intro, .directions, .projects { padding-block: clamp(64px, 7vw, 110px); }
.intro-content { padding-top: 0; }
.section-title, .intro .section-title, .contact-title {
  max-width: 1050px;
  font-size: clamp(36px, 4.1vw, 60px);
  line-height: 1.08;
  letter-spacing: -.05em;
  text-wrap: balance;
  overflow-wrap: normal;
}
.intro .section-title { max-width: 920px; margin-bottom: 52px; }
.intro-grid { gap: 36px; }
.intro-grid article { padding-top: 22px; }
.decision-label { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.intro-grid h3 { margin-top: 12px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.035em; text-wrap: pretty; }
.intro-summary { max-width: none; margin-top: 38px; font-size: 15px; }
.section-head { margin-bottom: 48px; }

.direction { padding: 26px 20px 30px; }
.direction-meta { color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .06em; }
.direction h3 { margin: 12px 0 0; max-width: 850px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: normal; }
.direction:focus-within, .direction:focus-visible { background: rgba(255,255,255,.055); color: white; outline-color: var(--neon); }
.direction:focus-within p, .direction:focus-visible p { color: var(--muted); }
.pwa-info { margin-top: 18px; }
.pwa-info summary { border-color: rgba(255,255,255,.34); font-size: 12px; padding: 10px 12px; }
.pwa-info p { font-size: 14px; line-height: 1.65; }
.pwa-info[open] summary { background: rgba(255,255,255,.08); }
.service-disclosures { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.service-disclosures .pwa-info { flex: 1 1 220px; }
.service-disclosures .pwa-info[open] { flex-basis: 100%; }

.projects-grid { gap: 24px; }
.product-compact { background: transparent; border-color: var(--line); box-shadow: none; }
.phone-stage { height: clamp(440px, 42vw, 560px); background: #0b0b76; border-bottom: 1px solid var(--line); }
.product-kind { top: 22px; right: 24px; left: 24px; text-align: left; font-size: 10px; font-weight: 500; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; color: rgba(255,255,255,.8); }
.project-device-mockup {
  inset: 62px 32px 28px;
  width: calc(100% - 64px);
  height: calc(100% - 90px);
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 16px 20px rgba(0,0,35,.16));
}
.project-device-mockup-06 { inset: 58px 86px 26px 30px; width: calc(100% - 116px); height: calc(100% - 84px); }
.project-companion-foxis { width: 78px; top: auto; right: 14%; bottom: 44px; border: 0; box-shadow: none; transform: none; }
.project-companion-daruma { width: 104px; right: 38px; bottom: 34px; }
.product-content { padding: 28px; }
.product-content h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: normal; }
.product-content p { margin-bottom: 26px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.compact-tags { gap: 8px; margin-bottom: 20px; }
.compact-tags li { padding: 5px 8px; font-size: 10px; line-height: 1.4; text-transform: none; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.product-link { gap: 10px; min-height: 44px; padding-block: 8px; font-size: 13px; }
.product-compact:focus-within, .product-compact:focus-visible { background: transparent; border-color: rgba(255,255,255,.65); box-shadow: none; }
.product-compact:focus-within .project-device-mockup { transform: none; filter: drop-shadow(0 16px 20px rgba(0,0,35,.16)); }
.ui-arrow { display: inline-block; width: 10px; height: 10px; position: relative; flex: 0 0 10px; }
.ui-arrow::before { content: ""; position: absolute; width: 12px; height: 1px; top: 5px; left: -1px; background: currentColor; transform: rotate(-45deg); }
.ui-arrow::after { content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; }

.contact { padding-top: 116px; padding-bottom: 80px; gap: 72px; }
.contact .orb { opacity: .2; }
.contact-links p { color: var(--muted); }
.contact-links a { min-height: 56px; font-size: 14px; border-color: rgba(255,255,255,.3); }
.contact-links .button-contact { background: white; border-color: white; color: var(--indigo); font-weight: 600; margin-bottom: 18px; }
.contact-links a:focus-visible { background: var(--neon); border-color: var(--neon); color: var(--indigo); box-shadow: none; }
footer.section-indigo { min-height: 230px; padding-top: 64px; padding-bottom: 28px; gap: 24px 36px; border-top: 1px solid var(--line); }
footer .footer-brand { width: 72px; }
footer .footer-docs { gap: 12px 24px; }
footer .footer-docs > * { min-height: 44px; }
footer .footer-disclaimer { max-width: 600px; font-size: 11px; color: rgba(255,255,255,.63); }

@media (hover: hover) {
  .direction:hover { background: rgba(255,255,255,.055); color: white; }
  .direction:hover p { color: var(--muted); }
  .product-compact:hover { background: transparent; border-color: rgba(255,255,255,.65); box-shadow: none; }
  .product-compact:hover .project-device-mockup { transform: translateY(-4px); filter: drop-shadow(0 18px 22px rgba(0,0,35,.16)); }
  .contact-links a:hover { background: var(--neon); border-color: var(--neon); color: var(--indigo); box-shadow: none; }
  .site-header nav a:hover, .product-link:hover { color: white; opacity: .78; background: transparent; border-color: currentColor; }
}

@media (min-width: 1600px) {
  :root { --pad: max(72px, calc((100vw - 1400px) / 2)); }
}

@media (hover: hover) and (max-width: 800px) {
  .site-header nav a:hover { color: var(--indigo); background: transparent; }
}

@media (max-width: 900px) {
  .intro-grid { gap: 28px; }
  .intro-grid article { gap: 12px; }
  .intro-grid h3 { margin: 0; max-width: 620px; font-size: 25px; }
  .phone-stage { height: 510px; }
  .contact { gap: 36px; }
}

@media (max-width: 800px) {
  :root { --pad: clamp(20px, 5.35vw, 32px); }
  .site-header { padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: 20px; }
  .header-descriptor { font-size: 12px; max-width: 235px; line-height: 1.5; }
  .site-header nav a { color: var(--indigo); }
  .hero { min-height: max(640px, 100svh); }
  .hero-logo { width: min(68vw, 350px); }
  .hero-bottom { margin: 0 auto auto; }
  .hero-bottom p { font-size: 15px; line-height: 1.65; max-width: 520px; }
  .hero .round-link { width: 112px; height: 112px; flex-basis: 112px; margin-top: 28px; }
  .intro, .directions, .projects { padding-block: 64px; }
  .intro .section-title { margin-bottom: 36px; }
  .direction { padding: 24px 0; }
  .direction h3 { font-size: 26px; }
  .contact { padding-top: 80px; padding-bottom: 64px; }
  footer.section-indigo { min-height: 0; padding-top: 36px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .section-title, .intro .section-title, .contact-title { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
  .intro-grid h3 { font-size: 23px; line-height: 1.25; }
  .intro-summary { font-size: 14px; }
  .section-head { margin-bottom: 34px; }
  .direction h3 { font-size: 24px; line-height: 1.22; }
  .direction-meta { font-size: 10px; line-height: 1.5; }
  .service-disclosures { display: grid; grid-template-columns: 1fr; }
  .projects-grid { gap: 24px; }
  .phone-stage { height: clamp(370px, 106vw, 480px); }
  .project-device-mockup { inset: 60px 24px 26px; width: calc(100% - 48px); height: calc(100% - 86px); }
  .project-device-mockup-06 { inset: 58px 66px 26px 18px; width: calc(100% - 84px); height: calc(100% - 84px); }
  .product-kind { top: 20px; left: 20px; right: 20px; font-size: 9px; }
  .project-companion-foxis { width: 62px; right: 22px; bottom: 40px; }
  .project-companion-daruma { width: 80px; right: 22px; bottom: 30px; }
  .product-content { padding: 24px 20px; }
  .product-content h3 { font-size: 28px; line-height: 1.15; }
  .product-content p { font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
  .compact-tags { margin-bottom: 16px; }
  .contact-links a { min-height: 54px; font-size: 13px; }
  footer .footer-brand { width: 64px; }
}

@media (max-width: 800px) and (max-height: 500px) {
  .hero { min-height: 600px; }
  .hero-logo { width: 230px; margin-block: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hbs-reveal-ready .reveal:not(.visible) { opacity: 1; transform: none; transition: none; }
  .product-compact:hover .project-device-mockup { transform: none; }
}
