@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600&display=swap');

:root {
  --ink: #231815;
  --ink-soft: #5d504c;
  --paper: #fffdf9;
  --sand: #f3efe8;
  --blush: #f2e7e7;
  --accent: #9f2926;
  --accent-deep: #78201e;
  --gold: #9b7a3f;
  --white: #fff;
  --line: rgba(35, 24, 21, .17);
  --shadow: 0 24px 70px rgba(35, 24, 21, .12);
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --latin: "Montserrat", Arial, sans-serif;
  --header-h: 104px;
  --demo-h: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.skip-link { position: fixed; z-index: 999; left: 12px; top: -100px; padding: 8px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 8px; }
.demo-ribbon {
  position: fixed; inset: 0 0 auto; z-index: 120;
  height: var(--demo-h); display: grid; place-items: center;
  padding: 0 24px; background: var(--ink); color: rgba(255,255,255,.82);
  font-size: 10px; line-height: 1.35; letter-spacing: .08em; text-align: center;
}

.site-header {
  position: fixed; z-index: 110; inset: var(--demo-h) 0 auto;
  height: var(--header-h); display: flex; align-items: stretch;
  color: var(--white); transition: background .35s, height .35s, box-shadow .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,12,10,.68), rgba(17,12,10,.13)); pointer-events: none; }
.site-header.is-scrolled, .site-header.header-solid { background: rgba(35,24,21,.96); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.site-header.is-scrolled { height: 78px; }
.header-inner { width: 100%; position: relative; display: grid; grid-template-columns: 310px 1fr auto; align-items: center; }
.brand { height: 100%; min-width: 230px; display: flex; align-items: center; gap: 13px; padding: 16px 28px; }
.brand-mark { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 25px; line-height: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-kicker { font-size: 9px; letter-spacing: .14em; opacity: .8; }
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: .04em; }
.global-nav { align-self: end; padding: 0 16px 14px; }
.global-nav ul { display: flex; justify-content: center; gap: clamp(18px, 2.5vw, 44px); }
.global-nav a { position: relative; font-size: 12px; letter-spacing: .13em; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 1px; background: var(--white); transition: right .25s; }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { right: 0; }
.header-tools { height: 100%; display: flex; align-items: stretch; }
.phone-block { align-self: center; min-width: 205px; padding: 0 20px; text-align: right; line-height: 1.3; }
.phone-block strong { display: block; font-family: var(--latin); font-weight: 400; letter-spacing: .09em; font-size: 16px; }
.phone-block small { font-size: 9px; letter-spacing: .08em; opacity: .75; }
.tool-link { min-width: 112px; display: grid; place-items: center; align-content: center; gap: 3px; padding: 10px 16px; background: rgba(155,122,63,.9); font-size: 12px; letter-spacing: .08em; }
.tool-link.contact { background: rgba(159,41,38,.95); }
.tool-link span:first-child { font-family: var(--latin); font-size: 9px; letter-spacing: .13em; opacity: .75; }
.menu-button { width: 88px; border: 0; background: rgba(20,15,13,.68); display: grid; place-items: center; align-content: center; gap: 7px; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 31px; height: 1px; background: var(--white); display: block; transition: transform .25s, opacity .25s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -8px; }
.menu-lines::after { top: 8px; }
.menu-button small { font-family: var(--latin); font-size: 9px; letter-spacing: .16em; color: var(--white); }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-8px) rotate(-45deg); }

.drawer { position: fixed; z-index: 105; inset: 0; visibility: hidden; opacity: 0; background: var(--ink); color: var(--white); transition: opacity .35s, visibility .35s; padding: calc(var(--demo-h) + var(--header-h) + 40px) max(6vw, 24px) 46px; overflow: auto; }
.menu-open .drawer { visibility: visible; opacity: 1; }
.drawer-grid { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.drawer-title { font-family: var(--latin); font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: .04em; color: rgba(255,255,255,.14); }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; border-top: 1px solid rgba(255,255,255,.22); }
.drawer-nav a { padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.22); font-family: var(--serif); font-size: 18px; }
.drawer-meta { margin-top: 36px; font-size: 13px; color: rgba(255,255,255,.68); }

.hero { min-height: 100svh; position: relative; display: flex; align-items: center; color: var(--white); background: #111; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; animation: heroZoom 12s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,11,10,.58) 0, rgba(15,11,10,.15) 48%, rgba(15,11,10,.22) 100%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 34%, rgba(0,0,0,.28)); }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-content { position: relative; z-index: 2; width: min(1680px, 100%); margin: auto; padding: calc(var(--header-h) + var(--demo-h) + 44px) 6vw 130px; }
.hero-script { font-family: var(--latin); font-size: clamp(15px, 1.5vw, 24px); font-style: italic; letter-spacing: .09em; margin-bottom: 24px; opacity: .82; transform: rotate(-8deg); transform-origin: left; }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 4vw, 68px); line-height: 1.55; letter-spacing: .13em; text-shadow: 0 3px 25px rgba(0,0,0,.28); }
.hero h1 span { display: block; }
.hero-sub { max-width: 500px; margin-top: 23px; font-family: var(--serif); font-size: 14px; letter-spacing: .12em; }
.hero-news { position: absolute; z-index: 3; right: 0; bottom: 0; width: min(760px, 62vw); min-height: 68px; display: grid; grid-template-columns: 100px 120px 1fr 58px; align-items: center; background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(10px); }
.hero-news > * { padding: 0 20px; font-size: 12px; }
.hero-news strong { font-family: var(--latin); font-size: 16px; font-weight: 500; border-right: 1px solid var(--line); }
.hero-news time { color: var(--ink-soft); }
.scroll-cue { position: absolute; z-index: 3; left: 4vw; bottom: 35px; font-family: var(--latin); font-size: 9px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; display: inline-block; width: 1px; height: 54px; margin-top: 12px; background: rgba(255,255,255,.7); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 48% { transform: scaleY(1); transform-origin: top; } 52% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.section { padding: 120px max(6vw, 24px); }
.section-inner { max-width: 1160px; margin: auto; }
.section-wide { max-width: 1440px; margin: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--latin); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); line-height: 1.55; letter-spacing: .08em; }
.section-title .latin { display: block; font-family: var(--latin); font-size: clamp(42px, 7vw, 90px); font-weight: 500; line-height: .9; letter-spacing: .04em; text-transform: uppercase; }
.lead { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 34px); line-height: 1.9; letter-spacing: .08em; }
.copy { color: var(--ink-soft); line-height: 2.05; }
.copy + .copy { margin-top: 1em; }
.text-link { display: inline-flex; align-items: center; gap: 28px; margin-top: 34px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-family: var(--latin); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.text-link::after { content: "→"; transition: transform .25s; }
.text-link:hover::after { transform: translateX(7px); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 58px; min-width: 210px; padding: 15px 25px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; letter-spacing: .12em; transition: color .25s, background .25s, transform .25s; }
.button::after { content: "→"; }
.button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.button.accent { border-color: var(--accent); background: var(--accent); color: var(--white); }
.button.accent:hover { background: var(--accent-deep); }

.intro { background: var(--paper); text-align: center; }
.intro .section-inner { max-width: 940px; }
.intro .latin-title { font-family: var(--latin); font-size: clamp(38px, 6vw, 74px); font-weight: 500; line-height: 1; letter-spacing: .05em; margin-bottom: 42px; }
.intro .lead { max-width: 780px; margin: auto; }
.intro .copy { max-width: 700px; margin: 35px auto 0; }

.works-home { padding: 105px 0 0; overflow: hidden; }
.works-head { display: flex; justify-content: space-between; align-items: end; padding: 0 max(6vw,24px) 52px; max-width: 1440px; margin: auto; }
.works-grid { display: grid; grid-template-columns: 1.35fr .8fr .85fr; grid-template-rows: 330px 280px; }
.work-tile { position: relative; overflow: hidden; color: var(--white); }
.work-tile:first-child { grid-row: span 2; }
.work-tile:nth-child(2) { grid-column: span 2; }
.work-tile img { height: 100%; object-fit: cover; transition: transform .7s; }
.work-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(20,12,10,.72)); }
.work-tile:hover img { transform: scale(1.04); }
.work-label { position: absolute; z-index: 2; inset: auto 28px 24px; }
.work-label small { font-family: var(--latin); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.work-label h3 { margin-top: 5px; font-family: var(--serif); font-size: 20px; letter-spacing: .06em; }
.work-note { padding: 14px max(6vw,24px); background: var(--ink); color: rgba(255,255,255,.66); text-align: right; font-size: 10px; }

.home-services { background: var(--sand); }
.service-intro { display: grid; grid-template-columns: .8fr 1fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: var(--paper); box-shadow: 0 0 0 1px rgba(35,24,21,.07); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-image { aspect-ratio: 4 / 3; overflow: hidden; }
.service-image img { height: 100%; object-fit: cover; transition: transform .7s; }
.service-card:hover .service-image img { transform: scale(1.04); }
.service-body { padding: 30px; }
.service-number { font-family: var(--latin); color: var(--accent); font-size: 11px; letter-spacing: .14em; }
.service-body h3 { margin: 8px 0 17px; font-family: var(--serif); font-size: 23px; letter-spacing: .06em; }
.service-body p { color: var(--ink-soft); font-size: 14px; line-height: 1.9; }

.philosophy { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; background: var(--ink); color: var(--white); }
.philosophy-image { min-height: 620px; }
.philosophy-image img { height: 100%; object-fit: cover; }
.philosophy-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(40px,7vw,110px); }
.philosophy-copy .copy { color: rgba(255,255,255,.72); }
.philosophy-copy .lead { margin: 10px 0 28px; }
.philosophy-copy .text-link { color: var(--white); align-self: flex-start; }

.reasons { background: var(--blush); }
.reason-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 62px; border-top: 1px solid rgba(35,24,21,.22); border-left: 1px solid rgba(35,24,21,.22); }
.reason { padding: 42px 36px 46px; border-right: 1px solid rgba(35,24,21,.22); border-bottom: 1px solid rgba(35,24,21,.22); }
.reason-number { font-family: var(--latin); color: var(--accent); font-size: 34px; letter-spacing: .04em; }
.reason h3 { margin: 20px 0 16px; font-family: var(--serif); font-size: 21px; line-height: 1.7; }
.reason p { color: var(--ink-soft); font-size: 13px; line-height: 1.95; }

.process-home { background: var(--paper); }
.process-list { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 58px; }
.process-item { position: relative; padding: 28px 26px; border-left: 1px solid var(--line); }
.process-item:last-child { border-right: 1px solid var(--line); }
.process-item:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 32px; z-index: 2; width: 20px; background: var(--paper); text-align: center; }
.process-item b { font-family: var(--latin); font-size: 11px; letter-spacing: .15em; color: var(--accent); }
.process-item h3 { margin: 12px 0 10px; font-family: var(--serif); font-size: 17px; }
.process-item p { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }

.news-section { background: var(--sand); }
.news-layout { display: grid; grid-template-columns: 310px 1fr; gap: 80px; }
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 100px 1fr 30px; align-items: center; gap: 20px; padding: 24px 4px; transition: padding .25s, background .25s; }
.news-list a:hover { padding-left: 14px; background: rgba(255,255,255,.48); }
.news-list time { font-family: var(--latin); font-size: 12px; color: var(--ink-soft); }
.tag { display: inline-flex; justify-content: center; padding: 3px 9px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; }
.news-list strong { font-size: 14px; font-weight: 500; }

.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); text-align: center; }
.cta::before { content: "AMAGAI"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); font-family: var(--latin); font-size: clamp(100px,22vw,340px); line-height: 1; color: rgba(255,255,255,.035); letter-spacing: -.04em; }
.cta .section-inner { position: relative; }
.cta h2 { font-family: var(--latin); font-size: clamp(40px,7vw,88px); line-height: 1; letter-spacing: .08em; }
.cta .lead { margin-top: 24px; font-size: clamp(18px,2vw,27px); }
.cta-options { display: flex; justify-content: center; gap: 14px; margin-top: 42px; }
.cta-option { min-width: 270px; padding: 22px 28px; border: 1px solid rgba(255,255,255,.52); text-align: left; transition: background .25s, color .25s; }
.cta-option span { display: block; font-family: var(--latin); font-size: 10px; letter-spacing: .17em; opacity: .65; }
.cta-option strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; letter-spacing: .08em; }
.cta-option:hover, .cta-option.accent { background: var(--accent); border-color: var(--accent); }

.site-footer { background: #1a1210; color: rgba(255,255,255,.82); padding: 76px max(6vw,24px) 24px; }
.footer-main { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 90px; }
.footer-brand { display: flex; gap: 18px; align-items: center; color: var(--white); }
.footer-brand .brand-mark { width: 58px; height: 58px; }
.footer-brand .brand-name { font-size: 25px; }
.footer-address { margin-top: 27px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.62); }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px 36px; }
.footer-nav a { padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 12px; letter-spacing: .06em; }
.footer-bottom { max-width: 1280px; margin: 58px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-family: var(--latin); font-size: 10px; color: rgba(255,255,255,.42); }
.footer-demo { max-width: 1280px; margin: 22px auto 0; padding: 12px 16px; background: rgba(255,255,255,.08); font-size: 10px; line-height: 1.5; text-align: center; color: rgba(255,255,255,.7); }

/* Lower pages */
.page-hero { min-height: 58svh; position: relative; display: flex; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(20,14,12,.66), rgba(20,14,12,.15)), var(--page-bg); background-position: center; background-size: cover; }
.page-hero-inner { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin: auto; padding: calc(var(--header-h) + var(--demo-h) + 80px) 0 64px; }
.page-hero .en { display: block; font-family: var(--latin); font-size: clamp(52px,9vw,126px); line-height: .9; letter-spacing: .04em; }
.page-hero h1 { margin-top: 20px; font-family: var(--serif); font-size: clamp(26px,3vw,42px); letter-spacing: .1em; }
.breadcrumbs { padding: 16px max(6vw,24px); background: var(--sand); font-size: 10px; color: var(--ink-soft); }
.breadcrumbs ol { max-width: 1160px; margin: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.content-block { max-width: 920px; margin: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-image { min-height: 520px; }
.split-image img { height: 100%; object-fit: cover; }
.statement { padding: 72px; background: var(--blush); }
.statement .lead { margin-bottom: 28px; }
.feature-list { margin-top: 44px; border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 120px 260px 1fr; gap: 30px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.feature-row b { font-family: var(--latin); color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.feature-row h3 { font-family: var(--serif); font-size: 20px; }
.feature-row p { color: var(--ink-soft); font-size: 14px; }
.timeline { margin-top: 50px; border-left: 1px solid var(--accent); }
.timeline li { position: relative; padding: 0 0 38px 38px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline time { font-family: var(--latin); color: var(--accent); font-size: 12px; }
.timeline h3 { margin-top: 5px; font-family: var(--serif); font-size: 18px; }
.timeline p { margin-top: 6px; color: var(--ink-soft); font-size: 13px; }
.company-table { width: 100%; border-collapse: collapse; margin-top: 42px; }
.company-table th, .company-table td { padding: 20px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 28%; font-size: 13px; color: var(--ink-soft); }
.map-placeholder { min-height: 380px; margin-top: 34px; display: grid; place-items: center; background: linear-gradient(135deg, #e9e2d8, #d8d0c4); color: var(--ink-soft); text-align: center; padding: 30px; }
.map-placeholder strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); }

.service-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 55px; }
.service-page-grid .service-card { height: 100%; }
.flow-list { counter-reset: flow; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 50px; }
.flow-list li { counter-increment: flow; min-height: 230px; padding: 30px 24px; border: 1px solid var(--line); border-right: 0; }
.flow-list li:last-child { border-right: 1px solid var(--line); }
.flow-list li::before { content: "0" counter(flow); font-family: var(--latin); color: var(--accent); font-size: 28px; }
.flow-list h3 { margin: 18px 0 10px; font-family: var(--serif); font-size: 17px; }
.flow-list p { color: var(--ink-soft); font-size: 12px; }

.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 50px; }
.filter-button { border: 1px solid var(--line); background: transparent; min-width: 120px; padding: 10px 16px; cursor: pointer; font-size: 11px; letter-spacing: .08em; }
.filter-button.active, .filter-button:hover { background: var(--ink); color: var(--white); }
.works-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 52px 34px; }
.works-card[hidden] { display: none; }
.works-card-image { aspect-ratio: 4 / 3; overflow: hidden; }
.works-card-image img { height: 100%; object-fit: cover; transition: transform .6s; }
.works-card:hover img { transform: scale(1.035); }
.works-card-meta { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 10px; color: var(--ink-soft); }
.works-card h2 { margin-top: 8px; font-family: var(--serif); font-size: 22px; letter-spacing: .05em; }
.works-card p { margin-top: 12px; color: var(--ink-soft); font-size: 13px; }
.detail-hero-image { margin: 0 max(3vw,20px); height: min(72vw, 760px); }
.detail-hero-image img { height: 100%; object-fit: cover; }
.detail-summary { max-width: 1040px; margin: -110px auto 0; position: relative; padding: 60px 70px; background: var(--paper); box-shadow: var(--shadow); }
.detail-summary .meta { font-family: var(--latin); color: var(--accent); font-size: 11px; letter-spacing: .15em; }
.detail-summary h1 { margin: 12px 0 24px; font-family: var(--serif); font-size: clamp(28px,4vw,48px); }
.detail-data { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 35px; padding-top: 26px; border-top: 1px solid var(--line); }
.detail-data dt { font-size: 11px; color: var(--ink-soft); }
.detail-data dd { margin: 5px 0 0; font-family: var(--serif); }
.story-section { display: grid; grid-template-columns: 280px 1fr; gap: 70px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.story-section h2 { font-family: var(--serif); font-size: 24px; }
.story-section .copy { font-size: 14px; }

.article-list { border-top: 1px solid var(--line); margin-top: 50px; }
.article-list a { display: grid; grid-template-columns: 140px 120px 1fr 40px; gap: 20px; align-items: center; padding: 28px 10px; border-bottom: 1px solid var(--line); }
.article-list time { font-family: var(--latin); font-size: 12px; color: var(--ink-soft); }
.article-list h2 { font-size: 15px; font-weight: 500; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--latin); font-size: 12px; }
.pagination .current { background: var(--ink); color: var(--white); }

.contact-layout { display: grid; grid-template-columns: 330px 1fr; gap: 70px; }
.contact-aside { padding: 35px; background: var(--sand); align-self: start; }
.contact-aside h2 { font-family: var(--serif); font-size: 22px; }
.contact-aside dl { margin: 25px 0 0; }
.contact-aside dt { margin-top: 18px; font-size: 11px; color: var(--ink-soft); }
.contact-aside dd { margin: 3px 0 0; font-family: var(--latin); }
.demo-form-note { margin: 0 0 26px; padding: 13px 16px; border-left: 3px solid var(--accent); background: var(--blush); font-size: 12px; }
.form-row { padding: 21px 0; border-bottom: 1px solid var(--line); }
.form-row label, .form-row legend { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.required { color: var(--accent); margin-left: 5px; font-size: 10px; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row select, .form-row textarea { width: 100%; border: 1px solid rgba(35,24,21,.24); background: var(--white); padding: 14px 16px; border-radius: 0; }
.form-row textarea { min-height: 180px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 18px; }
.privacy-copy { margin-top: 24px; color: var(--ink-soft); font-size: 11px; }
.submit-demo { margin-top: 28px; width: 100%; min-height: 62px; border: 0; background: var(--ink); color: var(--white); letter-spacing: .14em; cursor: not-allowed; opacity: .78; }
.faq-list { margin-top: 45px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; border: 0; background: transparent; padding: 22px 4px; display: flex; justify-content: space-between; text-align: left; cursor: pointer; font-family: var(--serif); font-size: 17px; }
.faq-question::after { content: "+"; font-family: var(--latin); }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 30px 24px; color: var(--ink-soft); font-size: 13px; }
.faq-item.open .faq-answer { display: block; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 270px 1fr auto; }
  .global-nav { display: none; }
  .phone-block { display: none; }
  .brand { padding-left: 20px; }
  .service-grid, .reason-grid { gap: 0; }
}

@media (max-width: 760px) {
  :root { --demo-h: 38px; --header-h: 64px; }
  body { font-size: 15px; line-height: 1.85; }
  .demo-ribbon { padding: 4px 10px; font-size: 8px; }
  .site-header { background: rgba(35,24,21,.45); }
  .site-header.is-scrolled { height: 58px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { min-width: 0; gap: 8px; padding: 8px 12px; }
  .brand-mark { width: 36px; height: 36px; font-size: 19px; }
  .brand-kicker { font-size: 7px; }
  .brand-name { font-size: 15px; }
  .header-tools { grid-column: 2; }
  .tool-link { display: none; }
  .tool-link.contact { display: grid; min-width: 72px; padding: 6px 8px; font-size: 9px; }
  .menu-button { width: 66px; }
  .menu-lines, .menu-lines::before, .menu-lines::after { width: 25px; }
  .drawer { padding: calc(var(--demo-h) + var(--header-h) + 28px) 24px 40px; }
  .drawer-grid { grid-template-columns: 1fr; gap: 28px; }
  .drawer-title { font-size: 50px; }
  .drawer-nav { grid-template-columns: 1fr; }
  .drawer-nav a { font-size: 16px; }
  .hero { min-height: 100svh; }
  .hero-media img { object-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(15,11,10,.35), rgba(15,11,10,.05)), linear-gradient(180deg, rgba(0,0,0,.34), transparent 38%, rgba(0,0,0,.4)); }
  .hero-content { height: 100svh; padding: calc(var(--header-h) + var(--demo-h) + 70px) 24px 100px; display: flex; justify-content: flex-end; align-items: flex-start; }
  .hero-text { writing-mode: vertical-rl; margin-top: 70px; }
  .hero-script { writing-mode: horizontal-tb; position: absolute; left: 22px; bottom: 155px; transform: rotate(-7deg); font-size: 13px; }
  .hero h1 { font-size: 29px; line-height: 1.6; letter-spacing: .14em; text-shadow: 0 2px 15px rgba(0,0,0,.3); }
  .hero h1 span { display: inline; }
  .hero-sub { display: none; }
  .hero-news { width: calc(100% - 30px); min-height: 62px; grid-template-columns: 65px 1fr 36px; }
  .hero-news > * { padding: 0 11px; font-size: 10px; }
  .hero-news time { display: none; }
  .hero-news strong { font-size: 11px; }
  .scroll-cue { display: none; }
  .section { padding: 78px 20px; }
  .section-title { font-size: 28px; }
  .section-title .latin { font-size: 44px; }
  .lead { font-size: 20px; line-height: 1.8; }
  .intro .latin-title { font-size: 38px; margin-bottom: 29px; }
  .intro .copy { margin-top: 24px; text-align: left; }
  .works-home { padding-top: 76px; }
  .works-head { padding: 0 20px 34px; display: block; }
  .works-head .text-link { margin-top: 18px; }
  .works-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 0 20px 16px; }
  .work-tile { flex: 0 0 82vw; height: 470px; scroll-snap-align: start; }
  .work-tile:nth-child(n) { grid: auto; }
  .work-label { inset: auto 20px 18px; }
  .work-note { text-align: left; }
  .service-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .service-grid, .service-page-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-body { padding: 25px; }
  .philosophy { grid-template-columns: 1fr; min-height: 0; }
  .philosophy-image { min-height: 420px; }
  .philosophy-copy { padding: 68px 22px; }
  .reason-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .reason { padding: 30px 25px; }
  .process-list { grid-template-columns: 1fr; }
  .process-item { padding: 23px 20px; border: 0; border-top: 1px solid var(--line); }
  .process-item:last-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-item:not(:last-child)::after { content: "↓"; top: auto; bottom: -14px; right: 20px; }
  .news-layout { grid-template-columns: 1fr; gap: 30px; }
  .news-list a { grid-template-columns: 92px 1fr 20px; gap: 8px; padding: 19px 2px; }
  .news-list .tag { display: none; }
  .news-list strong { font-size: 12px; }
  .cta-options { flex-direction: column; }
  .cta-option { min-width: 0; width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 44px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { min-height: 50svh; }
  .page-hero-inner { width: calc(100% - 40px); padding-bottom: 38px; }
  .page-hero .en { font-size: 48px; }
  .page-hero h1 { font-size: 24px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split-image { min-height: 340px; }
  .statement { padding: 38px 24px; }
  .feature-row { grid-template-columns: 70px 1fr; gap: 12px 18px; }
  .feature-row p { grid-column: 1 / -1; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li, .flow-list li:last-child { min-height: 0; border: 1px solid var(--line); border-bottom: 0; }
  .flow-list li:last-child { border-bottom: 1px solid var(--line); }
  .works-list { grid-template-columns: 1fr; gap: 38px; }
  .detail-hero-image { height: 64svh; }
  .detail-summary { margin: -50px 20px 0; padding: 34px 24px; }
  .detail-data { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; gap: 20px; }
  .article-list a { grid-template-columns: 92px 1fr 20px; gap: 8px; padding: 20px 2px; }
  .article-list .tag { display: none; }
  .article-list h2 { font-size: 13px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 5px; border-bottom: 0; }
  .company-table td { padding-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
