/* =====================================================
   LUNNA CAFE — CINEMATIC COFFEE EXPERIENCE
   Designed for the accompanying index.html
   ===================================================== */

/* ---------- DESIGN TOKENS ---------- */

:root {
  --background: #50382c;
  --background-deep: #21130e;
  --background-dark: #160c08;
  --surface: #2c1b15;
  --surface-light: #3a261e;

  --cream: #f2d9b9;
  --cream-soft: #ddc2a3;
  --muted: #aa8e79;
  --gold: #c99a5a;
  --gold-light: #e7bc7f;

  --border: rgba(242, 217, 185, 0.15);
  --glass: rgba(45, 28, 21, 0.88);

  --display: "Playfair Display", Georgia, serif;
  --editorial: "Italiana", Georgia, serif;
  --body: "DM Sans", sans-serif;

  --page-width: 1440px;
  --page-gutter: clamp(22px, 5.5vw, 88px);
  --section-gap: clamp(100px, 13vw, 180px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--background);
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--cream);
  background:
    radial-gradient(
      ellipse at 10% 5%,
      rgba(220, 171, 123, 0.12),
      transparent 40%
    ),
    var(--background);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family: var(--body);
}

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

button {
  color: inherit;
}

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

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

button,
input {
  font-size: inherit;
}

::selection {
  color: var(--background-dark);
  background: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
  background: #866346;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- PRELOADER ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: grid;
  place-items: center;

  background:
    radial-gradient(
      circle at 50% 45%,
      #3d281e,
      #1c100b 72%
    );

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.9s var(--ease),
    visibility 0.9s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-symbol {
  display: block;
  margin-bottom: 18px;

  color: var(--gold-light);
  font-family: var(--editorial);
  font-size: 76px;
  line-height: 1;

  animation: moonFloat 2.5s ease-in-out infinite;
}

.preloader-name {
  padding-left: 0.32em;

  color: var(--cream);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.32em;
}

.preloader-caption {
  margin-top: 9px;

  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
}

.preloader-track {
  width: 145px;
  height: 2px;
  margin-top: 30px;

  overflow: hidden;
  background: rgba(242, 217, 185, 0.12);
}

.preloader-track span {
  display: block;
  width: 100%;
  height: 100%;

  background: var(--gold-light);

  transform: scaleX(0);
  transform-origin: left;

  animation: loadingProgress 1.6s var(--ease) forwards;
}

/* ---------- HEADER / GLASS NAVIGATION ---------- */

.site-header {
  position: fixed;
  top: clamp(12px, 1vw, 18px);
  left: 50%;
  z-index: 500;

  width: min(
    calc(100% - var(--page-gutter) * 2),
    var(--page-width)
  );

  min-height: 86px;
  padding: 15px clamp(18px, 3vw, 38px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background: var(--glass);
  border: 1px solid rgba(242, 217, 185, 0.11);
  border-radius: 22px;

  box-shadow:
    0 15px 60px rgba(15, 7, 3, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  transform: translateX(-50%);

  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(30, 18, 13, 0.96);
  border-color: rgba(242, 217, 185, 0.18);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Brand */

.brand {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  color: var(--background-dark);
  background: var(--cream);

  border-radius: 50%;

  font-family: var(--display);
  font-size: 22px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  color: var(--cream);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.1;
}

.brand-caption {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.17em;
}

/* Navigation */

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.5vw, 36px);
}

.navigation-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #bba28d;

  font-family: var(--display);
  font-size: 13px;

  white-space: nowrap;

  transition: color 0.3s ease;
}

.navigation-link::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;

  height: 1px;

  background: var(--gold-light);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.35s var(--ease);
}

.navigation-link:hover,
.navigation-link.active {
  color: var(--cream);
}

.navigation-link:hover::after,
.navigation-link.active::after {
  transform: scaleX(1);
}

.navigation-contact {
  padding: 12px 18px;

  color: var(--cream);
  background: rgba(242, 217, 185, 0.1);

  border: 1px solid rgba(242, 217, 185, 0.2);
  border-radius: 30px;

  font-family: var(--body);
  font-size: 11px;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.navigation-contact::after {
  display: none;
}

.navigation-contact:hover {
  color: var(--background-dark);
  background: var(--cream);
  border-color: var(--cream);
}

.mobile-menu-toggle {
  display: none;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  isolation: isolate;

  width: min(
    calc(100% - var(--page-gutter) * 2),
    var(--page-width)
  );

  min-height: clamp(710px, 88vh, 940px);
  min-height: clamp(710px, 88svh, 940px);

  margin: 0 auto;
  padding-top: 150px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: var(--background-deep);
  border-radius: 0 0 30px 30px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;

  background-color: #26150d;

  background-image:
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1800&q=80");

  background-position: center;
  background-size: cover;

  opacity: 0.32;

  transform: scale(1.09);

  animation: heroBackgroundIn 2s var(--ease) forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(
      ellipse at 72% 45%,
      rgba(109, 64, 35, 0.12),
      transparent 50%
    ),
    linear-gradient(
      90deg,
      rgba(30, 14, 7, 0.98) 0%,
      rgba(35, 17, 9, 0.92) 34%,
      rgba(35, 17, 9, 0.48) 68%,
      rgba(35, 17, 9, 0.25) 100%
    ),
    linear-gradient(
      0deg,
      rgba(24, 12, 7, 0.82),
      transparent 24%,
      rgba(24, 12, 7, 0.12)
    );
}

.hero-content {
  position: relative;
  z-index: 5;

  width: 59%;
  max-width: 780px;

  padding: 65px 0 110px clamp(30px, 7vw, 110px);
}

.hero-decoration {
  position: absolute;
  top: 132px;
  left: clamp(20px, 3vw, 60px);
  z-index: 6;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;

  color: rgba(242, 217, 185, 0.72);

  font-size: 8px;
  letter-spacing: 0.23em;
  line-height: 1;
  text-transform: uppercase;

  pointer-events: none;
}

.hero-decoration-left {
  left: clamp(18px, 2.5vw, 42px);
}

/* Eyebrows */

.hero-eyebrow,
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--gold-light);

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.21em;
}

.eyebrow-line {
  width: 26px;
  height: 1px;

  background: var(--gold);
}

/* Main title */

.hero-title {
  margin-top: 32px;

  color: var(--cream);

  font-family: var(--display);
  font-size: clamp(52px, 6.2vw, 91px);
  font-weight: 400;
  line-height: 1.08;

  letter-spacing: -0.055em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;

  animation: titleReveal 1.15s var(--ease) both;
}

.hero-title-line:first-child {
  animation-delay: 0.15s;
}

.hero-title-line:nth-child(2) {
  margin-top: 3px;
  animation-delay: 0.3s;
}

.hero-title-italic {
  font-style: italic;
}

.hero-title em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-description {
  max-width: 420px;
  margin-top: 26px;

  color: #bda795;

  font-family: var(--display);
  font-size: 15px;
  line-height: 1.9;
}

/* Hero buttons */

.hero-actions {
  margin-top: 35px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  position: relative;

  min-height: 48px;
  padding: 13px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  border: 1px solid transparent;
  border-radius: 30px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.015em;

  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.button-arrow {
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}

.button:hover .button-arrow {
  transform: translate(3px, -2px);
}

.button-primary {
  color: #382116;
  background: var(--cream);

  border-color: var(--cream);
}

.button-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);

  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.button-secondary {
  color: var(--cream);
  background: rgba(30, 18, 13, 0.22);

  border-color: rgba(242, 217, 185, 0.25);
}

.button-secondary:hover {
  background: rgba(242, 217, 185, 0.11);
  border-color: rgba(242, 217, 185, 0.6);

  transform: translateY(-3px);
}

.button-light {
  color: #382116;
  background: var(--cream);
  border-color: var(--cream);
}

.button-light:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);

  transform: translateY(-3px);
}

/* Hero footnote */

.hero-note {
  margin-top: 35px;

  display: flex;
  align-items: center;
  gap: 11px;

  color: #a58a75;
  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
}

.hero-note-symbol {
  color: var(--gold);
  font-size: 17px;
}

/* Decorative coffee composition */

.hero-visual {
  position: absolute;
  top: 17%;
  right: 3%;
  bottom: 8%;

  width: 48%;
  z-index: 2;

  pointer-events: none;
}

.coffee-image-main {
  position: absolute;

  top: 10%;
  right: 3%;

  width: min(78%, 450px);
  aspect-ratio: 0.83;

  overflow: hidden;

  background: #39251b;

  border: 1px solid rgba(242, 217, 185, 0.13);
  border-radius: 48% 48% 18px 18px;

  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);

  animation: coffeeFloat 7s ease-in-out infinite;
}

.coffee-image-main img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0.91;

  filter: saturate(0.85) sepia(0.08);

  transition:
    transform 1.2s var(--ease),
    filter 1.2s ease;
}

.coffee-image-small {
  position: absolute;

  right: 52%;
  bottom: 9%;

  width: 35%;
  aspect-ratio: 0.78;

  overflow: hidden;

  background: #4b3022;

  border: 4px solid rgba(38, 22, 15, 0.9);
  border-radius: 17px;

  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);

  transform: rotate(-5deg);

  animation: smallCoffeeFloat 6s ease-in-out infinite;
}

.coffee-image-small img {
  height: 100%;
  object-fit: cover;

  filter: saturate(0.8) sepia(0.1);
}

.coffee-orbit {
  position: absolute;

  width: 75%;
  aspect-ratio: 1;

  top: 7%;
  right: -3%;

  border: 1px solid rgba(231, 188, 127, 0.12);
  border-radius: 50%;
}

.orbit-one {
  width: 75%;
  top: 7%;
  right: -3%;
}

.orbit-two {
  width: 88%;
  top: 1%;
  right: -9%;

  border-color: rgba(231, 188, 127, 0.07);
}

.coffee-bean {
  position: absolute;

  color: var(--gold-light);
  font-family: var(--display);
  font-size: 43px;

  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

  animation: beanFloat 5s ease-in-out infinite;
}

.bean-one {
  top: 12%;
  left: 8%;
  transform: rotate(35deg);
}

.bean-two {
  top: 53%;
  right: 0;
  font-size: 32px;
  animation-delay: -1.5s;
}

.bean-three {
  bottom: 12%;
  left: 18%;
  font-size: 26px;
  animation-delay: -3s;
}

.coffee-stamp {
  position: absolute;

  top: 8%;
  right: 0;

  width: 95px;
  height: 95px;

  color: var(--gold-light);

  animation: stampRotate 35s linear infinite;
}

.coffee-stamp svg {
  width: 100%;
  height: 100%;

  overflow: visible;

  fill: currentColor;
}

.coffee-stamp text {
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: 2px;
}

.coffee-stamp .stamp-center {
  font-family: var(--display);
  font-size: 27px;
  text-anchor: middle;
}

.coffee-origin {
  position: absolute;
  right: 0;
  bottom: 1%;

  max-width: 220px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;

  text-align: right;
}

.origin-label {
  color: var(--gold-light);

  font-size: 8px;
  letter-spacing: 0.15em;
}

.origin-value {
  max-width: 200px;

  color: #b79a81;

  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
}

/* Hero bottom */

.hero-bottom {
  position: absolute;

  right: clamp(25px, 3.5vw, 50px);
  bottom: 25px;
  left: clamp(25px, 3.5vw, 50px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  color: #9f826b;

  font-size: 8px;
  letter-spacing: 0.15em;
}

.hero-bottom-left {
  color: #9f826b;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--cream-soft);

  font-size: 8px;
}

.scroll-indicator-line {
  position: relative;

  width: 48px;
  height: 1px;

  overflow: hidden;
  background: rgba(242, 217, 185, 0.22);
}

.scroll-indicator-line::after {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--gold-light);

  transform: translateX(-100%);

  animation: scrollLine 2s ease-in-out infinite;
}

.hero-bottom-right {
  text-align: right;
}

/* ---------- SIGNATURE STRIP ---------- */

.signature-strip {
  width: min(
    calc(100% - var(--page-gutter) * 2),
    var(--page-width)
  );

  margin: 0 auto;
  padding: 25px clamp(15px, 3vw, 40px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background: rgba(43, 26, 19, 0.94);

  border: 1px solid rgba(242, 217, 185, 0.06);
  border-top: none;

  border-radius: 0 0 23px 23px;
}

.signature-item {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--cream-soft);

  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
}

.signature-icon {
  color: var(--gold-light);
  font-size: 15px;
  font-style: normal;
}

.signature-divider {
  width: 1px;
  height: 23px;
  flex-shrink: 0;

  background: var(--border);
}

/* ---------- SHARED SECTION LAYOUT ---------- */

.section-space {
  width: min(
    calc(100% - var(--page-gutter) * 2),
    var(--page-width)
  );

  margin-right: auto;
  margin-left: auto;

  padding-top: var(--section-gap);
}

.section-eyebrow {
  font-size: 8px;
}

.section-eyebrow-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;

  background: var(--gold);
  border-radius: 50%;

  box-shadow: 0 0 12px rgba(201, 154, 90, 0.3);
}

.section-title {
  margin-top: 24px;

  color: var(--cream);

  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;

  line-height: 1.13;
  letter-spacing: -0.045em;
}

.section-title em {
  color: var(--gold-light);
  font-weight: 400;
}

/* ---------- STORY SECTION ---------- */

.story {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(45px, 9vw, 125px);
}

.story-image-wrap {
  position: relative;

  padding: 0 0 30px 25px;
}

.story-image {
  position: relative;

  height: clamp(370px, 48vw, 590px);

  overflow: hidden;

  background: var(--surface);

  border-radius: 220px 220px 12px 12px;
}

.story-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(26, 14, 8, 0.3),
    transparent 60%
  );

  pointer-events: none;
}

.story-image img {
  height: 100%;

  object-fit: cover;

  filter: saturate(0.75) sepia(0.1);

  transition:
    transform 1.2s var(--ease),
    filter 1s ease;
}

.story-image-wrap:hover .story-image img {
  transform: scale(1.045);
  filter: saturate(0.95) sepia(0.04);
}

.story-image-caption {
  position: absolute;

  right: 0;
  bottom: 0;
  z-index: 2;

  min-width: 235px;
  padding: 19px 24px;

  display: flex;
  align-items: center;
  gap: 13px;

  background: #352219;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.story-caption-symbol {
  color: var(--gold-light);
  font-size: 23px;
}

.story-image-caption > span:last-child {
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
}

.story-image-index {
  position: absolute;

  top: 38px;
  left: -4px;

  color: var(--gold);

  font-size: 8px;
  letter-spacing: 0.15em;

  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.story-content {
  max-width: 520px;
}

.story-paragraph {
  margin-top: 24px;

  color: var(--muted);

  font-family: var(--display);
  font-size: 14px;
  line-height: 2;
}

.story-paragraph + .story-paragraph {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;

  color: var(--cream);

  font-size: 10px;
  font-weight: 600;

  transition: color 0.3s ease;
}

.story-content > .text-link {
  margin-top: 31px;
}

.text-link:hover {
  color: var(--gold-light);
}

.text-link-arrow {
  color: var(--gold-light);
  font-size: 15px;

  transition: transform 0.35s var(--ease);
}

.text-link:hover .text-link-arrow {
  transform: translate(4px, -3px);
}

.story-signature {
  margin-top: 40px;

  display: flex;
  align-items: center;
  gap: 14px;

  color: #a28a76;

  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
}

.story-signature-line {
  width: 45px;
  height: 1px;

  background: var(--gold);
}

/* ---------- FEATURED MENU ---------- */

.featured-menu {
  padding-bottom: 0;
}

.section-heading {
  margin-bottom: 43px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.section-heading-description {
  max-width: 320px;

  color: var(--muted);

  font-family: var(--display);
  font-size: 13px;
  line-height: 1.9;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.featured-card {
  min-width: 0;
}

.featured-card-link {
  display: block;
}

.featured-card-image {
  position: relative;

  aspect-ratio: 0.95;

  overflow: hidden;

  background: #2b1b13;
  border: 1px solid rgba(242, 217, 185, 0.1);
  border-radius: 4px;
}

.featured-card-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(19, 10, 5, 0.42),
    transparent 50%
  );

  pointer-events: none;
}

.featured-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: saturate(0.78) sepia(0.1);

  transition:
    transform 0.9s var(--ease),
    filter 0.9s ease;
}

.featured-card:hover .featured-card-image img {
  transform: scale(1.065);
  filter: saturate(1) sepia(0);
}

.featured-card-number {
  position: absolute;

  top: 18px;
  left: 18px;
  z-index: 2;

  color: var(--cream);

  font-family: var(--display);
  font-size: 13px;
}

.featured-card-arrow {
  position: absolute;

  right: 16px;
  bottom: 16px;
  z-index: 2;

  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  color: var(--cream);
  background: rgba(35, 20, 13, 0.6);

  border: 1px solid rgba(242, 217, 185, 0.25);
  border-radius: 50%;

  font-size: 15px;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.35s var(--ease);
}

.featured-card:hover .featured-card-arrow {
  color: #352116;
  background: var(--cream);

  transform: rotate(45deg);
}

.featured-card-info {
  padding: 22px 3px 0;
}

.featured-card-category {
  color: var(--gold);

  font-size: 8px;
  letter-spacing: 0.17em;
}

.featured-card-info h3 {
  margin-top: 9px;

  color: var(--cream);

  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.3;
}

.featured-card-info p {
  margin-top: 9px;

  color: var(--muted);

  font-family: var(--display);
  font-size: 12px;
  line-height: 1.8;
}

.featured-menu-footer {
  margin-top: 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.featured-menu-footer > p {
  color: #a28a76;

  font-size: 8px;
  letter-spacing: 0.15em;
}

/* ---------- EXPERIENCE SECTION ---------- */

.experience {
  position: relative;
  isolation: isolate;

  min-height: clamp(480px, 54vw, 690px);

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #26160e;
}

.experience-image,
.experience-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.experience-image img {
  height: 100%;
  object-fit: cover;

  filter: saturate(0.7) sepia(0.12);

  transform: scale(1.025);

  transition: transform 1.4s var(--ease);
}

.experience:hover .experience-image img {
  transform: scale(1.06);
}

.experience-overlay {
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(26, 14, 8, 0.96) 0%,
      rgba(26, 14, 8, 0.84) 42%,
      rgba(26, 14, 8, 0.28) 100%
    ),
    linear-gradient(
      0deg,
      rgba(26, 14, 8, 0.35),
      transparent 60%
    );
}

.experience-content {
  max-width: 700px;
  padding: 90px clamp(28px, 7vw, 100px);
}

.experience-content .section-title {
  font-size: clamp(48px, 6vw, 80px);
}

.experience-content > p {
  max-width: 430px;
  margin-top: 25px;
  margin-bottom: 30px;

  color: #c3ab96;

  font-family: var(--display);
  font-size: 14px;
  line-height: 2;
}

.experience-index {
  position: absolute;

  right: 25px;
  bottom: 25px;

  color: var(--cream-soft);

  font-size: 8px;
  letter-spacing: 0.16em;
}

/* ---------- PHILOSOPHY ---------- */

.philosophy {
  padding-top: var(--section-gap);
  padding-bottom: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.philosophy-symbol {
  height: 65px;

  color: var(--gold);

  font-family: var(--display);
  font-size: 95px;
  line-height: 1;
}

.philosophy-label {
  margin-top: 20px;

  color: var(--gold);

  font-size: 8px;
  letter-spacing: 0.2em;
}

.philosophy blockquote {
  margin-top: 25px;

  color: var(--cream);

  font-family: var(--display);
  font-size: clamp(35px, 5.2vw, 66px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.philosophy blockquote em {
  color: var(--gold-light);
  font-weight: 400;
}

.philosophy-divider {
  width: 50px;
  height: 1px;

  margin-top: 30px;

  background: var(--gold);
}

.philosophy-footer {
  margin-top: 20px;

  color: #a28a76;

  font-size: 8px;
  letter-spacing: 0.14em;
}

/* ---------- CONTACT ---------- */

.contact-section {
  padding-bottom: var(--section-gap);

  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.contact-content {
  max-width: 590px;
}

.contact-content > p {
  max-width: 430px;
  margin-top: 25px;

  color: var(--muted);

  font-family: var(--display);
  font-size: 14px;
  line-height: 2;
}

.contact-actions {
  margin-top: 30px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.contact-photo {
  position: relative;

  aspect-ratio: 0.9;

  overflow: hidden;

  background: var(--surface);
  border-radius: 190px 190px 4px 4px;
}

.contact-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: saturate(0.8) sepia(0.08);

  transition:
    transform 1.1s var(--ease),
    filter 0.8s ease;
}

.contact-visual:hover .contact-photo img {
  transform: scale(1.045);
  filter: saturate(1) sepia(0);
}

.contact-note {
  position: relative;

  width: 88%;

  margin: -38px auto 0;
  padding: 19px 22px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: #382319;

  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-note-symbol {
  color: var(--gold-light);
  font-size: 26px;
}

.contact-note > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-note-title {
  color: var(--cream);

  font-size: 8px;
  letter-spacing: 0.13em;
}

.contact-note-text {
  color: var(--muted);

  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 65px var(--page-gutter) 25px;

  background: #26170f;

  border-top: 1px solid rgba(242, 217, 185, 0.1);
}

.footer-main {
  width: 100%;
  max-width: var(--page-width);

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
  gap: 35px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand-column .brand-name {
  font-size: 21px;
}

.footer-description {
  max-width: 240px;
  margin-top: 18px;

  color: var(--muted);

  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-heading {
  margin-bottom: 6px;

  color: var(--gold);

  font-size: 8px;
  letter-spacing: 0.16em;
}

.footer-column > a,
.footer-location {
  color: #b49a84;

  font-size: 10px;

  transition: color 0.3s ease;
}

.footer-column > a:hover {
  color: var(--cream);
}

.footer-bottom {
  width: 100%;
  max-width: var(--page-width);

  margin: 60px auto 0;
  padding-top: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-top: 1px solid var(--border);

  color: #90755e;

  font-size: 8px;
  letter-spacing: 0.1em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--cream-soft);

  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--gold-light);
}

/* ---------- SCROLL REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);

  transition:
    opacity 0.95s var(--ease),
    transform 0.95s var(--ease);
}

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

.featured-card.reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.featured-card.reveal:nth-child(3) {
  transition-delay: 0.24s;
}

/* ---------- KEYFRAMES ---------- */

@keyframes loadingProgress {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes moonFloat {
  0%, 100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}

@keyframes heroBackgroundIn {
  from {
    transform: scale(1.09);
    opacity: 0.15;
  }

  to {
    transform: scale(1);
    opacity: 0.32;
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(36px);
    clip-path: inset(0 0 100% 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes coffeeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes smallCoffeeFloat {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-9px) rotate(-2deg);
  }
}

@keyframes beanFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes stampRotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }

  55%, 100% {
    transform: translateX(100%);
  }
}

/* ---------- RESPONSIVE: TABLET ---------- */

@media (max-width: 1050px) {
  :root {
    --page-gutter: 30px;
    --section-gap: 115px;
  }

  .site-header {
    gap: 18px;
  }

  .navigation {
    gap: 17px;
  }

  .navigation-link {
    font-size: 11px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-caption {
    font-size: 7px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: 62%;
    padding-left: 55px;
  }

  .hero-title {
    font-size: clamp(49px, 6.1vw, 72px);
  }

  .hero-visual {
    right: -1%;
    width: 48%;
  }

  .signature-item {
    font-size: 11px;
  }

  .story {
    gap: 50px;
  }

  .section-title {
    font-size: clamp(42px, 5vw, 60px);
  }
}

/* ---------- RESPONSIVE: MOBILE ---------- */

@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
    --section-gap: 85px;
  }

  .site-header {
    top: 10px;

    width: calc(100% - 24px);
    min-height: 72px;

    padding: 12px 15px;

    border-radius: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;

    font-size: 20px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-caption {
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    background: rgba(242, 217, 185, 0.05);

    border: 1px solid var(--border);
    border-radius: 50%;

    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 16px;
    height: 1px;

    background: var(--cream);

    transition:
      transform 0.3s ease,
      width 0.3s ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .navigation {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;
    right: 0;

    padding: 0 19px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: rgba(37, 22, 15, 0.98);

    border: 1px solid var(--border);
    border-radius: 14px;

    overflow: hidden;

    max-height: 0;
    visibility: hidden;

    transition:
      max-height 0.45s var(--ease),
      padding 0.45s ease,
      visibility 0.45s ease;
  }

  .navigation.is-open {
    max-height: 420px;
    padding-top: 10px;
    padding-bottom: 15px;
    visibility: visible;
  }

  .navigation-link {
    min-height: 46px;
    padding: 12px 0;

    font-size: 13px;

    border-bottom: 1px solid rgba(242, 217, 185, 0.08);
  }

  .navigation-link::after {
    display: none;
  }

  .navigation-contact {
    min-height: 44px;
    margin-top: 12px;
    padding: 12px 15px;

    justify-content: space-between;

    border: 1px solid var(--border);
  }

  .hero {
    width: calc(100% - 24px);

    min-height: 820px;
    min-height: max(790px, 100svh);

    padding-top: 110px;

    align-items: flex-start;

    border-radius: 0 0 22px 22px;
  }

  .hero-background {
    background-position: 57% center;
    opacity: 0.35;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(30, 14, 7, 0.84) 0%,
        rgba(30, 14, 7, 0.65) 40%,
        rgba(30, 14, 7, 0.5) 70%,
        rgba(24, 12, 7, 0.88) 100%
      );
  }

  .hero-content {
    width: 100%;
    max-width: 600px;

    padding: 75px 25px 260px;
  }

  .hero-eyebrow {
    gap: 8px;
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .eyebrow-line {
    width: 17px;
  }

  .hero-title {
    margin-top: 25px;

    font-size: clamp(43px, 10vw, 67px);
    line-height: 1.09;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-description {
    max-width: 360px;
    margin-top: 20px;

    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 25px;
    gap: 10px;
  }

  .button {
    min-height: 45px;
    padding: 12px 15px;
    gap: 13px;
    font-size: 9px;
  }

  .hero-note {
    margin-top: 22px;
    font-size: 11px;
  }

  .hero-visual {
    top: auto;
    right: 5%;
    bottom: 55px;

    width: 75%;
    height: 295px;
  }

  .coffee-image-main {
    top: 0;
    right: 3%;

    width: 60%;
    height: 250px;

    aspect-ratio: auto;
  }

  .coffee-image-small {
    right: 52%;
    bottom: 0;

    width: 31%;
    height: 120px;

    aspect-ratio: auto;
  }

  .coffee-orbit {
    width: 67%;
    top: 0;
    right: -2%;
  }

  .orbit-two {
    width: 79%;
    top: -5%;
    right: -7%;
  }

  .coffee-stamp {
    top: -10px;
    right: -2%;

    width: 65px;
    height: 65px;
  }

  .coffee-stamp text {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .coffee-origin {
    right: 0;
    bottom: -7px;

    max-width: 155px;
  }

  .origin-label {
    font-size: 7px;
  }

  .origin-value {
    font-size: 10px;
  }

  .coffee-bean {
    font-size: 27px;
  }

  .bean-one {
    top: 0;
    left: 3%;
  }

  .bean-two {
    top: 48%;
    right: 0;
    font-size: 22px;
  }

  .bean-three {
    bottom: 7%;
    left: 13%;
    font-size: 20px;
  }

  .hero-bottom {
    right: 18px;
    bottom: 18px;
    left: 18px;

    font-size: 6px;
    letter-spacing: 0.1em;
  }

  .scroll-indicator {
    gap: 6px;
    font-size: 6px;
  }

  .scroll-indicator-line {
    width: 22px;
  }

  .hero-bottom-right {
    max-width: 95px;
  }

  .signature-strip {
    width: calc(100% - 24px);

    padding: 21px 15px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;

    border-radius: 0 0 17px 17px;
  }

  .signature-item {
    gap: 8px;
    font-size: 11px;
  }

  .signature-divider {
    display: none;
  }

  .signature-icon {
    font-size: 13px;
  }

  .section-space {
    width: calc(100% - 38px);
  }

  .story {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-image-wrap {
    padding-left: 15px;
  }

  .story-image {
    height: clamp(360px, 108vw, 490px);
    border-radius: 180px 180px 10px 10px;
  }

  .story-image-index {
    left: -2px;
    font-size: 7px;
  }

  .story-image-caption {
    min-width: 200px;
    padding: 14px 17px;
  }

  .story-image-caption > span:last-child {
    font-size: 12px;
  }

  .story-content {
    max-width: none;
  }

  .section-title {
    margin-top: 19px;
    font-size: clamp(41px, 9.4vw, 59px);
  }

  .story-paragraph {
    margin-top: 20px;
    font-size: 13px;
  }

  .story-signature {
    margin-top: 28px;
  }

  .section-heading {
    margin-bottom: 30px;

    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading-description {
    font-size: 12px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-card-image {
    aspect-ratio: 1.05;
  }

  .featured-card-info {
    padding-top: 16px;
  }

  .featured-card-info h3 {
    font-size: 26px;
  }

  .featured-menu-footer {
    margin-top: 35px;

    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .experience {
    width: calc(100% - 24px);
    min-height: 620px;

    align-items: flex-end;
  }

  .experience-image img {
    object-position: 60% center;
  }

  .experience-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(26, 14, 8, 0.1) 0%,
        rgba(26, 14, 8, 0.55) 35%,
        rgba(26, 14, 8, 0.95) 100%
      );
  }

  .experience-content {
    width: 100%;
    padding: 45px 23px 75px;
  }

  .experience-content .section-title {
    font-size: clamp(44px, 10vw, 63px);
  }

  .experience-content > p {
    font-size: 13px;
  }

  .experience-index {
    right: 17px;
    bottom: 15px;
    font-size: 7px;
  }

  .philosophy {
    padding-top: var(--section-gap);
  }

  .philosophy-symbol {
    font-size: 78px;
  }

  .philosophy-label {
    font-size: 7px;
  }

  .philosophy blockquote {
    font-size: clamp(34px, 7.5vw, 49px);
  }

  .philosophy-footer {
    font-size: 6px;
    letter-spacing: 0.1em;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-content > p {
    font-size: 13px;
  }

  .contact-photo {
    aspect-ratio: 0.95;
    border-radius: 150px 150px 4px 4px;
  }

  .contact-note {
    width: 90%;
    margin-top: -27px;
    padding: 15px;
  }

  .site-footer {
    padding: 48px 22px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 25px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 42px;
    padding-top: 18px;

    align-items: flex-start;
    flex-direction: column;
    gap: 14px;

    font-size: 7px;
  }
}

/* ---------- SMALL PHONES ---------- */

@media (max-width: 380px) {
  .hero {
    min-height: 790px;
  }

  .hero-content {
    padding-right: 17px;
    padding-left: 17px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: fit-content;
  }

  .hero-visual {
    right: 3%;
    width: 82%;
  }

  .hero-bottom-left {
    max-width: 95px;
    line-height: 1.7;
  }

  .signature-strip {
    gap: 15px 8px;
  }

  .signature-item {
    font-size: 10px;
  }
}

/* ---------- ACCESSIBILITY ---------- */

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-background,
  .coffee-image-main,
  .coffee-image-small,
  .coffee-stamp {
    animation: none;
  }
}
