:root {
  --paper: #f5f2e8;
  --paper-strong: #fffdf7;
  --ink: #232323;
  --muted: #66665f;
  --sun: #fbbb18;
  --sun-deep: #e7a900;
  --leaf: #465f2d;
  --line: rgba(35, 35, 35, .18);
  --shadow: 0 24px 70px rgba(34, 41, 24, .18);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: start;
  gap: 28px;
  padding: 30px clamp(24px, 4vw, 70px) 0;
}

.brand { display: inline-flex; width: 146px; }
.brand img { display: block; width: 100%; height: auto; }

.header-note {
  justify-self: center;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.social-nav { display: flex; gap: 8px; }

.social-nav a,
.sound-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 253, 247, .72);
  border: 1px solid var(--line);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.social-nav a:hover,
.sound-toggle:hover {
  color: #fff;
  background: var(--ink);
  transform: translateY(-2px);
}

.social-nav svg { width: 18px; height: 18px; fill: currentColor; }
.sound-toggle { cursor: pointer; }
.sound-toggle .sound-off { display: none; }
body.motion-paused .sound-toggle .sound-on { display: none; }
body.motion-paused .sound-toggle .sound-off { display: block; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px clamp(24px, 5.2vw, 96px) 105px;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  background: #f4f3ec;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.92) contrast(.98);
  transform: scale(1.015);
  animation: slow-breathe 18s ease-in-out infinite alternate;
}

.soft-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 249, 244, .99) 0%, rgba(250, 249, 244, .96) 29%, rgba(250, 249, 244, .66) 47%, rgba(250, 249, 244, .08) 75%),
    linear-gradient(0deg, rgba(245, 242, 232, .28), transparent 45%);
}

.sun-orbit {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 9%;
  width: min(16vw, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(35, 35, 35, .13);
  border-radius: 50%;
  animation: orbit 16s linear infinite;
}

.sun-orbit span {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  background: var(--sun);
  border: 3px solid rgba(255, 253, 247, .8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-copy { width: min(660px, 48vw); min-width: 0; }
.mobile-break { display: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 3px;
  background: var(--sun);
  border-radius: 2px;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.15vw, 88px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
}

h1 em {
  position: relative;
  color: var(--leaf);
  font-family: "Segoe Print", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 1.04em;
  font-weight: 700;
  letter-spacing: -.08em;
}

h1 em::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: -.08em;
  left: 3%;
  height: .12em;
  background: var(--sun);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.changing-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-top: 28px;
  margin-bottom: 30px;
  font-size: 15px;
}

.changing-label { color: var(--muted); }
.changing-line strong { color: var(--leaf); }

#rotating-text.is-changing { animation: text-swap .48s ease; }

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border-radius: 2px 18px 2px 18px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  color: var(--ink);
  background: var(--sun);
  border: 0;
  box-shadow: 6px 7px 0 rgba(35, 35, 35, .12);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button-primary:hover {
  background: #ffc82e;
  box-shadow: 3px 4px 0 rgba(35, 35, 35, .16);
  transform: translate(3px, 3px);
}

.button svg { width: 20px; height: 20px; fill: currentColor; }

.button-link {
  min-height: auto;
  padding: 7px 0 4px;
  border-bottom: 2px solid var(--sun);
  border-radius: 0;
  font-size: 14px;
}

.values {
  position: absolute;
  right: clamp(190px, 14vw, 230px);
  bottom: 74px;
  display: flex;
  gap: 8px;
}

.values span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #45453f;
  background: rgba(255, 253, 247, .76);
  border: 1px solid rgba(35, 35, 35, .12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  backdrop-filter: blur(10px);
}

.values span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--sun);
  border-radius: 50%;
}

.launch-mark {
  position: absolute;
  bottom: 78px;
  left: clamp(24px, 5.2vw, 96px);
  margin: 0;
  color: #616159;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
}

.launch-mark span { color: var(--ink); }

.site-footer {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(24px, 4vw, 70px);
  color: #6b6b64;
  background: rgba(255, 253, 247, .55);
  border-top: 1px solid rgba(35, 35, 35, .1);
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.site-footer p, .site-footer address { margin: 0; }
.site-footer address { font-style: normal; text-align: right; }

.chat {
  position: fixed;
  z-index: 20000;
  right: 20px;
  bottom: 20px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.chat-fab {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 0;
  color: #4fce5d;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .185);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.chat-fab:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}
.chat-fab svg { width: 40px; height: 40px; fill: currentColor; }

.chat-panel {
  position: absolute;
  right: 10px;
  bottom: 90px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.chat[data-open="true"] .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-head {
  display: grid;
  grid-template-columns: 65px 1fr 28px;
  align-items: center;
  gap: 20px;
  min-height: 105px;
  padding: 20px;
  color: #fff;
  background: #095e54;
}

.chat-head img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  padding: 7px;
  background: #fff;
  border-radius: 50%;
}
.chat-head strong, .chat-head span { display: block; }
.chat-head strong { font-size: 16px; font-weight: 600; }
.chat-head span { margin-top: 2px; color: #e4e4e4; font-size: 12px; line-height: 1.35; }

.chat-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.chat-close:hover { background: rgba(255,255,255,.12); }
.chat-close svg { width: 20px; fill: currentColor; }

.chat-body {
  position: relative;
  padding: 20px;
  background:
    radial-gradient(circle at 14px 14px, rgba(90, 76, 64, .12) 1px, transparent 1.5px) 0 0 / 28px 28px,
    radial-gradient(circle at 8px 8px, rgba(90, 76, 64, .08) 1px, transparent 1.5px) 0 0 / 22px 22px,
    #e6ddd4;
}

.chat-message {
  position: relative;
  z-index: 1;
  max-width: 280px;
  padding: 10px 20px 20px;
  color: #000;
  background: #fff;
  border-radius: 8px;
}

.chat-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 3px;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.chat-username {
  display: block;
  margin-bottom: 3px;
  color: darkgray;
  font-size: 14px;
  font-weight: 500;
}

.chat-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.chat-footer {
  width: 100%;
  padding: 20px;
  background: #fff;
}

.whatsapp-option {
  width: 100%;
  display: block;
  padding: 10px;
  color: #fff;
  background: #095e54;
  border-radius: 1000px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease;
}

.whatsapp-option:hover { background: #064b43; }

@keyframes slow-breathe {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-.8%, -.7%, 0); }
}

@keyframes orbit { to { transform: rotate(1turn); } }

@keyframes text-swap {
  0% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: none; }
}

body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after {
  animation-play-state: paused !important;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 116px 1fr auto; padding-top: 22px; }
  .brand { width: 104px; }
  .header-note { display: none; }
  .hero { align-items: flex-start; padding-top: 166px; }
  .hero-copy { width: min(600px, 70vw); }
  .soft-wash { background: linear-gradient(90deg, rgba(250,249,244,.99) 0%, rgba(250,249,244,.96) 44%, rgba(250,249,244,.34) 78%, rgba(250,249,244,.05)); }
  .sun-orbit { display: none; }
  .values { display: none; }
}

@media (max-width: 680px) {
  .site-shell { min-height: 100svh; overflow-y: auto; }
  .site-header { grid-template-columns: 90px 1fr; padding: 17px 19px 0; }
  .brand { width: 82px; }
  .social-nav { justify-self: end; }
  .social-nav a, .sound-toggle { width: 37px; height: 37px; }
  .social-nav svg { width: 16px; height: 16px; }
  .sound-toggle { display: none; }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding: 125px 22px 250px;
  }

  .hero-art img {
    top: auto;
    bottom: 40px;
    height: 44%;
    object-fit: cover;
    object-position: 56% center;
    opacity: .95;
  }

  .soft-wash {
    background: linear-gradient(180deg, rgba(250,249,244,1) 0%, rgba(250,249,244,.98) 54%, rgba(250,249,244,.6) 71%, rgba(250,249,244,.08) 100%);
  }

  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; }
  h1 { max-width: 100%; font-size: clamp(40px, 10.5vw, 47px); line-height: .98; }
  .mobile-break { display: block; }
  .changing-line { margin-top: 21px; margin-bottom: 21px; font-size: 13px; }
  .hero-actions { gap: 14px; }
  .button { min-height: 47px; padding: 0 17px; font-size: 13px; }
  .button-link { min-height: auto; padding: 5px 0 3px; }
  .launch-mark { display: none; }

  .site-footer {
    position: absolute;
    min-height: 41px;
    padding: 9px 18px;
  }
  .site-footer address { display: none; }

  .chat { right: 20px; bottom: 20px; }
  .chat-fab { width: 62px; height: 62px; }
  .chat-fab svg { width: 36px; height: 36px; }
  .chat-panel {
    right: 0;
    bottom: 82px;
    width: min(360px, calc(100vw - 40px));
  }
}

@media (max-height: 720px) and (min-width: 681px) {
  .site-header { padding-top: 18px; }
  .brand { width: 90px; }
  .hero { padding-top: 115px; padding-bottom: 85px; }
  h1 { font-size: clamp(46px, 4.65vw, 73px); }
  .changing-line { margin-top: 20px; margin-bottom: 19px; }
  .values, .launch-mark { bottom: 61px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
