/*
Theme Name: KOHEI SWEETS
Theme URI: https://example.com/
Author: KOHEI SWEETS
Description: A cinematic dark portfolio theme for sweets creators and corporate inquiries.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kohei-sweets
*/

:root {
  --bg: #050403;
  --black: #090806;
  --white: #f8f2e8;
  --muted: #cfc3ad;
  --gold: #b99258;
  --gold2: #d8b879;
  --line: rgba(185, 146, 88, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  letter-spacing: .08em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.page {
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 34%, rgba(177, 132, 58, .13), transparent 18%),
    radial-gradient(circle at 94% 34%, rgba(177, 132, 58, .13), transparent 17%),
    #050403;
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  height: 72px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 4, 3, .74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(185, 146, 88, .22);
}
.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .22em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
}
.nav a { opacity: .9; }
.nav a:hover { color: var(--gold2); }
.nav .contact-btn {
  border: 1px solid var(--gold);
  padding: 14px 26px;
  color: var(--gold2);
}

.hero {
  min-height: 760px;
  position: relative;
  padding: 150px 64px 0;
  display: grid;
  grid-template-columns: 34% 44% 22%;
  align-items: center;
  border-bottom: 1px solid rgba(185, 146, 88, .28);
  background:
    linear-gradient(90deg, rgba(5,4,3,.98) 0%, rgba(5,4,3,.68) 23%, rgba(5,4,3,.18) 55%, rgba(5,4,3,.82) 100%),
    var(--hero-image) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 54% 42%, transparent 0 28%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.78) 100%);
  pointer-events: none;
}
.hero-copy, .film-copy, .play-wrap { position: relative; z-index: 2; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .18em;
  text-shadow: 0 0 26px rgba(0,0,0,.8);
  animation: fadeUp 1.2s ease both;
}
.lead-en {
  margin: 0 0 50px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: .08em;
}
.gold-text { color: var(--gold2); font-weight: 600; margin-bottom: 18px; }
.desc { color: var(--muted); font-size: 13px; line-height: 2.1; letter-spacing: .08em; }
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 300px;
  margin-top: 34px;
  padding: 18px 34px;
  border: 1px solid var(--gold);
  color: var(--gold2);
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  letter-spacing: .22em;
  transition: .3s;
}
.outline-btn:hover { background: rgba(185, 146, 88, .14); transform: translateY(-2px); }
.play-wrap { display: flex; align-items: center; justify-content: center; }
.play {
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.84);
  display: grid; place-items: center;
  background: rgba(0,0,0,.16);
  box-shadow: 0 0 40px rgba(0,0,0,.4);
}
.play span { display: block; width: 0; height: 0; border-top: 17px solid transparent; border-bottom: 17px solid transparent; border-left: 25px solid #fff; margin-left: 7px; }
.film-copy {
  justify-self: center;
  color: var(--gold2);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  line-height: 2.2;
  letter-spacing: .55em;
  writing-mode: vertical-rl;
}
.stats-bar {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding: 28px 60px 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(185, 146, 88, .34);
  background: rgba(3,3,3,.94);
}
.stat { text-align: center; border-right: 1px solid rgba(185, 146, 88, .42); }
.stat:last-child { border-right: none; }
.stat-label { color: var(--gold2); font-family: "Cormorant Garamond", serif; font-size: 16px; font-weight: 600; letter-spacing: .16em; }
.stat-num { margin: 8px 0; color: var(--gold2); font-family: "Cormorant Garamond", serif; font-size: 68px; line-height: 1; }
.stat-num small { font-family: "Noto Serif JP", serif; font-size: 28px; margin-left: 6px; }
.stat p { margin: 0; color: var(--muted); font-size: 12px; }
section { max-width: 1280px; margin: 0 auto; padding: 110px 34px 0; }
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin-bottom: 54px;
  color: var(--gold2);
  font-family: "Cormorant Garamond", serif;
  font-size: 20px; font-weight: 600; letter-spacing: .3em; text-align: center;
}
.section-title::before, .section-title::after { content: ""; height: 1px; width: min(260px, 22vw); background: rgba(185, 146, 88, .5); }
.sub-title { margin-top: -38px; margin-bottom: 58px; color: var(--muted); text-align: center; font-size: 13px; line-height: 2; }
.profile { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: center; }
.profile-image {
  min-height: 430px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42)), var(--profile-image) center/cover no-repeat;
}
.profile-copy h3 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 1.7; letter-spacing: .12em; }
.profile-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 2.35; }
.profile-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.profile-points span { border: 1px solid var(--line); padding: 10px 18px; color: var(--gold2); font-size: 13px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card {
  position: relative; min-height: 430px; padding: 46px 40px 32px;
  border: 1px solid var(--line); overflow: hidden; background: #0d0b08;
}
.case-card::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; filter: brightness(.6); opacity: .9; }
.case-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.18) 100%); }
.case-inner { position: relative; z-index: 2; }
.case-card h3 { margin: 0 0 18px; font-size: 32px; font-weight: 500; letter-spacing: .1em; }
.case-card p { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 2; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 40px; }
.tag { border: 1px solid var(--gold); color: var(--gold2); padding: 8px 18px; font-size: 12px; }
.case-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: min(100%, 520px); margin-top: 34px; padding: 16px 28px;
  border: 1px solid var(--gold); color: var(--gold2); background: rgba(185, 146, 88, .12);
  font-size: 15px; letter-spacing: .12em; transition: .3s;
}
.case-link:hover { background: rgba(185, 146, 88, .22); transform: translateY(-2px); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { border: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; transition: .3s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.blog-img { height: 190px; background: var(--img) center/cover no-repeat; filter: brightness(.78); }
.blog-body { padding: 22px 22px 28px; }
.blog-meta { color: var(--gold2); font-family: "Cormorant Garamond", serif; font-size: 12px; letter-spacing: .18em; margin-bottom: 12px; }
.blog-body h3 { margin: 0; font-size: 17px; font-weight: 400; line-height: 1.8; }
.cta {
  margin: 100px auto 32px;
  max-width: 1280px;
  border: 1px solid var(--line);
  padding: 58px 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.5)), var(--cta-image) right center/cover no-repeat;
}
.cta h2 { margin: 0 0 14px; font-size: 30px; font-weight: 400; }
.cta p { margin: 0; color: var(--muted); font-size: 14px; }
.footer { padding: 18px 38px 32px; display: flex; justify-content: space-between; color: rgba(248,242,232,.55); font-family: "Cormorant Garamond", serif; font-size: 12px; letter-spacing: .12em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .header { height: 64px; padding: 0 20px; }
  .nav a:not(.contact-btn) { display: none; }
  .logo { font-size: 20px; }
  .hero { min-height: 700px; padding: 110px 24px 40px; display: block; background-position: center; }
  .hero h1 { font-size: 42px; }
  .play-wrap { margin: 60px 0 20px; }
  .film-copy { display: none; }
  section { padding: 76px 22px 0; }
  .profile, .stats-bar, .case-grid, .blog-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(185,146,88,.35); padding: 22px 0; }
  .stat:last-child { border-bottom: none; }
  .profile-image { min-height: 320px; }
  .case-card { min-height: 390px; }
  .cta { margin: 70px 20px 24px; padding: 42px 24px; display: block; }
  .outline-btn { min-width: 100%; justify-content: center; }
  .footer { display: block; text-align: center; line-height: 2; }
}
