:root {
    --ink: #101216;
    --ink-soft: #343942;
    --mist: #f7f5ef;
    --paper: #fffdf8;
    --line: rgba(16, 18, 22, .12);
    --blue: #1557ff;
    --cyan: #8bd8d2;
    --sage: #b8cbbb;
    --champagne: #d7bf8f;
    --night: #05070a;
    --night-2: #0d1118;
    --white: #fff;
    --font: "Inter", "Noto Sans JP", system-ui, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
    background: var(--mist);
    color: var(--ink);
    font-family: var(--font);
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(139, 216, 210, .18), transparent 30rem),
        linear-gradient(180deg, var(--paper), var(--mist) 34%, #eceee8 100%);
    color: var(--ink);
}

/* Noise overlay removed for performance */

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

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

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

::selection {
    background: var(--blue);
    color: var(--white);
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: var(--night);
    color: var(--white);
    transition: clip-path 1s var(--ease), visibility 1s var(--ease);
}

.loader.is-hidden {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
}

.loader__mark {
    font-size: clamp(2.5rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -.08em;
}

.loader__bar {
    position: absolute;
    left: clamp(1.5rem, 5vw, 5rem);
    right: clamp(1.5rem, 5vw, 5rem);
    bottom: clamp(2rem, 5vw, 5rem);
    height: 2px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}

.loader__bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--champagne));
    animation: loaderBar 1.1s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes loaderBar {
    from { transform: translateX(-100%); }
    to { transform: translateX(0%); }
}

.cursor {
    position: fixed;
    z-index: 9998;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease);
}

.cursor.is-active {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, .12);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
    color: var(--white);
    transition: background .45s var(--ease), color .45s var(--ease), height .45s var(--ease), border-color .45s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header.is-scrolled {
    height: 68px;
    color: var(--ink);
    background: rgba(255, 253, 248, .82);
    border-color: rgba(16, 18, 22, .1);
    backdrop-filter: blur(24px);
}

.brand img {
    width: 142px;
    filter: brightness(0) invert(1);
    transition: filter .45s var(--ease), opacity .3s var(--ease);
}

.site-header.is-scrolled .brand img,
.footer img {
    filter: none;
}

.brand:hover img {
    opacity: .7;
}

.site-nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 3rem);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-nav a {
    opacity: .72;
    transition: opacity .25s var(--ease);
}

.site-nav a:hover {
    opacity: 1;
}

.header-cta {
    justify-self: end;
    padding: .8rem 1.15rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.menu-button {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: currentColor;
    padding: 0;
}

.menu-button span {
    display: block;
    height: 2px;
    width: 28px;
    margin: 7px auto;
    background: currentColor;
    transition: transform .35s var(--ease);
}

.menu-button.is-open span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-button.is-open span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 7rem 2rem 2rem;
    background: var(--night);
    color: var(--white);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .65s var(--ease);
}

.mobile-panel.is-open {
    clip-path: inset(0 0 0 0);
}

.mobile-panel a {
    font-size: clamp(2.3rem, 12vw, 5rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .95;
}

.mobile-panel p {
    margin-top: 2rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.8;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.hero__media,
.hero__scrim {
    position: absolute;
    inset: 0;
}

.hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__scrim {
    background:
        linear-gradient(90deg, rgba(5, 7, 10, .78), rgba(5, 7, 10, .25) 55%, rgba(5, 7, 10, .6)),
        linear-gradient(180deg, rgba(5, 7, 10, .1), var(--night) 96%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(96rem, 100%);
    padding: 10rem clamp(1.25rem, 5vw, 5rem) 7rem;
}

.eyebrow {
    margin: 0 0 1.15rem;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--cyan);
}

.hero__title {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(4.4rem, 13.5vw, 13.5rem);
    font-weight: 900;
    line-height: .86;
    letter-spacing: -.075em;
}

.hero__lead {
    max-width: 43rem;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 2;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.2rem;
}

.hero__meta {
    position: absolute;
    z-index: 2;
    right: clamp(1.25rem, 5vw, 5rem);
    bottom: 2rem;
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, .56);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .03em;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.button:hover {
    transform: translateY(-3px);
}

.button--primary {
    background: var(--blue);
    color: var(--white);
}

.button--ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.section {
    padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 5vw, 5rem);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(10rem, .85fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: start;
    margin-bottom: clamp(2.8rem, 6vw, 5.5rem);
}

.section-heading--wide {
    grid-template-columns: 1fr;
    max-width: 76rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 7.5rem);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.07em;
}

.trust {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(2rem, 7vw, 7rem);
    background: var(--paper);
}

.trust__statement {
    font-size: clamp(2rem, 5.7vw, 6.4rem);
    line-height: 1.05;
    letter-spacing: -.065em;
    font-weight: 900;
}

.trust__metrics {
    display: grid;
    gap: 1px;
    align-self: end;
    background: var(--line);
}

.metric {
    padding: 2rem;
    background: var(--paper);
}

.metric span,
.cap-card span,
.industry span,
.problem-row span,
.process-list span {
    display: block;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.metric strong {
    display: block;
    margin-top: .8rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: -.04em;
}

.metric p,
.cap-card p,
.industry p,
.problem-row p,
.process-list p,
.pin__content p {
    color: var(--ink-soft);
    line-height: 1.85;
}

.capability {
    background: linear-gradient(180deg, #f2f0e8, #e7ebe6);
}

.capability__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cap-card {
    min-height: 43rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, .64);
    transform-style: preserve-3d;
}

.cap-card img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    filter: saturate(.9) contrast(1.04);
}

.cap-card div {
    padding: 1.6rem;
}

.cap-card h3,
.industry h3,
.problem-row h3 {
    margin: .8rem 0 0;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.055em;
}

.pin-section {
    position: relative;
    min-height: 110vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--night);
    color: var(--white);
}

.pin__visual {
    position: sticky;
    top: 0;
    height: 100vh;
}

.pin__visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
}

.pin__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--night));
}

.pin__content {
    align-self: center;
    padding: clamp(5rem, 8vw, 9rem) clamp(1.25rem, 6vw, 6rem);
}

.pin__content .section-title {
    font-size: clamp(2.8rem, 5.8vw, 6.5rem);
}

.pin__content p {
    color: rgba(255, 255, 255, .68);
    max-width: 42rem;
}

.xsys-logo {
    width: min(18rem, 65vw);
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 2rem 0;
}

.feature-list span {
    padding: .55rem .75rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 800;
}

.problems {
    background: var(--paper);
}

.problem-rows {
    border-top: 1px solid var(--line);
}

.problem-row {
    display: grid;
    grid-template-columns: .35fr 1.1fr 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: clamp(1.5rem, 4vw, 3.2rem) 0;
    border-bottom: 1px solid var(--line);
}

.problem-row h3 {
    margin: 0;
}

.problem-row p {
    margin: 0;
}

.industries {
    background: #e9eee9;
}

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

.industry {
    position: relative;
    min-height: 38rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.industry img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}

.industry:hover img {
    transform: scale(1.06);
    opacity: .9;
}

.industry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, .08), rgba(5, 7, 10, .88));
}

.industry div {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.industry p {
    max-width: 30rem;
    color: rgba(255, 255, 255, .72);
}

.process {
    background: var(--paper);
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    background: var(--line);
    gap: 1px;
}

.process-list li {
    min-height: 21rem;
    padding: 1.7rem;
    background: var(--paper);
}

.process-list strong {
    display: block;
    margin-top: 4.8rem;
    font-size: 2rem;
    letter-spacing: -.055em;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    min-height: 100vh;
    background: var(--night);
    color: var(--white);
}

.contact__visual {
    position: relative;
    min-height: 38rem;
}

.contact__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.contact__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, .08), rgba(5, 7, 10, .82));
}

.contact__info {
    position: absolute;
    z-index: 1;
    left: clamp(1.5rem, 5vw, 4rem);
    right: clamp(1.5rem, 5vw, 4rem);
    bottom: clamp(1.5rem, 5vw, 4rem);
    display: grid;
    gap: .65rem;
    color: rgba(255, 255, 255, .72);
}

.contact__info span {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -.06em;
}

.contact__info p {
    margin: 0;
    line-height: 1.7;
}

.contact__form {
    padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
    align-self: center;
}

.contact__form h2 {
    margin: 0 0 2.2rem;
    font-size: clamp(2.4rem, 5vw, 5.8rem);
    line-height: .96;
    letter-spacing: -.07em;
}

form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: .45rem;
}

label span {
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0;
    background: rgba(255, 255, 255, .055);
    color: var(--white);
    padding: 1rem;
    outline: 0;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}

select option {
    color: var(--ink);
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, .09);
}

.full {
    grid-column: 1 / -1;
}

.privacy {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.privacy input {
    width: 18px;
    height: 18px;
}

.privacy a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

form .button {
    border: 0;
    cursor: pointer;
    min-height: 58px;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: end;
    padding: 3rem clamp(1.25rem, 5vw, 5rem);
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.footer img {
    width: 132px;
}

.footer p,
.footer small {
    color: var(--ink-soft);
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ink-soft);
    font-weight: 800;
    font-size: .82rem;
}

.reveal,
.reveal-text {
    opacity: 0;
}

.line-mask {
    display: inline-block;
    overflow: hidden;
}

.mobile-only {
    display: none;
}

/* ============================================ */
/*   SUBPAGE STYLES                             */
/* ============================================ */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(5, 7, 10, .72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: background .4s var(--ease), height .4s var(--ease);
}

.header.is-scrolled {
    background: rgba(255, 253, 248, .85);
    backdrop-filter: blur(24px);
}

.header.is-scrolled .logo-img {
    filter: none;
}

.header.is-scrolled .nav-desktop {
    color: var(--ink);
}

.header.is-scrolled .nav-link-cta {
    border-color: var(--ink);
}

.header.is-scrolled .menu-line {
    background: var(--ink);
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.logo-img,
.footer-logo {
    width: 140px;
    filter: brightness(0) invert(1);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--white);
}

.nav-link {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .72;
}

.nav-link.active,
.nav-link:hover {
    opacity: 1;
}

.nav-link-cta {
    padding: .75rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
}

.menu-line {
    display: block;
    width: 28px;
    height: 2px;
    margin: 7px auto;
    background: var(--white);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 7rem 2rem 2rem;
    background: var(--night);
    color: var(--white);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .55s var(--ease);
}

.mobile-menu.active {
    clip-path: inset(0);
}

.mobile-menu-nav {
    display: grid;
    gap: .5rem;
}

.mobile-menu-link {
    font-size: clamp(2.2rem, 10vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -.06em;
}

.mobile-menu-footer {
    color: rgba(255, 255, 255, .55);
    line-height: 1.8;
}

.page-hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    place-items: end start;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
    padding: 9rem clamp(1.25rem, 5vw, 5rem) 5rem;
}

.page-hero-bg,
.page-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero-bg img {
    object-fit: cover;
    opacity: .68;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, .2), rgba(5, 7, 10, .86));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 66rem;
}

.page-hero-label,
.section-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.page-hero-title,
.section-title-large,
.section-title,
.greeting-title {
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 7rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.065em;
}

.page-hero-description,
.intro-text,
.greeting-text,
.feature-block-text,
.map-address,
.footer-address,
.footer-tel,
.footer-hours,
.footer-tagline {
    line-height: 1.9;
    color: var(--ink-soft);
}

.page-hero-description {
    max-width: 42rem;
    color: rgba(255, 255, 255, .72);
}

.container {
    width: min(92rem, 100%);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.greeting-grid,
.feature-block,
.feature-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.greeting-img,
.feature-block-image img,
.feature-showcase-image img,
.map-wrap iframe {
    width: 100%;
    border: 0;
}

.greeting-img,
.feature-block-image img,
.feature-showcase-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.company-table,
.form-container,
.pain-grid,
.effects-grid {
    margin-top: 2rem;
}

.company-row {
    display: grid;
    grid-template-columns: 14rem 1fr;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.company-label {
    color: var(--ink-soft);
    font-weight: 800;
}

.field-strip-inner {
    position: relative;
    min-height: 28rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.field-strip-img-wrap,
.field-strip-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.field-strip-img {
    object-fit: cover;
    opacity: .7;
}

.field-strip-content,
.field-strip-arrow {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.field-strip-title,
.feature-block-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.btn-link,
.btn-primary,
.btn-white,
.form-submit button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 52px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
}

.btn-white {
    background: var(--white);
    color: var(--ink);
}

.cta-banner {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 5rem);
    background: var(--night);
    color: var(--white);
    text-align: center;
}

.cta-banner-title {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.cta-banner-text {
    color: rgba(255, 255, 255, .72);
    line-height: 1.8;
}

/* Sub-page content */
.sub-content {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--paper);
}

.sub-content-inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.sub-content-hero-img {
    margin-bottom: 3rem;
    overflow: hidden;
}

.sub-content-hero-img img {
    width: 100%;
}

.sub-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.04em;
    margin-bottom: 1rem;
}

.sub-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.sub-content p {
    line-height: 2;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.sub-content ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.sub-content ul li {
    padding: .7rem 0 .7rem 1.5rem;
    position: relative;
    color: var(--ink-soft);
    line-height: 1.8;
}

.sub-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: .5rem;
    height: 1px;
    background: var(--blue);
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.image-grid img {
    width: 100%;
}

/* News page list */
.news-page-list {
    max-width: 56rem;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .4s var(--ease);
}

.news-item:hover {
    padding-left: 1rem;
}

.news-item-date {
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink-soft);
    min-width: 7.5rem;
    letter-spacing: .04em;
}

.news-item-title {
    flex: 1;
    font-weight: 600;
    transition: color .3s;
}

.news-item:hover .news-item-title {
    color: var(--blue);
}

.news-item-arrow {
    color: var(--ink-soft);
    transition: color .3s, transform .35s var(--ease);
    margin-left: 1rem;
}

.news-item:hover .news-item-arrow {
    color: var(--blue);
    transform: translate(3px, -3px);
}

/* Contact standalone page */
.contact--page {
    display: block;
    background: var(--paper);
}

.contact--page .contact__form {
    max-width: 48rem;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.contact--page .contact__form h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.contact--page .eyebrow {
    color: var(--blue);
}

.contact--page label span {
    color: var(--ink-soft);
}

.contact--page input,
.contact--page select,
.contact--page textarea {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.contact--page input:focus,
.contact--page select:focus,
.contact--page textarea:focus {
    border-color: var(--blue);
    background: var(--white);
}

.contact--page .privacy span {
    color: var(--ink-soft);
}

.contact--page .privacy a {
    color: var(--blue);
}

/* Privacy page */
.privacy-content {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 4rem);
}

.privacy-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--line);
}

.privacy-content p {
    line-height: 2;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.privacy-content ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.privacy-content ul li {
    padding: .4rem 0 .4rem 1.2rem;
    position: relative;
    color: var(--ink-soft);
    line-height: 1.9;
}

.privacy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: .4rem;
    height: 1px;
    background: var(--ink-soft);
}

.privacy-content ul ul {
    margin-left: .8rem;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.footer-brand .footer-logo {
    filter: none;
}

.footer-nav {
    display: flex;
    gap: 3rem;
}

.footer-nav-group {
    display: grid;
    gap: .55rem;
}

.footer-nav-title {
    margin: 0 0 .5rem;
}

.footer-bottom {
    margin-top: 2rem;
    color: var(--ink-soft);
}

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

    .site-nav,
    .header-cta {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .trust,
    .pin-section,
    .contact,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .capability__grid,
    .industry-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .pin__visual {
        position: relative;
        height: 58vh;
    }

    .pin__visual::after {
        background: linear-gradient(180deg, transparent, var(--night));
    }

    .problem-row {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .process-list strong {
        margin-top: 2rem;
    }

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

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .greeting-grid,
    .feature-block,
    .feature-showcase-grid,
    .company-row,
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cursor {
        display: none;
    }

    .hero__content {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .hero__title {
        font-size: clamp(3.1rem, 15.2vw, 4.8rem);
        line-height: .94;
        letter-spacing: -.055em;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    .hero__meta {
        left: 1.25rem;
        right: auto;
        flex-direction: column;
        gap: .25rem;
    }

    .cap-card,
    .industry {
        min-height: auto;
    }

    .cap-card img {
        height: 18rem;
    }

    .industry {
        height: 31rem;
    }

    form {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
    }

    .news-item-arrow {
        display: none;
    }

    .page-hero {
        min-height: 56vh;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .page-hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .trust__metrics {
        grid-template-columns: 1fr !important;
    }

    .cta-banner-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
}

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

    .reveal,
    .reveal-text {
        opacity: 1;
    }
}
