*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off-white: #f7f7f7;
  --beige: #d8cfc4;
  --beige-light: #ede8e2;
  --dark: #333333;
  --mid: #777777;
  --light-gray: #eaeaea;

  --text-brown: #4f4338;
  --text-brown-soft: rgba(79, 67, 56, 0.72);
  --label-brown: rgba(92, 78, 66, 0.78);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Noto Sans JP", "Lato", sans-serif;

  --max-w: 1200px;
  --container-padding: 60px;
  --section-padding: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: var(--section-padding) 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-light {
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(216, 207, 196, 0.18),
    rgba(255, 255, 255, 0)
  );
  z-index: 0;
}

.section-light > * {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(92, 78, 66, 0.78);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(92, 78, 66, 0.42);
}

.section-label-center {
  justify-content: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #4f4338;
}

.section-title em {
  font-style: italic;
  color: rgba(79, 67, 56, 0.72);
}

.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 44px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.btn-primary::before {
  content: "";

  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );

  transform: skewX(-20deg);

  transition: left 0.7s ease;
}

.btn-primary:hover {
  background: #555;
  transform: translateY(-2px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-light {
  display: inline-block;
  background: rgba(216, 207, 196, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--dark);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 56px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.btn-light:hover::before {
  left: 140%;
}

.btn-light:hover {
  background: rgba(216, 207, 196, 0.82);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 40px;
  transition: all 0.35s;
}

.btn-outline-light:hover {
  border-color: var(--beige);
  color: var(--beige);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.45s;
}
.delay-4 {
  animation-delay: 0.6s;
}

.reveal {
  opacity: 0.01;
  filter: blur(4px);
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);

  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s ease;
}
