/* ============================================
   cameraman.jp — Hakuhodo ¥10M Level
   Premium white-base photography portfolio
   Focus: Photo visibility, service clarity, trust
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Inter:wght@200;300;400;500;700;900&display=swap');

:root {
  --white: #fff;
  --bg: #fafaf8;
  --offwhite: #f5f4f0;
  --border: #e8e6e1;
  --grey: #999;
  --dark: #555;
  --heading: #1a1a1a;
  --text: #333;
  --black: #111;

  --sans: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;

  --text-xs: clamp(0.6rem, 0.55rem + 0.12vw, 0.7rem);
  --text-sm: clamp(0.78rem, 0.72rem + 0.15vw, 0.85rem);
  --text-base: clamp(0.88rem, 0.82rem + 0.18vw, 0.96rem);
  --text-lg: clamp(1rem, 0.88rem + 0.35vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1rem + 0.6vw, 1.6rem);
  --text-2xl: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  --text-3xl: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
  --text-4xl: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --text-hero: clamp(3.5rem, 1.5rem + 6vw, 8.5rem);

  --pad: clamp(1.5rem, 4vw, 4rem);
  --pad-wide: clamp(2rem, 6vw, 8rem);
  --section: clamp(7rem, 12vw, 14rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 600ms;
  --dur-slow: 1000ms;
  --dur-xl: 1400ms;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

body {
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none
}

@media(max-width:768px) {
  body {
    cursor: auto
  }
}

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

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

strong {
  font-weight: 700;
  color: var(--heading)
}

/* Cursor */
.cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--heading);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease), background .3s, opacity .3s;
  opacity: 0
}

.cursor.visible {
  opacity: 1
}

.cursor.hover {
  width: 56px;
  height: 56px;
  background: var(--heading);
  border-color: var(--heading);
  mix-blend-mode: difference
}

@media(max-width:768px) {
  .cursor {
    display: none
  }
}

/* Label */
.label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--grey);
  display: block
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 14px 32px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease)
}

@media(max-width:768px) {
  .btn {
    cursor: pointer
  }
}

.btn--dark {
  background: var(--heading);
  color: var(--white)
}

.btn--dark:hover {
  background: #333
}

.btn--line {
  background: transparent;
  color: var(--heading);
  border: 1px solid var(--border)
}

.btn--line:hover {
  border-color: var(--heading)
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-sm)
}

/* ================================================
   HEADER
   ================================================ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(250, 250, 248, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .5s
}

.hdr.scrolled {
  border-bottom-color: var(--border)
}

.hdr__logo {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: .02em
}

.hdr__logo span {
  font-weight: 300;
  color: var(--grey)
}

.hdr__nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center
}

.hdr__nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .3s
}

.hdr__nav a:hover {
  color: var(--heading)
}

.hdr__contact {
  padding: 8px 20px !important;
  background: var(--heading) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: background .3s !important
}

.hdr__contact:hover {
  background: #333 !important
}

.hdr__menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001
}

.hdr__menu span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--heading);
  transition: all .5s var(--ease)
}

.hdr__menu span+span {
  margin-top: 6px
}

.hdr__menu.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px)
}

.hdr__menu.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px)
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: 100px var(--pad) var(--pad);
  flex-direction: column
}

.nav-mobile.open {
  display: flex
}

.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--grey);
  border-bottom: 1px solid var(--border);
  transition: color .3s
}

.nav-mobile a:hover {
  color: var(--heading)
}

@media(max-width:768px) {
  .hdr__nav {
    display: none
  }

  .hdr__menu {
    display: block
  }
}

/* ================================================
   HERO — Cinematic split
   ================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: 1fr auto;
  padding-top: 64px;
  position: relative;
  background: var(--bg);
}

.hero__visual {
  position: relative;
  overflow: hidden;
  grid-row: 1/3;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero__img.active {
  opacity: 1
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) var(--pad-wide);
}

.hero__tag {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--grey);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.05em;
  color: var(--heading);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.hero__lead {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--dark);
  line-height: 2;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.hero__actions {
  display: flex;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
  flex-wrap: wrap
}

.hero__scroll {
  position: absolute;
  bottom: var(--pad);
  right: var(--pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--grey);
  writing-mode: vertical-rl
}

.hero__bar {
  width: 1px;
  height: 40px;
  background: var(--heading);
  margin-top: 8px;
  animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

  0%,
  100% {
    transform: scaleY(.3);
    opacity: .3
  }

  50% {
    transform: scaleY(1);
    opacity: 1
  }
}

@media(max-width:768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh auto
  }

  .hero__visual {
    grid-row: 1
  }

  .hero__text {
    padding: 2rem var(--pad)
  }

  .hero__scroll {
    display: none
  }
}

/* ================================================
   TRUST BAR — Horizontal metrics strip
   ================================================ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad);
}

.trust__item {
  text-align: center;
  flex: 1
}

.trust__item--text {
  flex: 1.5;
  text-align: left;
  padding-left: clamp(1rem, 2vw, 2rem)
}

.trust__num {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--heading);
  line-height: 1;
  letter-spacing: -.02em;
}

.trust__credential {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
}

.trust__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--grey);
  margin-top: 4px;
}

.trust__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0
}

@media(max-width:768px) {
  .trust__inner {
    flex-wrap: wrap;
    gap: 1.5rem
  }

  .trust__item {
    flex: 1 1 45%;
    text-align: left
  }

  .trust__item--text {
    flex: 1 1 100%;
    padding-left: 0
  }

  .trust__divider {
    display: none
  }
}

/* ================================================
   INTRO — Photographer profile (trust builder)
   ================================================ */
.intro {
  display: grid;
  grid-template-columns: .45fr .55fr;
  gap: 0;
  padding: var(--section) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.intro__photo {
  overflow: hidden;
  margin-left: var(--pad);
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.intro__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem) var(--pad-wide);
}

.intro__body .label {
  margin-bottom: clamp(1rem, 2vw, 2rem)
}

.intro__name {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--heading);
  letter-spacing: .05em;
}

.intro__role {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--grey);
  margin-top: 4px;
}

.intro__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: clamp(1.5rem, 2vw, 2rem) 0;
}

.intro__desc {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 2;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.intro__statement {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 2;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--heading);
  background: var(--offwhite);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.intro__credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.intro__credentials li {
  font-size: var(--text-sm);
  color: var(--dark);
  line-height: 1.8;
  padding-left: 0;
}

@media(max-width:768px) {
  .intro {
    grid-template-columns: 1fr;
    padding: clamp(4rem, 8vw, 6rem) 0
  }

  .intro__photo {
    margin: 0 var(--pad);
    aspect-ratio: 4/3;
    max-height: 350px
  }

  .intro__photo img {
    aspect-ratio: 4/3
  }

  .intro__body {
    padding: 2rem var(--pad)
  }
}

/* ================================================
   WORK — Service-by-service magazine spread
   ================================================ */
.work {
  padding: var(--section) 0
}

.work__header {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--pad);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.work__header .label {
  margin-bottom: clamp(1rem, 2vw, 2rem)
}

.work__title {
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--heading);
}

/* Service Block — alternating layout */
.svc-block {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.svc-block--reverse {
  grid-template-columns: .85fr 1.15fr;
}

.svc-block--reverse .svc-block__img {
  order: 2
}

.svc-block--reverse .svc-block__body {
  order: 1
}

.svc-block__img {
  overflow: hidden;
  position: relative;
  min-height: clamp(350px, 45vw, 600px);
}

.svc-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 8s ease;
}

.svc-block:hover .svc-block__img img {
  transform: scale(1.03);
}

.svc-block__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) var(--pad-wide);
  background: var(--white);
}

.svc-block__num {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--grey);
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.svc-block__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--heading);
  margin-bottom: 8px;
}

.svc-block__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--grey);
  display: block;
  margin-bottom: clamp(.75rem, 1.5vw, 1.5rem);
}

.svc-block__name {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--heading);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.svc-block__desc {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 2;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.svc-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.svc-block__tags span {
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--dark);
  border: 1px solid var(--border);
  letter-spacing: .02em;
}

.svc-block__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--heading);
  padding-top: clamp(.5rem, 1vw, 1rem);
  border-top: 1px solid var(--border);
  transition: gap .4s var(--ease);
  align-self: flex-start;
}

.svc-block__link:hover {
  gap: 1rem
}

/* EC special section extras */
.svc-block--highlight .svc-block__body {
  background: var(--offwhite);
}

.svc-block__pain {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--heading);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.svc-block__pain p {
  font-size: var(--text-sm);
  color: var(--dark);
  line-height: 1.9;
}

.svc-block__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.svc-block__feat {
  padding: clamp(1rem, 1.5vw, 1.5rem);
  border: 1px solid var(--border);
  background: var(--white);
}

.svc-block__feat strong {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

.svc-block__feat span {
  font-size: var(--text-sm);
  color: var(--dark);
  line-height: 1.7
}

@media(max-width:768px) {

  .svc-block,
  .svc-block--reverse {
    grid-template-columns: 1fr
  }

  .svc-block--reverse .svc-block__img {
    order: 0
  }

  .svc-block--reverse .svc-block__body {
    order: 0
  }

  .svc-block__img {
    min-height: 260px
  }

  .svc-block__body {
    padding: 2rem var(--pad)
  }

  .svc-block__features {
    grid-template-columns: 1fr
  }
}

/* ================================================
   FINAL CTA
   ================================================ */
.final-cta {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: var(--section) var(--pad);
}

.final-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.final-cta__inner .label {
  margin-bottom: clamp(1rem, 2vw, 2rem)
}

.final-cta__title {
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--heading);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.final-cta__sub {
  font-size: var(--text-base);
  color: var(--dark);
  line-height: 2;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ================================================
   FOOTER
   ================================================ */
.ftr {
  border-top: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 8rem) var(--pad) clamp(2rem, 3vw, 3rem)
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 5rem)
}

.ftr__brand p {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: var(--dark);
  line-height: 1.8
}

.ftr__col {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.ftr__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--grey);
  margin-bottom: 6px
}

.ftr__col a {
  font-size: var(--text-sm);
  color: var(--dark);
  transition: color .3s
}

.ftr__col a:hover {
  color: var(--heading)
}

.ftr__legal {
  font-size: var(--text-xs);
  color: var(--grey);
  line-height: 1.8;
  padding: clamp(1.5rem, 2vw, 2rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.ftr__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: clamp(1.5rem, 2vw, 2rem);
  font-size: var(--text-xs);
  color: var(--grey)
}

@media(max-width:768px) {
  .ftr__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .ftr__bottom {
    flex-direction: column;
    gap: .5rem
  }
}

/* Sticky CTA */
.cta-fixed {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 10px var(--pad);
  background: rgba(250, 250, 248, .95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  text-align: center
}

.cta-fixed .btn {
  width: 100%;
  justify-content: center
}

@media(max-width:768px) {
  .cta-fixed {
    display: block
  }
}

/* ================================================
   ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease)
}

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

.delay-1 {
  transition-delay: .12s
}

.delay-2 {
  transition-delay: .24s
}

.split-line {
  overflow: hidden;
  display: block
}

.split-line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform var(--dur-xl) var(--ease)
}

.split-line__inner.visible {
  transform: translateY(0)
}

.img-reveal img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--dur-xl) var(--ease)
}

.img-reveal.visible img {
  clip-path: inset(0 0 0 0)
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto
}

.lenis.lenis-smooth {
  scroll-behavior: auto
}