/* ==========================================================================
   Kamogawa Inc. — v2
   Luxe Editorial Dark
   ========================================================================== */

:root {
    /* === Theme: White × Gray (DMM / Apple-like) === */
    --bg:        #FFFFFF;
    --bg-2:      #F5F5F7;
    --line:      #D2D2D7;
    --text:      #1D1D1F;
    --text-dim:  #6E6E73;
    --accent:    #00B9EF;
}

:root {
    --serif-en:  'Inter Tight', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --serif-ja:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --sans-en:   'Inter Tight', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --sans-ja:   'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --max:       1240px;
    --gutter:    clamp(20px, 4vw, 56px);
    --section-y: clamp(96px, 14vw, 180px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans-ja);
    font-size: 17px;
    line-height: 2;
    font-weight: 500;
    letter-spacing: 0;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

/* ============================ Header ============================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.site-header,
.site-header .site-nav a { color: var(--text); }
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom-color: var(--line);
}

.site-logo {
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.025em;
    color: var(--text);
    line-height: 1;
}

.site-nav ul {
    display: flex;
    gap: 38px;
    list-style: none;
}
.site-nav a {
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    background: none; border: none;
    width: 28px; height: 20px;
    position: relative;
    cursor: pointer;
    margin-left: 18px;
}
.nav-toggle span {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { top: calc(100% - 4px); }
.nav-toggle.is-open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
    background: var(--bg);
    padding: 140px var(--gutter) 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: var(--text);
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    animation: heroIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}
.hero-mark {
    position: relative;
    max-width: 1080px;
    aspect-ratio: 4 / 1;
    margin: 0 auto;
}
.hero-mark .kamo-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hero-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(45% + 6px);
    margin: 0;
    z-index: 2;
    color: var(--text);
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.0;
    letter-spacing: -0.035em;
    text-align: center;
}

/* Kamogawa river — animated brand mark */
.kamo-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
}
.kamo-branch-top,
.kamo-branch-bot {
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
}
.kamo-stem {
    stroke-dasharray: 1260;
    stroke-dashoffset: 1260;
}
.kamo-branch-top { animation: kamo-draw 1.4s 0.6s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.kamo-branch-bot { animation: kamo-draw 1.4s 0.9s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.kamo-stem       { animation: kamo-draw 2.0s 2.1s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
@keyframes kamo-draw {
    to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .kamo-line { stroke-dashoffset: 0; animation: none; }
}
.hero-caption {
    margin-top: 22px;
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.hero-caption .ja {
    font-family: var(--sans-ja);
    letter-spacing: 0.05em;
    text-transform: none;
    margin-right: 8px;
    color: var(--text-dim);
}

/* ============================ News list (inside About Us) ============================ */
.news-list {
    list-style: none;
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 14px;
}
.news-list li {
    display: flex;
    gap: 28px;
    align-items: baseline;
    font-size: 15px;
    line-height: 1.7;
}
.news-date {
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    min-width: 50px;
}
.news-text {
    color: var(--text);
    font-weight: 500;
    text-wrap: pretty;
}
.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
    .news-list li { flex-direction: column; gap: 2px; font-size: 14px; }
    .news-date  { min-width: 0; }
}

/* ============================ Section base ============================ */
.section {
    padding: var(--section-y) var(--gutter);
    position: relative;
}
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-head {
    margin-bottom: 80px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.section-title + .section-lead { margin-top: 18px; }
.section-number {
    font-family: var(--sans-en);
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}
.section-title {
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 76px);
    letter-spacing: -0.035em;
    line-height: 1.0;
    color: var(--text);
}
.section-title-ja {
    font-family: var(--serif-ja);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: 0.02em;
}
.section-lead {
    max-width: 680px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.95;
}

/* ============================ Services ============================ */
.subgroup-label {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
}
.subgroup-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.subgroup-label + .subgroup-label {
    margin-top: 120px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 96px;
}
.featured-card {
    display: block;
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}
.featured-photo {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 36px;
    background: var(--bg-2);
    position: relative;
}
.featured-tap {
    display: none;
}
@media (hover: none) {
    .featured-tap {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: var(--text);
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        z-index: 2;
    }
}
.featured-photo img,
.featured-photo video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.96);
}
.featured-card:hover .featured-photo img,
.featured-card:hover .featured-photo video {
    transform: scale(1.05);
    filter: brightness(1.05);
}
.featured-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 9px 14px;
    border: 1px solid var(--text);
}
.featured-body {
    max-width: 720px;
}
.featured-name {
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: clamp(30px, 3.2vw, 40px);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1.15;
    color: var(--text);
    transition: color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-card:hover .featured-name {
    color: var(--accent);
    transform: translateX(4px);
}
.featured-name-aux {
    font-weight: 400;
}
.featured-name-ja {
    font-family: var(--sans-ja);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    margin-bottom: 22px;
}
.featured-desc {
    color: var(--text);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 0;
}
.featured-note {
    margin-top: 14px;
    margin-bottom: 0;
    font-family: var(--sans-ja);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}
.featured-arrow {
    display: inline-block;
    margin-top: 28px;
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: transform 0.4s ease, color 0.3s ease;
}
.featured-card:hover .featured-arrow {
    transform: translateX(8px);
    color: var(--accent);
}

/* Private Brand (single, horizontal) */
.pb-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.pb-photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-2);
}
.pb-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.96);
}
.pb-card:hover .pb-photo img { transform: scale(1.05); }
.pb-content { padding: 8px 0; }
.pb-name {
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--text);
}
.pb-name-ja {
    font-family: var(--sans-ja);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 26px;
}
.pb-desc {
    color: var(--text);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 32px;
}
.pb-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans-en);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent);
    transition: gap 0.3s ease, color 0.3s ease;
}
.pb-link:hover { gap: 18px; color: var(--accent); }

/* ============================ Clients ============================ */
/* Marquee label (inline section heading) */
.marquee-label {
    text-align: center;
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 88px 0 28px;
}

/* Auto-scrolling marquee (2-row, opposite directions) */
.marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
}
.marquee-track--reverse {
    animation-direction: reverse;
    animation-duration: 70s;
}
.marquee:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-item {
    flex-shrink: 0;
    padding: 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    min-width: 200px;
}
.marquee-item img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.4s ease, opacity 0.4s ease;
    mix-blend-mode: multiply;
}
.marquee-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}
.marquee-item span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    transition: color 0.4s ease;
    white-space: nowrap;
}
.marquee-item:hover span {
    color: var(--text);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}
@media (max-width: 640px) {
    .marquee-item { padding: 0 32px; min-width: 160px; height: 80px; }
    .marquee-item img { max-height: 40px; max-width: 110px; }
    .marquee-item span { font-size: 14px; }
}

.partner-group + .partner-group { margin-top: 72px; }
.partner-group-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.partner-label-en {
    font-family: var(--sans-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}
.partner-label-ja {
    font-family: var(--sans-ja);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.partner-count {
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    margin-left: auto;
    letter-spacing: 0.1em;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: transparent;
}
.client-cell {
    width: 25%;
    background: var(--bg-2);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    aspect-ratio: 5 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    text-align: center;
    transition: background-color 0.4s ease;
}
.client-cell:hover { background: var(--bg); }
.client-logo {
    max-height: 64px;
    max-width: 70%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.5s ease, opacity 0.5s ease;
    margin-bottom: 14px;
    mix-blend-mode: multiply;
}
.client-cell:hover .client-logo {
    filter: grayscale(0);
    opacity: 1;
}
.client-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    line-height: 1.5;
}
.client-cell--more {
    font-family: var(--sans-en);
    font-weight: 500;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.client-cell--text {
    text-decoration: none;
    color: var(--text);
}
.client-cell--text .client-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.client-cell--text:hover .client-name {
    color: var(--accent);
}

/* ============================ Company ============================ */
.about-statement {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.about-statement p {
    font-family: var(--sans-ja);
    font-weight: 600;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.7;
    letter-spacing: -0.005em;
    color: var(--text);
    margin: 0;
}
.about-statement span {
    color: var(--text);
    background: linear-gradient(transparent 60%, color-mix(in srgb, var(--accent) 24%, transparent) 60%);
    padding: 0 4px;
}


.about-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.about-info-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-info-label {
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.about-info-value {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text);
}
.about-info-value em {
    font-style: normal;
    color: var(--text-dim);
    font-size: 13.5px;
}

/* ============================ Contact ============================ */
.contact { background: var(--bg-2); }
.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-lead {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.8;
    text-align: center;
    max-width: 560px;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}
.contact-direct {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.contact-direct dt {
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.contact-direct dd {
    font-family: var(--sans-en);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 28px;
    width: 100%;
    max-width: 720px;
}
.field {
    position: relative;
    border-bottom: 1px solid var(--line);
    padding-top: 18px;
    transition: border-color 0.3s ease;
}
.field--full { grid-column: 1 / -1; }
.field:focus-within { border-bottom-color: var(--accent); }
.field label {
    position: absolute;
    left: 0;
    top: 24px;
    font-size: 13px;
    color: var(--text-dim);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}
.field input,
.field textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 4px 0 12px;
    resize: vertical;
}
.field textarea { min-height: 100px; }
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.btn-submit {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 32px;
    background: var(--text);
    border: 1px solid var(--text);
    color: var(--bg);
    font-family: var(--sans-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 14px 44px;
    cursor: pointer;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}
.btn-submit:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    padding: 14px 52px;
}

/* ============================ Footer ============================ */
.site-footer {
    padding: 40px var(--gutter);
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}
.footer-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}
.footer-info {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.5;
}
.footer-info a:hover { color: var(--text); }
.footer-brand-mark {
    font-family: var(--sans-en);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1;
    margin-top: 10px;
}
.footer-copy {
    font-family: var(--sans-en);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--text);
    line-height: 1;
    margin-top: 4px;
}

/* ============================ Section title char stagger ============================ */
.kt-word {
    display: inline-block;
    white-space: nowrap;
}
.kt-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.4em);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.section-head.is-visible .kt-char {
    opacity: 1;
    transform: translateY(0);
}

/* ============================ Reveal animation ============================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================ Responsive ============================ */
@media (max-width: 960px) {
    .featured-grid { gap: 72px; }
    .pb-card       { grid-template-columns: 1fr; gap: 32px; }
    .pb-photo      { aspect-ratio: 5 / 4; }
    .subgroup-label + .subgroup-label { margin-top: 96px; }
    .client-cell   { width: 33.333%; }
    .about-info    { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
    .contact-form  { grid-template-columns: 1fr; }
    .section-head  { gap: 20px; margin-bottom: 56px; }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .site-header   { padding: 18px var(--gutter); }
    .site-nav      { display: none; }
    .site-nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--bg);
        align-items: center;
        justify-content: center;
        z-index: 99;
    }
    .site-nav.is-open ul {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }
    .site-nav.is-open a { font-size: 16px; letter-spacing: 0.2em; }
    .nav-toggle { display: block; z-index: 101; }

    .hero-media .pc { display: none; }
    .hero-media .sp { display: block; }
    .hero { min-height: 520px; }


    .client-cell   { width: 50%; }

    .about-statement { margin-bottom: 64px; }
    .about-info    { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }

    .footer-brand-mark  { font-size: 14px; }
    .footer-copy        { font-size: 10px; }

    .section-head  {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .kt-char { opacity: 1; transform: none; }
}
