:root {
  /* Premium HSL Color Tokens */
  --bg-primary: hsl(0, 0%, 5%);
  --bg-secondary: hsl(0, 0%, 12%);
  --accent-gold: hsl(45, 60%, 55%);
  --accent-gold-rgb: 212, 175, 55;
  --text-primary: hsl(0, 0%, 95%);
  --text-secondary: hsl(0, 0%, 75%);
  --glass-bg: hsla(0, 0%, 5%, 0.82);
  --glass-border: hsla(45, 60%, 55%, 0.1);
  
  /* Spacing & Sizing */
  --container-max-width: 1400px;
  --header-height: 80px;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.4s cubic-bezier(0.2, 0, 0, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Glassmorphism Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

#header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: "New York", ui-serif, "Playfair Display", Georgia, serif;
  font-variant-numeric: lining-nums;
  font-size: 28px;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

/* Burger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }

.burger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 40px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li {
  margin-bottom: 30px;
}

.mobile-nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--accent-gold);
  min-width: 180px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent-gold);
  padding-left: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-content h1 {
  font-size: clamp(40px, 8vw, 84px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 48px;
  letter-spacing: 0.1em;
  font-weight: 400;
}

/* Buttons */
.btn-premium {
  padding: 16px 48px;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.btn-premium:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 30px hsla(45, 60%, 55%, 0.3);
}

/* Sections */
section {
  padding: 160px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 80px;
  text-align: center;
}

.section-title span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

/* Grid Layouts */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.service-card {
  height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  transition: var(--transition-slow);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-20px);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(transparent, hsla(0, 0%, 5%, 0.9));
  transform: translateY(20px);
  transition: var(--transition-slow);
}

.service-card:hover .service-card-info {
  transform: translateY(0);
}

/* Reveal Animations removed */

/* Subpage Hero */
.hero-sub {
  position: relative;
  overflow: hidden;
}


/* Refined Glass */
.glass {
  background: hsla(0, 0%, 10%, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(0, 0%, 100%, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.concept-card {
  padding: 80px 100px;
  text-align: left;
  border-left: 2px solid var(--accent-gold);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  line-height: 2.4;
}

@media (max-width: 768px) {
  .concept-card {
    padding: 40px 24px;
    line-height: 2;
  }
}

/* Voice Cards */
.voice-card {
  display: flex;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  transition: var(--transition-slow);
}

.voice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.voice-img-container {
  flex: 1;
  overflow: hidden;
}

.voice-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.voice-card:hover .voice-img {
  transform: scale(1.05);
}

.voice-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stars {
  color: var(--accent-gold);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.faq-toggle {
  font-size: 24px;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 32px;
  background: rgba(0,0,0,0.2);
}

.faq-item.active .faq-question {
  background: rgba(255,255,255,0.02);
}

.faq-item.active .faq-answer {
  padding: 0 32px 24px 32px;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }
  
  .logo { font-size: 20px; }
  .container { padding: 0 20px; }
  
  section { padding: 80px 0; }
  .section-padding { padding: 80px 0; }
  
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .service-card {
    height: 380px;
  }
  
  .voice-card { flex-direction: column !important; }
  .voice-content { padding: 40px 20px; }
  .voice-img-container { height: 300px; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}
