/* teshlounge.com — plain static site (no WordPress). Colours and type taken
   from the old site so it looks the same. */

:root {
  --cream: #f4f3e7;
  --ink: #0e150e;
  --teal: #446869;
  --teal-dark: #346768;
  --lime: #e6ff55;
  --lime-ink: #00473c;
  --mint: #d7e4d5;
  --beige: #e8dcc6;
  --gold: #927e42;
  --gold-light: #a08f59;
  --gold-button: #998030;
  --radius: 25px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 243, 231, 0.92);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.site-header .logo img { width: 60px; height: auto; }
.nav-links { display: none; margin-left: auto; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--teal); }

.pill {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 33px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
}
.site-header .pill { margin-left: auto; }

/* Phone menu: <details> opens without any script */
.menu { position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 40px; height: 40px;
  display: grid; place-items: center;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span,
.menu summary span::before,
.menu summary span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.menu summary span::before,
.menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu nav {
  position: absolute;
  right: 0;
  top: 48px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 200px;
}
.menu nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
}
.menu nav a:hover { background: var(--cream); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .site-header .pill { margin-left: 0; }
  .menu { display: none; }
}

/* ---------- Buttons ---------- */

.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--lime-ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: 50px;
  padding: 14px 32px;
}

/* ---------- Home ---------- */

.hero,
.feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}
.hero { min-height: 520px; }
.feature { min-height: 480px; }
.hero::after,
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
}
.hero .slides,
.hero .slides img,
.feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Three photos fading into each other, 15 s loop, no script */
.hero .slides img { opacity: 0; animation: fade 15s infinite; }
/* first photo starts already faded in, so the hero is never blank on load */
.hero .slides img:nth-child(1) { animation-delay: -1s; }
.hero .slides img:nth-child(2) { animation-delay: 4s; }
.hero .slides img:nth-child(3) { animation-delay: 9s; }
@keyframes fade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .slides img { animation: none; }
  .hero .slides img:first-child { opacity: 1; }
}
.hero .text,
.feature .text {
  position: relative;
  z-index: 1;
  padding: 28px 24px 36px;
  max-width: 640px;
}
.eyebrow { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.hero h1,
.feature h2 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 24px;
}

.panel {
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 24px;
  display: grid;
  gap: 20px;
}
.panel.mint { background: var(--mint); }
.panel h2 { font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0 0 12px; }
.panel .eyebrow { color: var(--ink); }
.panel p { margin: 0; }
.panel .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel .photos img { border-radius: 18px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.panel .photos img.tall { grid-row: span 2; aspect-ratio: auto; }
.panel .photos.pair img { aspect-ratio: 3 / 4; }

/* "The magic of the kitchen" and "Delicious food with meaning" take turns
   in the same spot, like the old site's slider: ~3 s each, no script. */
.slider {
  display: grid;
  background: var(--mint);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.slider > .panel {
  grid-area: 1 / 1;
  background: none;
  margin-bottom: 0;
  align-self: start;
  animation: swap 7s infinite;
}
.slider > .panel:nth-child(2) { animation-delay: -3.5s; }
@keyframes swap {
  0%, 43% { opacity: 1; visibility: visible; }
  50%, 93% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .slider { display: block; }
  .slider > .panel { animation: none; }
}

.split {
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  margin-bottom: 24px;
  background: var(--beige);
}
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.split .text { padding: 40px 24px; text-align: center; align-self: center; }
.split h2 { font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0 0 16px; }
.split p { font-size: 18px; margin: 0; }

@media (min-width: 900px) {
  .hero { min-height: 640px; }
  .hero .text, .feature .text { padding: 48px 56px 56px; }
  .hero h1, .feature h2 { font-size: 56px; }
  .panel { grid-template-columns: 1fr 1.6fr; padding: 48px; align-items: center; }
  .split { grid-template-columns: 1fr 1fr; }
  .split .text { text-align: left; padding: 56px; }
  .split h2 { font-size: 44px; }
}

/* ---------- Content pages (Tesh at yours, Privacy, Terms) ---------- */

.page { padding-top: 32px; padding-bottom: 48px; }
.page .narrow { max-width: 760px; margin: 0 auto; }
.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.card p { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }
.card h1 { font-size: 30px; line-height: 1.2; margin: 0 0 20px; }
.card h2 { font-size: 18px; margin: 24px 0 8px; }
.card ul { margin: 0 0 14px; padding-left: 22px; }
.banner { border-radius: 20px; margin-bottom: 20px; width: 100%; }
.lead { font-size: 22px; line-height: 1.75; }

.two { display: grid; gap: 20px; margin-bottom: 20px; }
.two .card { margin-bottom: 0; }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

@media (min-width: 900px) {
  .page .wide .card { padding: 48px 80px; }
  .two { grid-template-columns: 1fr 1fr; }
  .two .card { font-size: 20px; line-height: 1.7; }
  .actions { flex-direction: row; flex-wrap: wrap; }
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 7px;
}
.action.gold { background: var(--gold-button); }
.action svg { width: 18px; height: 18px; flex: none; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding-bottom: 24px;
  font-size: 14px;
}
.footer-card {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 16px; }
@media (min-width: 900px) {
  .footer-card { display: flex; align-items: center; justify-content: space-between; padding: 48px 80px; text-align: left; }
  .site-footer .legal { margin-bottom: 0; justify-content: flex-start; }
}
.site-footer .legal a { font-weight: 600; text-decoration: none; }
.icons { display: flex; justify-content: center; gap: 22px; }
.icons a { display: inline-flex; color: var(--ink); }
.icons svg { width: 22px; height: 22px; }

/* ---------- /qr/ links page ---------- */

.qr-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--teal) 0%, var(--gold-light) 100%);
  display: flex;
  flex-direction: column;
}
.qr-page .qr-logo { padding: 28px 0 24px; display: flex; justify-content: center; }
.qr-page .qr-logo img { width: 84px; }
.qr-links a {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  padding: 20px 16px;
  background: var(--gold);
}
.qr-links a:nth-child(even) { background: var(--gold-light); }
.qr-links a.teal { background: var(--teal); }
.qr-links a:hover { filter: brightness(1.08); }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: 80px 16px; }
.notfound h1 { font-size: 32px; margin: 0 0 12px; }
.notfound p { margin: 0 0 28px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
