/* ============================================================
   大都督 DADUDU — Swiss Style / International Typographic Style
   12-column grid · grotesque sans · flush left · white space · objective
   Black + off-white + one accent red (#DA291C). Flat. No shadows,
   no gradients, no textures, no illustration.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F2F0EB;
  --ink: #111111;
  --red: #DA291C;
  --muted: #5F5C56;
  --rule: #111111;
  --rule-soft: #CFCBC2;
  --sans: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --gutter: 24px;
  --margin: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(var(--max), 100% - var(--margin) * 2);
  margin-inline: auto;
}

/* ---------- grid ---------- */

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }

/* ---------- type scale ---------- */

.micro {
  font-family: "Inter", var(--sans);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement {
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.body-text {
  margin-top: 24px;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}
.link:hover { color: var(--red); border-color: var(--red); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.brand-mark {
  width: 8px;
  height: 8px;
  background: var(--red);
}

.nav {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.6vw, 34px);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.nav a span { color: var(--red); font-size: 9px; letter-spacing: 0.08em; }
.nav a:hover { border-bottom-color: var(--ink); }

.menu-btn {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
}
.menu-btn span {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, top 0.25s;
}
.menu-btn span:first-child { top: 11px; }
.menu-btn span:last-child { top: 19px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 15px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 15px; transform: rotate(-45deg); }

body.menu-open .site-header {
  background: var(--ink);
  border-bottom-color: rgba(242, 240, 235, 0.2);
}
body.menu-open .brand { color: var(--paper); }
body.menu-open .menu-btn span { background: var(--paper); }

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px var(--margin) 32px;
  background: var(--ink);
  color: var(--paper);
}
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: grid; }
.menu-panel a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 240, 235, 0.22);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.menu-panel a span { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; color: var(--red); }
.menu-meta { font-size: 11px; letter-spacing: 0.12em; color: rgba(242, 240, 235, 0.6); }

/* ---------- hero ---------- */

.hero { padding-top: 24px; }
.hero-top { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.hero-top .micro:last-child { color: var(--muted); }

.hero-main {
  margin-top: clamp(40px, 6vw, 72px);
  align-items: start;
  row-gap: 40px;
}

.hero-title {
  font-size: clamp(84px, 15.4vw, 232px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.hero-sub {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-body {
  margin-top: 18px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions { margin-top: 32px; }

.hero-poster { margin: 0; }

.poster-field {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #23408F;
}
.poster-disc {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
}
.poster-mascot {
  position: relative;
  z-index: 2;
  width: 84%;
  margin-bottom: 3%;
}
.poster-square {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 36px;
  height: 36px;
  background: var(--red);
}
.poster-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
}

.facts {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  row-gap: 24px;
}
.fact dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin-top: 8px; font-size: 14px; line-height: 1.6; }

/* ---------- band ---------- */

.band {
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 14px;
  background: var(--ink);
  color: var(--paper);
}
.band-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.band-row i { font-style: normal; color: var(--red); }

/* ---------- sections ---------- */

.section {
  padding-block: clamp(72px, 9vw, 132px);
  border-top: 1px solid var(--rule);
}
.section-head {
  align-items: start;
  row-gap: 20px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .micro { padding-top: 10px; color: var(--red); }
.section-head .section-lead {
  padding-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  max-width: 26em;
}

h2 {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* ---------- culture ---------- */

.culture-body { row-gap: 48px; }
.culture-statement { padding-top: 2px; }

.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: 56px 132px minmax(0, 1fr);
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule-soft);
}
.row-idx {
  padding-top: 5px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.row h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.06em; }
.row p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- services table ---------- */

.table { border-top: 1px solid var(--rule); }

.trow {
  display: grid;
  grid-template-columns: 72px 1.1fr 1.9fr 1.3fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 10px;
  margin-inline: -10px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.thead {
  padding-block: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom-color: var(--rule);
}
.tidx { font-size: 11px; letter-spacing: 0.1em; color: var(--red); }
.tname { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.tdesc, .tform { color: var(--muted); }

a.trow:hover { background: var(--ink); color: var(--paper); }
a.trow:hover .tdesc,
a.trow:hover .tform,
a.trow:hover .tidx { color: var(--paper); }

/* ---------- works ---------- */

.works { row-gap: clamp(36px, 4vw, 56px); }

.work { display: block; }
.cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-idx {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.works .work:nth-child(2) .cover-idx { color: var(--ink); }

.visual-band { margin: 0; }
.visual-band img { display: block; width: 100%; height: auto; }

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.work-meta h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.work:hover .work-meta h3 { text-decoration: underline; text-underline-offset: 4px; }
.work-meta .micro { margin-left: auto; text-align: left; color: var(--muted); }

/* ---------- about ---------- */

.about-body { row-gap: 48px; }
.about-body .principles { grid-column: 8 / span 5; }

.entity {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.entity > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13px;
}
.entity dt { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); padding-top: 3px; }
.entity a { border-bottom: 1px solid var(--ink); }

.principles { border-top: 1px solid var(--rule); }
.principles li {
  padding-block: 20px;
  border-bottom: 1px solid var(--rule-soft);
}
.principles .micro { color: var(--red); }
.principles h3 { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: 0.08em; }
.principles p { margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- contact ---------- */

.contact {
  padding-block: clamp(72px, 9vw, 128px);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.contact .micro { color: rgba(242, 240, 235, 0.6); }
.contact-head { margin-bottom: clamp(48px, 6vw, 88px); }
.contact h2 { color: var(--paper); }

.contact-body { align-items: end; row-gap: 32px; }
.mail {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  font-size: clamp(24px, 3.9vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.15s;
}
.mail:hover { color: var(--red); }

.contact-meta { font-size: 12px; line-height: 2.1; }
.contact-meta p { color: rgba(242, 240, 235, 0.72); }

/* ---------- footer ---------- */

.site-footer {
  padding-block: 22px;
  border-top: 1px solid var(--rule);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-mid { font-weight: 700; color: var(--ink); letter-spacing: 0.12em; }
.footer-row a:hover { color: var(--red); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .trow { grid-template-columns: 56px 1fr 1.6fr 1.2fr; }
  .section-head .section-lead { font-size: 14px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }

  .grid12 { grid-template-columns: 1fr; row-gap: 28px; }
  .grid12 > * { grid-column: 1 / -1; }

  .hero-title { font-size: clamp(76px, 22vw, 140px); }
  .hero-top { row-gap: 8px; }
  .poster-cap { font-size: 9px; }
  .facts { row-gap: 20px; }
  .facts .fact { padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft); }

  .section-head { row-gap: 14px; }
  .section-head .micro { padding-top: 0; }
  .section-head .section-lead { padding-top: 4px; }

  .row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; }
  .row h3 { grid-column: 2; }
  .row p { grid-column: 2; }

  .thead { display: none; }
  .trow {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 2px;
    padding: 16px 0;
    margin-inline: 0;
  }
  .tname { grid-column: 2; }
  .tdesc { grid-column: 2; }
  .tform { grid-column: 2; font-size: 11px; letter-spacing: 0.06em; }
  a.trow:hover { padding-inline: 8px; margin-inline: -8px; }

  .work-meta { margin-top: 12px; }
  .about-body .principles { grid-column: 1 / -1; }

  .mail { font-size: clamp(20px, 6vw, 34px); word-break: break-all; }
  .contact-meta { margin-top: 8px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero-title { font-size: clamp(72px, 24vw, 120px); }
  .band-row { font-size: 10px; gap: 6px 10px; }
  .work-meta { flex-wrap: wrap; }
  .work-meta .micro { margin-left: 0; }
  .entity > div { grid-template-columns: 64px minmax(0, 1fr); }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
