/* ============================================================
   Lenshead Studio — High-end Editorial Redesign
   Dark / cinematic / gallery aesthetic  ·  static, no build
   ============================================================ */

:root {
  --bg:        #0c0c0e;
  --bg-alt:    #121215;
  --surface:   #17171b;
  --text:      #ece9e4;
  --text-dim:  #9a948a;
  --accent:    #c9a86a;   /* warm gold / bronze */
  --accent-2:  #e6cd97;
  --line:      rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.05);
  --maxw:      1200px;
  --nav-h:     74px;
  --serif: "Playfair Display", "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  --sans:  "Inter", "Noto Sans SC", "Noto Sans JP", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.section__desc {
  color: var(--text-dim);
  max-width: 540px;
  margin-top: 18px;
  font-size: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--accent);
  transition: background .4s ease, color .4s ease, letter-spacing .4s ease;
  cursor: pointer;
}
.btn--gold { color: var(--accent); background: transparent; }
.btn--gold:hover { background: var(--accent); color: #0c0c0e; letter-spacing: 0.28em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12,12,14,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.18em; }
.brand__dot { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a {
  font-size: 14px; letter-spacing: 0.12em; color: var(--text);
  position: relative; padding: 6px 0;
  transition: color .3s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .35s ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

.lang { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.lang__btn {
  background: none; border: none; color: var(--text-dim);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em;
  cursor: pointer; padding: 4px 2px; transition: color .3s ease;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { color: var(--accent); }
.lang__sep { color: var(--line); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .35s ease, opacity .35s ease; }

/* ============================================================
   HERO  (real photo: images/hero-bg.jpg)
   - .hero__bg holds the photo so it can scale independently
   - ambient: gentle 12s breath scale (1.00 → 1.04) always on, no hover interruption
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0c0c0e;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    url('../images/hero-bg.jpg') center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
  animation: heroBreath 12s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroBreath {
  0%, 100% { transform: scale(1.00); }
  50%      { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; transform: none; }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(201,168,106,0.12), transparent 55%),
    linear-gradient(180deg, rgba(12,12,14,0.70) 0%, rgba(12,12,14,0.42) 45%, rgba(12,12,14,0.88) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding-top: var(--nav-h); max-width: 920px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__sub {
  color: var(--text-dim);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.75;
  max-width: 44ch;
  margin: 0 0 44px;
  letter-spacing: 0.01em;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 2; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-dim); writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 46px; margin: 12px auto 0;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.7);} 50% { opacity: 1; transform: scaleY(1);} }

/* ---------- Hero social (INS / TikTok / 小红书 / 抖音 / 油管 / B站) ---------- */
.hero__social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 46px; }
.hero__social-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color .35s ease, border-color .35s ease, background .35s ease, transform .35s ease;
}
.hero__social-link svg { width: 20px; height: 20px; display: block; flex: none; }
.hero__social-link:hover {
  color: var(--accent); border-color: var(--accent);
  background: rgba(201,168,106,0.12); transform: translateY(-3px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(80px, 12vh, 140px) 0; }
.section--alt { background: var(--bg-alt); }
#portfolio, #about, #founder, #services, #contact { scroll-margin-top: var(--nav-h); }

.section__head { margin-bottom: 60px; }
.section__head .section__desc { margin-bottom: 0; }

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

/* ---------- Portfolio (real photos) ---------- */
.pf-card { display: block; background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; }
.pf-card__media {
  aspect-ratio: 4 / 5;
  position: relative;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  background-size: cover; background-position: center;
}
.pf-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55));
}
.pf-card:hover .pf-card__media { transform: scale(1.06); }
.pf-card__body { padding: 22px 24px 26px; }
.pf-card__body h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.pf-card__en { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }

.cat-1 .pf-card__media { background-image: url('../images/portfolio-1.jpg'); }
.cat-2 .pf-card__media { background-image: url('../images/portfolio-2.jpg'); }
.cat-3 .pf-card__media { background-image: url('../images/portfolio-3.jpg'); }
.cat-4 .pf-card__media { background-image: url('../images/portfolio-4.jpg'); }
.cat-5 .pf-card__media { background-image: url('../images/portfolio-5.jpg'); }
.cat-6 .pf-card__media { background-image: url('../images/portfolio-6.jpg'); }

/* ---------- About (real photo) ---------- */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.about__p { color: var(--text-dim); font-size: 16px; margin-top: 22px; }
.about__media { aspect-ratio: 4 / 5; }
.about__photo {
  width: 100%; height: 100%;
  background: url('../images/about.jpg') center / cover no-repeat;
  border: 1px solid var(--line);
}
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 70px; border-top: 1px solid var(--line); padding-top: 50px; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(44px, 7vw, 76px); font-weight: 600; color: var(--accent); line-height: 1; }
.stat__label { display: block; margin-top: 14px; font-size: 13px; letter-spacing: 0.16em; color: var(--text-dim); text-transform: uppercase; }

/* ---------- Founder / 主理人 (photo: images/founder.jpg) ---------- */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.founder__media { aspect-ratio: 4 / 5; overflow: hidden; }
.founder__photo {
  width: 100%; height: 100%;
  background: url('../images/founder.jpg') center / cover no-repeat;
  border: 1px solid var(--line);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.founder__media:hover .founder__photo { transform: scale(1.05); }
.founder__role { color: var(--accent); font-size: 15px; letter-spacing: 0.14em; margin: 16px 0 24px; }
.founder__bio { color: var(--text-dim); font-size: 16px; margin-bottom: 28px; }
.founder__creds { list-style: none; border-top: 1px solid var(--line); }
.founder__creds li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line-soft); color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.founder__creds li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

/* ---------- Services ---------- */
.service { padding: 34px 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line-soft); transition: background .4s ease, border-color .4s ease; }
.service:hover { background: var(--surface); border-top-color: var(--accent); }
.service__num { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: 0.1em; }
.service h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 16px 0 12px; }
.service p { color: var(--text-dim); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__head { margin-bottom: 44px; }
.contact__head .section__desc { margin-left: auto; margin-right: auto; }

/* hours-only meta */
.contact__meta {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  padding-top: 30px; margin: 0 auto 60px; border-top: 1px solid var(--line);
}
.contact__meta-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.contact__meta-val { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); color: var(--text); }

/* ---------- Contact form (pluggable email service) ---------- */
.contact__form { max-width: 680px; margin: 0 auto; text-align: left; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__field { display: flex; flex-direction: column; margin-bottom: 20px; }
.contact__field label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.contact__field input, .contact__field textarea {
  background: transparent; border: 1px solid var(--line-soft); color: var(--text);
  padding: 15px 18px; font-family: var(--sans); font-size: 16px; border-radius: 0; outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.contact__field input:focus, .contact__field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.contact__field textarea { resize: vertical; }
.contact__submit { width: 100%; justify-content: center; margin-top: 8px; padding: 17px; font-size: 15px; letter-spacing: 0.2em; }
.contact__note { display: block; margin-top: 18px; font-size: 13px; color: var(--text-dim); text-align: center; }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { min-height: 20px; margin: 14px 0 0; font-size: 13px; text-align: center; letter-spacing: 0.04em; }
.contact__status--pending { color: var(--accent); }
.contact__status--ok { color: #8fc9a3; }
.contact__status--err { color: #e0a0a0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #08080a; border-top: 1px solid var(--line); padding: 70px 0 36px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__tag { color: var(--text-dim); font-size: 14px; margin-top: 14px; font-family: var(--serif); letter-spacing: 0.05em; }
.footer__nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; letter-spacing: 0.12em; color: var(--text-dim); transition: color .3s ease; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line-soft); font-size: 12px; letter-spacing: 0.1em; color: var(--text-dim); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 460px; }
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder__media { max-width: 420px; }
  .contact__grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: 1fr; gap: 36px; text-align: center; }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: rgba(12,12,14,0.97); backdrop-filter: blur(14px);
    padding: 28px 28px 36px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .45s ease, opacity .45s ease;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 18px; padding: 10px 0; }
  .lang { margin: 14px 0 0; }
  .lang__btn { font-size: 15px; }
  .grid--3, .contact__grid { grid-template-columns: 1fr; }
  .contact__row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll::after { animation: none; }
}
