@font-face {
    font-family: "DM Sans";
    src: url("fonts/dm-sans.7c87a648293f.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("fonts/instrument-serif-italic.bc891bdd08ad.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --page: #161018;
    --surface: #201724;
    --line: #392d3e;
    --white: #fff5f0;
    --muted: #c5b5c5;
    --accent: #ffc19e;
    --accent-hover: #ffd2b8;
    --ink: #271727;
    --display: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 280px;
    background: var(--page);
    color: var(--white);
    font: 400 1rem/1.55 "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
em { color: var(--accent); font-family: var(--display); font-weight: 400; }

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

.frame {
    width: min(91%, 1320px);
    margin-inline: auto;
}

.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    padding: .6rem 1rem;
    background: var(--accent);
    color: var(--ink);
}

.site-header {
    min-height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.4rem;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -.06em;
    line-height: 1;
}

.brand-mark { width: 1.65rem; height: 1.65rem; color: var(--accent); }
.brand-mark svg { display: block; width: 100%; height: 100%; }

.site-nav {
    display: flex;
    gap: clamp(1.05rem, 3vw, 2.4rem);
    color: var(--muted);
    font-size: .925rem;
    font-weight: 550;
}

.site-nav a, .header-link { transition: color .2s ease, border-color .2s ease; }
.site-nav a:hover, .header-link:hover { color: var(--accent); }

.header-link {
    justify-self: end;
    width: fit-content;
    padding: .64rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--white);
    font-size: .875rem;
    font-weight: 650;
    white-space: nowrap;
}

.header-link:hover { border-color: #9c746f; }

.showcase {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    background: var(--surface);
}

.slides { background: #261829; }

.slide {
    isolation: isolate;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(490px, 42vw, 605px);
    padding: clamp(2.5rem, 6vw, 5.85rem) clamp(1.7rem, 5.35vw, 5rem);
    overflow: hidden;
}

.slide::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #1d1124 0%, #211426f7 16%, #231526bd 38%, #20122628 69%, #1c13242b 100%),
        linear-gradient(0deg, #1e152bcc, transparent 30%);
}

.slide-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}

.slide-image--humanoid-robotics { object-position: center 16%; }
.slide-image--everyday-tablets { object-position: center 55%; }
.slide-content { position: relative; max-width: 44rem; }
.slide.is-entering .slide-content { animation: enter .48s ease both; }
.slide.is-entering .slide-image { animation: image-enter .55s ease both; }

@keyframes enter {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes image-enter {
    from { opacity: .35; }
    to { opacity: 1; }
}

.eyebrow {
    color: var(--accent);
    font-size: .875rem;
    font-weight: 650;
    letter-spacing: .095em;
    line-height: 1.3;
    text-transform: uppercase;
}

.slide-category { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.45rem; }
.slide-category span { width: 1.6rem; height: 1px; background: var(--accent); }

.slide h2 {
    font-size: clamp(3.2rem, 6.05vw, 6.25rem);
    font-weight: 500;
    letter-spacing: -.07em;
    line-height: .96;
}

.slide h2 em {
    display: block;
    font-size: 1.13em;
    letter-spacing: -.024em;
    line-height: .94;
}

.slide-summary {
    max-width: 28rem;
    margin-top: 1.55rem;
    color: #efdeea;
    font-size: clamp(1.02rem, 1.48vw, 1.21rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    font-size: .93rem;
    font-weight: 650;
    text-align: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-quiet { border-color: #cbb2c765; background: #24182985; }
.button-quiet:hover { border-color: var(--accent); color: var(--accent); }

.slide-caption, .card-caption {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    padding: .25rem .55rem;
    border: 1px solid #fff4f133;
    border-radius: .3rem;
    background: #201626e8;
    color: #f5e8f1;
    font-size: .75rem;
    font-weight: 550;
}

.carousel-bar {
    display: flex;
    min-height: 82px;
    align-items: stretch;
    justify-content: space-between;
    border-top: 1px solid #3c2b43;
    background: #211726;
}

.carousel-tabs {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.carousel-tab {
    position: relative;
    flex: 0 0 min(28%, 14.6rem);
    min-width: 0;
    padding: .73rem 1.28rem;
    border: 0;
    border-right: 1px solid #3b2b41;
    background: transparent;
    color: #e4d3e3;
    cursor: pointer;
    text-align: left;
}

.carousel-tab:first-child { padding-left: clamp(1.25rem, 2.5vw, 2.25rem); }
.carousel-tab:focus-visible { outline-offset: -5px; }
.carousel-tab[aria-selected="true"] { background: #302035; color: var(--white); }
.carousel-tab:hover { background: #35243a; }

.carousel-tab[aria-selected="true"]::before {
    position: absolute;
    inset: -1px 0 auto;
    height: 2px;
    background: var(--accent);
    content: "";
}

.tab-title, .tab-category { display: block; }
.tab-title { font-size: .95rem; font-weight: 650; line-height: 1.25; }
.tab-category { margin-top: .24rem; color: var(--muted); font-size: .82rem; }

.carousel-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding-inline: 1.35rem;
}

.icon-button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #514156;
    border-radius: 50%;
    background: transparent;
    color: #f9e9f4;
    cursor: pointer;
}

.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.chevron { width: .43rem; height: .43rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.chevron-left { transform: rotate(-135deg); }
.rotation-icon { width: .45rem; height: .62rem; border: solid currentColor; border-width: 0 1.5px; }
[data-rotation][data-paused] .rotation-icon { width: 0; height: 0; border: solid transparent; border-width: .31rem 0 .31rem .5rem; border-left-color: currentColor; }

.section { padding-top: clamp(4.05rem, 7.3vw, 7rem); scroll-margin-top: 1.4rem; }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.2rem 2rem;
    margin-bottom: clamp(1.55rem, 3vw, 2.6rem);
}

.section-heading h2, .company h2, .detail h1, .empty-page h1 {
    font-size: clamp(2.75rem, 5.15vw, 5.25rem);
    font-weight: 500;
    letter-spacing: -.075em;
    line-height: 1;
}

.section-heading h2 em, .company h2 em { font-size: 1.13em; letter-spacing: -.018em; }
.section-heading p { max-width: 23rem; padding-bottom: .15rem; color: var(--muted); }

.product-grid, .leader-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.8vw, 1.45rem); }
.product-card { display: flex; min-width: 0; }

.product-card-link {
    display: flex;
    width: 100%;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    transition: border-color .2s ease, background .2s ease;
}

.product-card-link:hover { border-color: #9a6d74; background: #291d2d; }
.card-media, .detail-media { position: relative; overflow: hidden; background: #291e31; }
.card-media { aspect-ratio: 1.7; border-radius: .95rem .95rem 0 0; }
.card-image { width: 100%; height: 100%; object-fit: cover; object-position: 72% 54%; transition: transform .45s ease; }
.card-image--humanoid-robotics { object-position: center 25%; }
.product-card-link:hover .card-image { transform: scale(1.035); }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 1.2rem clamp(.85rem, 1.7vw, 1.45rem) 1.25rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; }
.card-meta .eyebrow { font-size: .75rem; }
.product-status { width: fit-content; padding: .22rem .5rem; border: 1px solid #594254; border-radius: .35rem; color: #edccdd; font-size: .75rem; font-weight: 550; line-height: 1.2; }
.card-content h3 { margin-top: .65rem; font-size: clamp(1.34rem, 2.12vw, 2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.12; }
.card-content p, .leader p:last-child { margin-top: .45rem; color: var(--muted); }
.card-action { margin-top: auto; padding-top: 1.25rem; color: var(--accent); font-weight: 650; font-size: .9rem; }
.product-card-link:hover .card-action { text-decoration: underline; text-underline-offset: .24em; }

.company {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    min-height: 340px;
    align-items: center;
    margin-top: clamp(4rem, 7.3vw, 7rem);
    padding: clamp(2.25rem, 5vw, 4.5rem);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: radial-gradient(ellipse at 86% 22%, #593348, transparent 67%), #251a2a;
}

.company-content { max-width: 40rem; }
.company-content > p:last-child { max-width: 32rem; margin-top: 1.15rem; color: #e4cfe0; font-size: 1.1rem; text-wrap: pretty; }
.company-art { position: absolute; z-index: -1; display: grid; place-items: center; width: 44%; height: 120%; right: 0; top: -10%; color: #ffc6a9; }
.company-star { display: block; width: 32%; aspect-ratio: 1; opacity: .56; transform: rotate(-12deg); }
.company-star svg { display: block; width: 100%; height: 100%; }
.orbit { position: absolute; width: 93%; height: 60%; border: 1px solid #ffbc9b44; border-radius: 50%; }
.orbit-one { transform: rotate(-22deg); }
.orbit-two { transform: rotate(-43deg) scale(.9); }
.orbit-three { transform: rotate(-66deg) scale(.86); }

.leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.leader { display: flex; flex-direction: column; justify-content: space-between; min-height: 145px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.leader h3 { margin-top: .35rem; font-size: clamp(1.35rem, 2.7vw, 2.2rem); font-weight: 550; letter-spacing: -.055em; line-height: 1.15; }

.site-footer {
    display: flex;
    min-height: 105px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .85rem 1.4rem;
    margin-top: clamp(3.8rem, 7vw, 6.5rem);
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}

.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { width: 1.35rem; height: 1.35rem; }

.detail { padding-top: 1rem; }
.back-link { display: inline-block; margin-bottom: 1.05rem; color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.detail-hero { display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; min-height: 430px; border: 1px solid var(--line); border-radius: 1.3rem; background: var(--surface); }
.detail-content { align-self: center; padding: clamp(1.75rem, 4.2vw, 4rem); }
.detail h1 { margin-block: .75rem 1rem; text-wrap: balance; }
.detail-summary { max-width: 28rem; margin-block: 1.15rem; color: var(--muted); font-size: 1.12rem; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65%; }
.detail-overview { max-width: 43rem; margin-top: 2.65rem; }
.detail-overview h2 { font-size: 1.75rem; font-weight: 550; letter-spacing: -.05em; }
.detail-overview p { margin-top: .65rem; color: var(--muted); font-size: 1.06rem; }
.empty-page .button { margin-top: 1.2rem; }

@media (max-width: 900px) {
    .carousel-tab { flex: 1 0 min(30%, 12rem); }
    .carousel-actions { padding-inline: .85rem; }
    .carousel-tab:first-child { padding-left: .95rem; }
    .carousel-tab { padding-inline: .95rem; }
}

@media (max-width: 710px) {
    .site-header { grid-template-columns: 1fr auto; min-height: 0; padding-block: 1rem .85rem; gap: .8rem; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.5rem; padding-left: .1rem; }
    .header-link { padding: .43rem .8rem; font-size: .82rem; }
    .showcase { border-radius: 1.15rem; }
    .slide { min-height: 455px; align-items: end; padding: 2.25rem 1.25rem 2.6rem; }
    .slide::before { background: linear-gradient(0deg, #201329 0%, #261731f6 39%, #2a1b3380 67%, #21152620 100%); }
    .slide-image { object-position: 81% top; }
    .slide-image--humanoid-robotics { object-position: 79% 28%; }
    .slide-image--everyday-tablets { object-position: 77% 42%; }
    .slide h2 { font-size: clamp(2.75rem, 9.4vw, 4.35rem); }
    .slide-category { margin-bottom: 1rem; }
    .slide-summary { margin-top: 1rem; }
    .hero-actions { margin-top: 1.2rem; }
    .hero-actions .button-quiet { display: none; }
    .slide-caption { right: .6rem; bottom: .43rem; }
    .carousel-bar { flex-wrap: wrap; }
    .carousel-tabs { flex: 1 1 100%; }
    .carousel-tab, .carousel-tab:first-child { min-width: 30%; padding: .75rem .6rem; }
    .carousel-tab:last-child { border-right: 0; }
    .tab-title { font-size: .855rem; }
    .tab-category { display: none; }
    .carousel-actions { width: 100%; min-height: 54px; justify-content: flex-end; gap: .45rem; border-top: 1px solid var(--line); }
    .icon-button { width: 36px; height: 36px; }
    .section-heading { align-items: start; flex-direction: column; gap: .6rem; }
    .product-grid { grid-template-columns: 1fr; }
    .card-media { aspect-ratio: 1.9; }
    .card-content { padding-inline: 1.2rem; }
    .company { min-height: 0; }
    .company-art { opacity: .45; }
    .leader { padding-inline: 1.05rem; }
    .detail-hero { grid-template-columns: 1fr; min-height: 0; }
    .detail-media { aspect-ratio: 1.5; }
}

@media (max-width: 350px) {
    .slide h2 { font-size: 2.55rem; }
    .hero-actions { gap: .35rem; }
    .button { padding-inline: .55rem; font-size: .85rem; }
    .leader-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
