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

:root {
  --bg: #fffdf7;
  --bg-warm: #fef9ef;
  --bg-card: #fff8e7;
  --bg-toast: #f5e6c8;
  --text: #3d2e1c;
  --text-muted: #8b7355;
  --accent: #d4920b;
  --accent-dark: #b37a08;
  --accent-light: #fae3a0;
  --butter: #f5d56e;
  --butter-dark: #e8c23a;
  --butter-shadow: #c4a035;
  --cream: #fff8e7;
  --border: #e8dcc8;
  --radius: 20px;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-family: var(--font-display); font-style: italic; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-butter { font-size: 1.3rem; }
.logo-en { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.logo-jp {
  font-family: var(--font-jp);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--butter);
  color: var(--text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  box-shadow: 0 2px 0 var(--butter-dark);
}

.nav-cta:hover {
  background: var(--butter-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--butter-shadow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--butter);
  top: -100px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 300px; height: 300px;
  background: #fcb69f;
  bottom: -50px; left: 10%;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 200px; height: 200px;
  background: var(--accent-light);
  top: 30%; left: 40%;
  animation: blobFloat 12s ease-in-out infinite 2s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(212, 146, 11, 0.08);
}

.badge-icon { font-size: 1rem; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-line { display: block; }

.hero-line-accent em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTER CHARACTER */
.hero-butter {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.butter-stick {
  width: 200px;
  height: 150px;
  background: linear-gradient(135deg, var(--butter) 0%, var(--butter-dark) 100%);
  border-radius: 24px;
  position: relative;
  box-shadow:
    0 8px 0 var(--butter-shadow),
    0 16px 40px rgba(196, 160, 53, 0.2);
  animation: butterBounce 3s ease-in-out infinite;
}

@keyframes butterBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.butter-face {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.butter-eyes {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: center;
}

.butter-eye {
  width: 10px;
  height: 10px;
  background: var(--text);
  border-radius: 50%;
  animation: butterBlink 4s ease-in-out infinite;
}

@keyframes butterBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

.butter-smile {
  width: 20px;
  height: 10px;
  border: 2px solid var(--text);
  border-top: none;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}

.butter-drip {
  position: absolute;
  bottom: -16px;
  width: 14px;
  background: var(--butter);
  border-radius: 0 0 10px 10px;
  animation: drip 3s ease-in-out infinite;
}

.butter-drip-1 { left: 30%; height: 20px; animation-delay: 0s; }
.butter-drip-2 { left: 55%; height: 14px; animation-delay: 1s; }
.butter-drip-3 { left: 75%; height: 18px; animation-delay: 2s; }

@keyframes drip {
  0%, 100% { height: 14px; opacity: 1; }
  50% { height: 24px; opacity: 0.8; }
}

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--butter);
  padding: 0.85rem 0;
  overflow: hidden;
  border-top: 2px solid var(--butter-dark);
  border-bottom: 2px solid var(--butter-dark);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

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

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--butter);
  color: var(--text);
  box-shadow: 0 3px 0 var(--butter-dark);
}

.btn-primary:hover {
  background: var(--butter-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--butter-shadow);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--butter-dark);
}

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

.btn-secondary:hover {
  border-color: var(--butter-dark);
  background: var(--cream);
}

.btn-full { width: 100%; }

.btn-arrow {
  transition: transform 0.3s;
  font-size: 1.1rem;
}

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

/* ===================== SECTIONS ===================== */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}

/* ===================== WORK ===================== */
.work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid var(--border);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(196, 160, 53, 0.15);
  border-color: var(--butter);
}

.work-card-lg { grid-column: span 2; }

.work-card-img {
  width: 100%;
  min-height: 260px;
  position: relative;
}

.work-card-lg .work-card-img { min-height: 320px; }

.work-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-icon {
  font-size: 2.5rem;
  color: rgba(139, 105, 20, 0.15);
}

.wp-icon-lg { font-size: 3.5rem; }
.wp-label { font-size: 0.85rem; color: var(--text-muted); }

.work-card-info {
  padding: 1.25rem 1.5rem;
  background: white;
}

.work-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.work-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===================== TOAST BREAK ===================== */
.toast-break {
  background: var(--bg-toast);
  padding: 4rem 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.toast-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.toast-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--text);
}

.toast-attr {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.toast-svg {
  width: 160px;
  flex-shrink: 0;
  animation: butterBounce 4s ease-in-out infinite;
}

/* ===================== ABOUT ===================== */
.about { background: var(--bg-warm); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--butter) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
}

.about-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.about-lead {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-lead strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-text em { color: var(--text); }

.about-fun-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--border);
}

.fun-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.ff-emoji { font-size: 1.3rem; }

/* ===================== SERVICES ===================== */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  border-color: var(--butter);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(196, 160, 53, 0.12);
}

.service-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================== PROCESS ===================== */
.process {
  background: var(--bg-warm);
  border-top: 2px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.process-step {
  flex: 1;
  text-align: center;
}

.step-circle {
  width: 56px;
  height: 56px;
  background: var(--butter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 auto 1rem;
  box-shadow: 0 3px 0 var(--butter-dark);
  transition: transform 0.3s;
}

.process-step:hover .step-circle {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 var(--butter-dark);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

.process-connector {
  color: var(--butter-dark);
  font-size: 2rem;
  margin-top: 1rem;
  font-weight: 300;
  user-select: none;
}

/* ===================== CONTACT ===================== */
.contact { background: var(--bg); }

.contact-inner { max-width: 600px; margin: 0 auto; }

.contact-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-warm);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c4b08a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--butter);
  background: white;
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea { resize: vertical; }

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238b7355'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-alt {
  margin-top: 2.5rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--border);
}

.contact-alt p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  transition: color 0.3s;
}

.contact-email:hover { color: var(--accent-dark); }

/* ===================== FOOTER ===================== */
.footer {
  padding: 2.5rem 0;
  border-top: 2px solid var(--border);
  background: var(--bg-warm);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card-lg { grid-column: span 1; }
  .process-steps { flex-wrap: wrap; justify-content: center; }
  .process-connector { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 0.85rem 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 7rem 1.5rem 3rem;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-butter {
    order: -1;
  }

  .butter-stick { width: 140px; height: 105px; }
  .butter-eyes { gap: 16px; }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

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

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 260px; }

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

  .process-steps { flex-direction: column; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }

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

  .toast-container { flex-direction: column; text-align: center; }

  .footer-inner { flex-direction: column; text-align: center; }
}
