:root {
    --gold: #c9a84c;
    --gold-light: #e8cb7a;
    --gold-pale: #f5e9c8;
    --black: #0a0a0a;
    --black-mid: #111111;
    --black-soft: #1a1a1a;
    --gray-dark: #2a2a2a;
    --gray: #555;
    --white: #f8f4ee;
    --white-dim: rgba(248,244,238,0.7);
    --serif: 'Cormorant Garamond', 'Shippori Mincho', serif;
    --display: 'Cinzel', serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
    cursor: default;
  }

  /* ─── Scrollbar ─── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--black); }
  ::-webkit-scrollbar-thumb { background: var(--gold); }

  /* ─── Gold ornament ─── */
  .ornament {
    display: inline-block;
    width: 40px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 12px;
    opacity: 0.7;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
    transition: background 0.4s;
  }
  nav.scrolled { background: rgba(10,10,10,0.97); border-bottom: 0.5px solid rgba(201,168,76,0.15); }

  .nav-logo {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--white-dim);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  /* ─── HERO ─── */
  #hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.06) 0%, transparent 60%),
      radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.04) 0%, transparent 50%),
      var(--black);
  }

  /* Particle dots */
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle, rgba(201,168,76,0.4) 1px, transparent 1px),
      radial-gradient(circle, rgba(201,168,76,0.2) 1px, transparent 1px);
    background-size: 80px 80px, 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.4;
    animation: drift 20s linear infinite;
  }

  @keyframes drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-80px); }
  }

  /* Decorative circle */
  .hero-bg::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 520px; height: 520px;
    border-radius: 50%;
    border: 0.5px solid rgba(201,168,76,0.15);
    animation: pulse-ring 4s ease-in-out infinite;
  }

  @keyframes pulse-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50%       { transform: translate(-50%, -50%) scale(1.04); opacity: 0.15; }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1.4s ease both;
  }

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

  .hero-tag {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 24px;
    animation: fadeUp 1.4s 0.2s ease both;
  }

  .hero-name {
    font-family: var(--display);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 12px;
    animation: fadeUp 1.4s 0.4s ease both;
  }

  .hero-name span { color: var(--gold); }

  .hero-sub {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--white-dim);
    margin-bottom: 48px;
    animation: fadeUp 1.4s 0.6s ease both;
  }

  .hero-ticker {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: rgba(201,168,76,0.5);
    white-space: nowrap;
    animation: fadeUp 1.4s 0.8s ease both;
  }

  .scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: fadeUp 1.4s 1.2s ease both;
  }
  .scroll-hint span {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--gold);
  }
  .scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-drop 2s ease-in-out infinite;
  }
  @keyframes scroll-drop {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ─── SECTIONS common ─── */
  section {
    padding: 120px 48px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    margin-bottom: 72px;
  }

  .section-en {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .section-ja {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
  }

  .section-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    gap: 0;
  }
  .rule-line {
    flex: 1; max-width: 60px;
    height: 0.5px;
    background: var(--gold);
    opacity: 0.5;
  }
  .rule-diamond {
    width: 5px; height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 10px;
    opacity: 0.8;
  }

  .full-rule {
    width: 100%;
    height: 0.5px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 48px;
  }

  /* ─── ABOUT ─── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 72px;
    align-items: start;
  }

  .about-photo {
    aspect-ratio: 3/4;
    background: var(--black-soft);
    border: 0.5px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .about-photo::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 0.5px solid rgba(201,168,76,0.2);
    pointer-events: none;
  }

  .photo-placeholder {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(201,168,76,0.3);
    text-align: center;
    line-height: 2;
  }

  .about-text h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4px;
  }

  .about-text .title-en {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 28px;
  }

  .about-text p {
    font-family: 'Shippori Mincho', serif;
    font-size: 15px;
    color: var(--white-dim);
    margin-bottom: 24px;
    line-height: 2;
  }

  .about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    border: 0.5px solid rgba(201,168,76,0.15);
    background: rgba(201,168,76,0.03);
  }

  .meta-item label {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
  }

  .meta-item span {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    color: var(--white-dim);
  }

  /* Career */
  .career-list {
    list-style: none;
    margin-top: 16px;
  }
  .career-list li {
    font-family: 'Shippori Mincho', serif;
    font-size: 13px;
    color: rgba(248,244,238,0.5);
    padding: 6px 0;
    border-bottom: 0.5px solid rgba(154,114,48,0.1);
    padding-left: 16px;
    position: relative;
  }
  .career-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: 0.6;
  }

  .career-section { margin-top: 32px; }
  .career-section h4 {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 8px;
  }

  /* ─── WORKS ─── */
  .works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .work-item {
    aspect-ratio: 1;
    background: var(--black-soft);
    border: 0.5px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
  }

  .work-item:hover .work-overlay { opacity: 1; }
  .work-item:hover { border-color: rgba(201,168,76,0.5); }

  .work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .work-overlay span {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
  }

  .work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(201,168,76,0.2);
  }

  /* ─── MOVIE ─── */
  #movie { background: var(--black-mid); padding: 120px 48px; max-width: none; }
  #movie > .inner { max-width: 1100px; margin: 0 auto; }

  .movie-embed {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--black-soft);
    border: 0.5px solid rgba(201,168,76,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 48px;
    cursor: pointer;
    overflow: hidden;
  }

  .movie-embed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
  }

  .play-btn {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
  }

  .movie-embed:hover .play-btn {
    background: rgba(154,114,48,0.1);
    border-color: var(--gold);
    transform: scale(1.05);
  }

  .play-btn::after {
    content: '';
    width: 0; height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--gold);
    margin-left: 4px;
  }

  .movie-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(201,168,76,0.4);
    white-space: nowrap;
  }

  /* ─── PLAN ─── */
  .plan-note {
    text-align: center;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    color: rgba(248,244,238,0.4);
    margin-bottom: 60px;
  }

  .plan-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .plan-step { }

  .plan-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
  }

  .step-no {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gold);
    opacity: 0.6;
    min-width: 28px;
  }

  .step-q {
    font-family: 'Shippori Mincho', serif;
    font-size: 15px;
    color: var(--white-dim);
  }

  .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 44px;
  }

  .chip {
    padding: 8px 20px;
    border: 0.5px solid rgba(201,168,76,0.4);
    font-family: 'Shippori Mincho', serif;
    font-size: 13px;
    color: rgba(248,244,238,0.6);
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    letter-spacing: 0.05em;
  }

  .chip:hover {
    border-color: rgba(201,168,76,0.7);
    color: var(--white);
  }

  .chip.active {
    border-color: var(--gold);
    background: rgba(201,168,76,0.06);
    color: var(--gold-light);
  }

  .perf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-left: 44px;
  }

  .perf-card {
    border: 0.5px solid rgba(201,168,76,0.2);
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s;
    background: transparent;
    position: relative;
  }

  .perf-card:hover { border-color: rgba(201,168,76,0.6); }

  .perf-card.active {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
  }

  .perf-card .rec-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 8px;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: var(--black);
    padding: 2px 12px;
    border: 0.5px solid rgba(201,168,76,0.3);
    white-space: nowrap;
  }

  .perf-card h4 {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
  }

  .perf-card p {
    font-family: 'Shippori Mincho', serif;
    font-size: 11px;
    color: rgba(248,244,238,0.4);
    line-height: 1.6;
  }

  .slider-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 44px;
  }

  .slider-row input[type=range] {
    flex: 1;
    appearance: none;
    height: 1px;
    background: linear-gradient(to right, var(--gold) var(--pct, 20%), rgba(201,168,76,0.2) var(--pct, 20%));
    outline: none;
    border-radius: 0;
  }

  .slider-row input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 14px; height: 14px;
    background: var(--black);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: background 0.2s;
  }

  .slider-row input[type=range]::-webkit-slider-thumb:hover {
    background: rgba(201,168,76,0.2);
  }

  .slider-val {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 400;
    color: var(--gold-light);
    min-width: 60px;
    text-align: right;
  }

  .result-box {
    margin-top: 48px;
    border: 0.5px solid rgba(201,168,76,0.4);
    background: rgba(201,168,76,0.03);
    padding: 36px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .result-box .r-label {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 8px;
  }

  .result-price {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 400;
    color: var(--gold-light);
  }

  .result-note {
    font-family: 'Shippori Mincho', serif;
    font-size: 13px;
    color: rgba(248,244,238,0.4);
    line-height: 1.8;
    max-width: 360px;
  }

  /* ─── CONTACT ─── */
  #contact { background: var(--black-mid); padding: 120px 48px; max-width: none; }
  #contact > .inner { max-width: 640px; margin: 0 auto; text-align: center; }

  .contact-lead {
    font-family: 'Shippori Mincho', serif;
    font-size: 15px;
    color: var(--white-dim);
    line-height: 2;
    margin-bottom: 48px;
  }

  .form-row {
    margin-bottom: 20px;
    text-align: left;
  }

  .form-row label {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
  }

  .form-row label .req {
    color: rgba(201,168,76,0.5);
    margin-left: 4px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    width: 100%;
    background: transparent;
    border: 0.5px solid rgba(201,168,76,0.2);
    padding: 12px 16px;
    color: var(--white);
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
  }

  .form-row input:focus,
  .form-row select:focus,
  .form-row textarea:focus {
    border-color: rgba(201,168,76,0.7);
  }

  .form-row input::placeholder,
  .form-row textarea::placeholder {
    color: rgba(248,244,238,0.2);
  }

  .form-row select option { background: var(--black); color: var(--white); }

  .form-row textarea { height: 120px; resize: vertical; }

  .form-row.half-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .submit-btn {
    margin-top: 32px;
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 0.5px solid var(--gold);
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201,168,76,0.06);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .submit-btn:hover::before { transform: scaleX(1); }
  .submit-btn:hover { color: var(--gold); }

  .contact-alt {
    margin-top: 32px;
    font-family: 'Shippori Mincho', serif;
    font-size: 13px;
    color: rgba(248,244,238,0.3);
  }

  .contact-alt a {
    color: rgba(201,168,76,0.6);
    text-decoration: none;
  }
  .contact-alt a:hover { color: var(--gold); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--black);
    text-align: center;
    padding: 48px;
    border-top: 0.5px solid rgba(201,168,76,0.2);
  }

  .footer-logo {
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .footer-copy {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: rgba(201,168,76,0.3);
  }

  /* ─── Reveal animation ─── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }


  /* ─── MESSAGE ─── */
  .msg-block { margin-bottom: 40px; }
  .msg-heading {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid rgba(201,168,76,0.2);
  }
  .msg-block p { margin-bottom: 16px; }
  .msg-divider {
    width: 40px;
    height: 1px;
    background: rgba(201,168,76,0.3);
    margin: 40px auto;
  }
  .msg-list { list-style: none; margin: 16px 0 20px 0; }
  .msg-list li {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    color: rgba(248,244,238,0.6);
    padding: 6px 0 6px 16px;
    border-bottom: 0.5px solid rgba(201,168,76,0.08);
    position: relative;
  }
  .msg-list li::before { content: '›'; position: absolute; left: 0; color: var(--gold); opacity: 0.6; }
  /* ─── Responsive ─── */
  @media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    section { padding: 80px 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .perf-cards { grid-template-columns: 1fr; margin-left: 0; }
    .chip-row { margin-left: 0; }
    .slider-row { margin-left: 0; }
    .result-box { flex-direction: column; }
    #movie, #contact { padding: 80px 20px; }
    .hero-name { font-size: 42px; }
  }

  /* ─── Lightbox ─── */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
  }
  .lightbox.open { display: flex; }
  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    animation: lbFadeIn 0.25s ease;
  }
  @keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
  }
  .lb-close {
    position: fixed;
    top: 24px; right: 32px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(201,168,76,0.7);
    cursor: pointer;
    transition: color 0.2s;
  }
  .lb-close:hover { color: var(--gold); }
  .lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(201,168,76,0.5);
    cursor: pointer;
    padding: 16px;
    transition: color 0.2s;
    user-select: none;
    z-index: 1000;
  }
  .lb-arrow:hover { color: var(--gold); }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: rgba(201,168,76,0.4);
  }
  .work-item { cursor: zoom-in; }