/* ============ page banner (photo, shared treatment) ============ */
.banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(346px, 50svh, 560px);
    display: flex;
    align-items: flex-end;
    padding: 124px 0 64px;
    background:
        radial-gradient(120% 140% at 50% -30%, #0D1426 0%, var(--space-900) 60%),
        linear-gradient(180deg, #06080F 0%, #04050C 100%);
    border-bottom: 1px solid var(--line);
    margin-top: 64px;
}

.banner-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
}

.banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.banner-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 95% at 72% 12%, rgba(231, 196, 92, .20), transparent 58%);
    mix-blend-mode: overlay;
}

.banner-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.pass {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden
}

.sat {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, var(--gold-bright), var(--gold) 55%, var(--gold-deep) 100%);
    box-shadow: 0 0 10px 2px rgba(243, 215, 126, .9), 0 0 24px 7px rgba(231, 196, 92, .35);
    offset-path: path("M -60 470 C 340 180, 980 120, 1560 330");
    offset-rotate: auto;
    animation: pass 22s linear infinite;
}

.sat::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 46px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(231, 196, 92, 0), rgba(231, 196, 92, .5));
    border-radius: 2px;
}

@keyframes pass {
    0% {
        offset-distance: 0%;
        opacity: 0
    }

    8% {
        opacity: 1
    }

    88% {
        opacity: 1
    }

    100% {
        offset-distance: 100%;
        opacity: 0
    }
}

.banner .wrap {
    position: relative;
    z-index: 3
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.crumbs a {
    text-decoration: none;
    transition: color .2s
}

.crumbs a:hover {
    color: var(--gold)
}

.crumbs .sl {
    color: var(--line)
}

.crumbs [aria-current] {
    color: var(--ink)
}

.banner h1 {
    font-family: var(--jp-serif);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    font-size: clamp(38px, 5.6vw, 64px);
}

.banner .en {
    display: block;
    margin-top: 14px;
    font-family: var(--en);
    font-size: clamp(13px, 1.4vw, 15px);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============ shared section atoms ============ */
section {
    padding: clamp(72px, 10vw, 128px) 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow .tick {
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent)
}

.lede {
    font-family: var(--jp-serif);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.45;
    font-size: clamp(28px, 4.2vw, 50px)
}

.lede .accent {
    color: var(--gold-bright)
}

.body {
    margin-top: 30px;
    max-width: 64ch;
    color: var(--muted);
    font-size: clamp(14.5px, 1.3vw, 16px);
    line-height: 2.05
}

.body b {
    color: var(--ink);
    font-weight: 500
}

.body+.body {
    margin-top: 18px
}

/* ============ intro ============ */
.intro {
    border-bottom: 1px solid var(--hair)
}

.intro .en-quote {
    margin-top: 26px;
    font-family: var(--en);
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--ink);
    opacity: .82
}

/* ============ services ============ */
.services {
    background: linear-gradient(180deg, var(--space-900) 0%, var(--space-800) 50%, var(--space-900) 100%)
}

.svc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--hair);
}

.svc:first-of-type {
    border-top: none;
    padding-top: 0
}

.svc.flip .svc-visual {
    order: 2
}

.svc-tag {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.svc-tag .no {
    color: var(--gold-bright)
}

.svc-tag .ln {
    flex: 1;
    height: 1px;
    background: var(--hair)
}

.svc h2 {
    font-family: var(--jp-serif);
    font-weight: 600;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.4;
    margin-bottom: 8px
}

.svc h2 .en {
    display: block;
    margin-top: 8px;
    font-family: var(--en);
    font-size: 13px;
    letter-spacing: .16em;
    color: var(--muted);
    text-transform: uppercase
}

.svc p {
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
    margin-top: 18px
}

.svc p b {
    color: var(--ink);
    font-weight: 500
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px
}

.chip {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 15px;
    background: rgba(231, 196, 92, .05);
}

.chip b {
    color: var(--gold);
    font-weight: 500
}

/* service visuals (pure CSS/SVG, no external assets) */
.svc-visual {
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center
}

.svc-visual svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.dep-orbit {
    fill: none;
    stroke: var(--line);
    stroke-width: 1
}

.dep-orbit.active {
    stroke: var(--gold);
    stroke-opacity: .5;
    stroke-dasharray: 4 7
}

.cube {
    fill: rgba(231, 196, 92, .08);
    stroke: var(--gold);
    stroke-width: 1.4
}

.cube-min {
    fill: none;
    stroke: var(--gold-deep);
    stroke-width: 1.1;
    stroke-opacity: .6
}

.label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    fill: var(--muted)
}

.label.g {
    fill: var(--gold)
}

.movesat {
    animation: msat 16s linear infinite
}

@keyframes msat {
    from {
        offset-distance: 0%
    }

    to {
        offset-distance: 100%
    }
}

/* ============ benefits ============ */
.benefits {
    border-top: 1px solid var(--hair)
}

.bgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 56px;
    background: var(--hair);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair)
}

.bcard {
    background: var(--space-900);
    padding: 38px 30px 42px;
    position: relative
}

.bcard .ico {
    width: 34px;
    height: 34px;
    margin-bottom: 22px;
    color: var(--gold)
}

.bcard .ico svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4
}

.bcard h3 {
    font-family: var(--jp-serif);
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.5;
    margin-bottom: 12px
}

.bcard p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.95
}

.bcard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .5s cubic-bezier(.2, .7, .2, 1)
}

.bcard:hover::before {
    width: 100%
}

/* ============ made-in-japan / kansai story ============ */
.story {
    background: linear-gradient(180deg, var(--space-900), var(--space-800))
}

.story .lede {
    max-width: 20ch
}

.flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 60px;
    border: 1px solid var(--hair);
    border-radius: 2px;
    overflow: hidden;
}

.flow .step {
    position: relative;
    padding: 34px 28px 38px;
    border-right: 1px solid var(--hair)
}

.flow .step:last-child {
    border-right: none
}

.flow .step .kanji {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--gold);
    margin-bottom: 16px;
    display: block
}

.flow .step h4 {
    font-family: var(--jp-serif);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px
}

.flow .step h4 .en {
    display: block;
    font-family: var(--en);
    font-size: 11.5px;
    letter-spacing: .16em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 6px
}

.flow .step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9
}

.flow .step::after {
    /* arrow between steps */
    content: "→";
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--gold);
    font-size: 16px;
    background: var(--space-900);
    padding: 4px 0;
}

.flow .step:last-child::after {
    content: none
}

.kansai-note {
    margin-top: 56px;
    padding: 32px 34px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: radial-gradient(90% 200% at 88% 50%, rgba(201, 146, 10, .08), transparent 60%);
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.kansai-note .pin {
    flex: 0 0 auto;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
}

.kansai-note p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.95;
    flex: 1;
    min-width: 260px
}

.kansai-note p b {
    color: var(--ink);
    font-weight: 500
}

/* ============ CTA ============ */
.cta {
    border-top: 1px solid var(--line);
    background: radial-gradient(90% 160% at 78% 50%, rgba(201, 146, 10, .10), transparent 60%), var(--space-900)
}

.cta .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap
}

.cta h2 {
    font-family: var(--jp-serif);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.5
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    font-weight: 500;
    font-size: 15px;
    color: var(--space-900);
    background: var(--gold);
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, background .25s
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    background: var(--gold-bright);
    box-shadow: 0 10px 30px -8px rgba(231, 196, 92, .55)
}

.btn .arr {
    transition: transform .25s
}

.btn:hover .arr {
    transform: translateX(4px)
}

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

/* ============ responsive ============ */
@media (max-width:1080px) {
    .bgrid {
        grid-template-columns: 1fr
    }

    .flow {
        grid-template-columns: 1fr
    }

    .flow .step {
        border-right: none;
        border-bottom: 1px solid var(--hair)
    }

    .flow .step:last-child {
        border-bottom: none
    }

    .flow .step::after {
        content: "↓";
        right: auto;
        left: 50%;
        top: auto;
        bottom: -11px;
        transform: translateX(-50%)
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px 32px
    }
}

@media (max-width:820px) {

    .svc,
    .svc.flip {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .svc.flip .svc-visual {
        order: 0
    }

    .svc-visual {
        max-width: 380px;
        margin: 0 auto
    }
}

@media (max-width:960px) {
    .banner-photo img {
        object-position: center 42%
    }
}

@media (max-width:560px) {
    .banner {
        padding: 140px 0 48px;
        min-height: clamp(380px, 52svh, 470px)
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .cta .wrap {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (prefers-reduced-motion:reduce) {

    .sat,
    .movesat,
    .foot-bottom .dot {
        animation: none !important
    }

    .sat {
        offset-distance: 24%
    }

    .movesat {
        offset-distance: 30%
    }

    .bcard::before,
    .svc * {
        transition: none
    }
}