/* Miya Interactive — shared site design system */
:root{color-scheme:light;--ink:#242421;--ivory:#f3efe4;--paper:#faf8f2;--rust:#a64230;--muted:#68645b;--line:#d9d3c6;--shell:1240px;--gutter:clamp(22px,5vw,72px);--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--sans);font-size:16px;line-height:1.6}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid var(--rust);outline-offset:5px}h1,h2,h3,p{margin:0}::selection{color:#fff;background:var(--rust)}.shell{width:min(100%,calc(var(--shell) + 2 * var(--gutter)));padding-inline:var(--gutter);margin-inline:auto}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:700;text-transform:uppercase}.accent-line{width:24px;height:2px;background:var(--rust);display:inline-block;flex:none}.skip-link{position:absolute;top:8px;left:12px;z-index:10;padding:10px 18px;background:var(--paper);transform:translateY(-200%)}.skip-link:focus{transform:none}
.site-header{background:var(--ivory);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:100px}.brand{display:block;width:clamp(185px,25vw,280px);flex-shrink:0}.brand img{width:100%}.site-header nav{display:flex;align-items:center;gap:clamp(20px,3.5vw,44px);font-size:14px;font-weight:600}.site-header nav a{padding-block:8px}.site-header nav a:hover{color:var(--rust)}.nav-contact span{margin-left:3px;color:var(--rust)}
.hero{background:var(--ivory);overflow:hidden;border-bottom:1px solid var(--line)}.hero-inner{min-height:430px;position:relative;display:flex;align-items:center;padding-block:clamp(64px,8vw,116px)}.hero-copy{position:relative;z-index:1;max-width:840px}.hero-eyebrow{display:flex;gap:12px;align-items:center;color:var(--muted);margin-bottom:28px}.hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(48px,6.2vw,91px);line-height:1.03;letter-spacing:-.055em}.hero h1 em{font-weight:400;color:var(--rust)}.hero-description{max-width:465px;color:var(--muted);font-size:clamp(16px,1.45vw,19px);margin-top:28px;line-height:1.7}.hero-link{display:inline-flex;align-items:center;gap:22px;font-size:14px;font-weight:700;margin-top:30px;border-bottom:1px solid var(--ink);padding:6px 0}.hero-link:hover{color:var(--rust);border-color:var(--rust)}.hero-link span{font-size:19px;font-weight:400;line-height:1}.hero-graphic{position:absolute;right:var(--gutter);top:50%;width:min(32vw,420px);aspect-ratio:1;transform:translateY(-50%);color:var(--rust);pointer-events:none;opacity:.75}.hero-orbit{position:absolute;border:1px solid #b9ab98;border-radius:50%;inset:12%;transform:rotate(-34deg) scaleX(.63)}.orbit-two{transform:rotate(35deg) scaleX(.63)}.orbit-three{transform:none;inset:22%}.hero-spark{position:absolute;top:50%;left:50%;font-size:clamp(62px,9vw,132px);line-height:1;transform:translate(-50%,-50%);font-family:var(--serif)}.hero-spark.small{font-size:34px;top:21%;left:70%}.hero-spark.tiny{font-size:62px;top:73%;left:27%}.graphic-caption{position:absolute;bottom:1%;left:0;right:0;text-align:center;font-size:9px;font-weight:600;letter-spacing:.24em;color:var(--muted)}
.projects{padding-block:clamp(58px,7vw,100px) clamp(76px,9vw,132px);scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.section-heading h2{font-family:var(--serif);font-size:clamp(38px,4vw,58px);font-weight:400;letter-spacing:-.04em;line-height:1.12}.section-heading>p{color:var(--muted);font-size:15px;padding-bottom:4px}.section-kicker{display:flex;align-items:center;gap:10px;color:var(--rust);margin-bottom:12px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}.project-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--paper);transition:border-color .2s ease,transform .2s ease;overflow:hidden}.project-card:hover{border-color:#a69a88;transform:translateY(-3px)}.project-art{position:relative;aspect-ratio:1.52;overflow:hidden;display:grid;place-items:center;isolation:isolate}.art-index{position:absolute;top:13px;left:15px;font-size:9px;font-weight:600;letter-spacing:.16em;opacity:.66;z-index:2}.art-santalink{background:radial-gradient(ellipse at center,#fffaf1,#e8dfcb);color:#685e4f}.art-santalink::before,.art-santalink::after{content:'✧';position:absolute;font-family:var(--serif);font-size:50px;color:#c5a77a;opacity:.6}.art-santalink::before{top:10%;right:9%}.art-santalink::after{bottom:4%;left:7%;font-size:35px}.santa-logo{width:76%;z-index:1}.art-salt-vinegar{background:repeating-linear-gradient(90deg,transparent 0 32px,#ffffff0d 32px 33px),#52655f;color:#f3e3c2}.salt-sign{position:relative;width:80%;height:76%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#e8d4ae;color:#30392e;border:5px double #596354;outline:1px solid #e8d4ae;outline-offset:4px;box-shadow:0 10px 20px #202b2540;text-align:center}.salt-ornament{font-size:12px;line-height:1.2;color:#8b6038}.salt-word{font-family:var(--serif);font-weight:700;font-size:clamp(26px,3.1vw,45px);letter-spacing:-.055em;line-height:.92;text-transform:uppercase;margin-block:5px 9px}.salt-word i{font-size:.67em;font-weight:400}.salt-rule{width:48%;height:1px;background:#8b7957}.salt-sub{font-family:var(--serif);font-size:clamp(8px,.75vw,10px);letter-spacing:.10em;text-transform:uppercase;margin-top:6px}.art-gokudo{background:linear-gradient(135deg,#252523,#141413);color:#f1ede4}.art-gokudo::before{content:'';position:absolute;width:49%;aspect-ratio:1;border-radius:50%;background:#a64230;right:11%;top:19%;z-index:-1;opacity:.9}.art-gokudo::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 7px,#ffffff05 7px 8px);z-index:-1}.gokudo-mark{position:relative;width:78%;display:flex;flex-direction:column;align-items:flex-start}.gokudo-jp{position:absolute;right:0;top:-32px;writing-mode:vertical-rl;font-family:'Noto Serif CJK JP','Yu Mincho',serif;font-size:clamp(29px,4vw,54px);font-weight:700;line-height:1;color:#151513;opacity:.8}.gokudo-word{font-family:var(--sans);font-weight:900;letter-spacing:-.075em;line-height:.91;font-size:clamp(32px,3.7vw,56px);position:relative}.gokudo-rule{height:3px;width:30%;background:#e8d4ae;margin-top:14px}
.project-info{padding:clamp(19px,2.2vw,29px);display:flex;flex-direction:column;flex:1}.project-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.075em;color:var(--muted);margin-bottom:13px}.project-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.project-status i{width:6px;height:6px;border-radius:50%;background:var(--rust)}.project-info h3{font-family:var(--serif);font-size:clamp(26px,2.5vw,35px);font-weight:400;letter-spacing:-.035em;line-height:1.13;margin-bottom:12px}.project-info p{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:24px}.project-action{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:13px;font-weight:650;min-height:39px}.project-action a{color:var(--rust);display:flex;align-items:center;justify-content:space-between;gap:12px}.project-action a:hover{text-decoration:underline}.coming{font-weight:500;color:var(--muted)}
.site-footer{background:var(--ink);color:var(--ivory);scroll-margin-top:0}.footer-main{display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:42px}.footer-brand img{width:240px;margin-left:-5px}.footer-brand p{color:#d0c9ba;font-size:13px;margin-top:0}.footer-contact .eyebrow{color:#c9a58f;margin-bottom:8px}.footer-contact .email{font-size:clamp(15px,1.7vw,21px);font-weight:550;overflow-wrap:anywhere}.footer-contact .email:hover{text-decoration:underline}.footer-contact .email span{color:#c9a58f}.footer-contact>p:last-child{font-size:13px;color:#d0c9ba;margin-top:7px}.footer-bottom{border-top:1px solid #53514b;display:flex;justify-content:space-between;gap:20px;padding-block:20px;font-size:12px;color:#d0c9ba}.footer-bottom a:hover{color:white}.site-footer a:focus-visible{outline-color:var(--ivory)}.error-page{padding-block:100px;min-height:60vh}.error-page h1{font:400 clamp(36px,5vw,72px)/1.1 var(--serif);max-width:760px;margin:20px 0}.error-page p{color:var(--muted)}
@media(max-width:1000px){.hero-graphic{opacity:.36;right:2vw;width:36vw}.project-meta{font-size:9px;letter-spacing:.04em}.project-info{padding:19px}.project-grid{gap:16px}}
@media(max-width:760px){.header-inner{min-height:78px;gap:12px}.brand{width:190px}.site-header nav{gap:17px;font-size:13px}.hero-inner{min-height:0;padding-block:68px 76px}.hero-graphic{width:190px;right:-48px;top:62%;opacity:.18}.graphic-caption{display:none}.hero h1{font-size:clamp(42px,9vw,65px)}.section-heading{align-items:flex-start;flex-direction:column;gap:8px}.section-heading>p{padding:0}.project-grid{grid-template-columns:1fr;gap:24px}.project-art{aspect-ratio:1.72}.project-info{padding:24px}.project-meta{font-size:11px}.project-info h3{font-size:32px}.project-info p{font-size:15px}.salt-word{font-size:clamp(34px,9vw,64px)}.salt-sub{font-size:11px}.gokudo-word{font-size:clamp(42px,11vw,74px)}.gokudo-jp{font-size:clamp(38px,10vw,70px)}.footer-main{align-items:flex-start;flex-direction:column;gap:28px;padding-block:35px}.footer-brand img{width:210px}.footer-bottom{font-size:11px}}
@media(max-width:430px){.brand{width:clamp(132px,40vw,172px)}.site-header nav{gap:12px;font-size:12px}.hero h1{font-size:39px}.project-info{padding:19px}.project-meta{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card{transition:none}.project-card:hover{transform:none}}
