:root {
    --paper: #faf8f3;
    --ink: #151515;
    --soft-ink: #4f4f4a;
    --muted: #8a8982;
    --line: #dedbd2;
    --wash: #f0ede5;
    --accent: #e6c9b8;
    --radius: 8px;
    --page: clamp(18px, 4vw, 56px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.45;
    text-rendering: geometricPrecision;
}

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

.skip-link {
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    font-weight: 650;
    left: var(--page);
    padding: 10px 14px;
    position: fixed;
    top: 12px;
    transform: translateY(-150%);
    transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
    z-index: 100;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

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

button {
    font: inherit;
}

main > section,
.footer {
    position: relative;
}

main,
.footer {
    max-width: 1500px;
    margin-inline: auto;
}

.home-page main {
    max-width: none;
}

.home-page main > section:not(.hero) {
    max-width: 1500px;
    margin-inline: auto;
}

section {
    scroll-margin-top: 92px;
}

.motion-ready .reveal-section {
    --build-line: 0;
    --build-scan: 0;
    overflow: hidden;
}

.motion-ready .reveal-section::before {
    background: currentColor;
    content: "";
    height: 1px;
    inset-inline: var(--page);
    opacity: 0.18;
    position: absolute;
    top: 0;
    transform: scaleX(var(--build-line));
    transform-origin: left;
    z-index: 1;
}

.motion-ready .reveal-section::after {
    background:
        linear-gradient(90deg, transparent, rgba(21, 21, 21, 0.045), transparent);
    content: "";
    height: 100%;
    inset-block: 0;
    inset-inline-start: 0;
    opacity: var(--build-scan);
    pointer-events: none;
    position: absolute;
    transform: translateX(-18%);
    width: 34%;
    z-index: 0;
}

.motion-ready .reveal-item {
    opacity: 0;
    transform: translateY(12px);
}

.motion-ready:not(.anime-ready) .reveal-section::before {
    transition: transform 1160ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.motion-ready:not(.anime-ready) .reveal-section.is-visible::before {
    --build-line: 1;
}

.motion-ready:not(.anime-ready) .reveal-item {
    transition:
        opacity 840ms cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1110ms cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: calc(var(--reveal-order, 0) * 78ms);
}

.motion-ready:not(.anime-ready) .reveal-section.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready.anime-ready .reveal-item {
    will-change: transform, opacity;
}

.motion-ready.anime-ready .reveal-section.is-complete .reveal-item {
    will-change: auto;
}

.motion-ready .reveal-section .feature-image img,
.motion-ready .reveal-section .company-grid article,
.motion-ready .reveal-section .service-list article,
.motion-ready .reveal-section .process-grid div {
    transform: translateY(12px);
}

.site-header {
    align-items: center;
    background: transparent;
    display: grid;
    gap: 24px;
    grid-template-columns: auto 1fr auto;
    isolation: isolate;
    left: auto;
    margin-inline: auto;
    max-width: 1500px;
    padding: 18px var(--page);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 20;
}
.site-header::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 21, 21, 0.08);
    box-shadow: 0 10px 30px rgba(21, 21, 21, 0.04);
    pointer-events: none;
    z-index: -1;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 14px;
    letter-spacing: 0;
    perspective: 700px;
}

.logo-mark {
    --logo-x: 0px;
    --logo-y: 0px;
    --logo-rx: 0deg;
    --logo-ry: 0deg;
    background:
        linear-gradient(135deg, #222 0%, #111 58%, #333 100%);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 12px 28px rgba(21, 21, 21, 0.16);
    color: var(--paper);
    display: grid;
    height: 58px;
    overflow: hidden;
    place-items: center;
    position: relative;
    transform: rotateX(var(--logo-rx)) rotateY(var(--logo-ry)) translate3d(var(--logo-x), var(--logo-y), 0);
    transition:
        box-shadow 300ms ease,
        transform 350ms cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 58px;
}

.logo-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 13px 13px;
    inset: 0;
    opacity: 0.45;
    position: absolute;
    transform: translate3d(calc(var(--logo-x) * -0.5), calc(var(--logo-y) * -0.5), 0);
    transition: opacity 300ms ease, transform 350ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.logo-core {
    align-items: center;
    display: grid;
    font-size: 13px;
    font-weight: 850;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    letter-spacing: -0.04em;
    line-height: 1;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.logo-core span {
    align-items: center;
    display: inline-flex;
    height: 18px;
    justify-content: center;
    width: 13px;
}

.logo-core span:last-child {
    color: var(--accent);
}

.logo-axis {
    background: var(--accent);
    opacity: 0.8;
    position: absolute;
    transform: translate3d(var(--logo-x), var(--logo-y), 0);
    transition: transform 350ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 300ms ease;
}

.logo-axis-x {
    height: 1px;
    left: 10px;
    right: 10px;
    top: 17px;
}

.logo-axis-y {
    bottom: 10px;
    right: 16px;
    top: 10px;
    width: 1px;
}

.brand:hover .logo-mark,
.brand:focus-visible .logo-mark {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 18px 34px rgba(21, 21, 21, 0.2);
}

.brand:hover .logo-grid,
.brand:focus-visible .logo-grid {
    opacity: 0.7;
}

.brand-copy {
    display: grid;
    gap: 3px;
}

.brand-copy strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.brand-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.nav-menu {
    align-items: center;
    display: flex;
    gap: clamp(14px, 3vw, 36px);
    justify-content: center;
}

.nav-menu a,
.header-link {
    color: var(--soft-ink);
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
    position: relative;
}

.nav-menu a::after,
.header-link::after {
    background: var(--ink);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 325ms cubic-bezier(0.2, 0, 0, 1);
    width: 100%;
}

.nav-menu a:hover::after,
.header-link:hover::after,
.nav-menu a:focus-visible::after,
.header-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
}

@media (min-width: 761px) {
    .nav-toggle {
        display: none !important;
    }
}

.header-link {
    align-items: center;
    background: var(--ink);
    border-radius: var(--radius);
    color: var(--paper);
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    transition: background-color 215ms cubic-bezier(0.2, 0, 0, 1), transform 215ms cubic-bezier(0.2, 0, 0, 1);
}

.header-link::after {
    display: none;
}

.header-link:hover {
    background: #30302c;
}

.header-link:active {
    transform: scale(0.96);
}

.language-selector {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 650;
    height: 27px;
    padding: 0 9px;
    transition: background-color 215ms cubic-bezier(0.2, 0, 0, 1), color 215ms cubic-bezier(0.2, 0, 0, 1), transform 215ms cubic-bezier(0.2, 0, 0, 1);
}

.lang-btn:hover {
    color: var(--ink);
}

.lang-btn:active {
    transform: scale(0.96);
}

.lang-btn.active {
    background: var(--ink);
    color: var(--paper);
}

.hero {
    display: grid;
    gap: 34px clamp(24px, 5vw, 56px);
    grid-template-columns: repeat(12, 1fr);
    isolation: isolate;
    left: 50%;
    margin-left: -50vw;
    min-height: calc(100vh - 65px);
    padding-block: clamp(60px, 7vw, 104px) clamp(34px, 5vw, 62px);
    padding-inline: max(var(--page), calc((100vw - 1500px) / 2 + var(--page)));
    max-width: none;
    position: relative;
    width: 100vw;
}

.hero > :not(.retail-gallery):not(.engineering-model-layer) {
    position: relative;
    z-index: 2;
}

.engineering-model-layer {
    inset: 0;
    max-width: none;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.engineering-model-layer::after {
    background:
        radial-gradient(circle at 58% 44%, transparent 0 30%, rgba(250, 248, 243, 0.08) 52%, rgba(250, 248, 243, 0.42) 82%),
        linear-gradient(90deg, rgba(250, 248, 243, 0.52), transparent 34%, rgba(250, 248, 243, 0.34));
    content: "";
    inset: 0;
    position: absolute;
}

#engineering-model-canvas {
    display: block;
    height: 100%;
    max-width: none;
    mix-blend-mode: normal;
    opacity: 0.98;
    width: 100%;
}

.model-credit {
    align-self: end;
    color: rgba(21, 21, 21, 0.48);
    font-size: 11px;
    grid-column: 1 / 6;
    line-height: 1.4;
    max-width: 360px;
    z-index: 3;
}

.model-credit a {
    text-decoration: underline;
    text-decoration-thickness: from-font;
    text-underline-offset: 2px;
}

.hero-title {
    grid-column: 1 / 11;
}

.index-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    margin-bottom: 22px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(4.7rem, 13.8vw, 11.8rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.86;
    max-width: 1200px;
    text-wrap: balance;
}

h1 span {
    display: block;
}

.retail-gallery {
    inset: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.retail-gallery[hidden] {
    display: none;
}

.retail-gallery::before {
    background:
        radial-gradient(circle at 55% 45%, rgba(250, 248, 243, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(250, 248, 243, 0.9), rgba(250, 248, 243, 0.48) 28%, rgba(250, 248, 243, 0.32) 58%, rgba(250, 248, 243, 0.86));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.retail-gallery-track {
    align-items: center;
    display: flex;
    gap: clamp(18px, 3vw, 44px);
    height: 100%;
    padding-inline: 8vw;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition: transform 2430ms cubic-bezier(0.19, 1, 0.22, 1);
    width: max-content;
    will-change: transform;
}

.retail-shot {
    background: rgba(240, 237, 229, 0.8);
    border-radius: 14px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 32px 90px rgba(21, 21, 21, 0.12);
    flex: 0 0 auto;
    filter: blur(10px) saturate(0.75);
    height: clamp(360px, 58vh, 620px);
    opacity: 0.18;
    overflow: hidden;
    position: relative;
    transform: scale(0.82) translateY(26px);
    transition:
        filter 2030ms cubic-bezier(0.19, 1, 0.22, 1),
        opacity 2030ms cubic-bezier(0.19, 1, 0.22, 1),
        transform 2430ms cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity, filter;
}

.retail-shot-wide {
    width: clamp(540px, 62vw, 940px);
}

.retail-shot-portrait {
    width: clamp(330px, 36vw, 560px);
}

.retail-shot-pano {
    width: clamp(660px, 74vw, 1120px);
}

.retail-shot.is-near {
    filter: blur(5px) saturate(0.86);
    opacity: 0.24;
    transform: scale(0.9) translateY(12px);
}

.retail-shot.is-active {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.42),
        0 36px 110px rgba(21, 21, 21, 0.18);
    filter: none;
    opacity: 0.72;
    transform: scale(2) translateY(0);
    z-index: 2;
}

.retail-shot img {
    display: block;
    height: 100%;
    filter: none;
    object-fit: cover;
    width: 100%;
}

.retail-shot figcaption {
    background: rgba(21, 21, 21, 0.72);
    bottom: 14px;
    color: var(--paper);
    font-size: 12px;
    inset-inline: 14px;
    line-height: 1.35;
    opacity: 0;
    padding: 10px 12px;
    position: absolute;
    transform: translateY(6px);
    transition:
        opacity 570ms cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 570ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.retail-shot.is-active figcaption {
    opacity: 0.86;
    transform: translateY(0);
}

.hero-note {
    align-self: start;
    background: var(--ink);
    color: var(--paper);
    grid-column: 10 / 13;
    margin-top: clamp(28px, 3.8vw, 52px);
    max-width: 280px;
    padding: 18px 18px 20px;
}

.hero-note span {
    color: rgba(250, 248, 243, 0.58);
    display: block;
    font-size: 11px;
    font-weight: 650;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-note p {
    font-size: 14px;
    line-height: 1.55;
    text-wrap: pretty;
}

.hero-body {
    align-self: end;
    grid-column: 1 / 6;
    margin-top: clamp(42px, 8vw, 96px);
}

.hero-body p {
    color: var(--soft-ink);
    font-size: clamp(16px, 1.45vw, 20px);
    max-width: 560px;
}

.primary-link,
.contact-link {
    align-items: center;
    background: var(--ink);
    border-radius: 999px;
    color: var(--paper);
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    justify-content: center;
    margin-top: 30px;
    min-height: 46px;
    padding: 0 20px;
    transition: opacity 215ms cubic-bezier(0.2, 0, 0, 1), transform 215ms cubic-bezier(0.2, 0, 0, 1);
}

.primary-link:hover,
.contact-link:hover {
    opacity: 0.88;
}

.primary-link:active,
.contact-link:active {
    transform: scale(0.96);
}

.hero-meta {
    align-self: end;
    display: grid;
    gap: 12px;
    grid-column: 8 / 13;
}

.hero-meta span {
    border-top: 1px solid var(--line);
    color: var(--soft-ink);
    display: block;
    font-size: clamp(18px, 2.2vw, 30px);
    font-weight: 400;
    line-height: 1.1;
    padding-top: 14px;
}

.profile-strip {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: clamp(28px, 6vw, 70px);
    grid-template-columns: 0.58fr 0.42fr;
    padding: clamp(68px, 8vw, 104px) var(--page);
}

.profile-strip h2 {
    max-width: 860px;
}

.profile-facts {
    align-self: end;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.profile-facts p {
    color: var(--soft-ink);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
}

.profile-facts a {
    color: var(--ink);
    display: inline-block;
    font-size: 13px;
    font-weight: 650;
    margin-top: 22px;
    position: relative;
}

.profile-facts a::after {
    background: var(--ink);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}

.home-page main > section.company-strip {
    background: var(--wash);
    border-bottom: 1px solid var(--line);
    left: 50%;
    margin-left: -50vw;
    max-width: none;
    padding-block: clamp(76px, 10vw, 128px);
    padding-inline: max(var(--page), calc((100vw - 1500px) / 2 + var(--page)));
    width: 100vw;
}

.motion-ready .company-strip.reveal-section::before,
.motion-ready .company-strip.reveal-section::after {
    content: none;
}

.company-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(48px, 7vw, 84px);
}

.company-grid article {
    background: var(--paper);
    min-height: 240px;
    padding: 22px;
}

.company-grid span {
    display: block;
    font-size: clamp(2rem, 4vw, 4.8rem);
    font-weight: 360;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.company-grid p {
    color: var(--soft-ink);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 70px;
}

.source-link {
    color: var(--ink);
    display: inline-block;
    font-size: 13px;
    font-weight: 650;
    margin-top: 28px;
    position: relative;
}

.source-link::after {
    background: var(--ink);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}

.feature-image {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: clamp(24px, 5vw, 58px);
    grid-template-columns: minmax(280px, 0.72fr) 1fr;
    padding: var(--page);
}

.feature-image figure {
    display: grid;
    gap: 12px;
}

.feature-image img {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1);
    display: block;
    height: 100%;
    max-height: 780px;
    object-fit: cover;
    width: 100%;
}

.feature-image figcaption,
.retail-catalog figcaption {
    color: var(--soft-ink);
    font-size: 13px;
    line-height: 1.55;
}

.feature-image div {
    align-self: end;
    max-width: 780px;
}

.retail-catalog {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: clamp(76px, 10vw, 128px) var(--page);
}

.retail-catalog-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(48px, 7vw, 84px);
}

.retail-catalog figure {
    display: grid;
    gap: 12px;
}

.retail-catalog img {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1);
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.founder-section {
    background: #ffffff;
}

.founder-grid {
    align-items: end;
    border-top: 1px solid var(--line);
    display: grid;
    gap: clamp(22px, 5vw, 60px);
    grid-template-columns: minmax(0, 0.68fr) auto;
    margin-top: clamp(48px, 7vw, 84px);
    padding-top: 22px;
}

.founder-grid p {
    color: var(--soft-ink);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.65;
    max-width: 780px;
}

.founder-grid a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
    position: relative;
    white-space: nowrap;
}

.founder-grid a::after {
    background: var(--ink);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}

h2 {
    font-size: clamp(2.1rem, 6vw, 6rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.section {
    border-bottom: 1px solid var(--line);
    padding: clamp(76px, 10vw, 128px) var(--page);
}

.section-intro {
    display: grid;
    gap: 24px;
    grid-template-columns: 0.32fr 1fr;
}

.section-intro h2 {
    max-width: 980px;
}

.service-list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(56px, 7vw, 96px);
}

.service-list article {
    border-left: 1px solid var(--line);
    min-height: 360px;
    padding: 0 clamp(20px, 3vw, 38px) 6px;
}

.service-list article:last-child {
    border-right: 1px solid var(--line);
}

.service-list span {
    color: color-mix(in srgb, var(--muted) 48%, transparent);
    display: block;
    font-size: clamp(3rem, 6vw, 6.4rem);
    font-weight: 300;
    letter-spacing: -0.06em;
    line-height: 0.9;
    margin-bottom: clamp(50px, 8vw, 110px);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 520;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.service-list p {
    color: var(--soft-ink);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
    max-width: 330px;
}

.dark-section {
    background: var(--ink);
    color: var(--paper);
}

.dark-section .index-label {
    color: color-mix(in srgb, var(--paper) 46%, transparent);
}

.process-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(52px, 7vw, 92px);
}

.process-grid div {
    background: color-mix(in srgb, var(--paper) 7%, transparent);
    min-height: 260px;
    padding: 24px;
}

.process-grid span {
    display: block;
    font-size: clamp(1.35rem, 2.8vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.process-grid p {
    color: color-mix(in srgb, var(--paper) 68%, transparent);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 72px;
}

.contact-section {
    display: grid;
    gap: 28px;
    grid-template-columns: 0.27fr 1fr;
    padding: clamp(76px, 10vw, 132px) var(--page);
}

.contact-section h2 {
    max-width: 960px;
}

.contact-link {
    grid-column: 2;
    justify-self: start;
}

.footer {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 24px var(--page);
}
.footer-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
.footer-link:hover {
    color: var(--ink);
}

.legal-page {
    padding: clamp(64px, 8vw, 116px) var(--page) clamp(72px, 9vw, 132px);
    max-width: 820px;
}
.legal-page .section-title {
    font-size: clamp(3.5rem, 6.8vw, 6.6rem);
    line-height: 0.94;
    max-width: 760px;
    margin-bottom: 14px;
}
.legal-page .lead-text {
    margin-bottom: clamp(28px, 4vw, 44px);
    color: var(--soft-ink);
}
.legal-page h2 {
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-top: clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
}
.legal-page p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--soft-ink);
}

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

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

    .logo-mark,
    .logo-grid,
    .logo-axis {
        transform: none !important;
    }

    .engineering-model-layer {
        display: none;
    }

    .retail-gallery-track {
        animation: none;
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr;
    }

    .nav-menu,
    .header-actions {
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-title,
    .retail-gallery,
    .hero-note,
    .hero-body,
    .hero-meta {
        grid-column: 1;
    }

    .retail-gallery {
        margin: 0;
    }

    .hero-note {
        margin-top: 0;
        max-width: 360px;
    }

    .hero-body {
        margin-top: 24px;
    }

    .feature-image,
    .profile-strip,
    .founder-grid,
    .section-intro,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-link {
        grid-column: 1;
    }

    .service-list,
    .company-grid,
    .retail-catalog-grid,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-list article:nth-child(2n) {
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .site-header {
        position: static;
    }

    .nav-menu {
        gap: 12px 18px;
        flex-wrap: wrap;
    }

    .header-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    h1 {
        font-size: clamp(3.25rem, 16.5vw, 5.2rem);
    }

    .hero {
        min-height: auto;
    }

    .retail-gallery-track {
        gap: 16px;
        padding-inline: 6vw;
    }

    .retail-shot {
        border-radius: 10px;
        height: clamp(300px, 48vh, 440px);
    }

    .retail-shot-wide {
        width: 520px;
    }

    .retail-shot-portrait {
        width: 280px;
    }

    .retail-shot-pano {
        width: 580px;
    }

    .feature-image {
        padding-inline: 0;
    }

    .feature-image div {
        padding-inline: var(--page);
    }

    .feature-image img {
        border-radius: 0;
        max-height: none;
    }

    .service-list,
    .company-grid,
    .retail-catalog-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .company-grid article {
        min-height: 210px;
    }

    .service-list article,
    .service-list article:last-child,
    .service-list article:nth-child(2n) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--line);
        min-height: auto;
        padding: 28px 0;
    }

    .service-list span {
        font-size: 3rem;
        margin-bottom: 42px;
    }

    .process-grid div {
        min-height: 210px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== Services page (services.html) ===== */
/* ===== User Cases (user-cases.html) ===== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
    padding: clamp(48px, 7vw, 84px) var(--page);
}
.case-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -18px rgba(20,20,18,0.35);
}
.case-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.case-card-link img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}
.case-card-body {
    padding: 18px 20px 22px;
}
.case-card-cat {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 8px;
}
.case-card-body h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}
.case-card-meta {
    font-size: 0.82rem;
    color: var(--soft-ink);
    margin: 0;
}

.case-post {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 92px) var(--page) clamp(60px, 8vw, 110px);
}
.case-post .index-label {
    margin-bottom: 14px;
}
.case-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(20px, 3vw, 32px);
}
.case-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1);
    display: block;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.case-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    margin: 0 0 clamp(28px, 4vw, 44px);
    padding: clamp(20px, 3vw, 30px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.case-meta dt {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.case-meta dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink);
}
.case-body p {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.7;
    color: var(--soft-ink);
}
.case-body .case-lead {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.6;
    color: var(--ink);
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 20px;
    margin: 0 0 clamp(28px, 4vw, 40px);
    font-weight: 500;
}
.case-body h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: clamp(30px, 4vw, 46px) 0 14px;
}
.case-body ul {
    margin: 0 0 clamp(20px, 3vw, 30px);
    padding-left: 1.2em;
}
.case-body li {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    color: var(--soft-ink);
    margin-bottom: 8px;
}
.case-body blockquote {
    margin: clamp(24px, 3vw, 36px) 0;
    padding: 16px 22px;
    border-left: 3px solid var(--line);
    background: #fbfaf6;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--ink);
}

/* Methodology flow diagram */
.method-flow {
    margin: clamp(34px, 5vw, 52px) 0 clamp(30px, 4vw, 44px);
}
.flow-caption {
    font-size: clamp(12px, 1.1vw, 13px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin: 0 0 18px;
}
.method-flow-track {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px 6px;
    padding: 14px 4px 6px;
}
.flow-runner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
.flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px 6px;
    flex: 1 1 auto;
}
.flow-step {
    --pulse: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 1 150px;
    min-width: 132px;
    max-width: 200px;
    padding: 16px 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    transition: background .4s ease, border-color .4s ease, transform .4s ease;
    background: rgba(212, 163, 55, calc(var(--pulse) * 0.07));
    border-color: rgba(212, 163, 55, calc(0.14 + var(--pulse) * 0.4));
    opacity: 0;
}
.flow-num {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.flow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: var(--ink);
}
.flow-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}
.flow-title {
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 15px);
    letter-spacing: -0.01em;
}
.flow-desc {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--soft-ink);
}
.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: var(--muted);
    font-weight: 700;
}
.method-flow-track.is-ready .flow-step {
    opacity: 1;
}
@media (max-width: 760px) {
    .flow-arrow { display: none; }
    .flow-runner { display: none; }
}

.methodology-banner {
    padding: clamp(64px, 8vw, 116px) var(--page) clamp(40px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #faf8f3 0%, #f3f0e8 100%);
}
.methodology-banner .section-title {
    margin-top: 6px;
}
.methodology-banner .lead-text {
    max-width: 60ch;
    margin-top: clamp(10px, 1.4vw, 18px);
}
.methodology-banner .method-flow {
    margin-top: clamp(28px, 4vw, 48px);
}
.methodology-link {
    display: inline-block;
    margin-top: clamp(20px, 3vw, 32px);
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}
.methodology-link:hover {
    color: var(--accent, #b8860b);
    border-color: var(--accent, #b8860b);
}

.services-hero {
    border-bottom: 1px solid var(--line);
    padding: clamp(72px, 9vw, 132px) var(--page) clamp(48px, 6vw, 84px);
}

.sub-service {
    border-top: 1px solid var(--line);
    margin-top: clamp(44px, 6vw, 76px);
    padding-top: clamp(30px, 4vw, 52px);
}

.sub-service:first-of-type {
    border-top: 0;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 0;
}

.sub-service h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 14px;
}

.sub-service p {
    color: var(--soft-ink);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.62;
    max-width: 760px;
    margin-bottom: 28px;
}

.gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
}

.gallery-grid figure {
    display: grid;
    gap: 10px;
    margin: 0;
}

.gallery-grid img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1);
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-grid img.logo-mosaic {
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px;
}

/* Keep the complete naval renders in frame rather than cropping them. */
.naval-gallery img {
    background: #fff;
    object-fit: contain;
}

.gallery-grid figcaption {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.lead-text {
    color: var(--soft-ink);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.66;
    max-width: 820px;
    margin-top: clamp(28px, 4vw, 48px);
}

.client-list {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    list-style: none;
    margin: clamp(28px, 4vw, 44px) 0 0;
    padding: 22px 0 0;
}

.client-list li {
    background: rgba(250, 248, 243, 0.06);
    border: 1px solid rgba(250, 248, 243, 0.16);
    border-radius: 999px;
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 15px;
}

.back-home {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    margin-bottom: 6px;
}

.dark-section .sub-service {
    border-color: rgba(250, 248, 243, 0.16);
}

.dark-section .sub-service p {
    color: rgba(250, 248, 243, 0.78);
}

.course-list {
    list-style: none;
    margin: clamp(28px, 4vw, 44px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
}
.course-list li {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: rgba(20, 20, 18, 0.025);
}
.course-list .course-title {
    display: block;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.course-list .course-cert {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--soft-ink);
    font-family: var(--mono);
}
.training-link {
    display: inline-block;
    margin-top: clamp(24px, 3vw, 36px);
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
}
.training-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.subsection-title {
    margin: clamp(30px, 4vw, 46px) 0 clamp(14px, 2vw, 20px);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ink);
}

@media (max-width: 760px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-block: 12px;
        position: sticky;
    }

    .brand {
        gap: 10px;
        min-width: 0;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .brand-copy small {
        display: none;
    }

    .logo-mark {
        height: 44px;
        width: 44px;
    }

    .nav-toggle {
        align-items: center;
        background: var(--ink);
        border: 0;
        border-radius: 8px;
        color: var(--paper);
        cursor: pointer;
        display: inline-flex;
        font: inherit;
        font-size: 0;
        justify-content: center;
        min-height: 44px;
        padding: 0;
        width: 44px;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        background: currentColor;
        display: block;
        height: 1.5px;
        position: relative;
        transition: transform 180ms ease;
        width: 16px;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: "";
        left: 0;
        position: absolute;
    }

    .nav-toggle-icon::before {
        top: -5px;
    }

    .nav-toggle-icon::after {
        top: 5px;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .nav-menu {
        border-top: 1px solid var(--line);
        display: none;
        flex-direction: column;
        gap: 0;
        grid-column: 1 / -1;
        padding-top: 8px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 12px 0;
    }

    .header-actions {
        align-items: center;
        display: grid;
        flex-direction: row;
        gap: 12px;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: stretch;
    }

    .header-link {
        width: 100%;
    }
}
