/* ===== Design tokens ===== */
:root {
  --cream: #DFE7CB;
  --paper: #FFFFFF;
  --ink: #26221D;
  --ink-soft: #4A4238;
  --sage: #7C8B6F;
  --sage-dark: #5F6E54;
  --brass: #B08D57;
  --line: rgba(38, 34, 29, 0.12);
  --overlay: linear-gradient(180deg, rgba(20,17,12,0.15) 0%, rgba(20,17,12,0.35) 55%, rgba(20,17,12,0.78) 100%);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Intro animation ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.intro__glass {
  width: 84px;
  height: auto;
  overflow: visible;
}

.intro__outline {
  fill: none;
  stroke: rgba(246, 241, 231, 0.8);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.intro__wine {
  fill: var(--brass);
  opacity: 0.92;
}

body.intro-active {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ===== Language switch ===== */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  gap: 2px;
  background: rgba(246, 241, 231, 0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-btn.is-active {
  background: var(--cream);
  color: var(--ink);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px 56px;
  text-align: center;
  color: #fff;
}

.mark {
  width: 92px;
  height: 132px;
  margin: 0 auto 6px;
  border: 1.5px solid #fff;
  border-radius: 46px;
  position: relative;
}

.mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 42px;
}

.mark__e, .mark__l {
  position: absolute;
  font-family: var(--serif);
  font-weight: 500;
  color: #fff;
  font-size: 44px;
  line-height: 1;
}

.mark__e {
  left: 22px;
  top: 26px;
}

.mark__l {
  left: 44px;
  top: 54px;
}

.hero__cafe {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 6px 0 2px;
}

.hero__sub {
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 500;
  margin: 0 0 28px;
  opacity: 0.92;
}

.hero__tagline {
  max-width: 420px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.95;
}

.scroll-cue {
  display: block;
  width: 22px;
  height: 34px;
  margin: 40px auto 0;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  position: relative;
}

.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { opacity: 1; top: 6px; }
  60% { opacity: 0.2; top: 16px; }
  100% { opacity: 0; top: 16px; }
}

/* ===== Actions ===== */
.actions {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 8px;
  display: grid;
  gap: 14px;
}

.action-pill {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 18px 26px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.action-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(169,130,76,0) 0%,
    rgba(169,130,76,0.35) 45%,
    rgba(255,255,255,1) 50%,
    rgba(169,130,76,0.35) 55%,
    rgba(169,130,76,0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.action-pill:hover::after,
.action-pill:active::after {
  animation: pill-shine 0.85s ease forwards;
}

@keyframes pill-shine {
  from { left: -60%; }
  to { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .action-pill:hover::after,
  .action-pill:active::after { animation: none; }
}

.action-pill:hover {
  border-color: var(--sage);
  background: #FCFAF5;
  transform: translateY(-1px);
}

.action-pill__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.3px solid var(--sage);
  color: var(--sage-dark);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.action-pill__icon svg {
  width: 18px;
  height: 18px;
}

.action-pill:hover .action-pill__icon {
  background: var(--sage);
  color: #fff;
}

/* ===== Divider ===== */
.divider {
  max-width: 640px;
  margin: 48px auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.divider span {
  width: 64px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--brass);
  opacity: 0.6;
}

/* ===== Section titles ===== */
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 34px);
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: 0.01em;
}

/* ===== FAQ ===== */
.faq {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 8px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item__chevron::before,
.faq-item__chevron::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-item__chevron::before {
  width: 12px; height: 1.5px;
  top: 9px; left: 4px;
}

.faq-item__chevron::after {
  width: 1.5px; height: 12px;
  top: 4px; left: 9px;
}

.faq-item[open] .faq-item__chevron::after {
  transform: scaleY(0);
}

.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* ===== Contact ===== */
.contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.contact__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--brass);
  border-radius: 24px;
  padding: 38px 32px;
}

.contact__card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-radius: 18px;
  pointer-events: none;
}

.contact__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin: 0 0 24px;
  color: var(--ink);
}

.contact__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
  padding-top: 2px;
}

.contact__value {
  text-align: right;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.contact__value:is(a):hover {
  color: var(--sage-dark);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px 40px;
  color: var(--ink-soft);
}

.footer__mark {
  font-family: var(--serif);
  letter-spacing: 0.15em;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.footer p {
  font-size: 12px;
  margin: 0;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .action-pill { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
