* {box-sizing:border-box}
:root {--gold:#ffcf35;--cream:#fff0bf;--edge:#eab348}
body {margin:0;background:#100b08;color:white;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
a {color:inherit} a:focus-visible {outline:3px solid white;outline-offset:4px}
h1,h2,h3,p {margin:0}
nav {background:#14100f;text-align:right;padding:8px 5vw;font-size:12px}
nav a,nav b {margin-left:12px}
header,footer {display:flex;align-items:center;justify-content:space-between;padding:12px 6vw;gap:15px}
header {background:linear-gradient(105deg,#080605 58%,#44230c 91%,#b48236);border-bottom:2px solid var(--edge)}
.wordmark svg {display:block;width:clamp(130px,18vw,225px)}
header>a:last-child,.line {display:inline-block;text-decoration:none;color:#211101;background:linear-gradient(#fffaaf,#ffcc3b 65%,#d89813);border:1px solid #ffea8d;border-radius:4px;padding:10px 14px;font-weight:900}
.cover {position:relative;isolation:isolate;display:grid;align-content:center;min-height:clamp(370px,42vw,680px);background:#17110d}
.cover {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.cover h1 {
    font-family: inherit;
    font-weight: 700;
    transform: none;
}
.cover h1 em {
    display: inline-block;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-style: italic;
    font-weight: 900;
    transform: skewX(-6deg);
}
.cover .headline > p {font-weight: 600}
.cover .headline .scene-caption {font-weight: 500}
.cover .scene-controls button {font-family: inherit; font-weight: 600}
.hero-scenes,.hero-scenes img,.hero-scenes::after {position:absolute;inset:0;width:100%;height:100%}
.hero-scenes img {object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.hero-scenes img.current {opacity:1}
.hero-scenes::after {content:"";background:linear-gradient(90deg,#110d0bc9,transparent 68%),linear-gradient(0deg,#0c090880,transparent 24%)}
.scene-controls {position:absolute;z-index:2;bottom:16px;left:6%;display:flex;gap:4px}
.scene-controls[hidden] {display:none}
.scene-controls button {cursor:pointer;font:inherit;font-size:13px;padding:9px 12px;border:1px solid #b79968;background:#17110de6;color:white;border-radius:3px}
.scene-controls button[aria-pressed=true] {background:var(--gold);color:#211300}
.scene-controls button:focus-visible {outline:2px solid white;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.hero-scenes img{transition:none}}
.headline {padding:30px 0 34px 6vw;z-index:1}
.headline p {font-weight:800;font-size:clamp(12px,1.45vw,20px);letter-spacing:.08em;color:var(--cream);margin-bottom:14px}
h1,.work h2,#contact h2 {font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:900;line-height:1.22}
h1 {font-size:clamp(30px,4.1vw,74px);text-shadow:2px 3px 2px #090400;transform:skewX(-6deg)}
h1 em {font-size:1.65em;color:#ffe243;text-shadow:2px 3px #291403,0 4px 14px #e8a02a66}
.proof {display:flex;align-items:stretch;background:linear-gradient(105deg,#ffba20,#fff5a6 44%,#ffc42b 63%);border-block:3px solid #e8aa27;color:#120b06;font-weight:900}
.proof strong,.proof span {display:flex;align-items:baseline;justify-content:center;flex:1;padding:9px;white-space:nowrap;font-size:clamp(18px,2.6vw,38px);font-style:italic}
.proof b {font:italic 1000 clamp(40px,6vw,86px)/1 Arial,sans-serif;letter-spacing:-.07em;color:#c20d10;-webkit-text-stroke:1px #fff;paint-order:stroke fill;margin-inline:.08em}
.proof span {align-items:center;color:white;background:linear-gradient(100deg,#610807,#a2130c);clip-path:polygon(6% 0,100% 0,100% 100%,0 100%)}.proof small {font-size:.53em}
.work,#contact {padding:clamp(28px,4vw,65px) 6vw}
.work {background:linear-gradient(130deg,#191109,#080605 65%,#38210d)}
.work h2 {font-size:clamp(23px,3vw,42px);margin-bottom:22px}.work h2 br {display:none}.work em {color:var(--gold)}
.services {display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.services article {padding:16px;border:2px solid var(--edge);border-radius:10px;background:linear-gradient(155deg,#342916,#090706 50%);box-shadow:inset 0 0 5px #b88232,0 0 8px #ffad192a}
.services img {width:56px;mix-blend-mode:lighten}.services h3 {font-size:clamp(14px,1.5vw,21px);margin:8px 0}.services p,.call p {font-size:13px;line-height:1.7;color:#eee3d1}
#contact {display:flex;align-items:center;justify-content:space-between;gap:20px;background:#15100d;border-block:1px solid var(--edge)}
#contact h2 {font-size:clamp(24px,3vw,46px);margin-top:8px}#contact h2 br {display:none}
.call>a:first-child {color:var(--gold);font:italic 900 clamp(31px,4.5vw,70px)/1.2 Arial,sans-serif;text-decoration:none}
.line {margin-top:12px;font-size:13px}footer {font-size:12px}
@media(max-width:700px){header {padding:8px 4vw}header>a:last-child {font-size:12px}.cover {min-height:0;aspect-ratio:1.45;grid-template-columns:1fr}.headline {padding:0 5vw 32px}.headline p {font-size:11px;margin-bottom:8px}.headline h1 {font-size:clamp(23px,5.5vw,34px)}.scene-controls{left:4%;bottom:10px}.scene-controls button{font-size:11px;padding:7px 8px}.proof strong,.proof span {font-size:clamp(14px,4vw,22px);padding:9px 2px}.proof b{font-size:9vw}.services {grid-template-columns:1fr 1fr;gap:8px}.services article{padding:12px}.services img{width:42px}.services p{font-size:12px}.work h2{font-size:5.5vw}#contact,footer {flex-direction:column;align-items:start}.call>a:first-child{font-size:9vw}}

.portfolio {border-top:1px solid #80673b;background:#13100d}
.case-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;margin-top:24px}
.case-card {overflow:hidden;border:1px solid #79643e;border-radius:8px;background:#211b16}
.case-photos {display:grid;grid-template-columns:1fr 1fr;gap:2px}
.case-photos figure {position:relative;margin:0}
.case-photos img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.case-photos figcaption {position:absolute;bottom:4px;left:4px;background:#17120ee6;color:white;padding:3px 7px;font-size:12px}
.case-body {padding:18px}.case-body p,.portfolio>p {font-size:14px;line-height:1.75}
.case-body h3 {margin:8px 0;color:var(--cream)}.case-meta {color:var(--gold)}
.case-description {white-space:pre-line;margin-bottom:16px}

.work-intro, .contact-intro {
    max-width: 46em;
    margin: 12px 0;
    line-height: 1.9;
    color: #eee3d1;
}
.work-intro a {color: var(--cream); text-underline-offset: .2em}
.work-intro + .services {margin-top: 26px}
.contact-intro {max-width: 35em}
.call {flex-shrink: 0}

.headline .scene-caption {
    margin: 12px 0 0;
    color: white;
    font-size: clamp(13px, 1.45vw, 21px);
    letter-spacing: .02em;
    line-height: 1.6;
    text-shadow: 0 1px 5px #100b08, 0 1px 12px #100b08;
}
@media (max-width:700px) {
    .cover {min-height:270px}
    .headline .scene-caption {min-height:3.2em;max-width:22em}
}

#open-greeting, #greeting button {font:inherit;color:#f5dcaa;background:#221e18;border:1px solid #88714b;border-radius:4px;padding:.5em .85em;cursor:pointer}
#open-greeting {margin-left:auto;white-space:nowrap}
#greeting {width:min(42rem,92vw);max-height:84vh;max-height:84dvh;box-sizing:border-box;margin:auto;padding:0;background:#191714;color:#f6f0e6;border:1px solid #a98a59;border-radius:8px;overscroll-behavior:contain;font-family:"Noto Serif JP",serif}
#greeting::backdrop {background:rgb(0 0 0 / .76)}
html:has(#greeting[open]) {overflow:hidden}
.greeting-bar {position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:#191714;padding:.8rem 5%;border-bottom:1px solid #66573f}
.greeting-bar h2 {margin:0;font-size:1.4rem;color:#edd5a6}
.greeting-copy {padding:1rem 5% 1.5rem;line-height:1.85}
.greeting-copy img {float:right;width:35%;height:auto;margin:0 0 .8rem 1rem;border-radius:3px}
.greeting-copy p {margin:0 0 1em}
.greeting-ending {white-space:nowrap}
.greeting-quote {color:#edd5a6;font-weight:700}
.greeting-sign,.greeting-copy form {text-align:right}
@media(max-width:480px){
  header {gap:6px;padding-inline:8px}
  header .wordmark {min-width:0}
  header .wordmark img {max-width:100%}
  #open-greeting,header>a:last-child {font-size:12px;padding:9px 6px;flex-shrink:0}
}
