/* Spot — shared design system (tokens, type, grid, buttons, coaster stickers, bunting, header, overlay, visit block, footer).
   Breakpoints: mobile < 768 (design 390) · tablet 768–1199 · desktop ≥ 1200 (design 1440, content max 1200). */

:root {
  --cream: #F5F1E8;  --paper: #FCFBF7;  --pink: #F4B9B2;  --red: #D7262B;  --red-deep: #B31B20;
  --yellow: #F3C94F;  --blue: #2D55A4;  --lime: #DCE4A3;  --green: #3E6B4C;
  --ink: #232323;  --ink-2: #33312D;  --muted: #6A665C;  --line: #DAD4C4;  --line-ink: rgba(35, 35, 35, .3);

  --display: "Fredoka", "Arial Rounded MT Bold", "Arial Black", sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --shadow-sticker: 0 14px 28px rgba(35, 35, 35, .18);
  --shadow-card: 0 18px 40px rgba(35, 35, 35, .12);
  --r-card: 24px; --r-photo: 20px;

  --m: 24px; --maxw: 1200px; --gap: 16px;
  --pad: 72px;
  --h2: 44px; --lead: 17px; --hand-size: 30px; --tag: 22px;
}
@media (min-width: 768px) {
  :root { --m: 40px; --gap: 20px; --pad: 96px; --h2: 64px; --lead: 19px; --hand-size: 36px; --tag: 26px; --r-card: 28px; --r-photo: 24px; }
}
@media (min-width: 1200px) {
  :root { --m: 48px; --pad: 112px; --h2: 80px; --lead: 20px; --hand-size: 40px; --tag: 30px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--m)); margin-inline: auto; padding-inline: var(--m); }
.section { padding-block: var(--pad); overflow-x: clip; }
.bg-paper { background: var(--paper); } .bg-pink { background: var(--pink); } .bg-lime { background: var(--lime); }
.bg-yellow { background: var(--yellow); } .bg-ink { background: var(--ink); color: var(--cream); } .bg-red { background: var(--red); color: var(--cream); }

/* ---------- type ---------- */
.t-display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: .88; font-variation-settings: "wdth" 100; }
.t-h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: var(--h2); line-height: .94; letter-spacing: -0.015em; }
.t-h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 24px; line-height: 1.05; letter-spacing: 0; }
.t-hand { font-family: var(--hand); font-weight: 700; font-size: var(--hand-size); line-height: 1.1; color: var(--red); letter-spacing: .01em; }
.t-lead { font-size: var(--lead); line-height: 1.5; color: var(--ink-2); }
.t-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-small { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); }
.t-price { font-family: var(--display); font-weight: 600; white-space: nowrap; letter-spacing: -0.01em; }
.t-display i { font-style: normal; }
.c-red { color: var(--red); } .c-blue { color: var(--blue); } .c-ink { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 28px; border-radius: 28px;
  font: 700 17px/1 var(--sans); white-space: nowrap; transition: background-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--cream); } .btn--ink:hover { background: #3d3b37; }
.btn--red { background: var(--red); color: var(--cream); } .btn--red:hover { background: var(--red-deep); }
.btn--line { border: 2px solid var(--ink); color: var(--ink); } .btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); } .btn--cream:hover { background: #fff; }
.btn--line-cream { border: 2px solid var(--cream); color: var(--cream); } .btn--line-cream:hover { background: var(--cream); color: var(--ink); }
.btns { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 767px) { .btns > .btn { flex: 1 1 0; min-width: 0; padding: 0 16px; } }
.link-arrow { font-weight: 700; font-size: 17px; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid transparent; }
.link-arrow:hover { border-color: currentColor; }

/* ---------- coaster sticker: paper disc, ink rim, the red dot of the logo ---------- */
.sticker { position: relative; border-radius: 50%; background: var(--paper); border: 5px solid var(--ink); padding: 5%; box-shadow: var(--shadow-sticker); aspect-ratio: 1; }
.sticker img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sticker::after { content: ""; position: absolute; right: 6%; bottom: 6%; width: 15%; height: 15%; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.sticker--num { display: grid; place-items: center; background: var(--yellow); }
.sticker--num span { font: 700 clamp(48px, 30%, 120px)/1 var(--display); letter-spacing: -0.03em; }
@media (max-width: 767px) { .sticker { border-width: 4px; } .sticker::after { box-shadow: 0 0 0 3px var(--paper); } }
/* hand-written tag */
.tag { display: inline-block; font: 700 var(--tag)/1.15 var(--hand); color: var(--ink); background: var(--yellow); padding: 2px 13px 4px; border-radius: 8px; white-space: nowrap; letter-spacing: .03em; box-shadow: 0 6px 14px rgba(35,35,35,.08); }
.tag--lime { background: var(--lime); } .tag--pink { background: var(--pink); } .tag--paper { background: var(--paper); }

/* ---------- chips ---------- */
.chips { display: flex; gap: 12px; }
.chip { height: 48px; padding: 0 22px; border-radius: 24px; border: 1.5px solid #C9C3B3; font: 700 16px/1 var(--sans); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (max-width: 767px) {
  .chips { overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); scroll-padding-inline: var(--m); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { height: 44px; padding: 0 18px; font-size: 15px; flex: none; }
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; background: var(--cream); }
.site-header__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-header__in::after { content: ""; position: absolute; left: var(--m); right: var(--m); bottom: 0; height: 1px; background: var(--line); }
.site-header__logo img { width: 88px; height: auto; }
.site-header__nav { display: none; }
.site-header__call { display: none; }
.site-header__compact { display: flex; align-items: center; gap: 10px; }
.site-header__compact .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 768px) { .site-header__in { height: 88px; } .site-header__logo img { width: 110px; } }
@media (min-width: 1200px) {
  .site-header__in { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__call { justify-self: end; }
  .site-header__logo img { width: 126px; }
  .site-header__nav { display: flex; gap: 40px; font: 500 17px/1 var(--sans); }
  .site-header__nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
  .site-header__nav a:hover, .site-header__nav a[aria-current] { border-color: var(--red); }
  .site-header__call { display: inline-flex; }
  .site-header__compact { display: none; }
}

/* ---------- overlay menu ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--red); color: var(--cream); display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; overflow-y: auto; }
.overlay.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
.overlay__top { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.overlay__top img { width: 88px; height: auto; }
.overlay__close { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cream); display: grid; place-items: center; }
.overlay__links { display: flex; flex-direction: column; gap: 4px; padding-block: 32px 24px; }
.overlay__links a { font: 700 56px/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; padding-block: 6px; }
.overlay__links a[aria-current] { color: var(--yellow); }
.overlay__bottom { margin-top: auto; padding-bottom: 32px; display: grid; gap: 14px; }
.overlay__bottom .btn { width: 100%; }
.overlay__bottom .t-small { color: rgba(245,241,232,.8); }
@media (min-width: 768px) { .overlay__top { height: 88px; } .overlay__links a { font-size: 88px; } }

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--cream); height: 64px; overflow: hidden; display: flex; align-items: center; }
.marquee__track { display: flex; flex: none; animation: marquee 40s linear infinite; }
.marquee__item { font: 700 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; padding-right: 22px; }
.marquee__item::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--yellow); margin-left: 22px; vertical-align: .12em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .marquee { height: 52px; } .marquee__item { font-size: 22px; padding-right: 16px; } .marquee__item::after { margin-left: 16px; } }

/* ---------- visit block (home 06 + contact) ---------- */
.visit { display: grid; gap: 40px; }
.visit__head .t-display { font-size: clamp(64px, 17vw, 128px); margin-top: 6px; }
.info-rows { margin-top: 32px; }
.info-row { border-top: 1.5px solid var(--line); padding: 14px 0 18px; display: grid; gap: 4px; }
.info-row .t-label { font-size: 11px; }
.info-row__v { font: 600 22px/1.25 var(--display); letter-spacing: 0; }
.info-row a.info-row__v:hover { color: var(--red); }
.visit__info .btns { margin-top: 28px; }
.map { position: relative; display: block; border-radius: var(--r-photo); overflow: hidden; background: #E6E2D2; height: 440px; }
.map__img { width: 100%; height: 100%; object-fit: none; }
.map__coords { position: absolute; left: 20px; bottom: 16px; font-size: 12px; font-weight: 500; color: var(--muted); }
.pin { position: absolute; z-index: 2; left: 55%; top: 60%; width: 0; height: 0; }
.pin__dot { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(35,35,35,.25); display: grid; place-items: center; }
.pin__dot::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--red); }
.pin__dot::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: rgba(215, 38, 43, .22); animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pin .tag { position: absolute; left: -36px; top: -92px; transform: rotate(3deg); }
.visit__side { display: grid; gap: 16px; align-content: start; }
.visit__photo { position: relative; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 336 / 460; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__rating { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.visit__rating .t-display { font-size: 88px; line-height: .9; }
@media (max-width: 767px) {
  .visit__side { grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
  .visit__photo { grid-row: span 3; }
  .visit__rating { display: grid; gap: 6px; }
  .visit__rating .t-display { font-size: 64px; }
}
@media (min-width: 768px) {
  .visit { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .visit__side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 12px 32px; align-content: end; }
  .visit__photo { grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
  .visit__side > .t-hand { align-self: end; }
  .map { height: auto; min-height: 560px; }
}
@media (min-width: 1200px) {
  .visit { grid-template-columns: 440fr 440fr 336fr; gap: 48px 40px; }
  .visit__side { grid-column: auto; grid-template-columns: 1fr; align-content: start; gap: 16px; }
  .visit__photo { grid-row: auto; aspect-ratio: 336 / 460; }
  .visit__side > .t-hand { align-self: auto; }
  .map { min-height: 0; height: 100%; }
  .info-row__v { font-size: 26px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 56px; overflow-x: clip; }
.site-footer__top { display: grid; gap: 40px; }
.site-footer__logo img { width: 150px; height: auto; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.site-footer__cols .t-label { color: rgba(245,241,232,.55); display: block; margin-bottom: 12px; }
.site-footer__cols li { font-size: 16px; line-height: 1.6; }
.site-footer__cols a:hover { color: var(--yellow); }
.site-footer__big { font-size: clamp(40px, 13.6vw, 120px); line-height: .9; margin-top: 48px; }
.site-footer__bottom { margin-top: 32px; border-top: 1px solid rgba(245,241,232,.18); padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: rgba(245,241,232,.6); }
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: auto 1fr; }
  .site-footer__cols { grid-template-columns: repeat(3, auto); justify-content: end; gap: 56px; }
  .site-footer__big { font-size: calc((100vw - 2 * var(--m)) / 13.6); white-space: nowrap; }
}
@media (min-width: 1200px) {
  .site-footer__logo img { width: 189px; }
  .site-footer__cols { gap: 0; grid-template-columns: 200px 220px 196px; }
  .site-footer__big { font-size: calc(min(100vw - 2 * var(--m), var(--maxw)) / 13.6); margin-top: 24px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee__track, .pin__dot::before { animation: none; }
}
.overlay .marquee { background: var(--ink); }

/* ---------- bunting: the courtyard flags (string + triangles in four colours) ---------- */
.bunting { height: 34px; background-repeat: repeat-x; background-size: 168px 34px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='34' viewBox='0 0 168 34'%3E%3Cpath d='M0 3 Q84 9 168 3' fill='none' stroke='%23232323' stroke-width='1.4'/%3E%3Cpath d='M6 4.2 L30 5.6 L17 30Z' fill='%23F4B9B2'/%3E%3Cpath d='M48 5.9 L72 6.6 L60 31Z' fill='%23F3C94F'/%3E%3Cpath d='M90 6.6 L114 6.1 L102 31Z' fill='%232D55A4'/%3E%3Cpath d='M132 5.7 L156 4.4 L145 30Z' fill='%23D7262B'/%3E%3C/svg%3E"); }
@media (max-width: 767px) { .bunting { height: 26px; background-size: 128px 26px; } }
.site-footer > .bunting { margin: -56px 0 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='34' viewBox='0 0 168 34'%3E%3Cpath d='M0 3 Q84 9 168 3' fill='none' stroke='%23F5F1E8' stroke-opacity='.6' stroke-width='1.4'/%3E%3Cpath d='M6 4.2 L30 5.6 L17 30Z' fill='%23F4B9B2'/%3E%3Cpath d='M48 5.9 L72 6.6 L60 31Z' fill='%23F3C94F'/%3E%3Cpath d='M90 6.6 L114 6.1 L102 31Z' fill='%232D55A4'/%3E%3Cpath d='M132 5.7 L156 4.4 L145 30Z' fill='%23D7262B'/%3E%3C/svg%3E"); }
