:root {
  --ink: #17120f;
  --coffee: #37241b;
  --cream: #f7f0e5;
  --paper: #fffaf2;
  --gold: #caa46a;
  --olive: #66724a;
  --terracotta: #b65f43;
  --muted: #75695e;
  --line: rgba(55, 36, 27, .15);
  --shadow: 0 20px 70px rgba(23, 18, 15, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(23, 18, 15, .18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a,
.dropdown-trigger {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--coffee);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active,
.dropdown-trigger.active {
  background: var(--coffee);
  color: var(--cream);
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  border-radius: 6px;
  white-space: nowrap;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.language-switcher button {
  min-width: 36px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--coffee);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active,
.language-switcher button:hover {
  color: var(--cream);
  background: var(--coffee);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--coffee);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-slider,
.hero-slider .slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider .slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 5s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 7, 5, .86), rgba(10, 7, 5, .48) 48%, rgba(10, 7, 5, .26)), linear-gradient(0deg, rgba(10, 7, 5, .8), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 165px clamp(18px, 6vw, 76px);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1,
.page-hero h1,
.page-title h1,
.detail-hero h1 {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.page-title p,
.detail-hero p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--gold);
  color: var(--ink);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, .55);
  color: white;
}

.hero-points {
  position: absolute;
  left: clamp(18px, 6vw, 76px);
  right: clamp(18px, 6vw, 76px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.hero-points article {
  padding: 18px;
  color: white;
  background: rgba(15, 10, 7, .55);
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card,
.story-card,
.contact-card,
.map-card,
.detail-body aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 14px 50px rgba(55, 36, 27, .08);
}

.feature-card {
  min-height: 190px;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover,
.place-row:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 164, 106, .75);
}

.feature-card span {
  color: var(--terracotta);
  font-weight: 900;
}

.feature-card h3 {
  margin-top: 34px;
  font-size: 24px;
}

.cafe-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.cafe-band img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero,
.detail-hero {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  color: white;
  overflow: hidden;
  background: var(--ink);
}

.page-hero.compact {
  min-height: 480px;
}

.page-hero img,
.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 7, 5, .84), rgba(10, 7, 5, .18));
}

.page-hero > div,
.detail-hero > div {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 70px;
}

.page-title {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 20px;
  text-align: center;
}

.page-title p {
  margin-left: auto;
  margin-right: auto;
}

.story-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  padding: 28px;
}

.story-card.dark {
  background: var(--coffee);
  color: var(--cream);
}

.story-card.dark p {
  color: rgba(247, 240, 229, .78);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 36px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.video-section,
.contact-layout,
.detail-body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.video-frame {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.video-reel {
  display: flex;
  width: 300%;
  height: 440px;
  animation: reel 12s infinite ease-in-out;
}

.video-reel.paused {
  animation-play-state: paused;
}

.video-reel img {
  width: 33.333%;
  object-fit: cover;
}

@keyframes reel {
  0%, 28% { transform: translateX(0); }
  36%, 62% { transform: translateX(-33.333%); }
  70%, 94% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}

.play-toggle {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: white;
  background: rgba(23, 18, 15, .6);
  cursor: pointer;
}

.play-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.places-list {
  display: grid;
  gap: 12px;
}

.place-row {
  display: grid;
  grid-template-columns: 58px 120px 1fr 44px;
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  transition: transform .2s ease, border-color .2s ease;
  overflow: hidden;
}

.place-row img {
  width: 120px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream);
}

.place-number {
  color: var(--terracotta);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.place-text strong,
.place-text small {
  display: block;
}

.place-text {
  min-width: 0;
  overflow: hidden;
}

.place-text strong {
  margin-bottom: 7px;
  font-size: 24px;
}

.place-text small {
  color: var(--muted);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--cream);
  font-size: 22px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--cream);
  font-weight: 800;
}

.detail-body {
  align-items: start;
}

.detail-body article {
  padding-right: 30px;
}

.detail-body aside {
  padding: 28px;
}

.detail-body ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-layout {
  align-items: stretch;
}

.products-title {
  padding-bottom: 0;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 34px 0 20px;
}

.product-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(255, 255, 255, .64);
  font-weight: 800;
}

.product-tabs a.active,
.product-tabs a:hover {
  color: var(--cream);
  background: var(--coffee);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 26px;
}

.product-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(247, 240, 229, .72));
  box-shadow: 0 14px 50px rgba(55, 36, 27, .08);
}

.product-card span {
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--olive);
  font-size: 12px;
  font-weight: 900;
}

.product-card h2 {
  margin: 0;
  font-size: 28px;
}

.product-card p {
  margin: 0;
}

.product-card strong {
  align-self: end;
  color: var(--terracotta);
  font-size: 24px;
}

.contact-card,
.map-card {
  overflow: hidden;
}

.contact-card {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.map-card {
  position: relative;
  min-height: 520px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.map-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  color: white;
  background: rgba(23, 18, 15, .82);
  backdrop-filter: blur(12px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: var(--cream);
  background: var(--ink);
}

.site-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.site-footer p {
  margin: 0;
  color: rgba(247, 240, 229, .72);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--cream);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--ink);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
    gap: 10px;
    padding: 10px 14px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    flex: 0 0 auto;
  }

  .main-nav {
    order: 4;
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 6px;
  }

  .nav-dropdown {
    display: grid;
  }

  .dropdown-trigger {
    border-radius: 6px;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(55, 36, 27, .06);
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    margin: 0 auto 310px;
  }

  .hero-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .cafe-band,
  .video-section,
  .contact-layout,
  .detail-body,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-body article {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 13px;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-switcher button {
    min-width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-bottom: 370px;
  }

  .hero h1,
  .page-hero h1,
  .page-title h1,
  .detail-hero h1 {
    font-size: 32px;
  }

  .page-title h1 span {
    display: block;
  }

  .page-title p {
    max-width: 310px;
  }

  .hero p,
  .page-hero p,
  .page-title p,
  .detail-hero p {
    font-size: 16px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .gallery-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .place-row {
    grid-template-columns: 38px 84px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .place-row img {
    width: 84px;
    height: 76px;
  }

  .place-text strong {
    font-size: 18px;
  }

  .place-text small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .place-arrow {
    display: none;
  }

  .video-frame,
  .video-reel {
    min-height: 310px;
    height: 310px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
