@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --bg: #f0ebe3;
  --bg-footer: rgba(232, 224, 212, 0.92);
  --text: #3a3a3a;
  --text-muted: #5c5c5c;
  --icon-bg: rgba(224, 216, 204, 0.85);
  --icon-stroke: #4a4a4a;
  --circle-line: #c9bfb0;
  --max-width: 1280px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
}

.page {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) 0;
}

/* Site header & language switch */
.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 0;
  margin-left: auto;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  padding: 3px;
  border: 1px solid var(--circle-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

@media (min-width: 640px) {
  .lang-switch {
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 0;
  }
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.35em 0.75em;
  font-size: clamp(0.6rem, 1.4vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.lang-switch__link:hover {
  color: var(--text);
}

.lang-switch__link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.lang-switch__link--active {
  color: var(--bg);
  background: var(--text);
}

.lang-switch__link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lang-switch__sep {
  width: 1px;
  height: 0.85em;
  background: var(--circle-line);
}

/* Brand */
.brand {
  margin-bottom: 0;
}

.brand__mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.5rem);
  max-width: 100%;
}

.logo {
  display: block;
  width: clamp(7rem, 22vw, 11rem);
  height: auto;
  object-fit: contain;
  object-position: center;
}

.tagline {
  font-size: clamp(0.55rem, 1.5vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.hero__headline {
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  font-synthesis: none;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.hero__description {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.hero__visual {
  position: relative;
  width: 100%;
}

.hero__visual__frame {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
}

.hero__visual__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, #f0ebe3 0%, rgba(240, 235, 227, 0.65) 45%, transparent 100%) top / 100% 48px no-repeat,
    linear-gradient(to top, #f0ebe3 0%, rgba(240, 235, 227, 0.65) 45%, transparent 100%) bottom / 100% 48px no-repeat,
    linear-gradient(to right, #f0ebe3 0%, rgba(240, 235, 227, 0.65) 45%, transparent 100%) left / 48px 100% no-repeat,
    linear-gradient(to left, #f0ebe3 0%, rgba(240, 235, 227, 0.65) 45%, transparent 100%) right / 48px 100% no-repeat;
}

.hero__visual__frame img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  background: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 0 0 clamp(0.5rem, 1.5vw, 2rem) clamp(0.5rem, 1.5vw, 2rem);
}

/* Proof strip */
.proof {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid var(--circle-line);
  border-bottom: 1px solid var(--circle-line);
}

.proof__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.proof__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.proof__label {
  font-size: clamp(0.55rem, 1.3vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.proof__value {
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  color: var(--text);
  line-height: 1.45;
}

@media (min-width: 640px) {
  .proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: start;
  }

  .proof__item {
    text-align: center;
    align-items: center;
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
  }

  .proof__value {
    max-width: 22ch;
  }
}

.process__eyebrow {
  font-size: clamp(0.55rem, 1.3vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

/* Process steps */
.process {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
  position: relative;
}

@media (min-width: 640px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .process__steps {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .process__steps::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 8%;
    right: 8%;
    height: 0;
    border-top: 2px dotted var(--circle-line);
    z-index: 0;
  }
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__icon {
  width: clamp(3.5rem, 8vw, 4.5rem);
  height: clamp(3.5rem, 8vw, 4.5rem);
  border-radius: 50%;
  background: var(--icon-bg);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.process__icon svg {
  width: 45%;
  height: 45%;
  color: var(--icon-stroke);
}

.process__number {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.process__title {
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.process__text {
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 16ch;
}

/* Values footer */
.values {
  background: var(--bg-footer);
  backdrop-filter: blur(8px);
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2.5rem));
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem);
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 480px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .values__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.values__icon {
  width: clamp(2.5rem, 6vw, 3rem);
  height: clamp(2.5rem, 6vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.values__icon svg {
  width: 100%;
  height: 100%;
  color: var(--icon-stroke);
}

.values__title {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.values__text {
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 26ch;
}

@media (prefers-reduced-motion: reduce) {
  .page-content {
    transition-duration: 0.12s;
  }
}

/* Language switch content fade */
.page-content {
  contain: layout;
  opacity: 1;
  transition: opacity 0.28s ease-in-out;
}

.page-content:not(.is-i18n-ready) {
  visibility: hidden;
}

.page-content.is-i18n-ready {
  visibility: visible;
}

.page-content.is-i18n-ready.is-lang-switching {
  opacity: 0;
  pointer-events: none;
}

[data-i18n-stable] {
  contain: layout;
}

/* ── Kokonut shimmer-text (hero slot) ── */
.kk-soon {
  margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
  min-height: 2.25rem;
}

.kk-shimmer-band {
  padding: 0.45rem 0;
  border-top: 1px solid var(--circle-line);
  border-bottom: 1px solid var(--circle-line);
}

.kk-shimmer__measure {
  display: block;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
}

.kk-shimmer__shell {
  display: flex;
  align-items: center;
}

.kk-shimmer__frame {
  position: relative;
  overflow: hidden;
  padding: 0.15rem 0;
}

.kk-shimmer__frame.is-entering {
  animation: kk-shimmer-enter 0.5s ease forwards;
}

@keyframes kk-shimmer-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kk-shimmer__text {
  margin: 0;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  background: linear-gradient(
    90deg,
    #6b6560 0%,
    #6b6560 28%,
    #c8bfb2 42%,
    #f8f4ec 50%,
    #c8bfb2 58%,
    #6b6560 72%,
    #6b6560 100%
  );
  background-size: 200% 100%;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kk-shimmer__text.is-animating {
  animation: kk-shimmer-bg 2.5s linear infinite;
  will-change: background-position;
}

@keyframes kk-shimmer-bg {
  from {
    background-position: 200% center;
  }
  to {
    background-position: -200% center;
  }
}
