@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');
:root {
    --paper:#f8f8f6;
    --ink:#16191b;
    --muted:#6f7475;
    --blue:#167db2;
    --gold:#b5a18b;
    --border:#dcdedb;
    --dark:#161a1b
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter',Arial,sans-serif;
    overflow-x:hidden
}
button,a {
    font:inherit
}
a {
    text-decoration:none;
    color:inherit
}
button {
    cursor:pointer
}
img {
    display:block;
    width:100%;
    object-fit:cover
}
::selection {
    background:#a5d4e8;
    color:#111
}
#progress {
    height:2px;
    position:fixed;
    z-index:110;
    top:0;
    left:0;
    background:#5fb5dc;
    width:0
}
#header {
    position:fixed;
    z-index:100;
    left:0;
    right:0;
    top:0;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5%;
    color:white;
    transition:background .35s,color .35s,box-shadow .35s
}
#header.scrolled {
    background:rgba(250,250,249,.97);
    color:#17191b;
    box-shadow:0 1px 0 #ddd
}
#header .brand {
    display:flex;
    align-items:center;
    gap:12px;
    min-width:230px
}
.brand-icon {
    border:2px solid currentColor;
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    font-size:24px;
    font-weight:800;
    position:relative;
    line-height:1
}
.brand-icon span {
    font-size:12px;
    position:absolute;
    right:2px;
    top:2px
}
.brand-name {
    font-family:'Archivo',Arial,sans-serif;
    font-weight:800;
    font-size:15px;
    letter-spacing:.15em;
    line-height:1.1
}
.brand-name small {
    display:block;
    letter-spacing:.3em;
    font-size:9px;
    margin-top:5px;
    font-weight:600
}
#nav {
    display:flex;
    gap:clamp(15px,2.3vw,39px);
    align-items:center
}
#nav a {
    font-size:10px;
    letter-spacing:.13em;
    font-weight:700;
    transition:opacity .2s
}
#nav a:hover {
    opacity:.55
}
.header-actions {
    display:flex;
    align-items:center;
    gap:19px
}
#lang,#theme,#menu {
    background:none;
    color:inherit;
    border:0;
    font-size:13px;
    font-weight:700
}
#lang span {
    opacity:.6
}
.contact-btn {
    padding:14px 18px;
    border:1px solid currentColor;
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    white-space:nowrap;
    transition:background .25s,color .25s
}
.contact-btn span {
    margin-left:12px
}
.contact-btn:hover {
    background:#fff;
    color:#111
}
#header.scrolled .contact-btn:hover {
    background:#111;
    color:white
}
#menu {
    display:none
}
.hero {
    min-height:100svh;
    height:min(950px,100svh);
    position:relative;
    color:white;
    background:#343e44;
    overflow:hidden
}
.hero-image {
    position:absolute;
    inset:0;
    background-image:url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=85');
    background-size:cover;
    background-position:center 48%;
    transform:scale(1.04);
    animation:heroZoom 11s ease-out forwards
}
.hero-shade {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(10,20,27,.75),rgba(9,16,19,.2) 85%),linear-gradient(0deg,rgba(5,9,13,.65),transparent 50%)
}
@keyframes heroZoom {
    to {
        transform:scale(1)
    }
}
.hero-inner {
    position:absolute;
    left:8%;
    right:8%;
    top:50%;
    transform:translateY(-43%)
}
.eyebrow,.section-kicker,.mini-label {
    font-size:10px;
    font-weight:700;
    letter-spacing:.19em
}
.eyebrow {
    display:flex;
    align-items:center;
    gap:12px
}
.line-dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:#69c0e5;
    box-shadow:0 0 20px #6bd6ff
}
.hero h1,.huge,.contact-section h2 {
    font-family:'Archivo',Arial,sans-serif;
    font-weight:800;
    letter-spacing:-.065em;
    line-height:.98
}
.hero h1 {
    font-size:clamp(70px,10.5vw,175px);
    margin:34px 0 36px;
    max-width:1250px
}
.hero h1 em,.huge i,.contact-section h2 i {
    font-style:normal;
    font-weight:400
}
.hero-bottom-text {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px
}
.hero-bottom-text p {
    font-size:clamp(14px,1.2vw,18px);
    line-height:1.65;
    max-width:420px
}
.hero-links {
    display:flex;
    align-items:center;
    gap:35px
}
.btn {
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    padding:20px 24px;
    white-space:nowrap
}
.btn-white {
    background:white;
    color:#151515
}
.btn span,.text-link span {
    margin-left:25px
}
.text-link {
    font-size:11px;
    font-weight:700;
    letter-spacing:.1em;
    border-bottom:1px solid currentColor;
    padding:0 0 12px
}
.hero-floor {
    position:absolute;
    bottom:0;
    left:5%;
    right:5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:27px 0 34px;
    font-size:10px;
    letter-spacing:.16em;
    font-weight:700
}
.hero-floor button {
    background:none;
    border:0;
    color:inherit;
    font-size:10px;
    letter-spacing:.16em;
    font-weight:700
}
.hero-floor button span {
    margin-left:15px;
    display:inline-block;
    animation:bob 1.6s ease-in-out infinite
}
@keyframes bob {
    50% {
        transform:translateY(7px)
    }
}
.hero-floor-line {
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:1px;
    background:#ffffff70;
    overflow:hidden
}
.hero-floor-line i {
    position:absolute;
    width:23%;
    height:100%;
    background:white;
    animation:lineMove 4s linear infinite
}
@keyframes lineMove {
    from {
        left:-23%
    }
    to {
        left:100%
    }
}
.vertical-side {
    position:absolute;
    right:17px;
    top:44%;
    writing-mode:vertical-rl;
    font-size:9px;
    letter-spacing:.16em;
    opacity:.7
}
.section {
    padding:125px 8% 135px
}
.section-kicker {
    display:flex;
    gap:22px;
    align-items:center;
    margin-bottom:70px
}
.section-kicker span {
    color:var(--blue)
}
.huge {
    font-size:clamp(42px,6.3vw,103px);
    margin:0
}
.huge i {
    font-weight:400
}
.period {
    color:var(--blue)
}
.about-top {
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:8%;
    align-items:end
}
.about-intro {
    max-width:410px
}
.about-intro p,.about-story p {
    font-size:15px;
    line-height:1.85;
    color:#606768
}
.mini-label {
    color:var(--blue)
}
.about-lower {
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:10%;
    margin-top:95px;
    align-items:center
}
.about-photo {
    margin:0
}
.about-photo img {
    aspect-ratio:1.3;
    filter:saturate(.78)
}
figcaption {
    display:flex;
    justify-content:space-between;
    font-size:9px;
    letter-spacing:.1em;
    font-weight:700;
    padding-top:16px
}
.about-story h3 {
    font-family:'Archivo',Arial,sans-serif;
    font-size:clamp(27px,3vw,48px);
    letter-spacing:-.04em;
    line-height:1.1
}
.round-link {
    display:inline-flex;
    align-items:center;
    gap:25px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.1em;
    margin-top:22px
}
.round-link span {
    width:44px;
    height:44px;
    border:1px solid #aeb1b0;
    border-radius:50%;
    display:grid;
    place-items:center;
    font-size:19px;
    transition:background .25s,color .25s,transform .25s
}
.round-link:hover span {
    background:var(--ink);
    color:white;
    transform:rotate(45deg)
}
.stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid var(--border);
    margin-top:115px;
    padding-top:55px
}
.stat {
    padding-left:35px;
    border-left:1px solid var(--border)
}
.stat:first-child {
    padding-left:0;
    border:0
}
.stat strong {
    font-family:'Archivo',Arial,sans-serif;
    font-size:clamp(70px,10vw,150px);
    font-weight:600;
    letter-spacing:-.08em
}
.stat>span {
    font-size:40px;
    color:var(--gold)
}
.stat small {
    display:block;
    letter-spacing:.14em;
    font-size:11px;
    margin-top:10px
}
.prototype-note {
    font-size:11px;
    color:#858b8b;
    margin-top:35px
}
.dark-section {
    background:var(--dark);
    color:white
}
.dark-section .section-kicker span {
    color:#b7a58e
}
.approach-grid {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:10%
}
.approach .huge {
    font-size:clamp(42px,5.5vw,86px)
}
.approach-desc {
    max-width:470px;
    line-height:1.8;
    color:#aeb3b3;
    margin:35px 0 65px
}
.approach-list .approach-item {
    display:grid;
    grid-template-columns:50px 1fr 30px;
    gap:10px;
    align-items:center;
    border-top:1px solid #444a4a;
    padding:24px 0;
    transition:padding .3s,background .3s
}
.approach-item:last-child {
    border-bottom:1px solid #444a4a
}
.approach-item:hover {
    padding-left:14px;
    background:#ffffff09
}
.approach-item .num {
    color:#b5a18b;
    font-size:12px
}
.approach-item h3 {
    margin:0 0 5px;
    font-size:24px;
    font-weight:500
}
.approach-item p {
    margin:0;
    color:#9ca3a3;
    font-size:12px;
    line-height:1.5
}
.approach-item .arrow {
    font-size:22px;
    transition:transform .3s
}
.approach-item:hover .arrow {
    transform:translateX(9px)
}
.approach-visual {
    margin:120px 0 0;
    align-self:start;
    position:sticky;
    top:130px
}
.approach-visual img {
    height:min(720px,68vh);
    filter:saturate(.65)
}
.approach-visual figcaption {
    color:#b5a18b
}
.section-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:85px
}
.section-head .round-link {
    white-space:nowrap
}
.service-grid {
    display:grid;
    grid-template-columns:1fr .92fr;
    gap:9%;
    align-items:start
}
.service-item {
    border-top:1px solid #d6d9d7;
    display:grid;
    grid-template-columns:40px 1fr 25px;
    align-items:center;
    gap:15px;
    padding:24px 0;
    cursor:pointer;
    transition:padding .25s
}
.service-item:last-child {
    border-bottom:1px solid #d6d9d7
}
.service-item:hover,.service-item.active {
    padding-left:12px
}
.service-item .num {
    font-size:11px;
    color:#999
}
.service-item h3 {
    font-size:clamp(21px,2.7vw,39px);
    font-weight:500;
    letter-spacing:-.045em;
    margin:0 0 8px;
    transition:color .25s
}
.service-item.active h3,.service-item:hover h3 {
    color:var(--blue)
}
.service-item p {
    font-size:12px;
    color:#777;
    margin:0;
    line-height:1.5
}
.service-item .arrow {
    font-size:20px
}
.service-visual {
    position:sticky;
    top:125px;
    overflow:hidden
}
.service-visual img {
    height:570px;
    transition:opacity .3s,transform .7s
}
.service-visual img.changing {
    opacity:.35;
    transform:scale(1.035)
}
.service-caption {
    display:flex;
    justify-content:space-between;
    padding-top:15px;
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em
}
.projects {
    background:#f0f1ee
}
.projects-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:65px 30px
}
.project-card {
    cursor:pointer
}
.project-card:nth-child(3n+2) {
    margin-top:85px
}
.project-card img {
    aspect-ratio:1.25;
    transition:transform .6s,filter .6s;
    filter:saturate(.75)
}
.project-card .project-img {
    overflow:hidden
}
.project-card:hover img {
    transform:scale(1.06);
    filter:saturate(1)
}
.project-card .project-meta {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #cfd2d0;
    padding:20px 0
}
.project-card h3 {
    font-size:25px;
    font-weight:600;
    letter-spacing:-.03em;
    margin:0
}
.project-card small {
    color:#7b8180;
    font-size:10px;
    letter-spacing:.1em
}
.expertise .huge {
    margin-bottom:85px
}
.expertise-grid {
    display:grid;
    grid-template-columns:1fr 1.05fr 1fr;
    gap:30px;
    align-items:center
}
.expertise-grid>img {
    height:560px;
    filter:grayscale(.5)
}
.expertise-items>div {
    border-top:1px solid #414747;
    padding:28px 0;
    display:flex;
    flex-direction:column;
    gap:12px
}
.expertise-items>div span {
    font-size:11px;
    color:#b5a18b
}
.expertise-items strong {
    font-size:clamp(16px,1.6vw,24px);
    font-weight:500
}
.expertise-items small {
    font-size:10px;
    letter-spacing:.08em;
    color:#a6adad
}
.why-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:90px
}
.why-grid article {
    border-top:1px solid #c7cbca;
    padding-top:25px
}
.why-grid article>span {
    font-size:12px;
    color:var(--blue)
}
.why-grid h3 {
    font-size:24px;
    margin:45px 0 20px
}
.why-grid p {
    font-size:13px;
    color:#707777;
    line-height:1.8
}
.process {
    background:#e9ebe8
}
.process-row {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin-top:90px
}
.process-card {
    border-top:1px solid #b9c0bc;
    padding:20px 10px 0 0
}
.process-card span {
    color:var(--blue);
    font-size:12px
}
.process-card h3 {
    font-size:26px;
    margin:55px 0 15px
}
.process-card p {
    font-size:12px;
    line-height:1.7;
    color:#707777
}
.contact-section {
    background:#1a252b;
    color:white;
    padding:125px 8% 145px
}
.contact-section>p {
    font-size:13px;
    letter-spacing:.13em;
    margin:70px 0 25px;
    color:#c8d2d5
}
.contact-section h2 {
    font-size:clamp(58px,9.5vw,150px);
    margin:0 0 70px
}
.contact-section h2>span {
    color:#5ab2d5
}
.contact-large {
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-top:1px solid #69777d;
    border-bottom:1px solid #69777d;
    padding:28px 0;
    font-size:14px;
    letter-spacing:.12em
}
.contact-large span {
    font-size:30px;
    transition:transform .2s
}
.contact-large:hover span {
    transform:translate(7px,-7px)
}
footer {
    background:#101517;
    color:white;
    padding:90px 8% 25px
}
.footer-top {
    display:grid;
    grid-template-columns:2fr 1fr 1.3fr;
    gap:50px;
    padding-bottom:110px
}
.footer-brand {
    font-family:'Archivo',Arial,sans-serif;
    font-weight:800;
    font-size:31px;
    letter-spacing:-.04em
}
.footer-brand span {
    display:block;
    font-size:12px;
    letter-spacing:.4em
}
.footer-top p {
    color:#a0a9aa;
    font-size:13px;
    line-height:1.8
}
.footer-top>div:not(:first-child) {
    display:flex;
    flex-direction:column;
    gap:15px
}
.footer-top small {
    color:#819195;
    letter-spacing:.15em;
    margin-bottom:15px
}
.footer-top a:not(.footer-brand) {
    font-size:14px
}
.footer-base {
    display:flex;
    justify-content:space-between;
    border-top:1px solid #3b4345;
    padding-top:25px;
    font-size:10px;
    letter-spacing:.1em;
    color:#a0a9aa
}
.reveal {
    opacity:0;
    transform:translateY(35px);
    transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)
}
.reveal.visible {
    opacity:1;
    transform:none
}
.overlay-page {
    position:fixed;
    inset:0;
    z-index:150;
    background:var(--paper);
    overflow-y:auto;
    transform:translateX(105%);
    transition:transform .65s cubic-bezier(.7,0,.2,1)
}
.overlay-page.open {
    transform:translateX(0)
}
.overlay-close {
    margin:50px 8% 60px;
    background:none;
    border:0;
    border-bottom:1px solid;
    font-size:12px;
    font-weight:700;
    letter-spacing:.1em;
    padding-bottom:12px
}
.overlay-inner {
    padding:0 8% 120px
}
.overlay-inner h1 {
    font:800 clamp(50px,9vw,140px)/1 Manrope;
    letter-spacing:-.07em;
    margin:0 0 50px
}
.overlay-inner>p {
    font-size:20px;
    max-width:800px;
    line-height:1.6
}
.overlay-inner img {
    max-height:65vh;
    margin:50px 0
}
.overlay-inner .detail-list {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-top:65px
}
.detail-list article {
    border-top:1px solid #bbb;
    padding-top:20px
}
.detail-list h3 {
    font-size:27px
}
.detail-list p {
    color:#666;
    line-height:1.7
}
body.night {
    --paper:#1c2224;
    --ink:#f5f6f5;
    --muted:#aeb5b5;
    --border:#4d5555;
    background:var(--paper)
}
body.night .section:not(.dark-section),body.night .projects {
    background:var(--paper)
}
body.night .about-intro p,body.night .about-story p,body.night .service-item p,body.night .why-grid p,body.night .process-card p {
    color:#b7bdbd
}
body.night #header.scrolled {
    background:#1c2224;
    color:white
}
body.night .process {
    background:#252d2f
}
body.night .overlay-page {
    background:#1c2224
}
body.night .overlay-inner p {
    color:#bbb
}
@media(max-width:1100px) {
    #header {
        padding:0 4%
    }
    #header .brand {
        min-width:190px
    }
    #nav {
        gap:14px
    }
    .header-actions {
        gap:10px
    }
    .hero-inner {
        left:6%;
        right:6%
    }
    .section {
        padding:95px 6%
    }
    .about-lower {
        gap:6%
    }
    .approach-grid {
        gap:5%
    }
    .contact-section {
        padding:100px 6%
    }
}
@media(max-width:800px) {
    #header {
        height:76px;
        padding:0 5%
    }
    #nav {
        position:absolute;
        top:76px;
        left:0;
        right:0;
        background:#f8f8f6;
        color:#17191b;
        display:none;
        flex-direction:column;
        align-items:stretch;
        padding:30px 7%;
        gap:0;
        box-shadow:0 12px 20px #0002
    }
    #nav.open {
        display:flex
    }
    #nav a {
        padding:17px 0;
        border-bottom:1px solid #ddd;
        font-size:13px
    }
    #menu {
        display:block
    }
    .contact-btn {
        display:none
    }
    .brand-name {
        font-size:12px
    }
    .hero {
        height:100svh;
        min-height:650px
    }
    .hero h1 {
        font-size:clamp(57px,12vw,100px)
    }
    .hero-inner {
        top:46%
    }
    .hero-bottom-text {
        display:block
    }
    .hero-links {
        margin-top:25px;
        gap:22px
    }
    .hero-floor {
        font-size:8px
    }
    .hero-floor span:nth-child(2) {
        display:none
    }
    .vertical-side {
        display:none
    }
    .about-top,.about-lower,.approach-grid,.service-grid {
        grid-template-columns:1fr
    }
    .about-intro {
        margin-top:35px
    }
    .about-lower {
        margin-top:50px
    }
    .about-story {
        margin-top:35px
    }
    .approach-visual,.service-visual {
        position:relative;
        top:auto;
        margin-top:45px
    }
    .approach-visual img,.service-visual img {
        height:450px
    }
    .section-head {
        display:block
    }
    .section-head .round-link {
        margin:30px 0 0
    }
    .projects-grid {
        gap:40px 20px
    }
    .expertise-grid {
        grid-template-columns:1fr
    }
    .expertise-grid>img {
        height:450px
    }
    .why-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .process-row {
        grid-template-columns:repeat(2,1fr)
    }
    .footer-top {
        grid-template-columns:1.3fr 1fr
    }
    .footer-top>div:last-child {
        grid-column:span 2
    }
    .stats {
        margin-top:70px
    }
    .stat strong {
        font-size:70px
    }
    .stat>span {
        font-size:25px
    }
}
@media(max-width:520px) {
    .hero h1 {
        font-size:clamp(49px,12vw,73px)
    }
    .hero-inner {
        top:44%
    }
    .hero-bottom-text p {
        font-size:13px
    }
    .hero-links {
        align-items:flex-start;
        flex-direction:column;
        gap:20px
    }
    .btn {
        padding:16px
    }
    .section {
        padding:78px 6%
    }
    .section-kicker {
        margin-bottom:45px
    }
    .huge {
        font-size:clamp(39px,10vw,60px)
    }
    .about-lower {
        gap:20px
    }
    .stats {
        grid-template-columns:1fr 1fr;
        gap:35px
    }
    .stat {
        padding-left:15px
    }
    .stat strong {
        font-size:70px
    }
    .stat:nth-child(3) {
        border:0;
        padding-left:0
    }
    .projects-grid {
        grid-template-columns:1fr
    }
    .project-card:nth-child(3n+2) {
        margin-top:0
    }
    .service-visual img {
        height:360px
    }
    .why-grid {
        grid-template-columns:1fr
    }
    .why-grid h3 {
        margin-top:25px
    }
    .process-row {
        grid-template-columns:1fr 1fr
    }
    .contact-section {
        padding:80px 6%
    }
    .contact-section h2 {
        font-size:clamp(49px,11vw,75px)
    }
    .footer-top {
        grid-template-columns:1fr
    }
    .footer-top>div:last-child {
        grid-column:auto
    }
    .footer-base {
        flex-wrap:wrap;
        gap:20px
    }
    .overlay-inner .detail-list {
        grid-template-columns:1fr
    }
    .hero-floor {
        left:6%;
        right:6%
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important
    }
    .reveal {
        opacity:1;
        transform:none
    }
}
/* Consistent monochrome design system */
:root {
    --paper:#f6f6f4;
    --ink:#191919;
    --muted:#757575;
    --blue:#777;
    --gold:#aaa;
    --border:#dededc;
    --dark:#1b1b1b
}
#progress {
    background:#777
}
::selection {
    background:#ccc;
    color:#111
}
.huge,.hero h1 {
    letter-spacing:-.075em
}
.night {
    --paper:#191919;
    --ink:#f0f0ee;
    --muted:#b4b4b4;
    --border:#444
}
#header.scrolled {
    background:rgba(247,247,245,.98)
}
body.night #header.scrolled {
    background:rgba(27,27,27,.98);
    color:#f2f2f2
}
body.night .section:not(.dark-section),body.night footer {
    background:var(--paper);
    color:var(--ink)
}
/* Typography refinement - intentionally not claimed as Karyaguna's exact font */
.huge,.hero h1,.contact-section h2 {
    font-family:"Archivo",Arial,sans-serif;
    font-weight:900;
    letter-spacing:-.075em
}
h1,h2,h3 {
    font-family:"Archivo",Arial,sans-serif
}
body {
    --blue:#676767;
    --gold:#a0a0a0
}
::selection {
    background:#bfbfbf;
    color:#111
}
/* =============================================================
   MIYA MOTO — REVISION 01 (14 OCT 2026)
   Scoped: official logo, navbar, hero footer, CTA, scroll indicator.
   All other original site styles remain intact.
   ============================================================= */
:root {
    --blue:#73787c;
    --gold:#a4a7aa;
}
#header .brand {
    min-width: 224px;
    gap: 0;
    flex: 0 0 auto;
}
#header .brand-picture {
    display:block;
    width:212px;
    flex:0 0 212px;
}
#header .brand-logo {
    width:100%;
    height:auto;
    max-height:54px;
    object-fit:contain;
    object-position:left center;
    display:block;
}
#header.scrolled .brand-logo {
    filter: brightness(0) saturate(0) opacity(.86);
}
body.night #header.scrolled .brand-logo {
    filter:none;
}
#nav {
    gap:clamp(17px,2.15vw,33px);
}
#nav a {
    position:relative;
    display:inline-flex;
    align-items:center;
    min-height:36px;
    font-family:'Archivo',Arial,sans-serif;
    font-weight:800;
    font-size:11px;
    letter-spacing:.095em;
    white-space:nowrap;
    opacity:1;
}
#nav a::after {
    content:'';
    position:absolute;
    bottom:1px;
    left:0;
    right:0;
    height:2px;
    background:currentColor;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .32s cubic-bezier(.2,.8,.2,1);
}
#nav a:hover::after, #nav a:focus-visible::after {
    transform:scaleX(1);
}
#nav a:hover {
    opacity:1;
}
.hero .line-dot {
    background:#c5c8ca;
    box-shadow:0 0 18px #ffffff65;
}
/* Preserve headline and background exactly as original. */
.hero .hero-bottom-text {
    align-items:center;
    gap:28px;
    position:relative;
    transform:translateY(-22px);
}
.hero .hero-bottom-text p {
    margin:0;
    flex:0 1 420px;
}
.hero .hero-links {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    margin-right:70px;
    flex-shrink:0;
}
.hero .hero-links .btn, .hero .hero-links .text-link {
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    min-height:56px;
    font-size:10px;
    line-height:1.2;
}
.hero .hero-links .btn {
    padding:17px 21px;
}
.hero .hero-links .text-link {
    padding:17px 20px;
    border:1px solid rgba(255,255,255,.68);
    transition:background .25s,color .25s,border-color .25s;
}
.hero .hero-links .text-link:hover {
    background:white;
    color:#17191b;
    border-color:white;
}
.hero .hero-links .text-link span {
    margin-left:18px;
}
.hero .hero-floor {
    padding-top:32px;
    padding-bottom:35px;
}
.hero .hero-floor-line {
    top:0;
}
.hero .hero-floor #scrollNext {
    display:inline-flex;
    align-items:center;
    gap:14px;
    padding:0;
}
.hero .hero-floor #scrollNext .scroll-indicator {
    position:relative;
    width:13px;
    height:29px;
    margin-left:0;
    overflow:hidden;
    display:inline-block;
    animation:none;
    transform:none;
}
.hero .hero-floor #scrollNext .scroll-indicator-arrow {
    position:absolute;
    top:0;
    left:6px;
    display:block;
    margin:0;
    width:1.5px;
    height:21px;
    background:currentColor;
    animation:miyaScrollDown 1.85s linear infinite;
}
.hero .hero-floor #scrollNext .scroll-indicator-arrow::after {
    content:'';
    position:absolute;
    bottom:0;
    left:-3.5px;
    width:7px;
    height:7px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg);
}
@keyframes miyaScrollDown {
    0% {
        transform:translateY(-27px);
        opacity:0
    }
    17% {
        opacity:1
    }
    78% {
        opacity:1
    }
    100% {
        transform:translateY(34px);
        opacity:0
    }
}
@media(max-width:1180px) {
    #header .brand {
        min-width:188px
    }
    #header .brand-picture {
        width:176px;
        flex-basis:176px
    }
    #nav {
        gap:14px
    }
    #nav a {
        font-size:10px;
        letter-spacing:.07em
    }
    .hero .hero-links {
        margin-right:24px;
        gap:10px
    }
    .hero .hero-links .btn,.hero .hero-links .text-link {
        padding:13px 15px
    }
}
@media(max-width:800px) {
    #header .brand {
        min-width:0
    }
    #header .brand-picture {
        width:177px;
        flex-basis:177px
    }
    #nav a {
        min-height:46px
    }
    #nav a::after {
        bottom:7px;
        right:auto;
        width:80px
    }
    .hero .hero-bottom-text {
        display:block;
        transform:translateY(-10px)
    }
    .hero .hero-links {
        justify-content:flex-start;
        margin:20px 0 0;
        gap:12px
    }
    .hero .hero-links .btn,.hero .hero-links .text-link {
        min-height:48px
    }
}
@media(max-width:520px) {
    #header .brand-picture {
        width:157px;
        flex-basis:157px
    }
    .hero .hero-bottom-text {
        transform:translateY(-5px)
    }
    .hero .hero-links {
        flex-direction:row;
        align-items:stretch;
        flex-wrap:wrap;
        gap:9px;
        margin-top:14px
    }
    .hero .hero-links .btn,.hero .hero-links .text-link {
        font-size:9px;
        min-height:42px;
        padding:10px
    }
    .hero .hero-links .btn span,.hero .hero-links .text-link span {
        margin-left:10px
    }
    .hero .hero-floor #scrollNext {
        gap:7px
    }
}
@media(prefers-reduced-motion:reduce) {
    .hero .hero-floor #scrollNext .scroll-indicator-arrow {
        animation:none!important;
        transform:translateY(3px);
        opacity:1
    }
}
/* Logo MIYA MOTO official 2026: navbar-only update */
#header .brand {
    display:flex;
    align-items:center;
    min-width:0
}
#header .brand-logo {
    display:block;
    width:215px;
    height:auto;
    max-height:70px;
    object-fit:contain;
    object-position:left center
}
#header.scrolled:not(.night) .brand-logo {
    filter:brightness(0) saturate(0) opacity(.90)
}
body:not(.night) #header.scrolled .brand-logo {
    filter:brightness(0) saturate(0) opacity(.90)
}
body.night #header.scrolled .brand-logo {
    filter:none
}
@media(max-width:700px) {
    #header .brand-logo {
        width:155px;
        max-height:52px
    }
}
/* MIYA MOTO | Button and scroll interaction refinement, 2026-10-14 */
/* Same neutral outlined resting state; white fill appears only on hover/focus/press. */
.hero .hero-links .btn.btn-white,
.hero .hero-links .text-link.light {
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    min-height:56px;
    padding:17px 20px;
    border:1px solid rgba(255,255,255,.72);
    background:transparent;
    color:#fff;
    text-decoration:none;
    box-shadow:none;
    transition:background-color .28s ease,color .28s ease,border-color .28s ease,transform .28s ease;
}
.hero .hero-links .btn.btn-white:hover,
.hero .hero-links .btn.btn-white:focus-visible,
.hero .hero-links .text-link.light:hover,
.hero .hero-links .text-link.light:focus-visible {
    background:#fff;
    border-color:#fff;
    color:#17191b;
}
.hero .hero-links .btn.btn-white:active,
.hero .hero-links .text-link.light:active {
    transform:scale(.98)
}
/* Navbar CTA follows the same rule; no permanent black outline. */
#header .contact-btn {
    box-sizing:border-box;
    border:1px solid rgba(255,255,255,.72);
    outline:none;
    background:transparent;
    color:inherit;
    box-shadow:none;
    transition:background-color .28s ease,color .28s ease,border-color .28s ease;
}
#header .contact-btn:hover,
#header .contact-btn:focus-visible {
    background:#fff;
    color:#17191b;
    border-color:#fff
}
#header.scrolled .contact-btn {
    border-color:rgba(25,25,25,.5)
}
#header.scrolled .contact-btn:hover,
#header.scrolled .contact-btn:focus-visible {
    background:#17191b;
    color:#fff;
    border-color:#17191b
}
body.night #header.scrolled .contact-btn {
    border-color:rgba(255,255,255,.65)
}
body.night #header.scrolled .contact-btn:hover,
body.night #header.scrolled .contact-btn:focus-visible {
    background:#fff;
    color:#17191b;
    border-color:#fff
}
/* Stationary down-arrow silhouette, with traveling vertical highlight inside. */
.hero .hero-floor #scrollNext .scroll-indicator {
    position:relative;
    display:inline-block;
    width:16px;
    height:33px;
    flex:none;
    overflow:hidden;
    animation:none!important;
    transform:none!important;
}
.hero .hero-floor #scrollNext .scroll-indicator-arrow {
    position:absolute;
    top:3px;
    left:7px;
    width:1.5px;
    height:23px;
    background:rgba(255,255,255,.58);
    opacity:1;
    animation:none!important;
    transform:none!important;
}
.hero .hero-floor #scrollNext .scroll-indicator-arrow::after {
    content:'';
    position:absolute;
    bottom:0;
    left:-4px;
    width:8px;
    height:8px;
    border-right:1.5px solid rgba(255,255,255,.7);
    border-bottom:1.5px solid rgba(255,255,255,.7);
    transform:rotate(45deg);
}
.hero .hero-floor #scrollNext .scroll-indicator::after {
    content:'';
    position:absolute;
    top:3px;
    left:7px;
    width:1.5px;
    height:10px;
    background:#fff;
    box-shadow:0 0 5px rgba(255,255,255,.9);
    animation:miyaArrowLightTravel 1.9s linear infinite;
}
@keyframes miyaArrowLightTravel {
    0% {
        transform:translateY(-10px);
        opacity:0
    }
    18% {
        opacity:1
    }
    82% {
        opacity:1
    }
    100% {
        transform:translateY(13px);
        opacity:0
    }
}
/* Baseline always visible; light segment travels left to right. */
.hero .hero-floor-line {
    height:1px;
    background:rgba(255,255,255,.42);
    overflow:hidden
}
.hero .hero-floor-line i {
    display:block;
    width:23%;
    height:100%;
    background:#fff;
    animation:lineMove 4s linear infinite
}
@media (prefers-reduced-motion:reduce) {
    .hero .hero-floor #scrollNext .scroll-indicator::after,
 .hero .hero-floor-line i {
        animation:none!important;
        opacity:1
    }
}
/* FINAL HOME / GLOBAL INTERACTION 2026-10-14 */
/* Icon stays visible on white hover backgrounds; applies to all pages. */
.round-link:hover > span,.round-link:focus-visible > span {
    background:#fff!important;
    color:#17191b!important;
    border-color:#fff!important;
}
.round-link:hover > span::before,.round-link:focus-visible > span::before {
    color:#17191b!important;
}
/* Preserve existing interactive service selection, add gentle image hover only to approach. */
.approach-visual {
    overflow:hidden
}
.approach-visual img {
    transition:transform .65s cubic-bezier(.22,1,.36,1);
    transform-origin:center
}
@media(hover:hover) {
    .approach-visual:hover img {
        transform:scale(1.055)
    }
}
/* Contact CTA remains mailto, with visible hover and focus feedback. */
.contact-large {
    transition:background-color .35s ease,color .35s ease,padding .35s ease;
    cursor:pointer
}
.contact-large:hover,.contact-large:focus-visible {
    background:rgba(255,255,255,.10);
    padding-left:18px
}
.contact-large > span {
    display:inline-block;
    transition:transform .3s ease
}
.contact-large:hover > span,.contact-large:focus-visible > span {
    transform:translate(4px,-4px)
}
/* Identical footer brand across pages. */
footer .footer-brand {
    display:inline-flex;
    align-items:center;
    max-width:240px
}
footer .footer-brand img {
    display:block;
    width:205px;
    max-width:100%;
    height:auto;
    object-fit:contain
}
body.night footer .footer-brand img {
    filter:none
}
/* Floating top control, independent of footer position. */
.miya-back-top {
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:950;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.45);
    border-radius:50%;
    background:#1b2224;
    color:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.18);
    font-size:22px;
    line-height:1;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:opacity .28s,transform .28s,visibility .28s,background .28s,color .28s,border-color .28s
}
.miya-back-top.is-visible {
    opacity:1;
    visibility:visible;
    transform:translateY(0)
}
.miya-back-top:hover,.miya-back-top:focus-visible {
    background:#fff;
    color:#17191b;
    border-color:#17191b
}
@media(max-width:700px) {
    .miya-back-top {
        right:16px;
        bottom:16px;
        width:46px;
        height:46px
    }
}
@media(prefers-reduced-motion:reduce) {
    .approach-visual img,.miya-back-top,.contact-large,.contact-large > span {
        transition:none!important
    }
}
