:root {
  --red: #ac242a;
  --red-deep: #8f1c21;
  --ink: #1d1a1a;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --muted: #6b6464;
  --line: rgba(29, 26, 26, 0.14);
  --serif-en: "Libre Caslon Text", Georgia, serif;
  --serif-ja: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
section[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sp { display: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px var(--gutter);
  color: #fff;
  transition: padding 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-compact { padding-top: 12px; padding-bottom: 12px; }
.site-header.is-compact::before { opacity: 1; }
.logo img { width: auto; height: 74px; transform-origin: left center; transition: transform 0.3s var(--ease); }
.is-compact .logo img { transform: scale(0.72); }
.menu-btn {
  position: relative;
  z-index: 60;
  width: 30px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 2px; }
.menu-btn span:nth-child(2) { top: 9px; }
.menu-btn span:nth-child(3) { top: 16px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
.head-cta {
  margin-left: auto;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.head-cta:hover { background: #fff; color: var(--red); }
html:not(.js) .menu-btn { display: none; }

.nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: var(--red-deep);
  color: #fff;
}
.nav ol { margin: 0; padding: 0; list-style: none; }
.nav li { overflow: hidden; }
.nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  font-family: var(--serif-en);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.3;
  text-decoration: none;
}
.nav a span { font-family: var(--sans); font-size: 13px; letter-spacing: 0.2em; opacity: 0.7; }
.nav a:hover { font-style: italic; }
.js .nav {
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
}
.js .nav.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}
html:not(.js) .nav { position: static; padding: 120px var(--gutter) 40px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: min(100vh, 980px);
}
.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px var(--gutter) 120px;
  background: var(--red);
  color: #fff;
}
.hero-title {
  margin: 0;
  width: max-content;
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(60, 10, 12, 0.35);
}
.hero-line { display: block; }
.hero-title .mark { font-weight: 700; }
.hero-sub {
  margin: 28px 0 0;
  font-family: var(--serif-ja);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: 0.24em;
}
.scroll-ring {
  position: absolute;
  right: -56px;
  bottom: 56px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.scroll-ring:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.scroll-ring svg { width: 22px; fill: none; stroke: #fff; stroke-width: 1.4; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }

.hero-media { position: relative; overflow: hidden; background: #2a2020; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero-pause {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
}
.hero-pause span,
.hero-pause span::after { position: absolute; top: 17px; left: 19px; width: 3px; height: 14px; background: #fff; }
.hero-pause span::after { content: ""; top: 0; left: 7px; }
.hero-pause[aria-pressed="true"] span { left: 20px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.hero-pause[aria-pressed="true"] span::after { display: none; }
html:not(.js) .hero-pause { display: none; }

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 26px var(--gutter);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.hero-foot img { width: 40px; }
.hero-foot svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.3s var(--ease); }
.hero-foot:hover svg { transform: translateX(6px); }

.mark { position: relative; display: inline-block; white-space: nowrap; }
.scribble {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 0;
}
.js .scribble { stroke-dashoffset: 700; transition: stroke-dashoffset 1.4s var(--ease) 0.5s; }
.js .is-in .scribble,
.js .is-loaded .hero .scribble { stroke-dashoffset: 0; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow--light { color: #fff; opacity: 0.85; }
.h2 {
  margin: 0 0 32px;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.h2 .mark { color: var(--red); }
.h2--light .mark { color: #fff; }

.mission {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px var(--gutter) 160px;
}
.collage { position: relative; aspect-ratio: 1 / 0.95; }
.collage img { position: absolute; object-fit: cover; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16); }
.collage .c1 { top: 0; right: 0; width: 56%; aspect-ratio: 4 / 3; }
.collage .c2 { left: 0; top: 26%; width: 46%; aspect-ratio: 1; z-index: 2; }
.collage .c3 { right: 12%; bottom: 0; width: 36%; aspect-ratio: 3 / 4; z-index: 3; }
.mission-body p:last-child { margin: 0; color: #3d3838; }

.wwd { position: relative; padding-bottom: 120px; }
.wwd-band {
  position: relative;
  width: 82%;
  padding: 0 var(--gutter) 110px;
  background: var(--red);
  color: #fff;
}
.wwd-top {
  position: relative;
  top: -60px;
  width: min(380px, 60%);
  margin-left: 22%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}
.wwd-body { max-width: 540px; margin-left: clamp(0px, 6vw, 90px); }
.wwd-body p:last-child { margin: 0; font-size: 14px; opacity: 0.92; }
.wwd-side {
  position: absolute;
  right: 0;
  top: 28%;
  width: 46%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1320px;
  margin: 0 auto 140px;
  padding: 0 var(--gutter);
}
.svc-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5vw, 72px);
  background: var(--red-deep);
  color: #fff;
}
.svc-slides { display: grid; flex: 1; }
.svc-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s; }
.svc-item.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .svc-item { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 32px; }
.svc-title {
  margin: 0 0 24px;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.svc-item p { margin: 0; font-size: 14px; opacity: 0.92; }
.svc-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
html:not(.js) .svc-ctrl { display: none; }
.svc-ctrl button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.svc-ctrl button:hover { background: #fff; color: var(--red-deep); }
.svc-ctrl svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.svc-count { font-family: var(--serif-en); letter-spacing: 0.12em; opacity: 0.8; }
.svc-count b { font-weight: 400; opacity: 1; }
.svc-media { position: relative; min-height: 520px; overflow: hidden; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.8s var(--ease), transform 1.2s var(--ease); }
.svc-img.is-active { opacity: 1; transform: none; }

.statement {
  position: relative;
  padding: 80px var(--gutter) 140px;
  text-align: center;
  overflow: hidden;
}
.statement-mono {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(460px, 70vw);
  opacity: 0.08;
  transform: translate(-50%, -54%) rotate(-6deg);
}
.statement-text {
  position: relative;
  margin: 0;
  font-family: var(--serif-ja);
  font-size: clamp(24px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: #3d3838;
}
.statement-text b { color: var(--red); font-weight: 700; }

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 460px;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.pillars-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.55; }
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.4s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(143, 28, 33, 0.72); }
.pillar-num { margin: 0 0 6px; font-family: var(--serif-en); font-style: italic; opacity: 0.8; }
.pillar h3 { margin: 0 0 12px; font-family: var(--serif-en); font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: 0.04em; }
.pillar p:last-child { margin: 0; font-size: 14px; line-height: 1.9; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px var(--gutter);
}
.about-list { margin: 0; }
.about-list div { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-list div:first-child { border-top: 1px solid var(--line); }
.about-list dt { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; }
.about-list dd { margin: 0; }
.about-list a { text-decoration: none; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.badge {
  position: absolute;
  left: -64px;
  top: -64px;
  width: 150px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.32em;
  fill: var(--red);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 100px);
  padding: 140px max(var(--gutter), calc((100vw - 1200px) / 2)) 160px;
  background: var(--mist);
  overflow: hidden;
}
.contact-mono {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: min(420px, 60vw);
  opacity: 0.9;
  pointer-events: none;
}
.contact-head p:last-child { margin: 0; color: #3d3838; font-size: 14px; }
.contact-call {
  position: relative;
  align-self: center;
  padding: 48px clamp(28px, 4vw, 56px);
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}
.contact-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; }
.contact-tel {
  display: inline-block;
  color: var(--red);
  font-family: var(--serif-en);
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.contact-tel:hover { background-size: 100% 1px; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 60px;
  align-items: center;
  padding: 64px max(var(--gutter), calc((100vw - 1200px) / 2)) 48px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.foot-logo { width: auto; height: 64px; }
.foot-info p { margin: 0; line-height: 1.9; }
.foot-info a { text-decoration: none; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 36px; }
.foot-nav a { color: var(--red); font-size: 13px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.copy { grid-column: 1 / -1; margin: 16px 0 0; color: var(--muted); font-size: 12px; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.site-header a:focus-visible,
.site-header button:focus-visible,
.nav a:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.svc-panel button:focus-visible { outline-color: #fff; }

.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(32px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.collage .reveal.is-in:nth-child(2) { transition-delay: 0.12s; }
.collage .reveal.is-in:nth-child(3) { transition-delay: 0.24s; }

.js .hero-panel > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero-panel > :nth-child(2) { transition-delay: 0.25s; }
.js .hero-panel > :nth-child(3) { transition-delay: 0.5s; }
.js .is-loaded .hero-panel > * { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .wwd { padding-bottom: 0; }
  .wwd-side { position: static; width: 70%; margin: -40px 0 0 auto; }
}

@media (max-width: 960px) {
  .sp { display: inline; }
  .logo img { height: 52px; }
  .is-compact .logo img { transform: scale(0.85); }
  .head-cta { padding: 9px 16px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding: 130px var(--gutter) 90px; }
  .hero-title { width: auto; font-size: clamp(42px, 12vw, 72px); }
  .scroll-ring { right: var(--gutter); bottom: -44px; width: 88px; height: 88px; background: var(--red); }
  .hero-media { aspect-ratio: 4 / 5; }
  .mission,
  .about,
  .contact { grid-template-columns: 1fr; }
  .mission { padding: 80px var(--gutter) 110px; }
  .wwd { padding-bottom: 0; }
  .wwd-band { width: auto; margin-top: 60px; padding-bottom: 80px; }
  .wwd-top { width: 72%; margin-left: 0; }
  .wwd-side { position: static; width: 88%; margin: -40px 0 0 auto; }
  .service { grid-template-columns: 1fr; margin-top: 90px; margin-bottom: 90px; padding: 0; }
  .svc-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .statement { padding: 40px var(--gutter) 100px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); padding: 48px 24px; }
  .pillar:last-child { border-bottom: 0; }
  .about { padding: 110px var(--gutter); }
  .about-media { width: 80%; margin-left: auto; }
  .badge { left: -48px; top: -48px; width: 112px; }
  .contact { padding: 110px var(--gutter) 200px; }
  .contact-mono { width: 240px; right: -20px; bottom: -30px; }
  .site-footer { grid-template-columns: 1fr; }
  .about-list div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
  .js .reveal,
  .js .hero-panel > * { opacity: 1; transform: none; }
  .js .scribble { stroke-dashoffset: 0; }
}
