:root {
  --marble: #f6f5f1; --white: #fffffd; --green: #1e3a2f; --green-2: #2b4d3f; --brass: #b08a3e; --brass-l: #d9c08a;
  --mocha: #5a3e2b; --ink: #1b1b18; --muted: #5d5a52; --line: #e3e0d8;
  --display: "Bodoni Moda", "Didot", Georgia, serif; --body: "Jost", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font: 17px/1.65 var(--body); color: var(--ink); background: var(--marble); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(34px, 4.2vw, 52px); }
h3 { font-size: 25px; }
.muted { color: var(--muted); margin-top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--green); color: #fff; font: 500 16px var(--body); letter-spacing: 0.02em; border: 0; border-radius: 2px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--green-2); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--light { background: var(--marble); color: var(--green); }
.btn--light:hover { background: #fff; }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.btn--line:hover { background: rgba(255, 255, 255, 0.12); }
.btn:disabled { background: var(--brass); }

/* Header: logo in the middle, like a printed menu card */
.header { position: sticky; top: 0; z-index: 30; background: var(--marble); border-bottom: 1px solid var(--line); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 86px; }
.nav { display: flex; gap: 30px; font-size: 16px; }
.nav a, .nav__link { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav a:hover, .nav__link:hover { border-color: var(--brass); }
.nav__mobile { display: none; }
.logo { display: grid; justify-items: center; line-height: 1; color: var(--green); }
.logo__name { font-family: var(--display); font-size: 32px; font-weight: 600; margin: 3px 0 4px; }
.logo__small { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 26px; font-size: 16px; }
.burger { display: none; }

/* Hero */
.hero { position: relative; min-height: min(80vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 38, 31, 0.15) 0%, rgba(20, 38, 31, 0.35) 40%, rgba(20, 38, 31, 0.9) 100%); }
.hero__text { position: relative; z-index: 1; text-align: center; padding: 0 20px 72px; max-width: 940px; margin-inline: auto; animation: rise 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero p { font-size: 19px; margin: 18px auto 30px; max-width: 54ch; color: #eef1ec; }
.hero__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Intro */
.intro { padding: clamp(72px, 9vw, 120px) 0; }
.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.intro p { color: var(--muted); margin-top: 18px; max-width: 52ch; font-size: 18px; }
.intro img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.today { display: flex; gap: 40px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.today dt { font-size: 14px; color: var(--muted); }
.today dd { font-size: 22px; font-weight: 500; color: var(--green); }

/* Coffee guide: the one memorable thing */
.coffee { background: var(--green); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.head p { color: #c8d4cc; margin-top: 12px; font-size: 18px; }
.cups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.cup-card { text-align: center; }
.cup-card h3 { margin-top: 26px; color: var(--brass-l); }
.cup-card p { color: #d6dfd9; font-size: 16px; margin: 8px auto 0; max-width: 32ch; }
.cup-card .cost { font-family: var(--display); font-size: 22px; color: #fff; margin-top: 12px; }
.cup { position: relative; width: 108px; height: 92px; margin: 28px auto 0; display: flex; flex-direction: column; border: 3px solid #f3efe6; border-top: 0; border-radius: 0 0 50px 50px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.cup::before { content: ""; position: absolute; left: -3px; right: -3px; top: 0; height: 3px; background: #f3efe6; }
.cup-card .cup::after { content: ""; position: absolute; }
.cup-card { position: relative; }
.cup-card > .cup { overflow: visible; }
.cup-card > .cup .l:first-child { border-radius: 0; }
.cup-card > .cup .l:last-child { border-radius: 0 0 46px 46px; }
.cup-card > .cup::after { right: -26px; top: 18px; width: 22px; height: 34px; border: 3px solid #f3efe6; border-left: 0; border-radius: 0 18px 18px 0; }
.cup--glass { border-radius: 0 0 10px 10px; width: 84px; height: 110px; margin-top: 10px; }
.cup-card > .cup--glass::after { display: none; }
.cup-card > .cup--glass .l:last-child { border-radius: 0 0 7px 7px; }
.cup--small { width: 84px; height: 70px; margin-top: 50px; }
.cup--small .l:last-child { border-radius: 0 0 38px 38px !important; }
.l { display: block; width: 100%; }
.l--esp { background: #4a2c1c; }
.l--milk { background: #d9c4a3; }
.l--foam { background: #f7f1e6; }
.l--cream { background: #ffffff; }
.l--water { background: #8b6a52; }
.l--rum { background: #a2552b; }
.h20 { height: 20%; } .h30 { height: 30%; } .h40 { height: 40%; } .h50 { height: 50%; } .h60 { height: 60%; } .h70 { height: 70%; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin-top: 64px; font-size: 14.5px; color: #c8d4cc; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.sw--esp { background: #4a2c1c; } .sw--milk { background: #d9c4a3; } .sw--foam { background: #f7f1e6; } .sw--cream { background: #fff; } .sw--water { background: #8b6a52; } .sw--rum { background: #a2552b; }

/* Cakes */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.cakes { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cakes img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.menu { list-style: none; margin-top: 30px; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; font-size: 17.5px; }
.menu li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #b9b3a6; transform: translateY(-4px); }
.menu b { order: 2; font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--green); white-space: nowrap; }

/* Breakfast */
.breakfast { background: var(--white); padding: clamp(80px, 10vw, 128px) 0; border-block: 1px solid var(--line); }
.breakfast__top { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: end; }
.breakfast__top img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); }
.sets article { padding: 26px 28px 0 0; }
.sets article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.sets p { color: var(--muted); margin-top: 8px; }
.sets .cost { font-family: var(--display); font-size: 24px; color: var(--green); }

/* Visit and reservation */
.visit__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.addr { font-family: var(--display); font-size: 28px; line-height: 1.25; margin-top: 18px; color: var(--green); }
.hours { width: 100%; border-collapse: collapse; margin-top: 28px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 500; }
.phone { margin-top: 24px; font-size: 20px; }
.phone a { border-bottom: 1px solid var(--brass); }
.reserve { background: var(--green); color: #fff; padding: 44px; }
.reserve > p { color: #c8d4cc; margin: 10px 0 26px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; color: #dfe6e1; }
.form input:not([type="checkbox"]), .form select { height: 50px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; border-radius: 2px; padding: 0 12px; font: 16px var(--body); color-scheme: dark; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--brass-l); }
.form .check { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.form .check input { width: 18px; height: 18px; accent-color: var(--brass); }
.form .btn { background: var(--brass); color: var(--ink); justify-self: start; }
.form .btn:hover { background: var(--brass-l); }
.row { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 12px; }
.row--2 { grid-template-columns: 1fr 1fr; }

.footer { padding: 34px 0 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__logo { font-family: var(--display); font-size: 26px; color: var(--green); }

@media (max-width: 980px) {
  .header__in { grid-template-columns: auto 1fr auto; height: 74px; }
  .logo { justify-items: start; order: -1; }
  .logo__name { font-size: 27px; }
  .header__right { order: 0; }
  .nav__link { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--marble); padding: 6px 20px 18px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__mobile { display: block; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .burger { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; margin-left: 10px; }
  .burger span { width: 24px; height: 1.5px; background: var(--green); }
  .intro__grid, .cakes, .breakfast__top, .visit__grid { grid-template-columns: 1fr; gap: 44px; }
  .intro img { max-width: 480px; }
  .cups { grid-template-columns: repeat(2, 1fr); }
  .sets { grid-template-columns: 1fr; }
  .sets article, .sets article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .header .btn--sm { display: none; }
  .cups { grid-template-columns: 1fr; gap: 48px; }
  .row, .row--2 { grid-template-columns: 1fr; }
  .reserve { padding: 28px 22px; margin-inline: -20px; }
  .hero__text { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hero__text { animation: none; } html { scroll-behavior: auto; } }
