/* ========================================
   HYUGA COFFEE — Shared Stylesheet
   ======================================== */

/* --- Google Fonts --- */
/* Fonts loaded via <link> in HTML head for non-blocking rendering */

/* --- CSS Variables --- */
:root {
  --bg: #FFF8E1;
  --bg-light: #FFFDF5;
  --bg-dark: #F5EDD0;
  --text: #1B2D3A;
  --text-light: #4A6572;
  --text-muted: #8AA4B0;
  --accent-yellow: #F2C744;
  --accent-yellow-light: #F7E07A;
  --accent-yellow-dark: #D4A817;
  --accent-green: #D4A817;
  --accent-green-light: #F2C744;
  --accent-green-dark: #B8920F;
  --ocean-light: #E3F2FD;
  --ocean: #2196F3;
  --ocean-dark: #0D47A1;
  --sunset: #FF8A65;
  --sunset-light: #FFE0B2;
  --white: #FFFFFF;
  --border: #C8D6DC;
  --border-light: #DDE8ED;
  --shadow: rgba(27, 45, 58, 0.08);
  --shadow-md: rgba(27, 45, 58, 0.12);
  --font-en: 'Josefin Sans', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.heading-en {
  font-family: var(--font-en);
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heading-jp {
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.text-muted {
  color: var(--text-muted);
}

.text-light {
  color: var(--text-light);
}

.text-accent {
  color: var(--accent-green);
}

.text-center {
  text-align: center;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

/* --- Wave Decorations (南国・日向サーフカルチャー) --- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--flip {
  transform: rotate(180deg);
}

.wave-divider--sm svg {
  height: 40px;
}

/* Animated ocean wave background */
.ocean-bg {
  position: relative;
  overflow: hidden;
}

.ocean-bg::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: 80px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120Z' fill='%23FFF8E1' opacity='0.5'/%3E%3C/svg%3E") repeat-x;
  animation: wave-move 12s linear infinite;
  will-change: transform;
  z-index: 1;
}

.ocean-bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: 60px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,80 C200,20 400,100 600,50 C800,0 1000,80 1200,40 L1200,120 L0,120Z' fill='%23FFF8E1'/%3E%3C/svg%3E") repeat-x;
  animation: wave-move 10s linear infinite reverse;
  will-change: transform;
  z-index: 2;
}

@keyframes wave-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Subtle wave pattern overlay for sections */
.wave-pattern {
  position: relative;
}

.wave-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 Q25,0 50,10 Q75,20 100,10' fill='none' stroke='%23E8D44D' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 20px;
  pointer-events: none;
  z-index: 0;
}

.wave-pattern > * {
  position: relative;
  z-index: 1;
}

/* Tropical leaf accent dots */
.tropical-dots {
  position: relative;
}

.tropical-dots::after {
  content: '🌴';
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 2rem;
  opacity: 0.08;
  transform: rotate(-15deg);
}

/* Section wave top separator */
.section-wave-top {
  position: relative;
  margin-top: -1px;
}

.section-wave-top::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,60 C360,0 720,40 1080,10 C1260,0 1380,20 1440,30 L1440,60 L0,60Z' fill='%23FFFDF5'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section--sm {
  padding: 60px 0;
}

.section--lg {
  padding: 140px 0;
}

.section--bg {
  background-color: var(--bg-light);
}

.section--dark {
  background-color: var(--text);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath d='M0,20 C360,50 720,0 1080,30 C1260,45 1380,15 1440,25 L1440,0 L0,0Z' fill='%23FFF8E1'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  z-index: 1;
}

/* Ocean gradient section */
.section--ocean {
  background: linear-gradient(180deg, #E3F2FD 0%, #BBDEFB 30%, #90CAF9 70%, #64B5F6 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.section--ocean::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80Z' fill='%23FFF8E1'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

/* Sunrise/sunset gradient for hero backgrounds */
.section--sunset {
  background: linear-gradient(180deg, #FFF8E1 0%, #FFE0B2 40%, #FFCC80 70%, #FFB74D 100%);
  position: relative;
}

.section--sunset::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,20 C360,60 720,0 1080,30 C1260,50 1380,10 1440,20 L1440,60 L0,60Z' fill='%23FFF8E1'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

.section__label {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
}

.section__subtitle--center {
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(255, 248, 225, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition), box-shadow var(--transition);
}

/* Transparent nav on cinematic hero pages */
.nav--transparent {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.nav--transparent .nav__logo,
.nav--transparent .nav__link {
  color: rgba(255, 248, 225, 0.85);
}

.nav--transparent .nav__link:hover,
.nav--transparent .nav__link.active {
  color: #FFF8E1;
}

.nav--transparent .nav__hamburger span {
  background-color: #FFF8E1;
}

.nav--transparent.scrolled {
  background-color: rgba(255, 248, 225, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav--transparent.scrolled .nav__logo,
.nav--transparent.scrolled .nav__link {
  color: var(--text-light);
}

.nav--transparent.scrolled .nav__link:hover,
.nav--transparent.scrolled .nav__link.active {
  color: var(--text);
}

.nav--transparent.scrolled .nav__hamburger span {
  background-color: var(--text);
}

.nav.scrolled {
  background-color: rgba(255, 248, 225, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 6'%3E%3Cpath d='M0,3 Q25,0 50,3 Q75,6 100,3 Q125,0 150,3 Q175,6 200,3' fill='none' stroke='%23F2C744' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 6px;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav.scrolled::after {
  opacity: 1;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--text);
  white-space: nowrap;
}

.nav__logo span {
  font-weight: 200;
  color: var(--text-muted);
  margin-left: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-yellow-dark);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 8px 20px;
  background-color: var(--accent-green);
  color: var(--white);
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background-color var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-1px);
}

/* --- Mobile Menu --- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Mobile Overlay --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 248, 225, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.mobile-menu a:hover {
  color: var(--accent-green);
}

/* --- Cinematic Hero --- */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-cinematic__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-out forwards;
}

@keyframes hero-zoom {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.hero-cinematic__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 18, 12, 0.55) 0%,
    rgba(20, 18, 12, 0.40) 40%,
    rgba(20, 18, 12, 0.50) 70%,
    rgba(20, 18, 12, 0.75) 100%
  );
}

.hero-cinematic__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-cinematic__label {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 248, 225, 0.6);
  margin-bottom: 32px;
}

.hero-cinematic__title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0.15em;
  line-height: 0.95;
  color: #FFF8E1;
  margin-bottom: 0;
}

.hero-cinematic__title-line {
  display: block;
}

.hero-cinematic__divider {
  width: 60px;
  height: 1px;
  background: rgba(232, 212, 77, 0.6);
  margin: 32px auto;
}

.hero-cinematic__tagline {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: rgba(255, 248, 225, 0.75);
  letter-spacing: 0.12em;
  margin-bottom: 48px;
}

.hero-cinematic__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #FFF8E1;
  color: #3A3A2E;
  border: none;
  border-radius: 0;
  transition: all var(--transition);
}

.btn--hero-primary:hover {
  background: #E8D44D;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn--hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255, 248, 225, 0.85);
  border: 1px solid rgba(255, 248, 225, 0.3);
  border-radius: 0;
  transition: all var(--transition);
}

.btn--hero-secondary:hover {
  border-color: rgba(255, 248, 225, 0.8);
  color: #FFF8E1;
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-cinematic__scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-cinematic__scroll span {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 248, 225, 0.4);
}

.hero-cinematic__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 248, 225, 0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero ocean wave bottom — warm yellow tones */
.hero-cinematic__ocean-wave {
  position: absolute;
  bottom: 36px;
  left: -5%;
  width: 110%;
  height: 80px;
  z-index: 2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cdefs%3E%3ClinearGradient id='wave1' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23E8D44D' stop-opacity='0.12'/%3E%3Cstop offset='100%25' stop-color='%23C4B130' stop-opacity='0.2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,50 C180,80 360,20 540,45 C720,70 900,15 1080,40 C1260,65 1380,30 1440,50 L1440,80 L0,80Z' fill='url(%23wave1)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  animation: ocean-drift 12s ease-in-out infinite alternate;
  will-change: transform;
  opacity: 0.9;
}

.hero-cinematic__ocean-wave--2 {
  bottom: 36px;
  height: 60px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cdefs%3E%3ClinearGradient id='wave2' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23F5EDA0' stop-opacity='0.15'/%3E%3Cstop offset='100%25' stop-color='%23E8D44D' stop-opacity='0.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,35 C240,10 480,55 720,30 C960,5 1200,50 1440,25 L1440,60 L0,60Z' fill='url(%23wave2)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  animation: ocean-drift 10s ease-in-out infinite alternate-reverse;
  will-change: transform;
  opacity: 0.8;
}

.hero-cinematic__ocean-wave--3 {
  display: none; /* Removed for performance — 2 waves are sufficient */
}

@keyframes ocean-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-40px); }
}

/* Hero bottom credentials bar */
.hero-cinematic__bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 10px 24px;
  background: linear-gradient(90deg,
    rgba(232, 212, 77, 0.15) 0%,
    rgba(232, 212, 77, 0.10) 30%,
    rgba(232, 212, 77, 0.08) 50%,
    rgba(232, 212, 77, 0.10) 70%,
    rgba(232, 212, 77, 0.15) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(232, 212, 77, 0.15);
}

.hero-cinematic__bottom-bar span {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 248, 225, 0.6);
}

/* --- Hero (legacy, kept for subpages) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero--short {
  min-height: 70vh;
}

.hero--medium {
  min-height: 80vh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* When hero has a background-image, add a warm overlay for text readability */
.hero[style*="background-image"] .hero__bg {
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 225, 0.65) 0%,
    rgba(255, 248, 225, 0.45) 50%,
    rgba(255, 248, 225, 0.8) 100%
  );
  z-index: 0;
}

.hero[style*="background-image"] .hero__content {
  position: relative;
  z-index: 1;
}

/* Sunrise glow */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 77, 0.25) 0%, rgba(255, 224, 130, 0.1) 40%, transparent 70%);
  animation: float-glow 18s ease-in-out infinite;
  will-change: transform;
}

/* Ocean wave bottom */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 120px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath d='M0,80 C180,120 360,40 540,70 C720,100 900,30 1080,60 C1260,90 1380,50 1440,70 L1440,120 L0,120Z' fill='%23FFF8E1' opacity='0.4'/%3E%3Cpath d='M0,90 C240,50 480,110 720,70 C960,30 1200,90 1440,60 L1440,120 L0,120Z' fill='%23FFF8E1' opacity='0.6'/%3E%3Cpath d='M0,100 C300,70 600,110 900,80 C1100,60 1300,100 1440,85 L1440,120 L0,120Z' fill='%23FFF8E1'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  animation: hero-wave 14s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.05); }
}

@keyframes hero-wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-30px); }
}

.hero__content {
  max-width: 800px;
  position: relative;
}

.hero__label {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.1em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__title--lg {
  font-size: clamp(3rem, 8vw, 6rem);
}

.hero__tagline {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-light);
  margin-bottom: 48px;
  letter-spacing: 0.08em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent-yellow);
  color: var(--text);
}

.btn--primary:hover {
  background-color: var(--accent-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(242, 199, 68, 0.3);
}

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

.btn--secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn--green {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn--green:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
}

.btn--yellow {
  background-color: var(--accent-yellow);
  color: var(--text);
}

.btn--yellow:hover {
  background-color: var(--accent-yellow-dark);
  transform: translateY(-2px);
}

.btn--outline-green {
  background-color: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.btn--outline-green:hover {
  background-color: var(--accent-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- Product Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__image-placeholder {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

/* PEAK — 深煎り: 夕焼けの海 */
.product-card__image-placeholder--peak {
  background: linear-gradient(135deg, #3E2723 0%, #5D4037 50%, #BF360C 100%);
  position: relative;
  overflow: hidden;
}
.product-card__image-placeholder--peak::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M0,15 Q50,0 100,15 Q150,30 200,15 L200,30 L0,30Z' fill='white' opacity='0.15'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 30px;
}

/* MUTE — 中深煎り: 薄暮の波 */
.product-card__image-placeholder--mute {
  background: linear-gradient(135deg, #4E342E 0%, #795548 50%, #A1887F 100%);
  position: relative;
  overflow: hidden;
}
.product-card__image-placeholder--mute::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M0,20 Q50,5 100,20 Q150,30 200,15 L200,30 L0,30Z' fill='white' opacity='0.12'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 30px;
}

/* SWELL — 中煎り: 朝の海（サーフの波） */
.product-card__image-placeholder--swell {
  background: linear-gradient(135deg, #1976D2 0%, #64B5F6 50%, #E3F2FD 100%);
  position: relative;
  overflow: hidden;
}
.product-card__image-placeholder--swell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M0,10 Q50,25 100,10 Q150,0 200,15 L200,30 L0,30Z' fill='white' opacity='0.3'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 30px;
}

/* CALM — デカフェ: 凪の海（穏やかな水面） */
.product-card__image-placeholder--calm {
  background: linear-gradient(135deg, #80DEEA 0%, #B2EBF2 50%, #E0F7FA 100%);
  color: #3A3A2E;
  position: relative;
  overflow: hidden;
}
.product-card__image-placeholder--calm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M0,18 Q50,12 100,18 Q150,24 200,18 L200,30 L0,30Z' fill='white' opacity='0.4'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 30px;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  color: var(--text);
}

.product-card__body {
  padding: 20px;
}

.product-card__name {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.product-card__roast {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.product-card__notes {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-card__price {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.product-card__price span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* --- Credentials Bar --- */
.credentials {
  padding: 48px 0;
  border-top: none;
  border-bottom: none;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-light) 50%, var(--bg) 100%);
  position: relative;
}

.credentials::before,
.credentials::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M0,4 Q25,0 50,4 Q75,8 100,4 Q125,0 150,4 Q175,8 200,4' fill='none' stroke='%23E8D44D' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 8px;
}

.credentials::before { top: 0; }
.credentials::after { bottom: 0; }

.credentials__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.credentials__item {
  text-align: center;
  padding: 0 24px;
}

.credentials__icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.credentials__title {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.credentials__text {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 0.9rem;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table thead th {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}

.pricing-table tbody tr:hover {
  background-color: var(--bg-light);
}

.pricing-table .label {
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 500;
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background-color: rgba(46, 125, 50, 0.08);
  border-radius: 2px;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.service-card__subtitle {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.service-card__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Forms --- */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form__label .required {
  color: #D32F2F;
  font-size: 0.75rem;
  margin-left: 4px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: var(--text);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B5E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.form__checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-green);
}

.form__error {
  font-size: 0.75rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form__group.error .form__input,
.form__group.error .form__select,
.form__group.error .form__textarea {
  border-color: #D32F2F;
}

.form__group.error .form__error {
  display: block;
}

/* --- Steps / Flow --- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.step__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.step__text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step__arrow {
  position: absolute;
  right: -20px;
  top: 20px;
  color: var(--border);
  font-size: 1.2rem;
}

.step:last-child .step__arrow {
  display: none;
}

/* --- Footer --- */
.footer {
  background-color: #3A3520;
  color: #E3F2FD;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Animated wave swell transition above footer */
.footer__wave-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
  background-color: var(--bg);
}

.footer__wave-wrap svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.footer__wave-wrap .wave-back {
  animation: swell-drift 14s ease-in-out infinite;
  will-change: transform;
  opacity: 0.4;
}

.footer__wave-wrap .wave-mid {
  display: none; /* Reduced for performance */
}

.footer__wave-wrap .wave-front {
  animation: swell-drift 10s ease-in-out infinite;
  will-change: transform;
  opacity: 1;
}

@keyframes swell-drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  position: relative;
  z-index: 3;
}

.footer__brand {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: #F5D623;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 300px;
  color: rgba(227, 242, 253, 0.6);
}

.footer__heading {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5D623;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 0.8rem;
  padding: 4px 0;
  color: rgba(227, 242, 253, 0.6);
  transition: color var(--transition);
}

.footer__link:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid rgba(227, 242, 253, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(227, 242, 253, 0.4);
  position: relative;
  z-index: 3;
}

.footer__bottom a {
  color: rgba(227, 242, 253, 0.4);
}

.footer__bottom a:hover {
  color: #ffffff;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Divider (wave motif) --- */
.divider {
  width: 60px;
  height: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0,6 Q15,0 30,6 Q45,12 60,6' fill='none' stroke='%23E8D44D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
  margin: 24px 0;
}

.divider--center {
  margin: 24px auto;
}

.divider--ocean {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0,6 Q15,0 30,6 Q45,12 60,6' fill='none' stroke='%2364B5F6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
}

/* --- Company Info Block --- */
.company-info {
  font-size: 0.85rem;
  line-height: 2;
}

.company-info dt {
  font-weight: 500;
  float: left;
  width: 140px;
  color: var(--text-muted);
}

.company-info dd {
  margin-left: 150px;
  margin-bottom: 4px;
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* --- Page top offset --- */
.page-top {
  padding-top: var(--nav-height);
}

/* --- Badge/Tag --- */
.tag {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.tag--green {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--accent-green);
}

/* --- Journal Grid --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.journal-card {
  display: block;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.journal-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.journal-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.journal-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.journal-card__tag--btoc {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.journal-card__tag--btob {
  background-color: var(--accent-yellow-dark);
  color: var(--white);
}

.journal-card__body {
  padding: 20px;
}

.journal-card__date {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.journal-card__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--text);
}

.journal-card:hover .journal-card__title {
  color: var(--accent-yellow-dark);
}

.journal-card__excerpt {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Journal List Page --- */
.journal-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.journal-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.journal-filter__btn {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.journal-filter__btn:hover,
.journal-filter__btn.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* --- Article Page --- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.article__content {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--text);
}

.article__content h2 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-yellow);
}

.article__content h3 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 32px 0 12px;
}

.article__content p {
  margin-bottom: 20px;
}

.article__content ul,
.article__content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article__content li {
  margin-bottom: 8px;
}

.article__content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-dark);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}

.article__content table th,
.article__content table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.article__content table th {
  font-weight: 500;
  background: var(--bg-dark);
}

.article__share {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.article__related {
  margin-top: 64px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-grid,
  .journal-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .section--lg {
    padding: 80px 0;
  }

  .hero {
    min-height: 90vh;
    padding-top: calc(var(--nav-height) + 20px);
  }

  .hero--short {
    min-height: 60vh;
  }

  .hero-cinematic__bottom-bar {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 12px 24px;
  }

  .hero-cinematic__scroll {
    bottom: 120px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .journal-grid,
  .journal-list-grid {
    grid-template-columns: 1fr;
  }

  .credentials__list {
    gap: 24px;
  }

  .credentials__item {
    padding: 0 12px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pricing-table {
    font-size: 0.8rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 12px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
    width: 100%;
  }

  .step__arrow {
    display: none;
  }

  .company-info dt {
    float: none;
    width: auto;
  }

  .company-info dd {
    margin-left: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

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

  .credentials__list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================
   REDESIGN — Playful / Editorial Elements
   ======================================== */

/* --- 1. Rotating Text Badge --- */
.rotating-badge {
  width: 120px; height: 120px;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- 2. Marquee Ticker --- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee-scroll 30s linear infinite; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee__item { font-family: var(--font-en); font-weight: 200; font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: 0.1em; padding: 0 24px; color: var(--text-muted); }
.marquee__item .star { color: var(--accent-yellow); }

/* --- 3. Playful Product Cards --- */
.product-card--playful:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(58,58,46,0.15); }

/* --- 4. Polaroid Journal Cards --- */
.journal-card--polaroid {
  background: white;
  padding: 12px 12px 40px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(58,58,46,0.1);
  border: none;
  position: relative;
}
.journal-card--polaroid:hover { transform: translateY(-8px) scale(1.02); z-index: 10; box-shadow: 0 20px 60px rgba(58,58,46,0.2); }
.journal-card--polaroid .journal-card__image { border-radius: 0; }
.journal-card--polaroid .journal-card__body { padding: 12px 4px 0; }
/* Tape decoration */
.journal-card--polaroid::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: rgba(232, 212, 77, 0.5);
  border-radius: 2px;
  z-index: 5;
}

/* --- 5. Editorial Big Text --- */
.editorial-title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: var(--text);
  position: relative;
}
.editorial-title--outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

/* --- 6. Decorative SVG Illustrations --- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco--float { animation: deco-float 10s ease-in-out infinite; will-change: transform; }
@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
.deco--spin { animation: spin-slow 30s linear infinite; will-change: transform; }
.deco--sway {
  animation: deco-sway 8s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes deco-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* --- 7. Horizontal Photo Strip --- */
.photo-strip {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}
.photo-strip__track {
  display: flex;
  gap: 20px;
  animation: strip-scroll 40s linear infinite;
  width: max-content;
}
@keyframes strip-scroll { to { transform: translateX(-50%); } }
.photo-strip__item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(var(--rotate, 0deg));
  box-shadow: 0 8px 30px rgba(58,58,46,0.1);
}
.photo-strip__item:nth-child(odd) { --rotate: -2deg; }
.photo-strip__item:nth-child(even) { --rotate: 1.5deg; }
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; }

/* --- 8. Organic Shape Background --- */
.section--organic {
  position: relative;
  overflow: hidden;
}
.section--organic::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50% 40% 60% 50%;
  background: radial-gradient(circle, rgba(232,212,77,0.12) 0%, transparent 70%);
  z-index: 0;
}
.section--organic > * { position: relative; z-index: 1; }

/* --- 9. Footer Watermark --- */
.footer__watermark {
  position: absolute;
  bottom: -20px;
  right: -40px;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(6rem, 15vw, 12rem);
  letter-spacing: 0.1em;
  color: rgba(58, 58, 46, 0.06);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

/* --- 10. Enhanced Fade-in Animations --- */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible, .fade-in-right.visible, .fade-in-scale.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* --- 11. Responsive Adjustments for New Elements --- */
@media (max-width: 768px) {
  .editorial-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .marquee__item { font-size: 0.85rem; padding: 0 16px; }
  .journal-card--polaroid:nth-child(1),
  .journal-card--polaroid:nth-child(2),
  .journal-card--polaroid:nth-child(3) { transform: none; }
  .product-card--playful:nth-child(1),
  .product-card--playful:nth-child(2),
  .product-card--playful:nth-child(3),
  .product-card--playful:nth-child(4) { transform: none; }
  .photo-strip__item { width: 200px; height: 150px; }
  .footer__watermark { font-size: 4rem; right: -20px; }
  .rotating-badge { width: 80px; height: 80px; }
}

/* Reduce motion for performance and accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
