:root {
  --paper: #f2f0ea;
  --paper-deep: #e8e5dc;
  --ink: #181a19;
  --muted: #666a65;
  --line: #d2cfc6;
  --accent: #ff8a00;
  --accent-dark: #b85f00;
  --white: #fbfaf6;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.header { height: 78px; border-bottom: 1px solid var(--line); background: rgba(242,240,234,.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.header-inner { width: min(1320px, calc(100% - 64px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; display: block; object-fit: contain; transition: transform .35s cubic-bezier(.2,.75,.25,1); }
.brand:hover .brand-logo { transform: rotate(-5deg) scale(1.06); }
.brand-word { font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .11em; }
.brand-word small { display: block; margin-top: 5px; font: 8px var(--mono); letter-spacing: .2em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 600; }
.nav a { text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--accent-dark); }
.nav .nav-contact { padding: 12px 16px; border: 1px solid var(--ink); }
.nav-contact span { color: var(--accent); margin-left: 12px; }
.menu-toggle { display: none; }
.hero { min-height: 660px; padding-top: 86px; padding-bottom: 74px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: clamp(50px, 8vw, 125px); align-items: center; }
.overline, .section-kicker, .band-label, .band-index, .note-top, .note-label, .note-bottom, .work-index, .detail-label, .work-bottom, .work-note>span, .service-no, .service-tools, .service-footnote, .method-step>span, .contact-topline, .contact-bottom, .back-top { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.overline { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 30px; }
.overline-mark { width: 8px; height: 8px; background: var(--accent); display: inline-block; transform: rotate(45deg); }
.overline-location { margin-left: auto; color: #8b8b83; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 760px; font-size: clamp(57px, 7.1vw, 94px); line-height: .98; letter-spacing: -.075em; font-weight: 700; margin: 0; }
.hero h1 em, .section-head h2 em, .work-title-row h3 em, .method-heading h2 em, .about-left h2 em { color: var(--accent); font-family: var(--serif); font-weight: 500; letter-spacing: -.06em; }
.hero-intro { max-width: 590px; margin: 28px 0 0; color: #555a55; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; gap: 28px; align-items: center; text-decoration: none; font-size: 11px; font-weight: 700; border: 1px solid var(--ink); transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark span { color: #ff8066; font-size: 16px; }
.button-light { background: transparent; }
.button-light span { color: var(--accent); font-size: 16px; }
.button-light:hover { background: var(--white); }
.hero-foot { max-width: 600px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 66px; padding-top: 15px; border-top: 1px solid var(--line); color: #777b74; font: 8px var(--mono); letter-spacing: .08em; }
.hero-foot>span:first-child { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #398456; box-shadow: 0 0 0 3px rgba(57,132,86,.12); }
.hero-note { align-self: stretch; min-height: 450px; padding: 22px 24px 18px; background: #111318; color: var(--paper); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.note-brand { display: flex; justify-content: flex-end; height: 104px; margin-top: 12px; }
.note-brand img { width: 104px; height: 104px; object-fit: contain; border-radius: 10px; }
.hero-note:after { content: ""; position: absolute; right: 0; top: 112px; width: 190px; height: 190px; background: url("assets/logo-mark.png") center / contain no-repeat; opacity: .055; pointer-events: none; }
.note-top, .note-bottom { display: flex; justify-content: space-between; color: #a1a39a; font-size: 8px; }
.note-rule { height: 1px; background: #434541; margin: 18px 0 25px; }
.note-label { color: #a1a39a; font-size: 8px; margin: 0 0 15px; }
.hero-note h2 { position: relative; z-index: 1; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.06em; margin: 0 0 26px; }
.hero-note h2 em { font-family: var(--serif); color: #ff9a16; font-weight: 500; }
.focus-list { position: relative; z-index: 1; margin-top: auto; }
.focus-list>div { display: grid; grid-template-columns: 25px 1fr; column-gap: 9px; padding: 12px 0; border-top: 1px solid #3b3e3a; }
.focus-list>div>span { grid-row: span 2; padding-top: 2px; font: 8px var(--mono); color: #ff8066; }
.focus-list b { font-size: 11px; font-weight: 600; }
.focus-list small { color: #a1a39a; font-size: 9px; margin-top: 3px; }
.note-bottom { padding-top: 16px; margin-top: 13px; border-top: 1px solid #3b3e3a; font-size: 7px; }
.statement-band { background: var(--accent); color: var(--ink); }
.statement-inner { min-height: 92px; display: grid; grid-template-columns: 140px 1fr 70px; align-items: center; gap: 20px; }
.band-label, .band-index { font-size: 8px; }
.statement-inner p { font-size: clamp(15px, 2vw, 22px); font-weight: 600; letter-spacing: -.035em; margin: 0; }
.statement-inner p em { font-family: var(--serif); font-weight: 500; }
.band-index { text-align: right; }
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; margin-bottom: 50px; }
.section-kicker { color: var(--accent-dark); margin-bottom: 24px; }
.section-head h2, .method-heading h2 { font-size: clamp(42px, 5vw, 64px); line-height: .99; letter-spacing: -.07em; font-weight: 700; margin: 0; }
.section-aside { max-width: 340px; font-size: 12px; color: var(--muted); line-height: 1.85; margin: 0 0 3px; }
.work-item { border-top: 1px solid var(--ink); padding-top: 16px; margin-top: 42px; }
.work-index { display: flex; justify-content: space-between; color: #777b74; font-size: 8px; }
.work-content { padding: 34px 0 36px; display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 75px; row-gap: 30px; }
.work-title-row h3 { font-size: clamp(34px, 4.4vw, 55px); line-height: .98; letter-spacing: -.065em; margin: 0; }
.work-title-row h3 em { font-size: 1em; }
.work-subtitle { color: #686c66; font-size: 12px; margin: 15px 0 0; }
.stage { display: inline-flex; align-items: center; gap: 7px; align-self: start; font: 8px var(--mono); letter-spacing: .08em; padding: 8px 10px; border: 1px solid var(--line); white-space: nowrap; }
.stage:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #398456; }
.stage-build:before { background: #bd7832; }
.work-description { max-width: 650px; color: #555a55; font-size: 14px; line-height: 1.9; margin: 0; }
.work-details { display: grid; grid-template-columns: 1fr .8fr; gap: 35px; grid-column: 2; }
.detail-label { display: block; color: #777b74; font-size: 8px; margin-bottom: 14px; }
.work-details ul { list-style: none; padding: 0; margin: 0; }
.work-details li { position: relative; padding: 0 0 9px 14px; color: #3e433e; font-size: 11px; line-height: 1.55; }
.work-details li:before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { background: var(--paper-deep); padding: 7px 9px; font-size: 9px; color: #414640; }
.inline-link { display: inline-flex; gap: 20px; align-items: center; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 10px; font-weight: 700; }
.inline-link b { color: var(--accent); font-size: 14px; }
.work-caveat { color: #777b74; font-size: 10px; line-height: 1.7; margin: 17px 0 0; }
.work-bottom { display: flex; justify-content: space-between; padding: 12px 0 0; border-top: 1px solid var(--line); color: #898b83; font-size: 7px; }
.work-bottom span:first-child { color: var(--accent-dark); }
.work-note { display: flex; align-items: baseline; gap: 18px; margin: 44px 0 0; padding: 18px 20px; background: var(--paper-deep); color: #60655e; font-size: 11px; line-height: 1.7; }
.work-note>span { color: var(--accent-dark); flex: 0 0 auto; }
.services-section { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section-head-services { margin-bottom: 42px; }
.service-list { border-top: 1px solid #bcb9b0; }
.service-row { display: grid; grid-template-columns: 45px minmax(260px, 1fr) minmax(180px, .65fr) 24px; align-items: center; gap: 20px; min-height: 105px; border-bottom: 1px solid #bcb9b0; }
.service-no { color: var(--accent-dark); }
.service-row h3 { font-size: 17px; letter-spacing: -.035em; margin: 0 0 7px; }
.service-row p { color: #686c66; font-size: 11px; line-height: 1.65; margin: 0; }
.service-tools { color: #777b74; font-size: 7px; line-height: 1.7; }
.service-arrow { color: var(--accent-dark); font-size: 20px; text-align: right; }
.service-footnote { color: #777b74; margin: 20px 0 0; font-size: 8px; letter-spacing: .06em; }
.method-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.method-heading h2 { margin-bottom: 20px; }
.method-heading>p:last-child { max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.method-steps { border-top: 1px solid var(--ink); }
.method-step { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method-step>span { color: var(--accent-dark); padding-top: 3px; }
.method-step h3 { font-size: 14px; letter-spacing: -.02em; margin: 0 0 6px; }
.method-step p { color: #686c66; font-size: 11px; line-height: 1.7; margin: 0; }
.about-section { background: var(--ink); color: var(--paper); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.about-left .section-kicker { color: #ff9a16; }
.about-left h2 { font-size: clamp(45px, 5vw, 66px); line-height: .99; letter-spacing: -.07em; margin: 0; }
.about-left h2 em { color: #ff9a16; }
.about-right { padding-top: 40px; }
.about-right p { max-width: 600px; color: #b0b1a9; font-size: 12px; line-height: 1.9; margin-bottom: 17px; }
.about-right .about-lead { color: var(--paper); font-size: 19px; font-weight: 500; line-height: 1.55; letter-spacing: -.035em; margin-bottom: 24px; }
.skills-block { margin-top: 35px; padding-top: 21px; border-top: 1px solid #454741; }
.skills-block .detail-label { color: #ff9a16; }
.skill-groups { display: grid; gap: 13px; }
.skill-groups>div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 10px; line-height: 1.65; }
.skill-groups b { color: #898b83; font: 8px var(--mono); letter-spacing: .1em; }
.skill-groups span { color: #d8d8d0; }
.contact-section { padding-top: 90px; padding-bottom: 60px; }
.contact-topline { display: flex; justify-content: space-between; gap: 20px; color: #777b74; }
.contact-topline .section-kicker { margin: 0; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; padding: 55px 0 70px; }
.contact-layout h2 { font-size: clamp(48px, 6.5vw, 82px); letter-spacing: -.075em; line-height: .96; margin: 0 0 23px; }
.contact-layout>div:first-child p { max-width: 480px; color: #626760; font-size: 13px; line-height: 1.85; margin: 0; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 5px; }
.contact-email { display: flex; justify-content: space-between; gap: 15px; width: 100%; padding-bottom: 13px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: clamp(14px, 1.5vw, 18px); font-weight: 700; letter-spacing: -.03em; }
.contact-email span, .contact-link span { color: var(--accent-dark); }
.contact-link { display: flex; justify-content: space-between; gap: 18px; width: 100%; color: #565b55; text-decoration: none; font-size: 11px; }
.contact-link:hover, .contact-email:hover { color: var(--accent-dark); }
.contact-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 14px; border-top: 1px solid var(--line); color: #898b83; font-size: 7px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { color: #777b74; margin: 0; font-size: 10px; }
.back-top { text-decoration: none; color: #777b74; font-size: 8px; }
.back-top:hover { color: var(--accent-dark); }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 35px; }
  .hero-note { min-height: 420px; }
  .work-content { column-gap: 38px; }
  .method-section, .about-layout { gap: 55px; }
  .contact-layout { gap: 45px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 68px; }
  .header-inner { width: calc(100% - 40px); }
  .menu-toggle { display: flex; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 67px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav .nav-contact { margin-top: 12px; padding: 13px; text-align: center; border: 1px solid var(--ink); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 45px; padding-top: 63px; padding-bottom: 58px; }
  .overline { flex-wrap: wrap; row-gap: 9px; margin-bottom: 24px; font-size: 8px; }
  .overline-location { width: 100%; margin-left: 18px; }
  .hero h1 { font-size: clamp(52px, 13vw, 76px); }
  .hero-intro { font-size: 13px; margin-top: 23px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 46px; padding: 0 13px; gap: 15px; font-size: 10px; }
  .hero-foot { margin-top: 42px; align-items: flex-start; flex-direction: column; font-size: 7px; }
  .hero-note { min-height: 390px; padding: 19px; }
  .hero-note:after { width: 150px; height: 150px; top: 85px; }
  .note-brand { height: 88px; }
  .note-brand img { width: 88px; height: 88px; }
  .statement-inner { min-height: 90px; grid-template-columns: 1fr auto; gap: 7px; padding-block: 17px; }
  .band-label { grid-column: 1; }
  .statement-inner p { grid-column: 1; grid-row: 2; font-size: 16px; }
  .band-index { grid-column: 2; grid-row: 1 / span 2; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-head { display: block; margin-bottom: 35px; }
  .section-head h2, .method-heading h2 { font-size: 46px; }
  .section-aside { margin-top: 21px; max-width: 440px; font-size: 11px; }
  .work-item { margin-top: 34px; }
  .work-index { font-size: 7px; }
  .work-content { display: flex; flex-direction: column; gap: 21px; padding: 28px 0 29px; }
  .work-title-row { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 15px; }
  .work-title-row h3 { font-size: 43px; }
  .work-description { font-size: 12px; }
  .work-details { grid-template-columns: 1fr; gap: 24px; }
  .work-details li { font-size: 10px; }
  .work-bottom { font-size: 6px; }
  .work-note { padding: 14px; gap: 10px; font-size: 10px; }
  .service-row { grid-template-columns: 25px 1fr 20px; gap: 10px; padding: 18px 0; min-height: unset; }
  .service-row h3 { font-size: 14px; line-height: 1.35; }
  .service-row p { font-size: 10px; }
  .service-tools { grid-column: 2; grid-row: 2; font-size: 7px; }
  .service-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .service-footnote { line-height: 1.7; }
  .method-section, .about-layout { display: grid; grid-template-columns: 1fr; gap: 35px; }
  .method-heading>p:last-child { margin-top: 18px; }
  .about-left h2 { font-size: 48px; }
  .about-right { padding-top: 0; }
  .about-right .about-lead { font-size: 17px; }
  .about-right p { font-size: 11px; }
  .skill-groups>div { grid-template-columns: 85px 1fr; font-size: 9px; }
  .contact-section { padding-top: 70px; padding-bottom: 35px; }
  .contact-topline { font-size: 7px; }
  .contact-layout { display: block; padding: 42px 0 45px; }
  .contact-layout h2 { font-size: 57px; }
  .contact-layout>div:first-child p { font-size: 11px; }
  .contact-actions { margin-top: 36px; }
  .contact-email { font-size: 14px; }
  .contact-bottom { flex-direction: column; font-size: 6px; }
  .footer-inner { min-height: 90px; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-block: 15px; }
  .footer-inner p { grid-column: 1; grid-row: 2; font-size: 8px; }
  .back-top { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Restrained motion: the work stays readable and the interface stays quick. */
html.js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js-motion .hero-main > * { animation: hero-enter .7s both cubic-bezier(.2,.7,.2,1); }
html.js-motion .hero-main > *:nth-child(1) { animation-delay: .04s; }
html.js-motion .hero-main > *:nth-child(2) { animation-delay: .12s; }
html.js-motion .hero-main > *:nth-child(3) { animation-delay: .2s; }
html.js-motion .hero-main > *:nth-child(4) { animation-delay: .28s; }
html.js-motion .hero-main > *:nth-child(5) { animation-delay: .36s; }
html.js-motion .hero-note { animation: note-enter .8s .18s both cubic-bezier(.2,.7,.2,1); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes note-enter { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.work-item, .service-row, .method-step, .contact-actions a { transition: border-color .25s ease, transform .25s ease, color .25s ease; }
.work-item:hover { border-color: var(--accent-dark); }
.service-row:hover { padding-left: 8px; border-color: var(--accent-dark); }
.service-arrow { transition: transform .25s ease; }
.service-row:hover .service-arrow { transform: translate(3px,-3px); }
.inline-link, .contact-email, .contact-link { transition: color .2s ease, border-color .2s ease; }
@media (prefers-reduced-motion: reduce) {
  html.js-motion .reveal, html.js-motion .hero-main > *, html.js-motion .hero-note { opacity: 1; transform: none; animation: none; transition: none; }
  .service-row:hover { padding-left: 0; }
}


/* Branded page entrance + repeatable scroll enter/leave motion. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
.site-intro { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #0b0d10; color: #fff; opacity: 1; visibility: visible; transition: opacity .65s ease, visibility .65s ease; }
.site-intro img { width: clamp(76px, 12vw, 118px); height: auto; object-fit: contain; animation: intro-mark .9s cubic-bezier(.2,.75,.2,1) both; }
.site-intro span { color: #fff; font: 700 11px/1 'DM Mono', monospace; letter-spacing: .42em; animation: intro-word .65s .18s both; }
.site-intro i { display: block; width: 110px; height: 2px; overflow: hidden; background: #303238; position: relative; }
.site-intro i::after { content: ''; position: absolute; inset: 0; background: #ff8a00; transform: scaleX(0); transform-origin: left; animation: intro-line .8s .12s ease forwards; }
.site-intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes intro-mark { from { opacity: 0; transform: translateY(18px) scale(.88) rotate(-5deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes intro-word { from { opacity: 0; letter-spacing: .7em; } to { opacity: 1; letter-spacing: .42em; } }
@keyframes intro-line { to { transform: scaleX(1); } }
html.js-motion .reveal { opacity:  0; transform: translate3d(0, 34px, 0) scale(.985); filter: blur(3px); transition: opacity .75s ease, transform .85s cubic-bezier(.18,.72,.22,1), filter .75s ease; will-change: opacity, transform; }
html.js-motion .reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
html.js-motion .work-item.reveal { transform: translate3d(0,42px,0) scale(.985); }
html.js-motion .work-item.reveal.is-visible { transform: translate3d(0,0,0) scale(1); }
html.js-motion .service-row.reveal { transform: translate3d(-26px,0,0); }
html.js-motion .service-row.reveal.is-visible { transform: translate3d(0,0,0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-intro { display: none !important; }
  html.js-motion .reveal, html.js-motion .reveal.is-visible { opacity: 1; transform: none; filter: none; transition: none; }
}
