:root {
  color-scheme: dark;
  --ink: #fff8ef;
  --soft: #d8d0c5;
  --dim: #918b8c;
  --gold: #f4cc78;
  --pink: #ef479c;
  --cyan: #70f3ff;
  --night: #080911;
  --panel: rgba(12, 12, 22, 0.68);
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 20%, rgba(112, 243, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 20% 80%, rgba(239, 71, 156, 0.18), transparent 30rem),
    linear-gradient(135deg, rgba(6, 7, 14, 0.96), rgba(19, 14, 25, 0.92)),
    url("/assets/photo-04.jpg") center / cover fixed;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 17, 0.86), rgba(8, 9, 17, 0.48) 54%, rgba(8, 9, 17, 0.78)),
    rgba(0, 0, 0, 0.2);
  z-index: -1;
}

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

img {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(8, 9, 17, 0.88), rgba(8, 9, 17, 0));
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  font-weight: 900;
  animation: fadeDown 900ms ease both;
}

.brand small,
.eyebrow {
  color: var(--gold);
  font-weight: 900;
}

.brand small {
  font-size: 0.55em;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--soft);
  font-size: clamp(0.78rem, 1.35vw, 1rem);
  font-weight: 900;
  animation: fadeDown 900ms ease 140ms both;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  padding: 120px clamp(20px, 6vw, 92px) 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  position: relative;
  margin: 0 0 28px;
  padding-top: 22px;
  font-size: clamp(0.86rem, 1.7vw, 1.05rem);
  animation: fadeUp 1000ms ease 420ms both;
}

.eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
}

h1,
h2,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 7ch;
  font-size: clamp(4.75rem, 10.4vw, 8.2rem);
  line-height: 0.88;
  font-weight: 950;
  animation: titleReveal 1300ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both;
}

.lead {
  margin-top: 34px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.6;
  animation: fadeUp 1000ms ease 900ms both;
}

.body-copy {
  max-width: 560px;
  margin-top: 16px;
  color: var(--soft);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  line-height: 1.9;
  animation: fadeUp 1000ms ease 1060ms both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  animation: fadeUp 1000ms ease 1220ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--pink), #ff6bb2);
  color: white;
  box-shadow: 0 18px 42px rgba(239, 71, 156, 0.28);
}

.button.ghost {
  border: 1px solid rgba(244, 204, 120, 0.76);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stage {
  position: relative;
  min-height: 720px;
  animation: photoRise 1500ms cubic-bezier(0.16, 1, 0.3, 1) 260ms both;
}

.hero-stage::before {
  content: "MODEL";
  position: absolute;
  right: -2vw;
  top: 4%;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 950;
  line-height: 1;
}

.hero-visual {
  position: absolute;
  inset: 0 8% auto auto;
  width: min(76%, 560px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 30px 36px 80px rgba(0, 0, 0, 0.52);
}

.hero-visual::after,
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
}

.accent-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 18px 22px 48px rgba(0, 0, 0, 0.42);
}

.accent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accent-one {
  left: 0;
  bottom: 15%;
  width: 34%;
  aspect-ratio: 4 / 5;
  animation: floatInLeft 1200ms cubic-bezier(0.16, 1, 0.3, 1) 980ms both;
}

.accent-one img {
  object-position: 48% 38%;
}

.accent-two {
  right: 0;
  bottom: 3%;
  width: 42%;
  aspect-ratio: 5 / 4;
  animation: floatInRight 1200ms cubic-bezier(0.16, 1, 0.3, 1) 1120ms both;
}

.accent-two img {
  object-position: 50% 48%;
}

.style-tag {
  position: absolute;
  right: 2%;
  bottom: 26%;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(8, 9, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  animation: fadeUp 900ms ease 1360ms both;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes photoRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes floatInLeft {
  from {
    opacity: 0;
    transform: translate(-26px, 24px) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

@keyframes floatInRight {
  from {
    opacity: 0;
    transform: translate(28px, 24px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}

.works {
  display: grid;
  grid-template-columns: 0.45fr 0.9fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  padding: 82px clamp(20px, 6vw, 92px);
  background: rgba(8, 9, 17, 0.88);
  border-block: 1px solid rgba(255, 255, 255, 0.09);
}

.metric span {
  display: block;
  color: var(--gold);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 950;
  line-height: 0.82;
}

.metric p {
  color: var(--soft);
  font-weight: 900;
  line-height: 1.25;
}

.statement h2,
.contact h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
}

.works-copy {
  color: var(--soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 2;
}

.gallery,
.contact {
  padding: 88px clamp(20px, 6vw, 92px);
  background: rgba(7, 8, 14, 0.78);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.section-title span {
  font-size: clamp(2.7rem, 7vw, 6rem);
  font-weight: 950;
  line-height: 0.9;
}

.section-title p {
  color: var(--gold);
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, 23vw);
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-card:hover img {
  transform: scale(1.035);
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card:nth-child(1) img,
.photo-card:nth-child(2) img {
  object-position: 48% 35%;
}

.photo-card:nth-child(3) img,
.photo-card:nth-child(4) img {
  object-position: 50% 42%;
}

.photo-card:nth-child(5) img {
  object-position: 50% 52%;
}

.contact {
  display: grid;
  gap: 26px;
  min-height: 44vh;
  align-content: center;
}

.contact .button {
  justify-self: start;
}

@media (max-width: 900px) {
  .site-header {
    padding: 22px 20px;
  }

  nav {
    gap: 14px;
  }

  .hero {
    position: relative;
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 100svh;
    padding: 92px 20px 44px;
  }

  .hero-stage {
    order: -1;
    min-height: calc(100svh - 118px);
  }

  .hero-visual {
    inset: 0 auto auto 50%;
    width: min(84vw, 470px);
    max-height: calc(100svh - 132px);
    transform: translateX(-50%);
  }

  .hero-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 34px;
    max-width: 520px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
  }

  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -34px -20px -34px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 9, 17, 0), rgba(8, 9, 17, 0.78) 34%, rgba(8, 9, 17, 0.94));
  }

  .accent-one {
    left: 2%;
    bottom: 6%;
    width: min(31vw, 160px);
  }

  .accent-two {
    right: 0;
    bottom: 0;
    width: min(38vw, 210px);
  }

  .style-tag {
    right: 6%;
    bottom: 18%;
  }

  h1 {
    font-size: clamp(3.6rem, 16vw, 5.6rem);
  }

  .lead {
    margin-top: 20px;
  }

  .body-copy {
    max-width: 480px;
  }

  .works {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 54vw);
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-stage {
    min-height: calc(100svh - 112px);
  }

  .hero-visual {
    width: calc(100vw - 40px);
    max-height: calc(100svh - 126px);
  }

  .accent-one,
  .accent-two {
    display: none;
  }

  .style-tag {
    right: 16px;
    top: 58%;
    bottom: auto;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.78rem;
  }

  .hero-copy .body-copy {
    display: none;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 14px;
    font-size: 0.86rem;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(360px, 112vw);
  }

  .photo-card,
  .photo-card.tall,
  .photo-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}
