/* Zelira Tea House — Design from mockup */

:root {
  --green-950: #14261a;
  --green-900: #1b3022;
  --green-800: #234030;
  --green-700: #2f5a3c;
  --green-600: #4c724d;
  --green-100: #e8f0e8;
  --brown: #3d2b1f;
  --cream: #f7f4ef;
  --cream-soft: #efeae2;
  --white: #ffffff;
  --yellow: #c9a84c;
  --text: #1a2e24;
  --text-muted: #5a6e64;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-script: "Pacifico", "Caveat", cursive;
  --font-heavy: "Outfit", "DM Sans", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--green-900);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 66, 37, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(27, 48, 34, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-900);
  text-transform: uppercase;
}

.logo-text span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green-700);
  text-transform: uppercase;
}

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

.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-900);
  transition: color 0.2s;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--green-700);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--green-900);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--green-900);
  padding-bottom: 7rem;
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-veil {
  display: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding-top: calc(var(--header-h) + 1.5rem);
  min-height: calc(100vh - 8rem);
  min-height: calc(100dvh - 8rem);
}

.hero-copy {
  max-width: 34rem;
  padding: 1rem 0 2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 2px 18px rgba(247, 244, 239, 0.9);
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: 1.1rem;
  line-height: 0.95;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 400;
  color: var(--green-600);
  line-height: 1.1;
  transform: rotate(-2deg);
  transform-origin: left center;
  margin-bottom: 0.1em;
}

.hero-line {
  font-family: var(--font-heavy);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-line--brown {
  color: var(--brown);
}

.hero-line--green {
  color: var(--green-900);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

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

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-solid:hover {
  background: var(--green-800);
}

.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: rgba(27, 48, 34, 0.35);
}

.btn-ghost:hover {
  border-color: var(--green-900);
  background: rgba(27, 48, 34, 0.05);
}

.btn-primary {
  background: var(--yellow);
  color: var(--green-950);
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-instagram {
  background: var(--white);
  color: var(--green-900);
  border: none;
}

.btn-instagram:hover {
  background: var(--cream);
}

/* ——— Hero strip ——— */

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(27, 48, 34, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 1.15rem 0;
}

.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: left;
}

.strip-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-icon svg {
  width: 20px;
  height: 20px;
}

.strip-item p {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0.95;
}

/* ——— Scroll hint ——— */

.scroll-hint {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--white);
  border-radius: 999px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.scroll-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes scroll-dot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  80%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ——— Panels ——— */

.panel {
  position: relative;
  padding: 5.5rem 0;
}

.panel--cream {
  background: var(--cream);
}

.panel--soft {
  background: var(--cream-soft);
  text-align: center;
}

.section-narrow {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}

.section-header--light .section-label {
  color: var(--yellow);
}

.section-header--light h2 {
  color: var(--white);
}

.section-header--light p {
  color: rgba(255, 255, 255, 0.8);
}

.info-block {
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid rgba(27, 48, 34, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}

/* ——— Values ——— */

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.value {
  text-align: center;
  padding: 0.5rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  border-radius: 50%;
  color: var(--green-800);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.value p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 18rem;
  margin-inline: auto;
}

/* ——— Menu ——— */

.panel--menu {
  background: var(--green-900);
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.menu-parallax {
  position: absolute;
  inset: -20% 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(201, 168, 76, 0.12), transparent),
    radial-gradient(ellipse 40% 50% at 90% 70%, rgba(255, 255, 255, 0.05), transparent);
  will-change: transform;
  pointer-events: none;
}

.menu-wrap {
  position: relative;
  z-index: 1;
}

.menu-frame {
  margin: 0 auto;
  max-width: 960px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  background: var(--white);
  transition: transform 0.5s ease;
}

.menu-frame:hover {
  transform: scale(1.01);
}

.menu-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— CTA ——— */

.panel--cta {
  background: var(--green-950);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-inner {
  max-width: 28rem;
}

.cta-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: var(--white);
  border-radius: 50%;
  padding: 0.4rem;
  object-fit: contain;
}

.panel--cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-tagline {
  font-family: var(--font-script);
  font-size: 1.45rem;
  color: var(--yellow);
  margin-bottom: 1.75rem;
}

/* ——— Reveal ——— */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.values-row [data-reveal]:nth-child(2) {
  transition-delay: 0.12s;
}

.values-row [data-reveal]:nth-child(3) {
  transition-delay: 0.24s;
}

/* ——— Footer ——— */

.site-footer {
  background: #0f1c14;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  padding: 0.4rem;
  object-fit: contain;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 16rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ——— Reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-mouse::after {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg,
  .menu-parallax {
    transform: none !important;
  }
}

/* ——— Responsive ——— */

@media (max-width: 1100px) {
  .nav {
    gap: 0.9rem;
  }

  .nav a {
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-script {
    transform: none;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-bg img {
    object-position: 72% center;
  }

  .hero-strip-inner {
    gap: 0.75rem;
  }

  .strip-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .strip-item p {
    font-size: 0.62rem;
  }

  .values-row {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(0, 66, 37, 0.1);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 50, 28, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(0, 66, 37, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
  }

  .nav a.active::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-bottom: 9.5rem;
  }

  .hero-strip-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .strip-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .scroll-hint {
    bottom: 10.5rem;
  }

  .menu-frame {
    border-radius: 8px;
  }
}
