:root {
    --bg: #f3f5f7;
    --bg-2: #e6ebef;
    --surface: #ffffff;
    --surface-2: #fbfcfd;
    --line: rgba(20, 28, 36, 0.1);
    --line-strong: rgba(20, 28, 36, 0.16);
    --text: #141920;
    --muted: #5a6573;
    --accent: #1a6570;
    --accent-hover: #134e57;
    --accent-soft: #e6f1f3;
    --accent-2: #c17a45;
    --copper: #c17a45;
    --ink-on-accent: #ffffff;
    --hero-deep: #061018;
    --hero-mid: #0c3d48;
    --hero-light: #1a6d68;
    --hero-glow: #e0a05a;
    --hero-btn-ink: #0c3d48;
    --hero: radial-gradient(ellipse 90% 70% at 88% 0%, rgba(212, 130, 62, 0.42), transparent 52%),
            radial-gradient(ellipse 80% 80% at 0% 100%, rgba(38, 170, 164, 0.38), transparent 48%),
            linear-gradient(148deg, #061018 0%, #0a3340 46%, #1a5f68 100%);
    --footer: #081218;
    --footer-text: #d4e4e6;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px rgba(15, 23, 42, 0.07);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --font: "Outfit", system-ui, sans-serif;
    --display: "Outfit", system-ui, sans-serif;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
    --radius: 18px;
    --nav-h: 76px;
    --wrap: 1320px;
    --gutter: 0.75rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1399.98px) {
    :root { --wrap: 1140px; }
}

@media (max-width: 1199.98px) {
    :root { --wrap: 960px; }
}

@media (max-width: 991.98px) {
    :root { --wrap: 720px; }
}

@media (max-width: 767.98px) {
    :root { --wrap: 540px; }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

::selection {
    background: var(--accent);
    color: var(--ink-on-accent);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.skip {
    position: absolute;
    left: 16px;
    top: -40px;
    z-index: 100;
    background: var(--accent);
    color: var(--ink-on-accent);
    padding: 8px 12px;
    border-radius: 8px;
}

.skip:focus {
    top: 16px;
}

.mono {
    font-family: var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 80;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 60;
    background: linear-gradient(90deg, var(--accent), var(--copper));
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.nav.is-scrolled {
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.nav.is-scrolled::before {
    background: #fff;
}

.nav__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.nav__logo {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #000;
}

.nav__logo span {
    color: #000;
}

.nav__links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    gap: 22px;
    margin-left: 8px;
}

.nav__links > a,
.nav__parent {
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav__links > a::after,
.nav__parent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s var(--ease);
}

.nav__links > a:hover,
.nav__links > a.is-active,
.nav__parent:hover,
.nav__parent.is-active {
    color: var(--text);
}

.nav__links > a:hover::after,
.nav__links > a.is-active::after,
.nav__parent:hover::after,
.nav__parent.is-active::after {
    width: 100%;
}

.nav__item--drop {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav__parent {
    gap: 4px;
}

.nav__chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s var(--ease);
}

.nav__item--drop:hover .nav__chevron,
.nav__item--drop:focus-within .nav__chevron {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 60;
    min-width: 228px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav__item--drop:hover .nav__dropdown,
.nav__item--drop:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav__dropdown a {
    display: block;
    padding: 10px 12px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 10px;
    white-space: nowrap;
}

.nav__dropdown a:hover,
.nav__dropdown a.is-active,
.nav__dropdown a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
}

.nav__cta {
    background: var(--accent);
    color: var(--ink-on-accent);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(15, 108, 92), 0.22);
    transition: background 0.25s, transform 0.25s var(--ease);
}

.nav__cta:hover {
    background: var(--accent-hover);
    color: var(--ink-on-accent);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}

.nav__toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease), top 0.3s;
}

.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }

.nav__toggle.is-open span:first-child {
    top: 20px;
    transform: rotate(45deg);
}

.nav__toggle.is-open span:last-child {
    top: 20px;
    transform: rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 600;
    transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn--primary {
    background: var(--accent);
    color: var(--ink-on-accent);
    box-shadow: 0 10px 22px rgba(15, 108, 92), 0.22);
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 108, 92), 0.28);
}

.text-link:hover {
    border-bottom-color: var(--accent);
}

.section {
    position: relative;
    z-index: 2;
    padding: 110px max(var(--gutter), calc((100% - var(--wrap)) / 2));
    background: var(--bg);
    scroll-margin-top: var(--nav-h);
}

.fields,
.stack,
.contact {
    background: var(--surface);
}

.peek {
    position: relative;
    z-index: 0;
    height: 36vh;
    min-height: 200px;
    overflow: hidden;
    background: #d8e4e8;
}

.peek__media {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 100vh;
    transform: translateY(-50%);
    pointer-events: none;
}

.peek__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    filter: saturate(1.04) contrast(1.02) brightness(1.04);
}

.about,
.products-cta,
.xr-hero {
    --spot-x: 68%;
    --spot-y: 22%;
    isolation: isolate;
    overflow: hidden;
    background: var(--hero);
    color: #fff;
}

.about,
.products-cta {
    color: #fff;
}

.about {
    padding-top: calc(var(--nav-h) + 56px);
}

.hero-wash {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-wash__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 1;
    will-change: transform;
}

.hero-wash__blob--a {
    width: min(62vmax, 980px);
    height: min(62vmax, 980px);
    top: -26%;
    right: -16%;
    background: radial-gradient(circle, rgba(232, 148, 64, 0.7) 0%, rgba(232, 148, 64, 0) 64%);
    animation: wash-drift-a 22s ease-in-out infinite;
}

.hero-wash__blob--b {
    width: min(56vmax, 880px);
    height: min(56vmax, 880px);
    left: -20%;
    bottom: -30%;
    background: radial-gradient(circle, rgba(48, 196, 186, 0.55) 0%, rgba(48, 196, 186, 0) 68%);
    animation: wash-drift-b 28s ease-in-out infinite;
}

.hero-wash__blob--c {
    width: min(44vmax, 720px);
    height: min(44vmax, 720px);
    top: 32%;
    left: 36%;
    background: radial-gradient(circle, rgba(78, 140, 220, 0.28) 0%, rgba(78, 140, 220, 0) 70%);
    animation: wash-drift-c 18s ease-in-out infinite;
}

.hero-wash__spot {
    position: absolute;
    width: min(54vmax, 860px);
    height: min(54vmax, 860px);
    left: var(--spot-x);
    top: var(--spot-y);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 186, 96, 0.42) 0%, rgba(255, 186, 96, 0) 66%);
    pointer-events: none;
    transition: left 0.45s var(--ease), top 0.45s var(--ease);
}

.hero-wash__grid {
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 50% 38%, #000 18%, transparent 78%);
}

.about .section__head,
.about .about__copy,
.products-cta .section__head {
    position: relative;
    z-index: 1;
}

@keyframes wash-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-9%, 12%) scale(1.12); }
}

@keyframes wash-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, -8%) scale(1.08); }
}

@keyframes wash-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(-6%, 7%) scale(1.14); }
    70% { transform: translate(5%, -5%) scale(0.96); }
}

.about .eyebrow,
.products-cta .eyebrow {
    color: rgba(255, 236, 214, 0.78);
}

.about .about__hello {
    color: rgba(255, 244, 228, 0.88);
}

.about .roles {
    color: #fff;
}

.about .about__meta {
    color: rgba(255, 255, 255, 0.92);
}

.about .about__meta i {
    background: var(--copper);
}

.about .about__copy p,
.products-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.about .text-link {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.about .text-link:hover {
    border-bottom-color: #fff;
}

.about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.about .btn--primary {
    background: #fff;
    color: var(--hero-btn-ink);
    box-shadow: 0 10px 22px rgba(6, 16, 24, 0.28);
}

.about .btn--primary:hover {
    background: #f6f1ea;
    color: var(--hero-btn-ink);
}

.about .btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.about .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

.about .section__frame::before,
.about .section__frame::after,
.products-cta .section__frame::before,
.products-cta .section__frame::after {
    border-color: rgba(255, 255, 255, 0.45);
}

.products-cta .btn--primary {
    background: #fff;
    color: var(--hero-btn-ink);
    box-shadow: 0 10px 22px rgba(6, 16, 24, 0.28);
}

.products-cta .btn--primary:hover {
    background: #f6f1ea;
    color: var(--hero-btn-ink);
}

.section__frame {
    position: absolute;
    z-index: 2;
    top: 24px;
    bottom: 24px;
    left: max(8px, calc((100% - var(--wrap)) / 2 - 12px));
    right: max(8px, calc((100% - var(--wrap)) / 2 - 12px));
    pointer-events: none;
}

.section__frame::before,
.section__frame::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(26, 101, 112, 0.35);
    border-style: solid;
}

.section__frame::before {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

.section__frame::after {
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
}

.section__head {
    margin-bottom: 48px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--copper);
    margin-bottom: 14px;
    font-weight: 600;
}

.roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 16px;
    font-family: var(--display);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.about__hello {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 0 0 18px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.about__meta i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-2);
}

.section__head h1,
.section__head h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
}

.about__copy p {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 14px;
}

.marquee {
    position: relative;
    z-index: 2;
    border-block: 1px solid var(--line);
    overflow: hidden;
    padding: 16px 0;
    background: var(--accent-soft);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
}

.marquee__track i {
    width: 7px;
    height: 7px;
    background: var(--accent-2);
    border-radius: 2px;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: min-content;
    height: auto;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transform-style: preserve-3d;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.card::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(15, 108, 92), 0.1), transparent 68%);
    pointer-events: none;
}

.card:hover {
    border-color: rgba(15, 108, 92), 0.28);
    box-shadow: var(--shadow);
}

.card__index {
    color: var(--accent-2);
}

.card h3 {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 12px 0 10px;
}

.card p {
    color: var(--muted);
    flex: 1;
}

.card .tags {
    margin-top: 18px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.tags li {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--accent);
    background: var(--accent-soft);
}

.products h1,
.products h2,
.products-cta h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 18px;
}

.products__lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 640px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.product:hover {
    border-color: rgba(15, 108, 92), 0.28);
    box-shadow: var(--shadow);
}

.product__media {
    height: 180px;
    overflow: hidden;
    background: var(--bg-2);
}

.product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.02) brightness(1.03);
}

.product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.product__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.product__meta .mono {
    color: var(--accent-2);
}

.product__status {
    color: var(--accent);
    font-weight: 600;
}

.product h2,
.product h3 {
    font-family: var(--display);
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 14px 0 10px;
}

.product h2 a,
.product h3 a {
    color: inherit;
}

.product h2 a:hover,
.product h3 a:hover {
    color: var(--accent);
}

.product-page {
    padding-top: calc(var(--nav-h) + 56px);
}

.product-page h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 18px;
}

.product-page .eyebrow a {
    color: var(--accent);
    font-weight: 600;
    margin-right: 10px;
}

.product-page .btn {
    margin-top: 8px;
}

.product-page__meta {
    display: flex;
    gap: 12px;
    margin: 8px 0 0;
}

.product-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.product-page__copy p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 1em;
}

.product-page__media {
    margin: 0 0 22px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
}

.product-page__media img {
    display: block;
    width: 100%;
    height: auto;
}

.product-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.product-page__aside {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.product-page__aside h2 {
    font-family: var(--display);
    font-size: 1.05rem;
    margin: 0 0 14px;
}

.product-page__features {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.product-page__features li {
    position: relative;
    padding: 8px 0 8px 18px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.product-page__features li:last-child {
    border-bottom: 0;
}

.product-page__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.product-more h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    letter-spacing: -0.03em;
    margin: 0 0 22px;
}

.xr-hero {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-h) + 56px) max(var(--gutter), calc((100% - var(--wrap)) / 2)) 72px;
}

.xr-hero .eyebrow a {
    color: #fff;
    font-weight: 600;
    margin-right: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.xr-hero .eyebrow {
    color: rgba(255, 236, 214, 0.78);
}

.xr-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 36px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.xr-hero__grid--solo {
    grid-template-columns: minmax(0, 1fr);
}

.xr-hero h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 18px;
}

.xr-hero__kicker {
    font-weight: 600;
    color: rgba(255, 244, 228, 0.88);
    margin: 0 0 12px;
}

.xr-hero__lead {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
    max-width: 640px;
}

.xr-hero__note {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.xr-hero .btn--primary {
    background: #fff;
    color: var(--hero-btn-ink);
    box-shadow: 0 10px 22px rgba(6, 16, 24, 0.28);
}

.xr-hero .btn--primary:hover {
    background: #f6f1ea;
    color: var(--hero-btn-ink);
}

.xr-hero .btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.xr-hero .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

.xr-hero__panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(6, 16, 24, 0.38);
    backdrop-filter: blur(14px);
}

.xr-hero__panel .mono {
    color: rgba(255, 244, 228, 0.88);
    margin-bottom: 10px;
}

.xr-hero__panel p,
.xr-hero__panel li {
    color: rgba(255, 255, 255, 0.9);
}

.xr-hero__panel ul {
    margin: 12px 0 0;
    padding-left: 1.15em;
}

.xr-hero .section__frame::before,
.xr-hero .section__frame::after {
    border-color: rgba(255, 255, 255, 0.45);
}

.xr-block h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.xr-block--band {
    background: var(--surface);
}

.xr-block__center {
    text-align: center;
}

.xr-block__center .products__lead {
    margin-left: auto;
    margin-right: auto;
}

.xr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.xr-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xr-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.xr-block--band .xr-card {
    background: var(--bg);
}

.xr-card h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    margin: 0 0 10px;
}

.xr-card p {
    color: var(--muted);
    margin: 0;
}

.xr-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.xr-flow__box {
    padding: 22px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.xr-flow__box p {
    color: var(--muted);
    margin: 0;
}

.xr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.xr-chips span {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
}

.xr-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.xr-list {
    margin: 0 0 16px;
    padding-left: 1.15em;
    color: var(--muted);
}

.xr-list li + li {
    margin-top: 10px;
}

.xr-plans {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.xr-plan {
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    position: relative;
}

.xr-plan.is-featured {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.xr-plan__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 4px 8px;
}

.xr-plan h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.xr-plan__price {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
}

.xr-plan__hint {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 4px 0 14px;
}

.xr-plan ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.92rem;
}

.xr-plan li {
    padding: 6px 0 6px 16px;
    position: relative;
}

.xr-plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.xr-plan .btn {
    margin-top: auto;
    justify-content: center;
}

.xr-contact {
    max-width: 720px;
    margin: 0 auto;
}

.xr-contact .form {
    margin-top: 8px;
}

.product p {
    color: var(--muted);
    margin: 0;
}

.product .tags {
    margin-top: auto;
    padding-top: 18px;
}

.product .text-link {
    margin-top: 16px;
}

.products-cta .btn {
    margin-top: 28px;
}

.working {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.working article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.working h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 12px 0 10px;
}

.working p {
    color: var(--muted);
}

.working .mono {
    color: var(--accent-2);
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.steps li {
    padding: 22px 18px;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, var(--accent-soft), transparent 58%);
}

.steps h3 {
    font-family: var(--display);
    font-weight: 700;
    margin: 14px 0 8px;
}

.steps p {
    color: var(--muted);
    font-size: 0.95rem;
}

.stack__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
    gap: 28px;
    align-items: center;
}

.stack__sphere {
    display: grid;
    place-items: center;
    min-height: 420px;
    max-width: 100%;
    overflow: hidden;
}

.tagcloud {
    font-family: var(--display);
    font-size: 0.92rem;
    font-weight: 500;
}

.tagcloud--item {
    color: var(--text);
    white-space: nowrap;
}

.tagcloud--item:hover {
    color: var(--accent) !important;
}

.stack__groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stack__groups article {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
    min-height: min-content;
}

.stack__groups h3 {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stack__groups p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    overflow-wrap: break-word;
}

.faq__list {
    display: grid;
    gap: 10px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 0 22px;
}

.faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 600;
    position: relative;
    padding-right: 28px;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 18px;
    color: var(--accent);
    font-size: 1.2rem;
}

.faq__item[open] summary::after {
    content: "–";
}

.faq__item p {
    color: var(--muted);
    margin: 0 0 18px;
    max-width: 78ch;
}

.form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full,
.form__foot {
    grid-column: 1 / -1;
}

.field span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(15, 108, 92), 0.12);
    background: var(--surface);
}

.form__foot {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.form__status {
    color: var(--muted);
}

.form__status.is-ok {
    color: var(--accent);
}

.form__status.is-err {
    color: #c2410c;
}

.form__hint {
    width: 100%;
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.form__hint a {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 108, 92), 0.28);
}

.hp {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.contact__facts {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.contact__facts li {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.contact__facts a {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 108, 92), 0.28);
}

.contact__info p {
    color: var(--muted);
    font-size: 1.08rem;
}

.footer {
    position: relative;
    z-index: 2;
    padding: 48px var(--gutter) 28px;
    background: var(--footer);
    color: var(--footer-text);
}

.footer__inner {
    width: min(100%, var(--wrap));
    margin: 0 auto;
}

.footer__giant {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.1rem, 5.6vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin-bottom: 32px;
    color: #fff;
}

.footer__giant:hover {
    color: #cfe7e1;
}

.footer__bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--footer-text);
    font-size: 0.88rem;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.legal {
    padding-top: calc(var(--nav-h) + 56px);
}

.legal__wrap {
    max-width: 760px;
}

.legal h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 0.45em;
}

.legal h2 {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.8em 0 0.6em;
}

.legal p,
.legal li {
    color: var(--muted);
}

.legal ul {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

.legal a {
    color: var(--accent);
    font-weight: 600;
}

.legal code {
    font-family: var(--mono);
    font-size: 0.84em;
}

.legal__notice {
    margin: 1.4em 0;
    padding: 16px 18px;
    border: 1px solid rgba(224, 122, 74, 0.4);
    border-radius: 16px;
    background: rgba(224, 122, 74, 0.1);
}

.legal__notice p {
    margin: 0;
    color: var(--text);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1200px) {
    .working,
    .steps,
    .stack__groups,
    .xr-cards,
    .xr-cards--3,
    .xr-flow {
        grid-template-columns: 1fr 1fr;
    }

    .xr-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .nav__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        grid-template-columns: none;
    }

    .nav__logo {
        position: relative;
        z-index: 2;
        min-width: 0;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: block;
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-h);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 5;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: none;
        flex: none;
        height: calc(100vh - var(--nav-h));
        height: calc(100dvh - var(--nav-h));
        margin: 0;
        padding: 12px var(--gutter) max(28px, env(safe-area-inset-bottom));
        background: #fff;
        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transition: transform 0.4s var(--ease), visibility 0.4s;
    }

    .nav__links.is-open {
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__links > a,
    .nav__parent {
        font-family: var(--display);
        font-size: clamp(1.35rem, 6.4vw, 1.85rem);
        line-height: 1.2;
        color: var(--text);
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav__links > a::after,
    .nav__parent::after {
        display: none;
    }

    .nav__item--drop {
        display: block;
        border-bottom: 1px solid var(--line);
    }

    .nav__parent {
        border-bottom: 0;
        padding-bottom: 8px;
    }

    .nav__item--drop:hover .nav__chevron,
    .nav__item--drop:focus-within .nav__chevron {
        transform: none;
    }

    .nav__dropdown {
        position: static;
        left: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0 0 10px;
        padding: 0 0 8px 4px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__item--drop:hover .nav__dropdown,
    .nav__item--drop:focus-within .nav__dropdown {
        transform: none;
    }

    .nav__dropdown a {
        font-family: var(--font);
        font-size: 1.02rem;
        font-weight: 500;
        color: var(--muted);
        padding: 8px 0;
        border-radius: 0;
        white-space: normal;
    }

    .nav__dropdown a:hover,
    .nav__dropdown a.is-active,
    .nav__dropdown a[aria-current="page"] {
        background: transparent;
        color: var(--accent);
    }

    .card::after {
        right: 0;
    }

    .contact__grid,
    .bento,
    .product-grid,
    .product-page__layout,
    .xr-hero__grid,
    .xr-cards,
    .xr-cards--3,
    .xr-flow,
    .xr-split,
    .xr-plans,
    .working,
    .steps,
    .stack__layout,
    .stack__groups,
    .form {
        grid-template-columns: 1fr;
    }

    .stack__sphere {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .about,
    .xr-hero,
    .product-page {
        padding-top: calc(var(--nav-h) + 36px);
    }

    .peek {
        height: 28vh;
        min-height: 160px;
    }

    .roles {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .roles i,
    .about__meta i {
        display: none;
    }

    .footer__bar {
        flex-direction: column;
    }

    .nav__links > a,
    .nav__parent {
        font-size: clamp(1.25rem, 7vw, 1.6rem);
        padding: 12px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-wash__blob,
    .hero-wash__spot {
        animation: none !important;
        filter: blur(80px);
        opacity: 0.55;
    }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
