@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Yuji+Syuku&display=swap");

:root {
  --font-body: "Klee One", "UD Digi Kyokasho NP", "UD Digi Kyokasho N", "HGPKyokashotai", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading: "Yuji Syuku", "HGPGyoshotai", "HGGyoshotai", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ink: #17130f;
  --muted: #665c50;
  --paper: #f8f1df;
  --paper-strong: #efe0bf;
  --night: #07111e;
  --night-2: #111827;
  --gold: #c99b43;
  --copper: #9b4f2b;
  --blue: #2f80ed;
  --green: #2d6a4f;
  --line: rgba(23, 19, 15, 0.16);
  --white: #fffaf0;
  --shadow: 0 18px 45px rgba(9, 12, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 155, 67, 0.18), transparent 34rem),
    linear-gradient(180deg, #fff8e8 0%, #f7edda 46%, #efe1c2 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(248, 241, 223, 0.16);
  background: rgba(7, 17, 30, 0.88);
  color: #fffaf0;
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 20px;
}

.brand small {
  display: block;
  color: rgba(255, 250, 240, 0.66);
  font-size: 12px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.1);
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 30, 0.95) 0%, rgba(7, 17, 30, 0.82) 42%, rgba(7, 17, 30, 0.24) 100%),
    url("../images/galaxy-card-sample.png") center right / cover no-repeat;
  color: #fffaf0;
  overflow: hidden;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.55;
}

.hero-sub {
  max-width: 880px;
  margin: 20px 0 0;
  color: rgba(255, 250, 240, 0.74);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ink);
  color: #fffaf0;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #17130f;
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.38);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.button.light {
  border-color: rgba(23, 19, 15, 0.18);
  background: #fffaf0;
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7, 17, 30, 0.2);
}

.hero-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.strip-card {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow);
}

.strip-card b {
  display: block;
  font-size: 20px;
}

.strip-card span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section.dark {
  background:
    linear-gradient(180deg, #08101a, #15100c);
  color: #fffaf0;
}

.section.paper {
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-weight: 900;
  text-transform: uppercase;
}

.dark .section-kicker {
  color: var(--gold);
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.13;
  letter-spacing: 0;
}

.section-title.title-compact {
  font-size: clamp(28px, 4.1vw, 48px);
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-text {
  color: rgba(255, 250, 240, 0.72);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.intro-copy {
  font-size: 19px;
}

.intro-copy p {
  margin: 0 0 18px;
}

.quote-box {
  padding: 26px;
  border: 1px solid rgba(201, 155, 67, 0.38);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.quote-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline-year {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card-body {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.product-card p {
  margin: 0 0 18px;
  color: rgba(255, 250, 240, 0.72);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 6px;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 800;
}

.mini-button.gold {
  border-color: transparent;
  background: var(--gold);
  color: #17130f;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.idea {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.66);
}

.idea b {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.idea span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process {
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
}

.process b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #17130f;
  font-family: Georgia, serif;
}

.process h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.process p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(23, 19, 15, 0.14);
  background: #17130f;
  color: rgba(255, 250, 240, 0.78);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.page-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(7, 17, 30, 0.96) 0%, rgba(7, 17, 30, 0.74) 50%, rgba(7, 17, 30, 0.12) 100%),
    var(--hero-image) center right / cover no-repeat;
}

.page-hero .container {
  padding: 80px 0 64px;
}

.page-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 19px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: start;
}

.sample-frame {
  overflow: hidden;
  border: 1px solid rgba(23, 19, 15, 0.18);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.sample-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.detail-copy p {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-item {
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 8px;
  background: #fffaf0;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-item-body {
  padding: 20px;
}

.gallery-item h3 {
  margin: 0 0 8px;
}

.gallery-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

.order-panel {
  padding: 28px;
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: 8px;
  background: #fffaf0;
}

.order-panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 19, 15, 0.18);
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.delay-maker {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1fr;
  gap: 30px;
  align-items: start;
}

.certificate-preview {
  min-height: 560px;
  padding: 34px;
  border: 4px double #1b1712;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 155, 67, 0.16), transparent 42%),
    #f4e2b9;
  box-shadow: var(--shadow);
}

.certificate-preview h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.certificate-preview .sub {
  margin: 8px 0 24px;
  font-family: Georgia, serif;
  font-size: 22px;
}

.certificate-preview dl {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.certificate-preview dt {
  color: var(--muted);
  font-weight: 800;
}

.certificate-preview dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.certificate-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 19, 15, 0.2);
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: #17130f;
  color: #fffaf0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 250, 240, 0.16);
    border-radius: 8px;
    background: rgba(7, 17, 30, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(7, 17, 30, 0.94) 0%, rgba(7, 17, 30, 0.74) 50%, rgba(7, 17, 30, 0.26) 100%),
      url("../images/galaxy-card-sample.png") center bottom / cover no-repeat;
  }

  .hero-strip,
  .product-grid,
  .process-grid,
  .ideas-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .detail-grid,
  .delay-maker,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band .actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero-inner,
  .container,
  .footer-inner,
  .hero-strip {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(44px, 16vw, 72px);
  }

  .hero-lead {
    font-size: 19px;
  }

  .section {
    padding: 66px 0;
  }

  .hero-strip,
  .product-grid,
  .process-grid,
  .ideas-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-year {
    font-size: 36px;
  }

  .contact-band,
  .order-panel,
  .certificate-preview {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Cool redesign pass */
:root {
  --ink: #171513;
  --muted: #756f66;
  --paper: #f4ead8;
  --paper-strong: #e4d1aa;
  --night: #070807;
  --night-2: #14100c;
  --gold: #d4a94f;
  --copper: #a9683f;
  --blue: #4f8fbf;
  --green: #547c68;
  --line: rgba(23, 21, 19, 0.14);
  --white: #fff8ea;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #080807 0%, #17110c 34%, #f4ead8 34%, #efe0c7 100%);
  font-feature-settings: "palt";
}

.jp-line {
  display: block;
}

.site-header {
  border-bottom: 1px solid rgba(212, 169, 79, 0.22);
  background: rgba(7, 8, 7, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  border-color: rgba(212, 169, 79, 0.52);
  background: rgba(212, 169, 79, 0.08);
  box-shadow: inset 0 0 18px rgba(212, 169, 79, 0.12);
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  border: 1px solid transparent;
  color: rgba(255, 248, 234, 0.78);
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: rgba(212, 169, 79, 0.28);
  background: rgba(255, 248, 234, 0.08);
}

.hero {
  min-height: calc(100svh - 74px);
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.98) 0%, rgba(8, 8, 7, 0.88) 40%, rgba(8, 8, 7, 0.42) 68%, rgba(8, 8, 7, 0.62) 100%),
    linear-gradient(180deg, rgba(212, 169, 79, 0.2) 0%, rgba(8, 8, 7, 0) 42%),
    url("../images/galaxy-card-sample.png") center right / cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 248, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 234, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
  pointer-events: none;
}

.hero-inner {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: end;
  gap: 42px;
  padding: 96px 0 84px;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(56px, 9.4vw, 112px);
  line-height: 0.96;
  text-wrap: balance;
}

.hero-lead {
  max-width: 820px;
  margin-top: 30px;
  color: #fff8ea;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.48;
  text-wrap: balance;
}

.hero-sub {
  max-width: 820px;
  margin-top: 18px;
  color: rgba(255, 248, 234, 0.74);
  font-size: 16px;
  line-height: 1.95;
}

.hero-metrics {
  display: grid;
  gap: 10px;
  align-self: end;
  margin-bottom: 8px;
}

.metric {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(212, 169, 79, 0.24);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.5);
  backdrop-filter: blur(12px);
}

.metric span {
  color: rgba(212, 169, 79, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.metric b {
  color: rgba(255, 248, 234, 0.9);
  font-size: 14px;
}

.button,
.mini-button {
  border-radius: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button.primary,
.mini-button.gold {
  background: linear-gradient(180deg, #e2bc62, #c99739);
  color: #17120d;
  box-shadow: 0 12px 28px rgba(212, 169, 79, 0.2);
}

.button.secondary,
.mini-button {
  border-color: rgba(255, 248, 234, 0.28);
  background: rgba(255, 248, 234, 0.07);
}

.hero-strip {
  margin-top: -46px;
  gap: 14px;
}

.strip-card {
  min-height: 104px;
  border-color: rgba(212, 169, 79, 0.22);
  background: rgba(255, 248, 234, 0.92);
  backdrop-filter: blur(14px);
}

.strip-card b {
  font-size: 18px;
}

.section {
  padding: 104px 0;
}

.section.dark {
  background:
    linear-gradient(180deg, #080807, #17110c 72%, #0b0a09);
}

.section.paper {
  background:
    linear-gradient(180deg, #f7efdf, #efe0c7);
}

.section-kicker {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0;
}

.section-title {
  max-width: 860px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.2;
  text-wrap: balance;
}

.section-head.center .section-title {
  margin-left: auto;
  margin-right: auto;
}

.section-title.title-compact {
  font-size: clamp(28px, 3.7vw, 44px);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.intro-copy {
  font-size: 18px;
}

.quote-box {
  border-color: rgba(212, 169, 79, 0.3);
  background: rgba(255, 248, 234, 0.76);
  box-shadow: 0 16px 36px rgba(78, 53, 25, 0.1);
}

.quote-box strong {
  font-size: clamp(24px, 3vw, 32px);
}

.timeline {
  gap: 0;
}

.timeline-item {
  grid-template-columns: 104px 1fr;
  padding: 30px 0;
}

.timeline-year {
  color: var(--copper);
  font-size: clamp(31px, 3.8vw, 40px);
  font-weight: 700;
}

.timeline-item h3 {
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.45;
}

.product-grid {
  gap: 18px;
}

.product-card {
  border-color: rgba(212, 169, 79, 0.18);
  background: rgba(255, 248, 234, 0.05);
}

.product-card img {
  aspect-ratio: 16 / 11;
  filter: saturate(0.95) contrast(1.04);
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  font-size: 24px;
}

.ideas-grid {
  gap: 16px;
}

.idea {
  min-height: 158px;
  border-color: rgba(23, 21, 19, 0.12);
  background: rgba(255, 248, 234, 0.76);
  box-shadow: 0 12px 30px rgba(78, 53, 25, 0.08);
}

.process {
  min-height: 230px;
  border-color: rgba(212, 169, 79, 0.18);
  background: rgba(255, 248, 234, 0.055);
}

.process b {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  background: rgba(212, 169, 79, 0.18);
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

.contact-band {
  border-color: rgba(212, 169, 79, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.96), rgba(239, 224, 199, 0.96));
}

.contact-band h2 {
  max-width: 760px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.28;
  text-wrap: balance;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.98) 0%, rgba(8, 8, 7, 0.82) 48%, rgba(8, 8, 7, 0.24) 100%),
    var(--hero-image) center right / cover no-repeat;
}

.page-lead {
  max-width: 760px;
  line-height: 1.9;
  text-wrap: balance;
}

.sample-frame,
.gallery-item,
.order-panel,
.certificate-preview {
  border-color: rgba(212, 169, 79, 0.22);
  box-shadow: var(--shadow);
}

.detail-copy h2 {
  font-size: clamp(28px, 3.7vw, 44px);
  line-height: 1.25;
  text-wrap: balance;
}

.spec-list li {
  border-top-color: rgba(23, 21, 19, 0.12);
}

.field input,
.field select,
.field textarea {
  border-color: rgba(23, 21, 19, 0.16);
  background: #fffaf0;
}

.certificate-preview h2 {
  font-size: clamp(40px, 5.2vw, 64px);
}

.certificate-preview dd {
  font-size: 18px;
}

.intro-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}

.intro-copy-text {
  display: grid;
  gap: 18px;
}

.intro-copy-text p {
  margin: 0;
}

.section-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(212, 169, 79, 0.28);
  border-radius: 8px;
  background: #11100e;
  box-shadow: 0 24px 58px rgba(78, 53, 25, 0.2);
}

.section-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 12%, rgba(255, 248, 234, 0.18) 42%, transparent 70%),
    radial-gradient(circle at 12% 8%, rgba(212, 169, 79, 0.24), transparent 36%);
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 420ms var(--ease-out-quart), transform 820ms var(--ease-out-expo);
  pointer-events: none;
}

.section-visual:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.section-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
}

.section-visual-inset {
  margin-top: 2px;
}

.section-visual-wide {
  margin: -6px 0 30px;
}

.section-visual-wide img {
  aspect-ratio: 16 / 8;
}

.ideas-visual img {
  object-position: center 52%;
}

.flow-visual img {
  object-position: center 44%;
}

.dark .section-visual {
  border-color: rgba(212, 169, 79, 0.24);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.38);
}

@media (max-width: 980px) {
  .section-visual-wide {
    margin: 0 0 24px;
  }

  .section-visual-wide img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .intro-copy {
    gap: 20px;
  }

  .section-visual img,
  .section-visual-wide img {
    aspect-ratio: 4 / 3;
  }

  .section-visual-wide {
    margin-bottom: 20px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 780px;
    background:
      linear-gradient(180deg, rgba(6, 6, 6, 0.98) 0%, rgba(8, 8, 7, 0.86) 50%, rgba(8, 8, 7, 0.42) 100%),
      url("../images/galaxy-card-sample.png") center bottom / cover no-repeat;
  }

  .hero-inner {
    min-height: 780px;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 28px;
    padding: 80px 0 72px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric {
    grid-template-columns: 1fr;
    min-height: 86px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(7, 8, 7, 0.94);
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
    padding: 64px 0 56px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 21px;
    line-height: 1.55;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-sub .jp-line {
    display: inline;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .metric {
    min-height: 58px;
    grid-template-columns: 42px 1fr;
    padding: 12px;
  }

  .metric span {
    font-size: 18px;
  }

  .hero-strip {
    margin-top: -28px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: clamp(28px, 9vw, 38px);
  }

  .section-title.title-compact {
    font-size: clamp(26px, 8vw, 34px);
  }

  .timeline-year {
    font-size: 30px;
  }

  .timeline-item h3 {
    font-size: 21px;
  }

  .process {
    min-height: auto;
  }

  .contact-band h2 {
    font-size: 26px;
  }
}

/* Dramatic motion pass */
:root {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 169, 79, 0.16), transparent 18rem),
    radial-gradient(circle at 14% 20%, rgba(79, 143, 191, 0.12), transparent 20rem),
    linear-gradient(145deg, #050504 0%, #120d09 58%, #070807 100%);
  color: #fff8ea;
  opacity: 1;
  transition: opacity 920ms var(--ease-out-quart), visibility 920ms var(--ease-out-quart);
}

.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.intro-screen::before {
  background-image:
    radial-gradient(circle, rgba(255, 248, 234, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(212, 169, 79, 0.35) 0 1px, transparent 1.4px);
  background-size: 120px 120px, 190px 190px;
  opacity: 0;
  animation: introStars 3200ms var(--ease-out-quart) forwards;
}

.intro-screen::after {
  background: linear-gradient(110deg, transparent 30%, rgba(255, 248, 234, 0.18) 48%, transparent 66%);
  transform: translateX(-42%) rotate(-8deg);
  opacity: 0;
  animation: introSweep 2600ms var(--ease-out-expo) 500ms forwards;
}

.intro-orbit {
  position: absolute;
  width: min(58vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 169, 79, 0.24);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.76) rotate(-18deg);
  animation: introOrbit 3000ms var(--ease-out-expo) 260ms forwards;
}

.intro-orbit::before,
.intro-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 248, 234, 0.12);
  border-radius: 50%;
  transform: rotate(42deg) scaleX(1.45);
}

.intro-orbit::after {
  inset: 31%;
  border-color: rgba(212, 169, 79, 0.2);
  transform: rotate(-28deg) scaleX(1.7);
}

.intro-message {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 760px);
  margin: 0;
  color: #fff8ea;
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 0 32px rgba(212, 169, 79, 0.28);
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  animation: introMessage 2800ms var(--ease-out-expo) 380ms forwards;
}

.intro-screen.is-leaving {
  visibility: hidden;
  opacity: 0;
}

body.intro-active {
  overflow: hidden;
}

body.intro-active .site-header {
  animation: headerDrop 900ms var(--ease-out-expo) 2400ms both;
}

.hero {
  background-position: center right;
  animation: heroBreath 12000ms ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 24%, rgba(212, 169, 79, 0.14), transparent 17rem),
    linear-gradient(110deg, transparent 12%, rgba(255, 248, 234, 0.08) 46%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: translateX(-10%);
  animation: heroLightSweep 6500ms var(--ease-out-quart) 1800ms infinite;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-lead,
.hero-sub,
.hero-actions,
.hero-proof,
.hero-metrics {
  opacity: 0;
  animation: riseIn 1000ms var(--ease-out-expo) both;
}

.hero-copy .eyebrow {
  animation-delay: 2700ms;
}

.hero-copy h1 {
  animation-delay: 2860ms;
}

.hero-lead {
  animation-delay: 3020ms;
}

.hero-sub {
  animation-delay: 3180ms;
}

.hero-actions {
  animation-delay: 3340ms;
}

.hero-proof {
  animation-delay: 3400ms;
}

.hero-metrics {
  animation-delay: 3460ms;
}

.metric {
  position: relative;
  overflow: hidden;
}

.metric::after,
.product-card::after,
.idea::after,
.process::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 12%, rgba(255, 248, 234, 0.12) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.metric:hover::after,
.product-card:hover::after,
.idea:hover::after,
.process:hover::after {
  opacity: 1;
  animation: surfaceShine 850ms var(--ease-out-quart);
}

.hero-strip,
.section-head,
.intro-copy,
.section-visual-wide,
.story-visual,
.timeline-item,
.product-card,
.idea,
.process,
.contact-band,
.detail-grid,
.gallery-item,
.order-panel,
.certificate-preview {
  will-change: transform, opacity;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 820ms var(--ease-out-expo),
    transform 820ms var(--ease-out-expo),
    filter 820ms var(--ease-out-expo);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.product-card,
.idea,
.process,
.gallery-item,
.sample-frame,
.order-panel {
  position: relative;
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart),
    border-color 320ms var(--ease-out-quart),
    filter 320ms var(--ease-out-quart);
}

.product-card:hover,
.idea:hover,
.process:hover,
.gallery-item:hover,
.sample-frame:hover,
.order-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 169, 79, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.product-card:hover img,
.section-visual:hover img,
.gallery-item:hover img,
.sample-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.08);
}

.product-card img,
.section-visual img,
.gallery-item img,
.sample-frame img {
  transition: transform 820ms var(--ease-out-expo), filter 820ms var(--ease-out-expo);
}

.button,
.mini-button {
  position: relative;
  overflow: hidden;
}

.button::after,
.mini-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 248, 234, 0.38) 46%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.button:hover::after,
.mini-button:hover::after {
  opacity: 1;
  animation: buttonSweep 700ms var(--ease-out-quart);
}

.button:active,
.mini-button:active {
  transform: translateY(0) scale(0.98);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  transition: transform 220ms var(--ease-out-quart), opacity 220ms var(--ease-out-quart);
}

.site-nav.is-open {
  animation: menuOpen 280ms var(--ease-out-quart) both;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(212, 169, 79, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 169, 79, 0.16);
  transform: translateY(-1px);
  transition: border-color 220ms var(--ease-out-quart), box-shadow 220ms var(--ease-out-quart), transform 220ms var(--ease-out-quart);
}

.toast.is-visible {
  animation: toastPulse 320ms var(--ease-out-quart);
}

/* Product Design polish pass */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(212, 169, 79, 0.26);
  border-radius: 6px;
  background: rgba(255, 248, 234, 0.08);
  color: rgba(255, 248, 234, 0.84);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.metric span,
.timeline-year,
.process b {
  font-variant-numeric: lining-nums tabular-nums;
}

.metric small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 248, 234, 0.58);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.ideas-layout,
.flow-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.ideas-layout .section-visual-wide,
.flow-layout .section-visual-wide {
  min-height: 100%;
  margin: 0;
}

.ideas-layout .section-visual-wide img,
.flow-layout .section-visual-wide img {
  height: 100%;
  min-height: 364px;
  aspect-ratio: auto;
}

.ideas-layout .ideas-grid,
.flow-layout .process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ideas-layout .idea,
.flow-layout .process {
  min-height: 0;
}

.section-head + .ideas-layout,
.section-head + .flow-layout {
  margin-top: -4px;
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-band .actions {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .ideas-layout,
  .flow-layout {
    grid-template-columns: 1fr;
  }

  .ideas-layout .section-visual-wide img,
  .flow-layout .section-visual-wide img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .contact-band .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-proof {
    gap: 7px;
  }

  .hero-proof li {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .ideas-layout .ideas-grid,
  .flow-layout .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Selected typography pass: Yuji Syuku headings + Klee One body */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-kerning: normal;
  letter-spacing: 0;
}

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.section-title,
.detail-copy h2,
.order-panel h2,
.certificate-preview h2,
.contact-band h2,
.product-card h3,
.gallery-item h3,
.timeline-item h3,
.process h3,
.quote-box strong,
.intro-message {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  line-height: 1.04;
}

.section-title,
.detail-copy h2,
.contact-band h2,
.certificate-preview h2 {
  line-height: 1.24;
}

.product-card h3,
.gallery-item h3,
.timeline-item h3,
.process h3,
.quote-box strong {
  line-height: 1.45;
}

.brand,
.site-nav a,
.eyebrow,
.section-kicker,
.contact-kicker,
.button,
.mini-button,
.hero-proof li,
.strip-card b,
.idea b,
.metric b,
.metric small,
.field label,
.certificate-preview dt,
.certificate-preview dd {
  font-family: var(--font-body);
  font-weight: 600;
}

.brand-mark,
.metric span,
.timeline-year,
.process b,
.certificate-preview .sub {
  font-family: var(--font-body);
  font-weight: 600;
}

.hero-lead {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.68;
}

.hero-sub,
.page-lead,
.section-text,
.intro-copy,
.detail-copy p,
.product-card p,
.idea span,
.process p,
.contact-band p,
.gallery-item p,
.notice,
.certificate-note {
  font-family: var(--font-body);
  line-height: 1.92;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

/* Deep black unification + business layout correction */
:root {
  --ink: #fff8ea;
  --muted: rgba(255, 248, 234, 0.68);
  --paper: #0b0a09;
  --paper-strong: #17120d;
  --line: rgba(255, 248, 234, 0.14);
  --white: #fff8ea;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(212, 169, 79, 0.11), transparent 28rem),
    linear-gradient(180deg, #050504 0%, #0b0a09 46%, #080807 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(212, 169, 79, 0.22) 0%, rgba(212, 169, 79, 0.11) 28%, rgba(79, 143, 191, 0.07) 44%, transparent 72%);
  filter: blur(18px);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 480ms var(--ease-out-quart);
  will-change: transform, opacity;
}

.cursor-glow.is-active {
  opacity: 1;
}

.hero-title-line {
  display: block;
}

.hero h1 {
  max-width: 7.2ch;
}

.section,
.section.paper,
.section.dark {
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 169, 79, 0.08), transparent 24rem),
    linear-gradient(180deg, #0a0908 0%, #070706 100%);
  color: var(--ink);
}

.section.paper + .section,
.section:not(.paper):not(.dark) {
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 143, 191, 0.06), transparent 28rem),
    linear-gradient(180deg, #070706 0%, #0d0b09 100%);
}

.section-kicker,
.contact-kicker,
.timeline-year {
  color: var(--gold);
}

.section-text,
.intro-copy,
.timeline-item p,
.strip-card span,
.product-card p,
.idea span,
.process p,
.contact-band p,
.gallery-item p,
.detail-copy p,
.page-lead,
.notice,
.certificate-note,
.field label,
.certificate-preview dt {
  color: var(--muted);
}

.hero-strip {
  width: min(1440px, calc(100% - 48px));
}

#story {
  position: relative;
  overflow: hidden;
}

#story .container {
  width: min(1440px, calc(100% - 64px));
}

#story .section-head {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.story-layout .timeline {
  margin-top: 0;
}

.story-layout .timeline-item {
  grid-template-columns: minmax(106px, 124px) minmax(0, 1fr);
  gap: clamp(20px, 2vw, 30px);
  padding-left: clamp(36px, 4.2vw, 72px);
}

.story-visual {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: clamp(14px, 1.7vw, 20px);
  border: 1px solid rgba(212, 169, 79, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 12%, rgba(212, 169, 79, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(255, 248, 234, 0.07), rgba(255, 248, 234, 0.025));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.story-visual-main {
  margin: 0;
}

.story-visual-main img,
.story-visual-pair img {
  display: block;
  width: 100%;
  border: 1px solid rgba(212, 169, 79, 0.22);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.story-visual-main img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.story-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.story-visual-pair img {
  aspect-ratio: 4 / 3;
}

.story-visual-note {
  margin: 2px 2px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.strip-card,
.quote-box,
.idea,
.process,
.product-card,
.contact-band,
.sample-frame,
.gallery-item,
.order-panel,
.certificate-preview {
  border-color: rgba(212, 169, 79, 0.2);
  background: rgba(255, 248, 234, 0.045);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.quote-box {
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.09), rgba(212, 169, 79, 0.045));
}

.quote-box span,
.certificate-preview dd {
  color: rgba(255, 248, 234, 0.78);
}

.button.light,
.field input,
.field select,
.field textarea {
  border-color: rgba(212, 169, 79, 0.24);
  background: rgba(255, 248, 234, 0.07);
  color: var(--ink);
}

.button.light::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 248, 234, 0.45);
}

#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 46%, rgba(212, 169, 79, 0.13), transparent 22rem),
    linear-gradient(90deg, rgba(255, 248, 234, 0.035), transparent 36%);
  pointer-events: none;
}

#about .container {
  position: relative;
  width: min(1440px, calc(100% - 64px));
}

#about .intro-grid {
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

#about .section-head {
  align-self: center;
  max-width: 500px;
  margin-bottom: 0;
}

#about .section-title {
  max-width: 8.8ch;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.14;
}

#about .section-text {
  max-width: 28ch;
  margin-top: 28px;
}

#about .intro-copy {
  grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1fr);
  gap: clamp(22px, 2.8vw, 36px);
  align-items: stretch;
}

#about .intro-copy-text {
  align-content: center;
}

#about .quote-box {
  padding: clamp(22px, 2.4vw, 32px);
}

#about .section-visual-inset {
  min-height: 100%;
  margin-top: 0;
}

#about .section-visual-inset img {
  height: 100%;
  min-height: 470px;
  aspect-ratio: auto;
  object-position: 48% center;
}

.section-visual {
  border-color: rgba(212, 169, 79, 0.24);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.42);
}

.ideas-layout .section-visual-wide,
.flow-layout .section-visual-wide {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

@media (max-width: 1180px) {
  .story-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-layout .timeline-item {
    grid-template-columns: 104px 1fr;
    padding-left: 0;
  }

  .story-visual {
    position: relative;
    top: auto;
    width: min(760px, 100%);
    margin: 4px auto 0;
  }

  #about .intro-grid {
    grid-template-columns: 1fr;
  }

  #about .section-head {
    max-width: 760px;
  }

  #about .section-title {
    max-width: 12ch;
  }

  #about .intro-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  #about .section-visual-inset img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 7.2ch;
  }

  #about .container,
  #story .container,
  .hero-strip {
    width: min(100% - 24px, 1180px);
  }

  .story-visual {
    padding: 12px;
  }

  .story-layout .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .story-visual-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-visual-note {
    text-align: left;
  }

  #about .section-title {
    font-size: clamp(36px, 12vw, 52px);
  }

  #about .section-visual-inset img {
    aspect-ratio: 4 / 3;
  }
}

/* FV video background */
.hero {
  background: #050504;
  overflow: hidden;
  animation: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: brightness(0.58) saturate(1.08) contrast(1.08);
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.94) 0%, rgba(7, 7, 6, 0.82) 40%, rgba(7, 7, 6, 0.46) 72%, rgba(5, 5, 4, 0.68) 100%),
    radial-gradient(circle at 22% 72%, rgba(212, 169, 79, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 22%, rgba(255, 248, 234, 0.09), transparent 20rem);
  mix-blend-mode: normal;
  opacity: 1;
  transform: none;
  animation: heroVideoGlow 7600ms var(--ease-out-quart) 1600ms infinite;
}

.hero::after {
  z-index: 1;
  opacity: 0.78;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.75) 58%, transparent 90%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

@keyframes heroVideoGlow {
  0%,
  42% {
    opacity: 0.94;
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 0.94;
  }
}

@media (max-width: 980px) {
  .hero-video {
    object-position: center bottom;
    opacity: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 5, 4, 0.96) 0%, rgba(7, 7, 6, 0.84) 58%, rgba(7, 7, 6, 0.68) 100%),
      url("../images/galaxy-card-sample.png") center right / cover no-repeat;
  }

  .hero-video {
    display: none;
  }

  .hero::before {
    animation: none;
  }
}

@keyframes introStars {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(1.04);
  }
  42%,
  100% {
    opacity: 0.68;
    transform: translateY(0) scale(1);
  }
}

@keyframes introSweep {
  0% {
    opacity: 0;
    transform: translateX(-55%) rotate(-8deg);
  }
  32% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(55%) rotate(-8deg);
  }
}

@keyframes introOrbit {
  0% {
    opacity: 0;
    transform: scale(0.76) rotate(-18deg);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0.58;
    transform: scale(1) rotate(18deg);
  }
}

@keyframes introMessage {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    filter: blur(10px);
  }
  42%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0.72;
    transform: translateY(-8px) scale(1.01);
    filter: blur(0);
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroBreath {
  from {
    background-size: auto, auto, 102%;
  }
  to {
    background-size: auto, auto, 108%;
  }
}

@keyframes heroLightSweep {
  0%,
  34% {
    opacity: 0;
    transform: translateX(-18%);
  }
  48% {
    opacity: 0.5;
  }
  74%,
  100% {
    opacity: 0;
    transform: translateX(26%);
  }
}

@keyframes surfaceShine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes buttonSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes menuOpen {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastPulse {
  0% {
    transform: translateY(10px) scale(0.96);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

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

  body.intro-active {
    overflow: auto;
  }

  .intro-screen {
    display: none;
  }

  .motion-reveal,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-lead,
  .hero-sub,
  .hero-actions,
  .hero-proof,
  .hero-metrics {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
