@import url("./tokens.css");

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Cyrillic-Variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Latin-Variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--site-bg);
    color: var(--site-ink);
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 8px;
    background: var(--site-ink);
    color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.site-container { width: min(calc(100% - 80px), var(--site-container)); margin-inline: auto; }
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    display: flex;
    width: 100%;
    height: var(--site-header-height);
    padding-inline: max(40px, calc((100% - var(--site-container)) / 2));
    align-items: center;
    border-bottom: 1px solid transparent;
    background: rgba(245, 242, 238, .9);
    backdrop-filter: blur(18px);
    transition: color .35s var(--site-ease), background .35s var(--site-ease), border-color .35s;
}
body.is-over-dark .site-header { border-color: rgba(255,255,255,.1); background: rgba(7, 59, 49, .9); color: var(--site-white); }
.site-logo {
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -2.4px;
    line-height: 1;
}
.desktop-nav { display: flex; align-items: center; gap: 48px; margin-left: 92px; }
.desktop-nav a { position: relative; padding: 10px 0; font-size: 14px; font-weight: 540; }
.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: currentColor;
    transition: transform .35s var(--site-ease);
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
.variant-switch {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(7,20,38,.88);
    box-shadow: 0 8px 28px rgba(7,20,38,.2);
    backdrop-filter: blur(14px);
    color: var(--site-white);
}
.variant-switch a { padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.variant-switch a[aria-current="page"] { background: var(--site-teal); }

.eyebrow {
    margin-bottom: 24px;
    color: var(--site-teal);
    font-size: 13px;
    font-weight: 660;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.display-title { font-size: clamp(64px, 7vw, 100px); font-weight: 690; letter-spacing: -.055em; line-height: .94; }
.display-title span, h1 span { color: var(--site-teal); }
.lead { color: var(--site-muted); font-size: 18px; line-height: 1.55; }
.mobile-label, .mobile-contact-copy { display: none; }
.page-cue { display: none; }

/* Draw diagonal arrows instead of relying on the OS glyph (iOS renders ↗ as emoji). */
.arrow-up-right {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    font-style: normal;
    line-height: 1;
}
.arrow-up-right::before {
    position: absolute;
    top: .47em;
    left: .08em;
    width: .82em;
    height: .055em;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transform: rotate(-45deg);
    transform-origin: center;
}
.arrow-up-right::after {
    position: absolute;
    top: .08em;
    right: .08em;
    width: .38em;
    height: .38em;
    border-top: .055em solid currentColor;
    border-right: .055em solid currentColor;
    content: "";
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--site-ease) var(--delay, 0s), transform .8s var(--site-ease) var(--delay, 0s);
}
[data-reveal="scale"] { transform: translateY(10px) scale(.965); transform-origin: center; }
[data-delay="1"] { --delay: .06s; }
[data-delay="2"] { --delay: .12s; }
[data-delay="3"] { --delay: .18s; }
[data-delay="4"] { --delay: .24s; }
[data-delay="5"] { --delay: .3s; }
[data-delay="6"] { --delay: .36s; }
[data-delay="7"] { --delay: .42s; }
[data-delay="8"] { --delay: .48s; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.one-page-section { min-height: 100svh; scroll-margin-top: 0; }

/* Home */
.home-hero {
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, .9fr);
    grid-template-rows: 1fr auto;
    column-gap: 72px;
    padding: calc(var(--site-header-height) + 44px) 0 28px;
}
.home-copy { align-self: center; padding-bottom: 18px; }
.home-copy .display-title { margin-bottom: 26px; }
.brand-tile {
    display: grid;
    width: min(100%, 356px);
    aspect-ratio: 1;
    align-self: center;
    justify-self: end;
    place-items: center;
    border-radius: 70px;
    background: linear-gradient(145deg, #0c5946, var(--site-green));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    color: var(--site-bg);
}
.brand-tile span { transform: translateY(-7%); font-size: clamp(150px, 17vw, 220px); font-weight: 500; letter-spacing: 0; line-height: 1; }
.service-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--site-line);
}
.service-grid article { min-height: 142px; padding: 32px 16px 14px 8px; }
.service-grid article + article { padding-left: 62px; border-left: 1px solid var(--site-line); }
.service-grid h2, .service-grid h3 { margin-bottom: 12px; font-size: 23px; letter-spacing: -.03em; }
.service-grid h2 span, .service-grid h3 span { color: var(--site-green); font-size: 29px; font-weight: 550; }
.service-grid p { margin: 0; color: var(--site-muted); font-size: 13px; line-height: 1.55; }

/* Projects */
.projects-page {
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(300px, .55fr) minmax(600px, 1fr);
    align-items: center;
    gap: 64px;
    padding: calc(var(--site-header-height) + 8px) 0 16px;
}
.projects-intro .section-title, .projects-intro h1 { margin-bottom: 20px; font-size: clamp(62px, 6.2vw, 94px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
.projects-intro .project-name { color: inherit; }
.projects-intro .lead { margin-bottom: 24px; }
.project-count { color: var(--site-green); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; perspective: 1000px; }
.project-card {
    position: relative;
    display: grid;
    min-height: 318px;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr) auto 46px;
    border: 1px solid rgba(7, 20, 38, .09);
    border-radius: 13px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 24px rgba(7,20,38,.08);
    color: var(--site-ink);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
    transition: box-shadow .35s var(--site-ease), border-color .35s, transform .18s ease-out;
}
.project-card:hover { --lift: -4px; border-color: rgba(22,138,120,.35); box-shadow: 0 18px 38px rgba(7,20,38,.13); }
.project-card__image { min-height: 0; overflow: hidden; background: #f5f1f4; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--site-ease); }
.project-card__image--icon { position: relative; background: #f8f5f2; }
.project-card__image--icon img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.project-card:hover .project-card__image img { transform: scale(1.035); }
.project-card__copy { padding: 10px 13px 8px; }
.project-card__copy h2, .project-card__copy h3 { margin-bottom: 1px; font-size: 22px; letter-spacing: -.04em; }
.project-card__copy p { margin: 0; color: var(--site-muted); font-size: 12px; }
.project-card__action {
    display: flex;
    min-height: 34px;
    margin: 0 13px 12px;
    padding: 0 15px;
    align-items: center;
    justify-self: end;
    border-radius: 999px;
    background: rgba(22,138,120,.11);
    color: var(--site-teal);
    font-size: 12px;
    font-weight: 720;
    transition: color .25s, background .25s, transform .25s var(--site-ease);
}
.project-card__action:hover { background: var(--site-teal); color: var(--site-white); transform: scale(1.025); }
.project-card__action.is-disabled { opacity: .68; cursor: default; }
.project-card__corner { display: none; position: absolute; top: 9px; right: 10px; z-index: 2; font-size: 25px; font-weight: 300; line-height: 1; }
.project-card__corner .arrow-up-right { display: block; }
.project-card__corner.is-disabled { opacity: .35; }

/* Temporary App Store-style project launcher */
.project-app-grid { gap: 24px 32px; }
.project-app { display: grid; min-width: 0; justify-items: center; gap: 12px; }
.project-app__icon {
    display: block;
    width: min(100%, 222px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 25%;
    box-shadow: 0 14px 32px rgba(7,20,38,.11);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
    transition: box-shadow .4s var(--site-ease), transform .2s ease-out;
}
.project-app__icon picture, .project-app__icon img { display: block; width: 100%; height: 100%; }
.project-app__icon img { object-fit: cover; transition: transform .65s var(--site-ease); }
.project-app__icon:hover { --lift: -5px; box-shadow: 0 22px 42px rgba(7,20,38,.16); }
.project-app__icon:hover img { transform: scale(1.025); }
.project-app__icon.is-disabled { cursor: default; }
.project-app__label { display: grid; min-width: 0; justify-items: center; gap: 3px; text-align: center; }
.project-app__label strong { font-size: 19px; letter-spacing: -.035em; }
.project-app__label > span { display: flex; align-items: center; gap: 5px; color: var(--site-teal); font-size: 11px; }
.project-app__label i { width: 8px; height: 8px; }
.project-app__label.is-disabled > span { color: var(--site-muted); }
.project-app[data-reveal] { transform: translateY(22px) scale(.975); }
.project-app[data-reveal].is-visible { transform: none; }

/* About */
.site-page--about { background: var(--site-green-deep); color: var(--site-white); }
.site-page--about .site-header { color: var(--site-white); }
.onepage-band--about { min-height: 100svh; background: var(--site-green-deep); color: var(--site-white); }
.about-page {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-rows: 1fr auto;
    padding: calc(var(--site-header-height) + 54px) 0 38px;
}
.about-copy { align-self: center; }
.about-copy .eyebrow { color: var(--site-white); }
.about-copy .section-title, .about-copy h1 { margin-bottom: 28px; font-size: clamp(64px, 7vw, 102px); font-weight: 640; letter-spacing: -.055em; line-height: .96; }
.about-copy .section-title span, .about-copy h1 span { color: var(--site-teal-bright); }
.about-copy .lead { color: rgba(255,255,255,.76); }
.about-mark { position: absolute; top: 0; right: 4px; font-size: 76px; font-weight: 550; line-height: 1; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--site-line-light); }
.value-list article { display: grid; min-height: 136px; grid-template-columns: 118px 1fr; align-items: center; gap: 18px; padding: 20px 8px; }
.value-list article + article { padding-left: 36px; border-left: 1px solid var(--site-line-light); }
.value-list article > span { color: transparent; font-size: 82px; font-weight: 250; letter-spacing: -.06em; -webkit-text-stroke: 1px rgba(255,255,255,.34); }
.value-list h2, .value-list h3 { margin-bottom: 10px; font-size: 22px; }
.value-list p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }

/* Contacts */
.contacts-page {
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(400px, 1fr) minmax(420px, .9fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 48px 64px;
    padding: calc(var(--site-header-height) + 38px) 0 22px;
}
.contact-copy .section-title, .contact-copy h1 { margin-bottom: 28px; font-size: clamp(62px, 6.1vw, 90px); font-weight: 650; letter-spacing: -.055em; line-height: .96; }
.contact-card {
    position: relative;
    min-height: 520px;
    padding: 44px;
    overflow: hidden;
    border-radius: 42px;
    background: linear-gradient(145deg, #0b5945, var(--site-green-deep));
    color: var(--site-white);
}
.contact-card__label { margin-bottom: 18px; font-size: 17px; }
.contact-list { display: grid; }
.contact-list > a, .contact-list > span { display: grid; min-height: 90px; grid-template-columns: 1fr 32px; align-items: center; border-bottom: 1px solid var(--site-line-light); }
.contact-list strong { display: block; font-size: 34px; font-weight: 550; letter-spacing: -.035em; }
.contact-list small { display: none; }
.contact-list i { font-size: 32px; font-style: normal; font-weight: 250; transition: transform .3s var(--site-ease); }
.contact-list a:hover i { transform: translate(4px, -4px); }
.contact-index { display: none; }
.contact-disabled { opacity: .45; }
.contact-mark { position: absolute; bottom: 34px; left: 43px; font-size: 72px; font-weight: 520; line-height: 1; }
.site-footer { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 22px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px; }
.site-footer span:nth-child(2) { justify-self: center; }
.footer-mark { display: none; }

/* Design system */
.design-system { padding: calc(var(--site-header-height) + 72px) 0 120px; }
.design-system > header { max-width: 800px; margin-bottom: 96px; }
.design-system h1 { font-size: clamp(58px, 7vw, 96px); letter-spacing: -.055em; line-height: .96; }
.design-system > section { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--site-line); }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.token { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--site-line); border-radius: 16px; }
.token code { color: inherit; }
.token--ink { background: var(--site-ink); color: white; }
.token--teal { background: var(--site-teal); color: white; }
.token--green { background: var(--site-green); color: white; }
.type-samples { display: grid; gap: 24px; }
.component-row { display: flex; align-items: center; gap: 24px; }
.demo-button { display: flex; width: 260px; min-height: 58px; padding: 0 18px; align-items: center; justify-content: space-between; border-radius: 10px; background: var(--site-green); color: white; }
.demo-toggle { position: static; display: flex; border: 0; }
.design-card { display: grid; width: min(100%, 480px); grid-template-columns: 110px 1fr; align-items: center; padding: 28px; border: 1px solid var(--site-line); border-radius: 18px; }
.design-card > span { color: var(--site-teal); font-size: 58px; }
.design-card h3 { margin-bottom: 8px; font-size: 24px; }
.design-card p { margin: 0; color: var(--site-muted); }

@media (hover: hover) and (pointer: fine) {
    .site-logo { transition: opacity .25s; }
    .site-logo:hover { opacity: .62; }
}

@media (max-width: 1100px) and (min-width: 768px) {
    .projects-page { grid-template-columns: 270px 1fr; gap: 36px; }
    .project-card { min-height: 280px; }
    .value-list article { grid-template-columns: 82px 1fr; }
    .value-list article > span { font-size: 64px; }
    .contacts-page { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 767px) {
    :root { --site-header-height: 132px; }
    .site-container { width: min(calc(100% - 48px), 560px); }
    .site-header { height: var(--site-header-height); padding-inline: max(24px, calc((100% - 560px) / 2)); justify-content: space-between; }
    .site-logo { font-size: 38px; letter-spacing: -2.8px; }
    .desktop-nav { display: none; }
    .menu-toggle {
        position: relative;
        z-index: 60;
        display: flex;
        width: 40px;
        height: 40px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 0;
        background: transparent;
        color: currentColor;
        cursor: pointer;
    }
    .menu-toggle span { width: 28px; height: 2px; background: currentColor; transition: transform .35s var(--site-ease); }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: flex;
        padding: 150px 24px 40px;
        visibility: hidden;
        flex-direction: column;
        justify-content: space-between;
        opacity: 0;
        background: var(--site-green-deep);
        color: var(--site-white);
        transition: opacity .45s var(--site-ease), visibility .45s;
    }
    .mobile-menu.is-open { visibility: visible; opacity: 1; }
    .mobile-menu nav { display: grid; }
    .mobile-menu nav a { display: grid; padding: 16px 0; grid-template-columns: 54px 1fr; border-bottom: 1px solid var(--site-line-light); font-size: clamp(36px, 11vw, 58px); font-weight: 560; letter-spacing: -.04em; }
    .mobile-menu nav a span { padding-top: 8px; color: var(--site-teal-bright); font-size: 13px; letter-spacing: 0; }
    .mobile-menu nav a[aria-current="page"] { color: var(--site-teal-bright); }
    .mobile-menu > p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
    body.menu-open .site-header { border-color: rgba(255,255,255,.1); background: var(--site-green-deep); color: var(--site-white); }

    .eyebrow { margin-bottom: 18px; font-size: 13px; }
    .lead { font-size: 17px; line-height: 1.55; }
    .desktop-only, .desktop-label, .desktop-contact-copy { display: none; }
    .mobile-label { display: initial; }
    .mobile-contact-copy { display: block; }
    .page-cue {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        color: var(--site-muted);
        font-size: 13px;
    }
    .page-cue i { width: 12px; height: 12px; transform: rotate(45deg); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; animation: cue 1.8s ease-in-out infinite; }
    @keyframes cue { 50% { transform: translateY(5px) rotate(45deg); } }

    /* Mobile home */
    .home-hero { display: flex; min-height: 100svh; padding: calc(var(--site-header-height) + 92px) 0 24px; flex-direction: column; }
    .home-copy { padding: 0; }
    .home-copy .eyebrow, .home-copy .service-grid { display: none; }
    .home-copy .display-title { margin-bottom: 30px; font-size: clamp(68px, 18.3vw, 106px); line-height: .96; }
    .home-copy .lead { font-size: 18px; }
    .brand-tile { width: 154px; margin-top: auto; margin-right: 8px; align-self: flex-end; border-radius: 32px; }
    .brand-tile span { font-size: 98px; }
    .service-grid { display: none; }
    .home-hero .page-cue { margin-top: 68px; }

    /* Mobile projects */
    .projects-page { display: block; min-height: 100svh; padding: calc(var(--site-header-height) + 12px) 0 22px; }
    .projects-intro .section-title, .projects-intro h1 { margin-bottom: 20px; font-size: clamp(48px, 11vw, 68px); line-height: 1.02; }
    .projects-intro .project-name { display: inline-block; margin-left: .14em; }
    .projects-intro .lead { margin-bottom: 32px; font-size: 17px; }
    .project-count { display: none; }
    .project-grid { gap: 14px; }
    .project-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .project-app { gap: 10px; }
    .project-app__icon { width: min(100%, 210px); border-radius: 24%; }
    .project-app__label strong { font-size: 18px; }
    .project-card { min-height: 432px; grid-template-rows: minmax(0, 1fr) auto 52px; border-color: rgba(7,20,38,.08); border-radius: 18px; background: rgba(255,255,255,.96); color: var(--site-ink); box-shadow: 0 8px 24px rgba(7,20,38,.09); }
    .project-card[data-reveal] {
        opacity: 0;
        transform: translateY(28px) scale(.985);
        transform-origin: 50% 70%;
        transition:
            opacity .95s var(--site-ease) var(--delay, 0s),
            transform .95s var(--site-ease) var(--delay, 0s),
            border-color .35s,
            box-shadow .35s var(--site-ease);
        will-change: opacity, transform;
    }
    .project-card[data-reveal] .project-card__image img {
        transform: scale(1.035);
        transition: transform 1.15s var(--site-ease) var(--delay, 0s);
    }
    .project-card[data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
        will-change: auto;
    }
    .project-card[data-reveal].is-visible .project-card__image img { transform: scale(1); }
    .project-card--sny, .project-card--lila { grid-column: 1 / -1; }
    .project-card--sny, .project-card--lila { min-height: 350px; grid-template-rows: clamp(210px, 38vw, 240px) auto 58px; }
    .project-card--taro, .project-card--betooyou { min-height: 430px; }
    .project-card__copy { padding: 14px 20px 10px; }
    .project-card__copy h2, .project-card__copy h3 { margin-bottom: 6px; font-size: 28px; }
    .project-card__copy p { color: var(--site-muted); font-size: 14px; line-height: 1.4; }
    .project-card__action { min-height: 36px; margin: 0 18px 16px; padding: 0 15px; border-radius: 999px; background: rgba(22,138,120,.11); }
    .project-card__corner { display: none; }
    .projects-page .page-cue { margin-top: 62px; }

    /* Mobile about */
    .site-page--about { background: var(--site-bg); color: var(--site-ink); }
    .site-page--about .site-header { color: var(--site-ink); }
    .site-page--about.menu-open .site-header { color: var(--site-white); }
    .site-page--about { --site-header-height: 132px; }
    .onepage-band--about { background: var(--site-bg); color: var(--site-ink); }
    .about-page { display: flex; min-height: 100svh; padding: calc(var(--site-header-height) + 10px) 0 22px; flex-direction: column; }
    .about-mark { display: none; }
    .about-copy { align-self: stretch; }
    .about-copy .eyebrow { color: var(--site-teal); }
    .about-copy .section-title, .about-copy h1 { margin-bottom: 28px; font-size: clamp(62px, 16.8vw, 94px); line-height: .98; }
    .about-copy .section-title span, .about-copy h1 span { color: var(--site-teal); }
    .about-copy .lead { color: var(--site-muted); font-size: 18px; }
    .value-list { display: grid; margin-top: 54px; grid-template-columns: 1fr; border: 0; }
    .value-list article { min-height: 140px; grid-template-columns: 112px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--site-line); }
    .value-list article + article { padding-left: 0; border-left: 0; }
    .value-list article:last-child { border-bottom: 0; }
    .value-list article > span { color: var(--site-teal); font-size: 65px; font-weight: 400; -webkit-text-stroke: 0; }
    .value-list h2, .value-list h3 { margin-bottom: 8px; font-size: 26px; }
    .value-list p { color: var(--site-muted); font-size: 14px; }
    .about-page .page-cue { margin-top: auto; padding-top: 58px; }

    /* Mobile contacts */
    .contacts-page { display: flex; min-height: 100svh; padding: calc(var(--site-header-height) + 18px) 0 24px; align-items: stretch; flex-direction: column; }
    .contact-copy .section-title, .contact-copy h1 { margin-bottom: 26px; font-size: clamp(54px, 14.1vw, 80px); line-height: .98; }
    .contact-copy .lead { font-size: 16px; }
    .contact-card { min-height: 0; margin-top: 54px; padding: 0; overflow: visible; border-radius: 0; background: transparent; color: var(--site-ink); }
    .contact-card__label, .contact-mark { display: none; }
    .contact-list > a, .contact-list > span { min-height: 116px; grid-template-columns: 112px 1fr 30px; border-bottom: 1px solid var(--site-line); }
    .contact-list > :last-child { border-bottom: 0; }
    .contact-index { display: inline; color: var(--site-teal); font-size: 62px; font-weight: 400; letter-spacing: -.05em; }
    .contact-list strong { font-size: 25px; font-weight: 700; }
    .contact-list small { display: block; margin-top: 5px; color: var(--site-muted); font-size: 13px; font-weight: 450; }
    .contact-list i { color: var(--site-teal); }
    .site-footer { width: 100%; margin-top: auto; grid-template-columns: 1fr auto auto; gap: 18px; padding-top: 26px; font-size: 11px; }
    .site-footer span:nth-child(2) { justify-self: end; }
    .footer-mark { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 12px; background: var(--site-green); color: var(--site-white); font-size: 34px; font-weight: 550; }

    .design-system { padding: calc(var(--site-header-height) + 24px) 0 80px; }
    .token-grid { grid-template-columns: repeat(2, 1fr); }
    .token { min-height: 130px; }
}

@media (max-width: 520px) {
    :root { --site-header-height: 116px; }
    .site-container { width: calc(100% - 40px); }
    .site-header { padding-inline: 20px; }
    .site-logo { font-size: 34px; }
    .home-hero { padding-top: calc(var(--site-header-height) + 72px); }
    .home-copy .display-title { font-size: clamp(62px, 18.8vw, 92px); }
    .brand-tile { width: 130px; border-radius: 27px; }
    .brand-tile span { font-size: 82px; }
    .projects-intro .section-title, .projects-intro h1 { font-size: clamp(43px, 12.4vw, 62px); }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .project-card { min-height: 350px; }
    .project-card--taro, .project-card--betooyou { min-height: 390px; }
    .project-card__copy { padding: 12px 14px 8px; }
    .project-card__copy h2, .project-card__copy h3 { font-size: clamp(19px, 5.6vw, 27px); }
    .project-card__copy p { font-size: 12px; }
    .project-card__action { margin: 0 12px 14px; }
    .about-copy .section-title, .about-copy h1 { font-size: clamp(54px, 17.2vw, 82px); }
    .value-list { margin-top: 36px; }
    .value-list article { min-height: 118px; grid-template-columns: 102px 1fr; }
    .contact-copy .section-title, .contact-copy h1 { font-size: clamp(49px, 15vw, 70px); }
    .contact-list > a, .contact-list > span { grid-template-columns: 98px 1fr 28px; }
    .contact-index { font-size: 54px; }
    .site-footer span:nth-child(2) { display: none; }
    .variant-switch { right: 12px; bottom: 12px; }
}

@media (max-width: 360px) {
    .site-container { width: calc(100% - 32px); }
    .site-header { padding-inline: 16px; }
    .home-copy .display-title { font-size: 58px; }
    .projects-intro .section-title, .projects-intro h1 { font-size: 41px; }
    .project-card--taro, .project-card--betooyou { min-height: 350px; }
    .project-card__copy { padding-inline: 10px; }
    .project-card__action { padding-inline: 10px; font-size: 12px; }
    .contact-copy .section-title, .contact-copy h1 { font-size: 46px; }
    .contact-list > a, .contact-list > span { grid-template-columns: 86px 1fr 24px; }
    .contact-index { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal], .project-card[data-reveal] { opacity: 1 !important; transform: none !important; will-change: auto; }
    .project-card[data-reveal] .project-card__image img { transform: none !important; }
}
