/* ==========================================================================
   EMBER & OAK — STYLES
   A styled, editorial, premium specialty coffee website.
   Sections:
   01. Design tokens
   02. Base / reset
   03. Typography utilities
   04. Buttons, links, labels
   05. Layout scaffolding
   06. Navbar + mobile menu
   07. Hero
   08. Featured menu (filters + cards)
   09. Brand story
   10. Signature coffee
   11. Experience
   12. Location + stylized map
   13. Journal gallery
   14. Testimonials
   15. Final CTA
   16. Footer
   17. Reveal + reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --cream:       #F7F2EA;
  --cream-soft:  #FBF8F2;
  --sand:        #F0E7D9;
  --sand-deep:   #E6DACA;
  --beige:       #E4D9C8;
  --espresso:    #241B14;
  --espresso-2:  #1C1510;
  --espresso-soft: #4A352A;
  --sage:        #7A8B6F;
  --sage-deep:   #5C6B52;
  --sage-tint:   #EeECE2;
  --ink:         #2B211B;
  --charcoal:    #1F1A16;
  --line-light:  rgba(34, 27, 20, 0.14);
  --line:        rgba(34, 27, 20, 0.14);
  --line-dark:   rgba(247, 242, 234, 0.14);

  /* Type */
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1280px;
  --gutter:    48px;

  --section-pad: 140px;

  --radius:     18px;
  --radius-lg:  26px;

  --shadow-soft: 0 18px 50px -28px rgba(34, 27, 20, 0.35);

  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-2:  cubic-bezier(0.65, 0.05, 0.36, 1);

  --nav-h: 84px;
}

/* --------------------------------------------------------------------------
   02. BASE / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background: var(--sage);
  color: var(--cream);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------------------
   03. TYPE UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.eyebrow,
.section-head .eyebrow,
.cta-section .eyebrow,
.story-copy > .eyebrow,
.location-copy > .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--beige);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.06;
  max-width: 16ch;
}

.section-title em {
  color: var(--sage-deep);
}

.section-title--light {
  color: var(--cream);
}

.section-title--light em {
  color: var(--sage);
}

.section-sub {
  margin-top: 26px;
  max-width: 40ch;
  color: var(--espresso-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-sub--light {
  color: var(--beige);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   04. BUTTONS / LINKS / LABELS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.4s var(--ease),
              color 0.4s var(--ease),
              border-color 0.4s var(--ease),
              transform 0.4s var(--ease);
  will-change: transform;
}

.btn i {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--espresso);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-order {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line);
  padding: 12px 24px;
}

.btn-order:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--cream);
  color: var(--espresso);
}

.btn--light:hover {
  background: var(--sage);
  color: var(--cream);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  position: relative;
  padding-bottom: 6px;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.35);
  opacity: 0.5;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.text-link i {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.text-link:hover i {
  transform: translateX(4px);
}

.text-link--dark {
  color: var(--espresso-soft);
}

/* --------------------------------------------------------------------------
   05. LAYOUT SCAFFOLDING
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
}

section[id] {
  scroll-margin-top: var(--nav-h);
}

/* --------------------------------------------------------------------------
   06. NAVIGATION + MOBILE MENU
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: padding 0.45s var(--ease),
              background-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease),
              backdrop-filter 0.45s var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(247, 242, 234, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(34, 27, 20, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

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

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--espresso);
}

.logo--light .logo-mark {
  background: var(--cream);
  color: var(--espresso);
}

.logo--light .logo-text {
  color: var(--cream);
}

.logo--mobile .logo-mark {
  background: var(--cream);
  color: var(--espresso);
}

.logo--mobile .logo-text {
  color: var(--cream);
}

.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-list {
    display: flex;
    gap: 42px;
  }

  .nav-link {
    position: relative;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--espresso);
    padding: 6px 2px;
    transition: color 0.3s var(--ease);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after {
    transform: scaleX(1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}

.burger-line {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--espresso);
  transition: background-color 0.3s var(--ease);
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  background: var(--espresso);
  color: var(--cream);
  padding: 34px var(--gutter) 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease-2), visibility 0.6s;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12vh;
}

.nav-burger--close {
  border-color: var(--line-dark);
}

.nav-burger--close i {
  width: 20px;
  height: 20px;
  color: var(--cream);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}

.mobile-nav-link i {
  width: 22px;
  height: 22px;
  color: var(--sage);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--sage);
  padding-left: 8px;
}

.mobile-nav-link:hover i,
.mobile-nav-link:focus-visible i {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-footer {
  margin-top: auto;
}

.mobile-menu-hours {
  color: var(--beige);
  font-size: 0.85rem;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(28, 21, 16, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   07. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 90px;
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(178, 158, 128, 0.16), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 30px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.hero-title .line2 {
  display: block;
}

.hero-title em {
  color: var(--sage-deep);
}

.hero-sub {
  margin-top: 30px;
  max-width: 44ch;
  color: var(--espresso-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  max-width: 470px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--sage);
  opacity: 0.35;
  bottom: -10%;
  left: -12%;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28, 21, 16, 0.14));
}

.hero-image img {
  width: 100%;
  height: clamp(420px, 62vh, 640px);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.hero-decoration {
  position: absolute;
  left: -38px;
  bottom: 46px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 14px 34px -18px rgba(34, 27, 20, 0.4);
}

.hero-deco-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 6px;
}

.hero-deco-time {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--espresso);
  white-space: nowrap;
}

.hero-side-note {
  position: absolute;
  right: -22px;
  top: 8%;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  opacity: 0.65;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--espresso-soft);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-line {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage-deep);
  transform: translateX(-100%);
  animation: scrollDrip 2.6s var(--ease) infinite;
}

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

/* --------------------------------------------------------------------------
   08. FEATURED MENU
   -------------------------------------------------------------------------- */
.menu-section {
  background: var(--sand);
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 11px 26px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.4s var(--ease),
              color 0.4s var(--ease),
              border-color 0.4s var(--ease),
              transform 0.4s var(--ease);
}

.filter-btn:hover {
  border-color: var(--espresso-soft);
}

.filter-btn.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 32px;
}

.menu-card {
  grid-column: span 4;
}

.menu-card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 1.1s var(--ease);
}

.menu-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 21, 16, 0.34));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.menu-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 14px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
  background: rgba(247, 242, 234, 0.9);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.menu-card:hover .menu-card-media img {
  transform: scale(1.06);
}

.menu-card:hover .menu-card-media::after {
  opacity: 1;
}

.menu-card-body {
  position: relative;
  padding: 24px 6px 0;
  transition: transform 0.5s var(--ease);
}

.menu-card:hover .menu-card-body {
  transform: translateY(-4px);
}

.menu-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.menu-card-name {
  font-size: 1.42rem;
  color: var(--espresso);
}

.menu-card-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--sage-deep);
  white-space: nowrap;
}

.menu-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--espresso-soft);
  max-width: 34ch;
}

.card-arrow {
  position: absolute;
  right: 6px;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--espresso);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
              background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.card-arrow i {
  width: 17px;
  height: 17px;
}

.menu-card:hover .card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.menu-card:hover .card-arrow:hover {
  background: var(--espresso);
  color: var(--cream);
}

.menu-card--more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px;
  align-self: stretch;
}

.menu-card--more .eyebrow {
  margin-bottom: 18px;
}

.menu-card--more .eyebrow::before {
  display: none;
}

.menu-card--more p:not(.eyebrow) {
  color: var(--espresso-soft);
  max-width: 30ch;
  margin-bottom: 34px;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   09. BRAND STORY
   -------------------------------------------------------------------------- */
.story-section {
  background: var(--cream);
}

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

.story-media {
  position: relative;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.story-image img {
  width: 100%;
  height: clamp(420px, 58vh, 620px);
  object-fit: cover;
  filter: saturate(0.92);
}

.story-badge {
  position: absolute;
  right: -30px;
  bottom: 44px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px -18px rgba(92, 107, 82, 0.7);
}

.story-badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 6px;
}

.story-badge-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  opacity: 0.9;
}

.story-copy .section-title {
  max-width: 12ch;
}

.story-text {
  margin-top: 30px;
  max-width: 52ch;
  color: var(--espresso-soft);
  line-height: 1.85;
}

.story-copy .text-link {
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   10. SIGNATURE
   -------------------------------------------------------------------------- */
.signature-section {
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(122, 139, 111, 0.1), transparent 55%),
    var(--espresso);
  color: var(--cream);
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.signature-card {
  background: rgba(247, 242, 234, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease);
}

.signature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 242, 234, 0.28);
}

/* Editorial stagger — the middle card drops to break the grid */
.signature-card:nth-child(2) {
  margin-top: 56px;
}

.signature-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.signature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.signature-card:hover .signature-media img {
  transform: scale(1.06);
}

.signature-num {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-variant-numeric: tabular-nums;
  color: rgba(247, 242, 234, 0.85);
  text-shadow: 0 1px 14px rgba(28, 21, 16, 0.45);
  transition: color 0.4s var(--ease);
}

.signature-body {
  padding: 30px 28px 34px;
}

.signature-name {
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.signature-desc {
  color: var(--beige);
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 34ch;
}

.signature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.signature-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--sage);
}

.card-arrow--light {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
}

.signature-card:hover .card-arrow--light {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. EXPERIENCE
   -------------------------------------------------------------------------- */
.experience-section {
  background: var(--cream);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px);
}

.experience-item {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.experience-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--sage);
  margin-bottom: 26px;
}

.experience-title {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.experience-desc {
  color: var(--espresso-soft);
  font-size: 0.97rem;
  max-width: 30ch;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   12. LOCATION + MAP
   -------------------------------------------------------------------------- */
.location-section {
  background: var(--sand);
  overflow: hidden;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.location-block {
  margin-top: 34px;
}

.location-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.location-address {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--espresso);
}

.location-hours {
  display: grid;
  gap: 8px;
}

.location-hours li {
  display: flex;
  justify-content: space-between;
  max-width: 380px;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--espresso-soft);
}

.location-hours li span:last-child {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--espresso);
}

.location-copy .btn {
  margin-top: 40px;
}

/* Stylized map */
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #EFE7D8;
}

.map-canvas {
  position: relative;
  aspect-ratio: 1 / 1.02;
  background-color: #EFE7D8;
  background-image:
    repeating-linear-gradient(0deg, rgba(34, 27, 20, 0.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(34, 27, 20, 0.05) 0 1px, transparent 1px 56px);
  isolation: isolate;
}

.map-roads {
  position: absolute;
  background: rgba(255, 251, 243, 0.9);
  border: 1px solid rgba(34, 27, 20, 0.18);
}

.map-roads--1 { width: 100%; height: 26px; top: 34%; transform: rotate(-4deg); }
.map-roads--2 { width: 26px; height: 100%; left: 32%; transform: rotate(8deg); }
.map-roads--3 { width: 100%; height: 18px; top: 66%; transform: rotate(2deg); }

.map-park {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 60% 45% 55% 40%;
  background: rgba(174, 192, 160, 0.55);
}

.map-park--1 { width: 150px; height: 96px; left: 8%; top: 12%;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.map-park--2 { width: 120px; height: 90px; right: 16%; bottom: 10%; transform: rotate(24deg); }

.map-pin-wrap {
  position: absolute;
  left: 57%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.map-pin-pulse {
  position: absolute;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(122, 139, 111, 0.4);
  animation: pinPulse 2.8s var(--ease) infinite;
}

@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.map-pin-dot {
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: var(--sage-deep);
  border: 3px solid var(--cream);
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(34, 27, 20, 0.35);
  position: relative;
  z-index: 1;
}

.map-label {
  margin-top: 16px;
  padding: 8px 14px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.map-compass {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--espresso-soft);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(247, 242, 234, 0.7);
}

.map-street-label {
  position: absolute;
  left: 55%;
  top: 40%;
  transform: translate(-50%, -50%);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(34, 27, 20, 0.45);
  white-space: nowrap;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   13. JOURNAL GALLERY
   -------------------------------------------------------------------------- */
.journal-section {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  grid-auto-flow: dense;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.1s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Editorial stagger sizes — differing heights within each row
   naturally create the asymmetric masonry rhythm. */
.gallery-item--tall   { grid-column: span 3; aspect-ratio: 3 / 4.4; }
.gallery-item--small  { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery-item--wide   { grid-column: span 6; aspect-ratio: 4 / 2.4; }
.gallery-item--square { grid-column: span 3; aspect-ratio: 1 / 1; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, transparent 45%, rgba(28, 21, 16, 0.62));
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.gallery-overlay i {
  width: 22px;
  height: 22px;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}

.gallery-overlay span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-section {
  background: var(--sand-deep);
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.testimonial-stage {
  position: relative;
  width: 100%;
  min-height: 240px;
}

.testimonial-quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
  visibility: hidden;
}

.testimonial-quote.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.testimonial-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.35;
  color: var(--espresso);
  max-width: 24ch;
  margin-inline: auto;
}

.testimonial-quote cite {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.testimonial-controls {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--espresso);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              transform 0.4s var(--ease);
}

.t-btn i {
  width: 17px;
  height: 17px;
}

.t-btn:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(34, 27, 20, 0.25);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.dot:hover {
  background: rgba(34, 27, 20, 0.5);
}

.dot.is-active {
  background: var(--espresso);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   15. FINAL CTA
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  background:
    radial-gradient(80% 60% at 15% 110%, rgba(122, 139, 111, 0.22), transparent 60%),
    var(--espresso);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding-block: 40px;
}

.cta-word {
  position: absolute;
  right: -40px;
  bottom: -46px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 1;
  color: rgba(247, 242, 234, 0.07);
  user-select: none;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 44px;
  letter-spacing: -0.02em;
}

.cta-title em {
  color: var(--sage);
}

.cta-section .btn {
  justify-content: center;
}

.cta-section .eyebrow {
  color: var(--beige);
  margin-bottom: 26px;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--espresso-2);
  color: var(--beige);
  padding-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .logo-text {
  color: var(--cream);
}

.footer-tagline {
  margin-top: 22px;
  max-width: 26ch;
  color: var(--beige);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-hours {
  margin-top: 28px;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--beige);
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.footer-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  font-size: 0.95rem;
  color: var(--cream);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.footer-links a:hover {
  color: var(--sage);
  transform: translateX(4px);
}

.footer-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}

.footer-email:hover {
  color: var(--sage);
}

.footer-address {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--beige);
  opacity: 0.8;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--beige);
  opacity: 0.65;
}

/* --------------------------------------------------------------------------
   17. REVEALS + REDUCED MOTION
   -------------------------------------------------------------------------- */
.js [data-hero],
.js [data-heroal],
.js .reveal {
  opacity: 0;
}

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

  .js [data-hero],
  .js [data-heroal],
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-scroll-line::after {
    animation: none;
  }
}