  :root {
    --ground: #14171C;
    --panel: #1C2027;
    --ink: #F4F5F7;
    --sub: #A7AFBA;
    --line: #2C323B;
    --accent: #FFC800;
    --accent-ink: #14171C;
    --sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
    --display: Archivo, "Noto Sans JP", sans-serif;
    color-scheme: dark;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

  .wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }
  section { padding: clamp(72px, 12vh, 128px) 0; border-top: 1px solid var(--line); }
  .label {
    display: block;
    font-family: var(--display);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--accent);
    margin-bottom: 18px;
  }
  h2 {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
  }
  p + p { margin-top: 1.2em; }

  /* ---------- header ---------- */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--ground) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
  }
  header .brand { display: inline-flex; align-items: center; height: 22px; }
  header .brand svg { height: 22px; width: auto; }
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.24em;
    padding: 4px 0;
  }
  .menu-btn .bars { display: inline-flex; flex-direction: column; gap: 5px; }
  .menu-btn .bars i {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.35s, opacity 0.35s;
  }
  .menu-open .menu-btn .bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn .bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  /* fullscreen menu */
  .menu {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: rgba(20, 23, 28, 0.96);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
  .menu nav { display: flex; flex-direction: column; align-items: flex-start; }
  .menu nav a {
    font-family: var(--display);
    font-size: clamp(40px, 9vh, 88px);
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    color: var(--ink);
    transition: color 0.3s;
  }
  .menu nav a:hover, .menu nav a:focus-visible { color: var(--accent); }

  /* ---------- hero ---------- */
  .hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    border-top: none;
  }
  .hero .wrap { text-align: center; }
  .hero .mark svg { width: min(78vw, 560px); height: auto; display: block; margin: 0 auto; }
  .hero .tagline {
    margin-top: clamp(40px, 8vh, 72px);
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.7;
  }
  .hero .sub {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--sub);
  }
  .hero .scroll {
    display: block;
    margin-top: clamp(48px, 10vh, 88px);
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--sub);
    text-decoration: none;
  }

  /* ---------- about ---------- */
  .about p { font-size: 16px; color: var(--ink); max-width: 680px; }
  .about p.lead { font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; line-height: 1.9; }

  /* ---------- principles ---------- */
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .pillars > div { background: var(--panel); padding: 28px 24px 30px; }
  .pillars .no {
    font-family: var(--display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--accent);
  }
  .pillars h3 { font-size: 18px; font-weight: 700; margin-top: 12px; letter-spacing: 0.04em; }
  .pillars p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--sub); }
  @media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

  /* ---------- representative ---------- */
  .rep-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: 0.06em; }
  .rep-role { margin-top: 6px; font-size: 13px; letter-spacing: 0.14em; color: var(--sub); }
  .rep-body { margin-top: 26px; max-width: 680px; }
  .rep-body p { font-size: 15px; color: var(--ink); }
  .credits {
    margin-top: 28px;
    max-width: 680px;
    border-top: 1px solid var(--line);
  }
  .credits li {
    list-style: none;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .credits li span:first-child { font-family: var(--display); font-weight: 700; color: var(--sub); font-size: 14px; }
  @media (max-width: 600px) { .credits li { grid-template-columns: 1fr; gap: 4px; } }

  /* ---------- direction ---------- */
  .timeline { list-style: none; max-width: 680px; border-left: 1px solid var(--line); }
  .timeline li { position: relative; padding: 0 0 28px 28px; }
  .timeline li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
  }
  .timeline .when { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; color: var(--accent); }
  .timeline .what { margin-top: 4px; font-size: 15px; }

  /* ---------- company ---------- */
  dl.company { max-width: 760px; border-top: 1px solid var(--line); }
  dl.company > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  dl.company dt { font-weight: 700; color: var(--sub); font-size: 14px; letter-spacing: 0.06em; }
  dl.company dd { font-size: 15px; }
  @media (max-width: 600px) { dl.company > div { grid-template-columns: 1fr; gap: 4px; } }

  /* ---------- works ---------- */
  .works-empty { border: 1px solid var(--line); background: var(--panel); padding: clamp(48px, 8vw, 88px) 24px; text-align: center; }
  .works-empty .coming {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(28px, 6vw, 60px);
    letter-spacing: 0.12em;
    color: var(--ink);
  }
  .works-note { margin-top: 18px; font-size: 14px; color: var(--sub); }

  /* ---------- contact ---------- */
  .contact-box {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: clamp(28px, 5vw, 44px);
    max-width: 760px;
  }
  .contact-box p { font-size: 15px; }
  .contact-box .mail {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 26px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-decoration: none;
  }
  .contact-box .mail:hover { opacity: 0.88; }

  footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 48px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--sub);
  }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
  footer .en { font-family: var(--display); font-weight: 900; letter-spacing: 0.2em; color: var(--ink); }

  @media (prefers-reduced-motion: no-preference) {
    .hero .mark svg { animation: rise 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
    .hero .tagline, .hero .sub { animation: rise 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) 0.3s both; }
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }

  .menu-open { overflow: hidden; }

  /* ---------- subpages ---------- */
  .subpage .page-top { padding: 150px 0 clamp(56px, 10vh, 96px); border-top: none; }
  .subpage .page-top h1 {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }
  .subpage .page-top .label { margin-bottom: 14px; }
  .menu nav a[aria-current="page"] { color: var(--accent); }
