/* ============================
   SCOPEPLAYMINGL — COFFEE ROASTERY
   Warm, slow, hand-crafted palette
   ============================ */

:root {
  --cream: #f5efe6;
  --cream-soft: #faf6ef;
  --linen: #ede4d3;
  --paper: #fffdf9;
  --espresso: #2a1d14;
  --walnut: #4a3525;
  --coffee: #6b4a32;
  --caramel: #b48a5e;
  --rust: #a04a28;
  --moss: #5c6b4a;
  --ink: #1c130c;
  --muted: #7a6651;
  --line: rgba(74, 53, 37, 0.12);
  --line-strong: rgba(74, 53, 37, 0.22);
  --shadow-soft: 0 20px 60px -25px rgba(42, 29, 20, 0.18);
  --shadow-deep: 0 30px 80px -30px rgba(42, 29, 20, 0.35);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.2rem; }

em { font-style: italic; color: var(--rust); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: '◦';
  margin-right: 10px;
  color: var(--caramel);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--walnut);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(42, 29, 20, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--rust); }

.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--rust);
  border-bottom: 1px solid rgba(160, 74, 40, 0.3);
  padding-bottom: 4px;
  transition: all 0.3s;
}
.link-arrow:hover { border-color: var(--rust); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.logo-mark {
  font-size: 1.6rem;
  color: var(--rust);
  transform: rotate(-15deg);
  display: inline-block;
}

.logo-text { letter-spacing: -0.01em; }

.nav-desktop {
  display: flex;
  gap: 38px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--walnut);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active { color: var(--rust); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--rust);
}

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--espresso);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px 32px 40px;
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 14px 0;
  font-size: 1.1rem;
  font-family: var(--serif);
  color: var(--espresso);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.65) sepia(0.15);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 29, 20, 0.25) 0%, rgba(42, 29, 20, 0.55) 60%, rgba(42, 29, 20, 0.75) 100%);
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--cream);
}

.hero-content .eyebrow { color: var(--linen); }
.hero-content .eyebrow::before { color: var(--caramel); }

.hero-title {
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 1.4rem;
}
.hero-title em { color: #e0a87a; font-style: italic; }

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 540px;
  margin-bottom: 2.4rem;
  color: rgba(245, 239, 230, 0.88);
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-cta .btn-primary {
  background: var(--cream);
  color: var(--espresso);
}
.hero-cta .btn-primary:hover { background: #fff; }

.hero-cta .btn-ghost { color: var(--cream); }
.hero-cta .btn-ghost:hover { color: #e0a87a; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--linen);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll span {
  width: 1px;
  height: 40px;
  background: var(--linen);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* Fade animations */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 1s 0.1s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.7s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Trust */
.trust {
  padding: 80px 0;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.trust-item h3 {
  font-size: 2.6rem;
  color: var(--rust);
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section heads */
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head.center { margin: 0 auto 60px; text-align: center; }

/* Story */
.story { padding: 140px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.story-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 1.5s ease;
}
.story-image:hover img { transform: scale(1.04); }
.story-image-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--walnut);
}
.story-text p { margin-bottom: 1.4rem; color: var(--walnut); font-size: 1.05rem; }
.story-text h2 { margin-bottom: 1.6rem; }

/* Services */
.services { padding: 120px 0; background: var(--cream-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
  border: 1px solid var(--line);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
}
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-card h3 { padding: 22px 24px 8px; font-size: 1.25rem; }
.service-card p { padding: 0 24px 28px; color: var(--muted); font-size: 0.95rem; }

/* Why */
.why { padding: 140px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.why-list { list-style: none; margin-top: 40px; }
.why-list li {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--rust);
  font-style: italic;
  flex-shrink: 0;
}
.why-list h4 { margin-bottom: 6px; font-size: 1.15rem; }
.why-list p { color: var(--muted); font-size: 0.96rem; }

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.why-image img { height: 640px; width: 100%; object-fit: cover; }

/* Gallery */
.gallery { padding: 120px 0; background: var(--linen); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Testimonials */
.testimonials { padding: 140px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--paper);
  padding: 40px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--caramel);
  position: absolute;
  top: 16px; left: 28px;
  line-height: 1;
  opacity: 0.4;
}
.testimonial p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--walnut);
  margin: 20px 0 24px;
  position: relative;
  z-index: 1;
}
.testimonial footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial footer strong { color: var(--espresso); font-size: 0.95rem; }
.testimonial footer span { font-size: 0.82rem; color: var(--muted); }

/* CTA banner */
.cta-banner {
  padding: 120px 0;
  background: var(--espresso);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(160, 74, 40, 0.3), transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-inner p { color: rgba(245, 239, 230, 0.75); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--cream); color: var(--espresso); }
.cta-banner .btn-primary:hover { background: #fff; }
.cta-banner .btn-ghost { color: var(--cream); }

/* Location strip */
.location-strip { padding: 100px 0; background: var(--cream-soft); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.location-grid h3 { margin-bottom: 12px; }
.location-grid p { color: var(--walnut); line-height: 1.7; }
.location-grid a:hover { color: var(--rust); }

/* Page Hero */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--linen) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero p {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--walnut);
  line-height: 1.7;
}

/* About */
.about-story { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.about-image img { height: 600px; width: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { margin-bottom: 1.2rem; color: var(--walnut); font-size: 1.05rem; }

.values { padding: 120px 0; background: var(--cream-soft); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--paper);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s;
}
.value-card:hover { transform: translateY(-6px); }
.value-icon {
  font-size: 1.8rem;
  color: var(--rust);
  display: block;
  margin-bottom: 16px;
  transform: rotate(-15deg);
}
.value-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; }

.team { padding: 120px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card { text-align: center; }
.team-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.team-img img { height: 420px; width: 100%; object-fit: cover; transition: transform 1s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-card h4 { margin-bottom: 4px; font-size: 1.25rem; }
.team-card p { color: var(--muted); font-size: 0.92rem; }

/* Menu page */
.menu-section { padding: 100px 0 140px; }
.menu-block { margin-bottom: 70px; }
.menu-cat {
  font-size: 1.4rem;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--rust);
  font-style: italic;
}
.menu-list { display: flex; flex-direction: column; gap: 24px; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item h4 { font-size: 1.15rem; margin-bottom: 4px; }
.menu-item p { color: var(--muted); font-size: 0.95rem; max-width: 600px; }
.menu-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--espresso);
  font-weight: 500;
  flex-shrink: 0;
}

/* Contact */
.contact-section { padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.info-block h3 { margin-bottom: 10px; }
.info-block p { color: var(--walnut); line-height: 1.7; }
.info-block a:hover { color: var(--rust); }

.contact-form {
  background: var(--paper);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: var(--cream-soft);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--espresso);
  transition: border 0.3s, background 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: var(--paper);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: 10px; }
.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--moss);
  font-style: italic;
}

.map-section { padding: 0 0 120px; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  height: 500px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Legal pages */
.legal { padding: 80px 0 140px; }
.legal-wrap {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.legal-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-item:last-child { border-bottom: none; }
.legal-item h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--rust);
}
.legal-item p { color: var(--walnut); line-height: 1.8; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(245, 239, 230, 0.7);
  padding: 90px 0 30px;
}
.site-footer .logo { color: var(--cream); }
.site-footer .logo-text { color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.12);
}
.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
  font-size: 0.94rem;
  line-height: 1.7;
}
.footer-col h5 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: 0.93rem;
  line-height: 1.9;
  margin-bottom: 4px;
  color: rgba(245, 239, 230, 0.65);
  transition: color 0.3s;
}
.footer-col a:hover { color: #e0a87a; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-grid, .services-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .testimonial-grid, .team-grid, .location-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .story-image img, .why-image img, .about-image img { height: 460px; }
  .team-img img { height: 380px; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 80vh; padding: 60px 0; }
  .hero-scroll { display: none; }
  .story, .services, .why, .testimonials, .gallery, .cta-banner, .location-strip, .about-story, .values, .team, .menu-section, .contact-section { padding: 70px 0; }
  .services-grid, .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .menu-item { flex-direction: column; gap: 6px; }
  .menu-price { align-self: flex-start; }
}