@font-face {
  font-family: Fraunces;
  src: url("/assets/fraunces.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-semibold.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #0c1018;
  --night-soft: #151c28;
  --ivory: #f5eddf;
  --muted: #c0bbc7;
  --gold: #f1c17c;
  --line: #ffffff26;
  --purple: #4b3793;
  --light: #f7f3ee;
  font: 16px/1.65 Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ivory); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 400; line-height: 1.04; }
p { max-width: 65ch; }
.wrap { width: min(100% - 64px, 1220px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 12px; left: 12px; background: var(--ivory); color: var(--night); padding: 10px 16px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #0c1018; }
.header-content { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { flex: none; color: var(--ivory); text-decoration: none; }
.brand img { width: 151px; }
.site-nav { display: flex; gap: clamp(16px, 3.3vw, 44px); align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 10px 0; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--gold); }
.site-footer { border-top: 1px solid var(--line); background: var(--night); color: var(--muted); }
.footer-content { padding-block: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-content a { color: var(--ivory); overflow-wrap: anywhere; }
.eyebrow { font-size: .86rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.primary, .secondary { border-radius: 100px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 10px 20px; font-size: .92rem; border: 1px solid transparent; transition: background .15s, color .15s; }
.primary { background: var(--gold); color: #23180f; }
.primary:hover { background: #ffe0a9; }
.secondary { border-color: currentColor; color: inherit; }
.secondary:hover { background: #ffffff12; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.minor-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 17px; font-size: .9rem; }
.home-intro { position: relative; overflow: clip; padding-block: clamp(58px, 6vw, 90px) 43px; }
.home-intro::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 420px; right: -160px; top: -135px; background: radial-gradient(ellipse, #3a2845 0%, #182132 48%, transparent 73%); }
.home-page { isolation: isolate; background: radial-gradient(ellipse at 82% 12%, #242136 0%, transparent 43%), var(--night); }
.home-intro h1 { font-size: clamp(3.25rem, 7.25vw, 6.9rem); letter-spacing: -.064em; max-width: 18ch; margin-top: 17px; }
.home-intro h1 span { color: #d6b4ef; }
.home-intro p:last-child { color: var(--muted); margin-top: 24px; font-size: clamp(1rem, 2vw, 1.21rem); }
.projects { padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.project { display: grid; grid-template-rows: 310px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; }
.project-media { position: relative; overflow: hidden; display: block; text-decoration: none; }
.project-media:focus-visible { outline-offset: -6px; }
.project-parsecs { background: #131c2a; }
.space-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-parsecs .project-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#0e172b70); pointer-events: none; }
.project-kozmik { background: #eee7f3; color: #231b38; }
.moon-media { background: radial-gradient(ellipse at 70% 35%,#e9d9ff 0%,#c1a9ed 34%,#8c7ab4 95%); }
.moon-media::before { content: ""; position: absolute; inset: 11% 16% -40%; border: 1px solid #fbf1ffc7; border-radius: 50%; transform: rotate(-15deg); }
.moon-media img { position: absolute; top: 30px; right: 17%; width: 195px; border-radius: 22px; border: 4px solid #372953; transform: rotate(8deg); box-shadow: 0 15px 45px #26194375; }
.moon-media img + img { right: 48%; top: 57px; width: 159px; transform: rotate(-10deg); }
.project-content { padding: 26px clamp(23px, 3.4vw, 41px) 32px; }
.project-title { display: flex; align-items: center; gap: 14px; }
.project-title img { width: 46px; border-radius: 13px; flex: none; }
.project-title h2 { font-size: clamp(2.15rem, 4vw, 3rem); letter-spacing: -.037em; }
.project-content p { margin-block: 15px 22px; color: var(--muted); min-height: 3.25em; }
.project-kozmik .project-content p { color: #4a4059; }
.project-kozmik .primary, .light-section .primary { background: var(--purple); color: #fff; }
.project-kozmik .primary:hover, .light-section .primary:hover { background: #382773; }
.project-kozmik .secondary:hover, .light-section .secondary:hover { background: #4b379310; }
.product-hero h1 { font-size: clamp(3.5rem, 8vw, 7.2rem); letter-spacing: -.07em; }
.product-hero .hero-lead { margin: 19px 0 27px; font-size: clamp(1.05rem, 2vw, 1.24rem); max-width: 36ch; }
.hero-app-icon { width: 62px; height: 62px; border-radius: 16px; margin-bottom: 20px; }
.parsecs-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 62vw, 710px); }
.parsecs-hero .hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 51%; }
.parsecs-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#08111af7 1%,#091220df 27%,#0a152b55 61%,#09122118),linear-gradient(0deg,var(--night),transparent 26%); }
.parsecs-hero .hero-inner { padding-block: 58px; }
.parsecs-hero h1 { margin-top: 13px; }
.parsecs-hero .hero-lead { color: #f1edf4; }
.light-section { color-scheme: light; background: var(--light); color: #211b35; }
.kozmik-hero { background: radial-gradient(ellipse at 80% 35%,#dacaf2 0%,#ebe1f4 38%,var(--light) 75%); }
.kozmik-hero .hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; align-items: center; gap: 28px; padding-block: 58px; }
.kozmik-hero .eyebrow { color: var(--purple); }
.kozmik-hero h1 { margin-top: 11px; line-height: .99; }
.kozmik-hero h1 span { display: block; font-size: .48em; color: var(--purple); letter-spacing: -.045em; margin-top: 8px; }
.kozmik-hero .hero-lead { color: #4d4360; }
.phones { position: relative; isolation: isolate; min-height: 510px; display: grid; place-items: center; }
.phones::before { content: ""; width: 95%; aspect-ratio: 1; position: absolute; z-index: -1; border: 1px solid #8a6db557; border-radius: 50%; }
.phones img { position: absolute; width: min(42%,224px); top: 5%; right: 9%; transform: rotate(8deg); border: 5px solid #32254b; border-radius: 24px; box-shadow: 0 19px 43px #25184757; }
.phones img + img { width: min(40%,207px); top: 17%; right: 48%; transform: rotate(-9deg); }
.feature-section { padding-block: clamp(54px,8vw,98px); }
.feature-section h2, .support h2 { font-size: clamp(2.2rem,4.2vw,4.05rem); letter-spacing: -.045em; max-width: 20ch; }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 33px; }
.feature { border-top: 1px solid var(--line); padding-top: 20px; }
.feature h3 { font-size: 1.57rem; }
.feature p { color: var(--muted); margin-top: 11px; }
.tradition-note { margin-top: 28px; color: #52495f; }
.light-section .feature { border-color: #4b379331; }
.light-section .feature p { color: #52495f; }
.product-photo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; margin-top: 43px; align-items: center; }
.product-photo img { border-radius: 20px; width: 100%; }
.product-photo p { font-size: 1.12rem; color: var(--muted); }
.support { padding-block: 52px 68px; border-top: 1px solid #4b379331; }
.support p { margin-top: 14px; color: #514860; }
.support ul { padding-left: 22px; }
.support .minor-links { color: var(--purple); }
@media (max-width: 960px) {
  .project { grid-template-rows: 255px 1fr; }
  .moon-media img { width: 162px; }
  .moon-media img + img { width: 133px; }
  .phones { min-height: clamp(340px,55vw,485px); }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 36px, 1220px); }
  .brand img { width: 123px; }
  .header-content { min-height: 67px; gap: 15px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .87rem; }
  .home-intro { padding-top: 52px; padding-bottom: 32px; }
  .home-intro h1 { max-width: 10.5ch; }
  .home-intro p:last-child { margin-top: 15px; }
  .projects { grid-template-columns: 1fr; padding-bottom: 50px; }
  .project { grid-template-rows: minmax(225px,52vw) 1fr; }
  .project-content p { min-height: auto; }
  .kozmik-hero .hero-inner { grid-template-columns: 1fr; gap: 18px; padding-top: 43px; padding-bottom: 23px; }
  .phones { min-height: min(93vw,460px); }
  .phones::before { width: min(86%,420px); }
  .parsecs-hero { min-height: 570px; align-items: end; }
  .parsecs-hero .hero-art { object-position: 67% center; }
  .parsecs-hero::after { background: linear-gradient(0deg,#070f18 4%,#08121bd9 32%,#08162416 85%); }
  .parsecs-hero .hero-inner { padding-block: 38px 55px; }
  .features, .product-photo { grid-template-columns: 1fr; gap: 22px; }
  .product-photo { margin-top: 28px; }
  .footer-content { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
