:root {
  --bg: #0b0b0d;
  --panel: #151519;
  --panel-soft: #1d1d22;
  --text: #f3f1ed;
  --muted: #b7b1a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d8b86a;
  --accent-strong: #f0cf7a;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: relative;
  width: 100%;
  background: #08080a;
  background: #08080a;
}

.hero-media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 2507 / 848;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.14)),
    var(--header-image);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: clamp(285px, 42vw, 540px);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links a {
  color: var(--accent);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(216, 184, 106, 0.1);
  border: 1px solid rgba(216, 184, 106, 0.72);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--accent-strong);
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.topics {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  width: min(980px, calc(100% - 48px));
  margin: -54px auto 0;
  padding: 26px 30px;
  position: relative;
  z-index: 4;
  background: rgba(21, 21, 25, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topics h2 {
  margin: 0;
  color: var(--accent);
  font-size: 22px;
}

.topics ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.works-section {
  padding-top: 54px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading p {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.works-section .section-heading p {
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.works-section {
  display: grid;
  justify-items: center;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  width: min(980px, 100%);
  margin-bottom: 42px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-work img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border-radius: 16px;
}

.work-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(16px, 2.15vw, 28px);
  line-height: 1.14;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.work-copy {
  min-width: 0;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.meta-list div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.meta-list dt {
  color: var(--accent);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.work-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(216, 184, 106, 0.72);
  border-radius: var(--radius);
  color: var(--accent-strong);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 800;
}

.work-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 800;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, 100%);
}

.work-card {
  appearance: none;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 0;
  background: var(--panel-soft);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.work-card:hover,
.work-card.is-active {
  border-color: rgba(216, 184, 106, 0.72);
  transform: translateY(-4px) scale(1.02);
}

.work-card.is-active {
  border-color: var(--accent-strong);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
}

.work-card strong {
  display: block;
  padding: 15px 16px 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.work-card span {
  display: block;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.company-band {
  display: grid;
  gap: 42px;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  background: #08080a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.company-intro {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.company-intro .eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 15px;
}

.company-intro h2 {
  margin-bottom: 26px;
  color: var(--accent);
  font-size: clamp(24px, 3.5vw, 38px);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.company-intro p {
  margin: 0 auto 8px;
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.72;
  text-align: left;
}

.company-profile {
  display: grid;
  gap: 0;
  width: min(780px, 100%);
  margin: 0 auto;
}

.company-profile div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 36px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.company-profile div:first-child {
  border-top: 1px solid var(--line);
}

.company-profile dt {
  color: var(--accent);
  font-size: clamp(14px, 1.28vw, 18px);
  font-weight: 900;
}

.company-profile dd {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  background: #08080a;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}

.footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 14px;
    width: min(100% - 32px, 720px);
    padding-right: 58px;
  }

  .brand {
    width: min(345px, calc(100vw - 112px));
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1001;
    transform: translateY(-50%);
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 190px;
    padding: 14px;
    background: rgba(11, 11, 13, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
  }

  .nav-links.is-open {
    display: grid;
    gap: 10px;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .section,
  .topics,
  .footer {
    width: min(100% - 32px, 720px);
  }

  .topics,
  .featured-work,
  .company-band {
    grid-template-columns: 1fr;
  }

  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topics {
    width: min(100% - 72px, 520px);
    margin-top: -34px;
    padding: 13px 16px;
    gap: 10px;
  }

  .topics h2 {
    font-size: 20px;
  }

  .topics ul {
    gap: 3px;
    font-size: 11px;
    line-height: 1.58;
  }

  .section {
    padding: 70px 0;
  }

  .works-section {
    padding-top: 34px;
  }

  .work-copy h3 {
    font-size: 24px;
    line-height: 1.18;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .meta-list div,
  .company-profile div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer {
    flex-direction: column;
  }
}
