:root {
  color-scheme: dark;
  --black: #0b0b0b;
  --dark: #111111;
  --ivory: #f5f3ef;
  --white: #ffffff;
  --sub: #d8d2c8;
  --gold: #c99a4a;
  --gold-dark: #a8742a;
  --black-text: #171411;
  --muted: #6d665c;
  --line: rgba(255, 255, 255, 0.12);
  --light-line: rgba(17, 17, 17, 0.09);
  --container: min(1180px, calc(100% - 80px));
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--white);
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.dark-section {
  background: var(--black);
  color: var(--white);
}

.light-section {
  background: var(--ivory);
  color: var(--black-text);
  padding: 104px 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 0;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 22px;
}

.brand small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a,
.footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--gold);
}

.nav-cta,
.gold-button {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #d7ad69 0%, var(--gold) 48%, var(--gold-dark) 100%);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, filter 180ms ease;
}

.nav-cta::before,
.gold-button::before {
  content: "";
  position: absolute;
  inset: -70% -45%;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 246, 218, 0.52) 50%,
    rgba(255, 255, 255, 0.16) 55%,
    transparent 63%
  );
  transform: translate3d(-72%, 42%, 0) rotate(0.001deg);
  animation: goldButtonShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.nav-cta > *,
.gold-button > * {
  position: relative;
  z-index: 1;
}

.nav-cta:hover,
.gold-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.gold-button {
  width: min(100%, 290px);
  padding: 0 28px;
}

.gold-button span,
.nav-cta span,
.outline-button span {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 32px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 120px 0 78px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -18px;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.98) 0%, rgba(11, 11, 11, 0.92) 48%, rgba(11, 11, 11, 0.66) 100%),
    radial-gradient(circle at 18% 20%, rgba(201, 154, 74, 0.13), transparent 28%),
    url("./assets/prime-hero.png") center right / cover no-repeat;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(420px, 1fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding-top: 34px;
  max-width: 560px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.46;
}

h1 {
  font-size: clamp(42px, 3.8vw, 54px);
  line-height: 1.42;
  max-width: 620px;
}

h1 .gold-text,
.text-panel h2 span {
  color: var(--gold);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  margin: 30px 0 0;
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 700;
}

.hero-note {
  margin: 28px 0 0;
  max-width: 440px;
  color: var(--sub);
}

.cta-wrap {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.cta-wrap small {
  color: var(--sub);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  width: min(100%, 290px);
}

.hero-mockup {
  margin: 0;
}

.hero-mockup img {
  border: 1px solid var(--line);
  border-radius: 12px;
  filter: saturate(0.72) brightness(0.76) contrast(1.16);
}

.section-title {
  margin-bottom: 50px;
}

.section-title.center {
  text-align: center;
}

.section-title h2,
.works-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.worry-grid,
.change-grid,
.reason-grid,
.price-grid,
.work-grid,
.faq-grid {
  display: grid;
  gap: 24px;
}

.worry-grid {
  grid-template-columns: repeat(4, 1fr);
}

.light-card {
  display: grid;
  min-height: 160px;
  place-items: center;
  gap: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  padding: 26px 22px;
  text-align: center;
}

.light-card svg,
.change-item svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.light-card p,
.change-item p {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.under-text {
  margin: 34px 0 0;
  text-align: center;
  color: var(--muted);
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
}

.solution,
.reasons,
.works,
.consult,
.final-cta,
.footer {
  padding: 112px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.photo-panel {
  margin: 0;
}

.photo-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.55) brightness(0.82) contrast(1.06);
}

.text-panel p:not(.section-kicker) {
  max-width: 500px;
  color: var(--sub);
  margin: 28px 0 0;
}

.text-panel h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.change-grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.change-item {
  padding: 12px 28px;
  border-right: 1px solid var(--light-line);
}

.change-item:last-child {
  border-right: 0;
}

.change-item svg {
  margin: 0 auto 18px;
  color: var(--gold);
}

.reason-grid {
  grid-template-columns: repeat(4, 1fr);
}

.reason {
  min-height: 250px;
  border-right: 1px solid var(--line);
  padding: 0 32px;
}

.reason:last-child {
  border-right: 0;
}

.reason span,
.price span {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  line-height: 1;
}

.reason h3 {
  margin-top: 18px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.reason p {
  margin: 18px 0 0;
  color: var(--sub);
  font-size: 14px;
}

.price-grid {
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  min-height: 250px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  padding: 38px 44px;
}

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

.price {
  margin: 26px 0 18px;
  color: var(--gold-dark);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.price span {
  font-size: clamp(48px, 6vw, 68px);
}

.price-card p:not(.price) {
  margin: 0;
  color: var(--muted);
}

.price-note {
  margin: 36px auto 0;
  max-width: 720px;
  color: var(--black-text);
  text-align: center;
  font-weight: 700;
}

.works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.outline-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  padding: 0 22px;
  color: var(--sub);
  font-weight: 700;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--dark);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.52) brightness(0.92);
  transition: transform 420ms ease, filter 420ms ease;
}

.work-card:nth-child(1) img {
  object-position: left center;
}

.work-card:nth-child(2) img {
  object-position: center center;
}

.work-card:nth-child(3) img {
  object-position: right center;
}

.work-card:hover img {
  transform: scale(1.035);
  filter: saturate(0.62) brightness(1);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.flow-list li {
  position: relative;
  padding: 20px 10px 0;
}

.flow-list li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -19px;
  top: 54px;
  color: var(--muted);
  font-size: 34px;
  line-height: 1;
}

.flow-list span {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--gold-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 700;
}

.flow-list h3 {
  margin-top: 18px;
  font-size: 18px;
}

.flow-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.consult-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.98), rgba(11, 11, 11, 0.86), rgba(11, 11, 11, 0.7)),
    url("./assets/prime-solution.png") center right / cover no-repeat;
  filter: saturate(0.4) brightness(0.58);
}

.consult-grid {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr 330px;
  gap: 42px;
  align-items: center;
}

.consult-badge {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border: 1px solid rgba(201, 154, 74, 0.74);
  border-radius: 50%;
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.consult-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.consult-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--sub);
  font-weight: 700;
}

.consult-copy li {
  margin-top: 10px;
}

.consult-copy li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 10px;
}

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

.faq-card {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  padding: 30px;
}

.faq-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.6;
}

.faq-card h3 span {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}

.faq-card p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.faq-card b {
  margin-right: 12px;
  color: var(--black);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(32px, 4.6vw, 58px);
}

.final-cta p {
  margin: 26px 0 0;
  color: var(--sub);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
}

.final-cta .cta-wrap {
  justify-items: center;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}

.footer p {
  margin: 0;
  color: var(--sub);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@keyframes heroDrift {
  0% {
    background-position: center right;
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  100% {
    background-position: 58% center;
    transform: scale(1.07) translate3d(-16px, -8px, 0);
  }
}

@keyframes goldButtonShine {
  0%,
  58% {
    opacity: 0;
    transform: translate3d(-72%, 42%, 0) rotate(0.001deg);
  }

  66% {
    opacity: 0.9;
  }

  82% {
    opacity: 0.75;
    transform: translate3d(72%, -42%, 0) rotate(0.001deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(72%, -42%, 0) rotate(0.001deg);
  }
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 154, 74, 0.55);
  outline-offset: 4px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    animation: none;
    transform: scale(1.03);
  }

  .nav-cta::before,
  .gold-button::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 48px, 1180px);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 0 72px;
  }

  .hero-grid,
  .split-grid,
  .consult-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-mockup {
    margin-top: 10px;
  }

  .worry-grid,
  .change-grid,
  .reason-grid,
  .price-grid,
  .work-grid,
  .faq-grid,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .reason:nth-child(2),
  .change-item:nth-child(2) {
    border-right: 0;
  }

  .reason,
  .change-item {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
  }

  .flow-list li:not(:last-child)::after {
    display: none;
  }

  .consult-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 48px, 1180px);
  }

  .light-section,
  .solution,
  .reasons,
  .works,
  .consult,
  .final-cta {
    padding: 72px 0;
  }

  .nav {
    min-height: 72px;
  }

  .brand span {
    font-size: 20px;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11, 11, 11, 0.96) 0%, rgba(11, 11, 11, 0.9) 52%, rgba(11, 11, 11, 0.98) 100%),
      url("./assets/prime-hero.png") center top / cover no-repeat;
    animation-duration: 22s;
  }

  h1 {
    font-size: 33px;
    letter-spacing: 0;
    line-height: 1.55;
  }

  .hero-line {
    white-space: nowrap;
  }

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

  .hero-note {
    font-size: 14px;
  }

  .gold-button {
    width: 100%;
    min-height: 60px;
  }

  .cta-wrap small {
    width: 100%;
  }

  .hero-mockup img {
    max-height: 230px;
    width: 100%;
    object-fit: cover;
  }

  .section-title h2,
  .works-head h2 {
    font-size: 28px;
  }

  .worry-grid,
  .change-grid,
  .reason-grid,
  .price-grid,
  .work-grid,
  .faq-grid,
  .flow-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .light-card {
    min-height: 82px;
    grid-template-columns: 44px 1fr;
    place-items: center start;
    text-align: left;
    padding: 18px 20px;
  }

  .split-grid {
    gap: 28px;
  }

  .change-item,
  .reason {
    border-right: 0;
    padding: 24px 0;
  }

  .change-item p {
    font-size: 15px;
  }

  .reason {
    min-height: auto;
  }

  .price-card,
  .faq-card {
    padding: 28px 24px;
  }

  .works-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-list {
    text-align: left;
  }

  .flow-list li {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 18px;
    align-items: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.72);
    padding: 18px;
  }

  .flow-list span {
    grid-row: span 2;
  }

  .flow-list h3 {
    margin-top: 0;
  }

  .flow-list p {
    margin-top: 4px;
  }

  .consult-badge {
    width: 148px;
    height: 148px;
    font-size: 20px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .final-cta p {
    font-size: 19px;
  }

  .footer nav {
    display: grid;
    gap: 10px;
  }
}
