/* Kaylir Canteen — folk-art terracotta palette & type over the static template */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Karla:wght@300;400;500;600;700&family=Caveat:wght@500;600;700&family=Quicksand:wght@500;600;700&display=swap");

:root {
  --font-1: "Karla", system-ui, sans-serif;
  --font-2: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Caveat", cursive;
  --font-brand: "Quicksand", system-ui, sans-serif;

  /* Warm espresso base */
  --color-bg: #1c1712;
  --color-bg-inverse: #423529;

  /* Deep clay sections */
  --color-bg-primary: #3a241b;
  --color-bg-primary-light: #4a3024;
  --color-bg-primary-dark: #2b1a13;

  /* Terracotta accent */
  --color-bg-accent: #c75b39;
  --color-bg-accent-light: #d96f4c;
  --color-bg-accent-dark: #a8482b;

  /* Mustard secondary */
  --color-bg-secondary: #e0a53b;
  --color-bg-secondary-light: #ecb857;
  --color-bg-secondary-dark: #c08a28;

  --color-bg-neutral: #221b15;
  --color-bg-neutral-light: #2e251d;
  --color-bg-neutral-dark: #181310;

  --color-border: #3a2e25;

  --color-text: #d9cdba;
  --color-text-bold: #f5efe1;
  --color-text-light: #9a8c78;
  --color-headings: #f5efe1;
  --color-placeholder: #847665;

  /* Links / highlights = mustard */
  --color-link: #e0a53b;
  --color-link-hover: #f0c878;
  --color-link-active: #f0c878;

  --color-btn: #2e251d;
  --color-btn-text: #f5efe1;
  --color-btn-hover: #3a2e25;
  --color-btn-hover-text: #f5efe1;

  /* Primary button = terracotta */
  --color-btn-primary: #c75b39;
  --color-btn-primary-text: #fff7ef;
  --color-btn-primary-hover: #a8482b;
  --color-btn-primary-hover-text: #fff7ef;

  --color-btn-ghost: #e0a53b;
  --color-btn-ghost-text: #e0a53b;
  --color-btn-ghost-hover: #e0a53b;
  --color-btn-ghost-hover-text: #1c1712;

  --color-preloader-bg: var(--color-bg);
  --color-loader: #6a5c4c;
  --color-loader-light: #e0a53b;
}

body {
  font-family: var(--font-1);
}

/* --------------------------------------------------------------------
 * Kaylir text wordmark (replaces the old PNG logo mark)
 * -------------------------------------------------------------------- */
.kaylir-wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: normal;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-headings);
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  white-space: nowrap;
  display: inline-block;
  transition: color 0.25s ease;
}

.header-logo__link {
  width: auto !important;
  aspect-ratio: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
}

.kaylir-mark {
  width: clamp(2.1rem, 5vw, 2.75rem);
  height: auto;
  aspect-ratio: 1;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(15, 14, 12, 0.45));
}

.kaylir-mark--footer {
  width: clamp(2rem, 8vw, 2.5rem);
}

.ccc-menu-splash__mark {
  width: clamp(8rem, 30vw, 12rem);
  height: auto;
  aspect-ratio: 1;
  display: block;
  filter: drop-shadow(0 12px 36px rgba(15, 14, 12, 0.6));
  animation: ccc-splash-logo 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ccc-menu-splash__mark { animation: none; }
}

.header-logo__link:hover .kaylir-wordmark,
.header-logo__link:focus .kaylir-wordmark,
.s-footer__logo .footer-logo__link:hover .kaylir-wordmark,
.s-footer__logo .footer-logo__link:focus .kaylir-wordmark {
  color: var(--color-link);
}

.s-footer__logo .footer-logo__link {
  width: auto;
  aspect-ratio: auto;
}

.kaylir-wordmark--footer {
  font-size: clamp(1.5rem, 6vw, 2rem);
}

.ccc-menu-splash__wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: normal;
  text-transform: lowercase;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
  color: var(--color-headings);
  text-shadow:
    0 2px 0 rgba(15, 14, 12, 0.85),
    0 18px 48px rgba(15, 14, 12, 0.7),
    0 0 36px rgba(224, 165, 59, 0.22);
  animation: ccc-splash-logo 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ccc-menu-splash__wordmark {
    animation: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-display-title {
  font-family: var(--font-2);
}

.ss-home .intro-header__overline {
  color: hsl(40 42% 74%);
}

/* Keep “Cafe Chai” on one line; “Coffee” on the line below */
.hero-brand-line1 {
  white-space: nowrap;
}

/* Intro row: FB / IG / TA — brand gold (--color-link) */
.intro-block-content__social a {
  color: #d4b060;
}

.intro-block-content__social a:hover,
.intro-block-content__social a:focus {
  color: var(--color-text-bold);
}

.header-contact__num svg {
  color: var(--color-link) !important;
}

.s-footer__social a svg path,
.s-footer__social a svg circle {
  fill: currentColor;
}

.s-footer__social a {
  color: var(--color-text);
}

.s-footer__social a:hover,
.s-footer__social a:focus {
  color: var(--color-link);
}

/* Logo mark — transparent PNG; sits directly on the dark bar */
.header-logo__link {
  --ccc-logo-max: clamp(4.5rem, 14vw, 8.5rem);
  display: block;
  line-height: 0;
  text-decoration: none;
  outline: none;
  border: none;
  /* Fill most of the header height */
  width: min(var(--ccc-logo-max), calc(var(--header-height) - 0.4rem));
  aspect-ratio: 1;
  flex-shrink: 0;
}

.s-footer__logo .footer-logo__link {
  display: block;
  line-height: 0;
  text-decoration: none;
  outline: none;
  border: none;
  width: clamp(4rem, 10vw, 6rem);
  aspect-ratio: 1;
}

.header-logo .ccc-logo-img,
.s-footer__logo .ccc-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  margin: 0;
  /* Warm into page palette + soft shadow that reads as depth, not a box */
  filter:
    brightness(1.04) contrast(1.04) saturate(0.92)
    drop-shadow(0 1px 0 rgba(15, 14, 12, 0.8))
    drop-shadow(0 6px 18px rgba(15, 14, 12, 0.55));
  transition: filter 0.25s ease;
}

.header-logo__link:hover .ccc-logo-img,
.header-logo__link:focus .ccc-logo-img,
.s-footer__logo .footer-logo__link:hover .ccc-logo-img,
.s-footer__logo .footer-logo__link:focus .ccc-logo-img {
  filter:
    brightness(1.1) contrast(1.06) saturate(0.96)
    drop-shadow(0 1px 0 rgba(15, 14, 12, 0.85))
    drop-shadow(0 8px 22px rgba(201, 162, 39, 0.22));
}

@media screen and (max-width: 900px) {
  .header-logo__link {
    --ccc-logo-max: clamp(4rem, 20vw, 5.5rem);
  }
}

/* --------------------------------------------------------------------
 * Menu redirect splash
 * -------------------------------------------------------------------- */
html.ccc-splash-on,
html.ccc-splash-on body {
  overflow: hidden;
}

.ccc-menu-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 162, 39, 0.08), transparent 60%),
    var(--color-bg, #0f0e0c);
  color: var(--color-text, #c9c2b6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.ccc-menu-splash.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.ccc-menu-splash__logo {
  width: clamp(12rem, 38vw, 22rem);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 0 rgba(15, 14, 12, 0.85))
    drop-shadow(0 18px 48px rgba(15, 14, 12, 0.7))
    drop-shadow(0 0 36px rgba(201, 162, 39, 0.22));
  animation: ccc-splash-logo 1.8s ease-in-out infinite;
}

@keyframes ccc-splash-logo {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

.ccc-menu-splash__label {
  font-family: var(--font-1, "Montserrat", system-ui, sans-serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 4vw, 2rem);
  color: var(--color-text-bold, #f5f0e8);
  margin: 0;
  text-shadow:
    0 1px 0 rgba(15, 14, 12, 0.9),
    0 2px 24px rgba(201, 162, 39, 0.35);
}

.ccc-menu-splash__dots {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ccc-menu-splash__dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-link, #d4b060);
  opacity: 0.55;
  animation: ccc-splash-dot 1s ease-in-out infinite;
}

.ccc-menu-splash__dots span:nth-child(2) { animation-delay: 0.15s; }
.ccc-menu-splash__dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ccc-splash-dot {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .ccc-menu-splash__logo,
  .ccc-menu-splash__dots span {
    animation: none;
  }
}

/* ── Testimonials — exact Firo port ─────────────────────────────────────── */

.s-testimonials {
  padding: 6rem 0 5rem;
  background: #1c1712;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.s-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/kaylir-tile-light.svg');
  background-size: 72px 72px;
  opacity: 0.05;
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 3.5rem;
}

.testimonials-eyebrow {
  display: block;
  font-family: var(--font-1);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D4880A;
  margin-bottom: 1rem;
}

.testimonials-heading {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: hsl(40 50% 96%);
  margin: 0;
  line-height: 1.15;
  text-transform: lowercase;
}

.testimonials-heading em {
  font-style: italic;
  color: #D4880A;
  font-family: var(--font-2);
  font-weight: 400;
}

/* Firo uses JS requestAnimationFrame scrollLeft — no CSS animation needed */
.testimonials-marquee {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.testimonials-marquee::-webkit-scrollbar { display: none; }
.testimonials-marquee:active { cursor: grabbing; }

.testimonials-track {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 1.25rem 1rem 2rem;
  width: max-content;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee { overflow-x: auto; }
}

/* card — Firo exact: w-96 × h-[520px], cream gradient, ambience bg at 18% */
.testimonials-card {
  width: 24rem;           /* Firo md:w-96 = 384px */
  height: 32.5rem;        /* Firo md:h-[520px]    */
  background: linear-gradient(to bottom, #FBF7EE, #F4ECDB);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  outline: 1px solid rgba(212,136,10,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 2rem 1.75rem;
}

/* ambience photo at 18% — same technique as Firo */
.testimonials-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/ambience.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.testimonials-card > * { position: relative; z-index: 1; }

/* Firo: odd +1.5deg, even -1.5deg on hover */
.testimonials-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.32); }
.testimonials-card:nth-child(odd):hover  { transform: rotate(1.5deg)  scale(1.02); }
.testimonials-card:nth-child(even):hover { transform: rotate(-1.5deg) scale(1.02); }

/* Firo: w-[120px] h-[120px] rounded-full border-[3px] border-gold/40 */
.testimonials-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(212,136,10,0.4);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

/* Firo: text-xl md:text-[1.4rem] font-serif italic mt-6 px-6 leading-snug */
.testimonials-quote {
  font-family: var(--font-2);
  font-size: 1.4rem;
  font-style: italic;
  color: #2E2A23;
  line-height: 1.5;
  margin: 1.5rem 0 0;
  padding: 0 0.5rem;
  flex: 1;
  text-wrap: balance;
}

/* Firo: text-lg md:text-xl font-serif mt-6 px-6 */
.testimonials-name {
  font-family: var(--font-2);
  font-size: 1.25rem;
  font-weight: 400;
  color: #2E2A23;
  margin: 1.5rem 0 0;
}

/* Firo: text-[0.62rem] font-sans tracking-[0.24em] uppercase text-gold-deep mt-2 */
.testimonials-location {
  font-family: var(--font-1);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #D4880A;
  margin: 0.5rem 0 0;
}
