/* Bursa Park Hotel · Design C2 · "İznik × Yeşil", round 3: çini green + the hotel's neutrals, mobile first */

:root {
  /* Çini green for actions and highlights; the building's own neutrals (anthracite blinds and sofas, walnut
     window frames, beige stone) for text and dark bands; cream paper. Gold appears only on the award. */
  --paper: #F5EDE1;        /* latte paper (round 4: a touch more coffee) */
  --sand: #EBDFCC;
  --sand-2: #DDCDB4;
  --stone: #D3C0A0;
  --ink: #2A2B2B;          /* anthracite */
  --ink-2: #5E5852;        /* warm grey-brown */
  --char: #2B2D2E;         /* dark bands */
  --char-2: #393B3C;
  --char-d: #202223;
  --brown: #7A5038;        /* walnut, window frames */
  --brown-l: #B58E6C;
  --cini: #1C7457;         /* İznik emerald, the action colour (round 4: a hair deeper for AA on latte paper) */
  --cini-2: #238A68;
  --cini-d: #165A47;
  --cini-l: #9ED3BF;       /* çini green on dark */
  --turq: #2E9A97;         /* İznik turquoise: tiles, small accents */
  --turq-d: #237A78;
  --cobalt: #2D5394;       /* tiles only */
  --red: #B8432E;          /* İznik bole red: tile dots, hotel pin, tram */
  --gold: #C49A45;
  --gold-l: #E9D08C;
  --gold-d: #8E6A25;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --fig: "Alegreya", Georgia, serif;   /* figures: Fraunces' soft 8 reads upside down */
  --body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 48px);
  --r: 24px;
  /* One shape language: arches. Every box and photo frame is an arch on a plinth: a top cut as half an ellipse
     (50% wide, --dome-h tall) over 16 px bottom corners. On a narrow box that is a round arch, on a wide one a
     shallow dome. Photo frames use a height-relative cap. Buttons and chips stay pills, icon buttons circles. */
  --base: 16px;
  --dome-h: 56px;
  --dome: 50% 50% var(--base) var(--base) / var(--dome-h) var(--dome-h) var(--base) var(--base);
  --dome-photo: 50% 50% var(--base) var(--base) / 30% 30% var(--base) var(--base);
  --arch: 9999px 9999px var(--base) var(--base);
  --header: 62px;
  --dock: 0px;
  --sec: clamp(60px, 9vw, 128px);

  /* Drawn İznik tile: green 8-point star, turquoise rosette, cobalt joints, red dots */
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%231E7A5C'%3E%3Crect x='23' y='23' width='34' height='34'/%3E%3Crect x='23' y='23' width='34' height='34' transform='rotate(45 40 40)'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='10' fill='%23F5EDE1'/%3E%3Ccircle cx='40' cy='40' r='7.5' fill='%232E9A97'/%3E%3Ccircle cx='40' cy='40' r='2.8' fill='%23B8432E'/%3E%3Cg fill='%232D5394'%3E%3Cpath d='M0-11L11 0 0 11-11 0z'/%3E%3Cpath d='M80-11L91 0 80 11 69 0z'/%3E%3Cpath d='M0 69L11 80 0 91-11 80z'/%3E%3Cpath d='M80 69L91 80 80 91 69 80z'/%3E%3C/g%3E%3Cg fill='%23B8432E'%3E%3Ccircle cx='40' cy='0' r='3'/%3E%3Ccircle cx='40' cy='80' r='3'/%3E%3Ccircle cx='0' cy='40' r='3'/%3E%3Ccircle cx='80' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --tile-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%239ED3BF' fill-opacity='.09'%3E%3Crect x='23' y='23' width='34' height='34'/%3E%3Crect x='23' y='23' width='34' height='34' transform='rotate(45 40 40)'/%3E%3Cpath d='M0-11L11 0 0 11-11 0z'/%3E%3Cpath d='M80-11L91 0 80 11 69 0z'/%3E%3Cpath d='M0 69L11 80 0 91-11 80z'/%3E%3Cpath d='M80 69L91 80 80 91 69 80z'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='7' fill='none' stroke='%232E9A97' stroke-opacity='.35' stroke-width='1.5'/%3E%3C/svg%3E");
  /* paper grain: fractal noise, stitched so the 180px tile has no seams; ~0.7 KB */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .38 0 0 0 0 .27 0 0 0 0 .17 0 0 0 .55 -.19'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  --niche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 56' preserveAspectRatio='none'%3E%3Cpath d='M1.5 55V25C1.5 13 13 6.5 25 1.5 37 6.5 48.5 13 48.5 25V55z' fill='%23F5EDE1' stroke='%23DDCDB4' stroke-width='1.5'/%3E%3C/svg%3E");
  /* background pattern: a fine çini star lattice, line only, under the grain */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%237A5038' stroke-opacity='.075' stroke-width='1'%3E%3Crect x='-22' y='-22' width='44' height='44'/%3E%3Crect x='-22' y='-22' width='44' height='44' transform='rotate(45 0 0)'/%3E%3Ccircle cx='0' cy='0' r='7'/%3E%3Crect x='74' y='-22' width='44' height='44'/%3E%3Crect x='74' y='-22' width='44' height='44' transform='rotate(45 96 0)'/%3E%3Ccircle cx='96' cy='0' r='7'/%3E%3Crect x='-22' y='74' width='44' height='44'/%3E%3Crect x='-22' y='74' width='44' height='44' transform='rotate(45 0 96)'/%3E%3Ccircle cx='0' cy='96' r='7'/%3E%3Crect x='74' y='74' width='44' height='44'/%3E%3Crect x='74' y='74' width='44' height='44' transform='rotate(45 96 96)'/%3E%3Ccircle cx='96' cy='96' r='7'/%3E%3Crect x='26' y='26' width='44' height='44'/%3E%3Crect x='26' y='26' width='44' height='44' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='7'/%3E%3C/g%3E%3C/svg%3E");
  /* Hakkımızda border: one whole 8-point star per tile, spaced so none is ever cut */
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30' viewBox='0 0 44 30'%3E%3Cg fill='%231E7A5C'%3E%3Crect x='14.5' y='7.5' width='15' height='15'/%3E%3Crect x='14.5' y='7.5' width='15' height='15' transform='rotate(45 22 15)'/%3E%3C/g%3E%3Ccircle cx='22' cy='15' r='5' fill='%23F5EDE1'/%3E%3Ccircle cx='22' cy='15' r='3.6' fill='%232E9A97'/%3E%3Ccircle cx='22' cy='15' r='1.4' fill='%23B8432E'/%3E%3C/svg%3E");
  --star-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%23B8432E' d='M20 2l5.4 4.9 7.3.3.3 7.3L38 20l-4.9 5.4-.3 7.3-7.3.3L20 38l-5.4-4.9-7.3-.3-.3-7.3L2 20l4.9-5.4.3-7.3 7.3-.3z'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%23F5EDE1'/%3E%3C/svg%3E");
  --star-cini: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%239ED3BF' d='M20 2l5.4 4.9 7.3.3.3 7.3L38 20l-4.9 5.4-.3 7.3-7.3.3L20 38l-5.4-4.9-7.3-.3-.3-7.3L2 20l4.9-5.4.3-7.3 7.3-.3z'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%232B2D2E'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grain) 0 0 / 180px, var(--pattern) 0 0 / 96px, var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 {
  font-family: var(--display); margin: 0; font-weight: 620; letter-spacing: -0.015em; line-height: 1.06;
  font-variation-settings: "SOFT" 100;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.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(--char); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
.fig { font-family: var(--fig); font-weight: 800; font-variant-numeric: lining-nums; letter-spacing: 0; }

/* icons */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f { fill: var(--ic-accent, currentColor); stroke: none; }
.ic--star { --ic-accent: var(--red); width: 12px; height: 12px; }

/* type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 13.5px/1 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--brown);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--cini-l); }
.hl { color: var(--cini); font-style: italic; font-weight: 540; }
.hl--light { color: var(--cini-l); }
h2 { font-size: clamp(2.05rem, 1.5rem + 2.6vw, 3.7rem); color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1.05rem + .25vw, 1.25rem); color: var(--ink-2); max-width: 36em; margin-top: 14px; }
.sec-head { max-width: 780px; margin-bottom: clamp(26px, 4vw, 56px); }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: end; justify-content: space-between; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn--green { background: var(--cini); color: #fff; box-shadow: 0 8px 20px -10px rgba(30,122,92,.8); }
.btn--green:hover { background: var(--cini-2); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42,43,43,.28); background: transparent; border: 0; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 17.5px; }
.btn .ic { width: 21px; height: 21px; }
.btn--green .ic { --ic-accent: #fff; }

/* the gold medal (sprite #medal): gold rosette rim, deep çini field */
.medal-sm { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; }
.medal-sm svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(142,106,37,.35)); }
.medal-sm b { position: relative; font: 800 21px/1 var(--fig); color: var(--gold-l); letter-spacing: -.01em; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,237,225,.94);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  transition: box-shadow .25s ease;
}
.top::before {
  content: ""; display: block; height: 4px;
  background: repeating-linear-gradient(90deg, var(--cini) 0 40px, var(--turq) 40px 80px, var(--cobalt) 80px 92px, var(--turq) 92px 132px);
}
.top.is-scrolled { box-shadow: 0 10px 30px -18px rgba(42,43,43,.45); }
.top__in { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark svg { width: 28px; height: 34px; display: block; }
.brand__txt { font: 660 clamp(19px, 5.2vw, 21px)/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.012em; color: var(--ink); white-space: nowrap; }

.nav { display: none; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16.5px; }
.top__cta { display: none !important; }

.burger { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--sand); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav.is-open {
    display: flex; flex-direction: column; position: fixed; inset: calc(var(--header) + 4px) 0 auto 0;
    background: var(--paper); padding: 4px var(--pad) 24px; border-bottom: 4px solid var(--cini);
    box-shadow: 0 30px 40px -20px rgba(42,43,43,.35); max-height: calc(100dvh - var(--header) - 4px); overflow-y: auto;
  }
  .nav.is-open a { padding: 15px 0; font: 600 24px/1.1 var(--display); font-variation-settings: "SOFT" 100; border-bottom: 1px solid var(--sand-2); color: var(--ink); }
  .nav.is-open .nav__tel { border: 0; font: 700 18px/1 var(--body); color: var(--cini); display: flex; gap: 10px; align-items: center; margin-top: 6px; }
}
@media (min-width: 1080px) {
  :root { --header: 76px; }
  .burger { display: none; }
  .top__cta { display: inline-flex !important; }
  .top__cta .sm { display: none; }
  .nav { display: flex; gap: 26px; align-items: center; margin-right: 8px; }
  .nav a { position: relative; padding: 6px 0; color: var(--ink); }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cini); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav__tel { display: none !important; }
  .brand__mark svg { width: 34px; height: 41px; }
  .brand__txt { font-size: 23px; }
}
@media (min-width: 1280px) {
  .nav__tel { display: inline-flex !important; gap: 8px; align-items: center; color: var(--cini) !important; }
  .nav__tel::after { display: none; }
}

/* ---------- bottom dock (phones and tablets): a Liquid Glass capsule, Ara ○ · WhatsApp pill · ○ Konum ----------
   Light glass over paper and photos; main.js adds .is-dark over the charcoal bands and .is-away while the contact
   card (which repeats these actions) is on screen. Without backdrop-filter the glass turns into a solid capsule. */
.dock {
  position: fixed; z-index: 60; left: 0; right: 0; margin-inline: auto;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(calc(100% - 2 * var(--pad) + 8px), 420px);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,253,248,.62), rgba(250,244,234,.46));
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),          /* specular top edge */
    inset 0 -1px 0 rgba(120,92,60,.10),           /* soft lower rim */
    inset 0 0 18px rgba(255,255,255,.35),          /* glass body glow */
    0 1px 2px rgba(42,43,43,.10), 0 14px 34px -12px rgba(42,43,43,.42);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease, background-color .3s ease;
}
.dock a {
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  height: 50px; border-radius: 999px; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background-color .2s ease;
}
.dock a:active { transform: scale(.94); }
.dock__btn {
  flex: none; width: 50px; color: var(--ink);
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(42,43,43,.08);
}
.dock__btn .ic { width: 23px; height: 23px; --ic-accent: currentColor; stroke-width: 1.9; }
.dock__wa {
  flex: 1; gap: 9px; padding: 0 16px; min-width: 0;
  background: linear-gradient(180deg, var(--cini-2), var(--cini)); color: #fff;
  font: 700 16.5px/1 var(--body); white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 14px -8px rgba(28,116,87,.9);
}
.dock__wa .ic { width: 22px; height: 22px; color: #fff; --ic-accent: #fff; }
/* over the charcoal bands: smoked glass */
.dock.is-dark {
  background: linear-gradient(180deg, rgba(74,76,77,.55), rgba(43,45,46,.5));
  border-color: rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 18px rgba(255,255,255,.05), 0 14px 34px -12px rgba(0,0,0,.6);
}
.dock.is-dark .dock__btn { color: var(--paper); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.1); }
.dock.is-away { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); opacity: 0; pointer-events: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dock { background: #FBF7F0; }
  .dock.is-dark { background: var(--char-2); }
}
:root { --dock: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 1080px) { .dock { display: none; } :root { --dock: 0px; } }

/* ---------- hero ---------- */
.hero { padding-block: 24px 40px; position: relative; }
.hero::before { /* faint tile wash, top-left */
  content: ""; position: absolute; inset: 0 auto auto 0; width: min(70vw, 560px); height: 60%;
  background: var(--tile) 0 0 / 56px; opacity: .08; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 0 0, #000 15%, transparent 70%); mask: radial-gradient(circle at 0 0, #000 15%, transparent 70%);
}
.hero__in { display: flex; flex-direction: column; position: relative; }
.hero__copy { display: contents; }
.hero .eyebrow { order: 1; align-self: flex-start; }
.hero__title { order: 2; font-size: clamp(2.9rem, 1.6rem + 5.6vw, 6rem); line-height: .98; letter-spacing: -.028em; color: var(--ink); font-weight: 640; font-variation-settings: "SOFT" 100, "WONK" 0; }
.hero__title .hl { font-weight: 540; padding-right: .03em; } /* only "Bursa" is green; the italic gets a hair of room before 'daki */
.hero__art { order: 3; margin-top: 28px; }
.hero__lead { order: 4; margin-top: 28px; font-size: clamp(1.15rem, 1.08rem + .35vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.hero__actions { order: 5; display: grid; gap: 10px; margin-top: 24px; }
.award { order: 6; }

/* award line under the buttons */
.award {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 30em; width: 100%;
  padding: 22px 18px 14px 14px; border-radius: var(--dome); --dome-h: 34px;
  background: linear-gradient(100deg, #F8EFD6, var(--sand) 60%);
  box-shadow: inset 0 0 0 1.5px rgba(196,154,69,.45);
}
.award__score { position: relative; flex: none; display: grid; place-items: center; width: 62px; height: 62px; }
.award__score svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(142,106,37,.35)); }
.award__score b { position: relative; font: 800 20px/1 var(--fig); color: var(--gold-l); }
.award p { font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.award p { text-wrap: pretty; min-width: 0; }
.award p b { display: block; color: var(--ink); font-size: 16.5px; font-weight: 700; text-wrap: balance; }

.hero__art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.04; }
.hero__backdrop {
  position: absolute; inset: 0 0 5% 15%;
  border-radius: var(--arch);
  background: var(--tile-dark) center top / 60px, var(--char);
}
.frame { overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: var(--arch); }
.frame--circle { border-radius: 50%; aspect-ratio: 1; }
.frame--tile { border-radius: var(--dome-photo); }
.hero__art .frame { position: absolute; box-shadow: 0 0 0 6px var(--paper), 0 24px 50px -24px rgba(42,43,43,.55); }
.hero__a { left: 25%; top: 12%; width: 48%; height: 76%; }
.hero__b { right: 0; top: 44%; width: 33%; }
.hero__b img { object-position: 50% 30%; }
.hero__c { left: 0; bottom: 0; width: 47%; aspect-ratio: 4 / 3; }
.hero__c img { object-position: 30% 50%; }

/* seal: original C balance (compact, number centred, ring text even), now a gold-rimmed medal */
.seal {
  position: absolute; left: 0; top: 2%; width: 28%; min-width: 108px; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  filter: drop-shadow(0 14px 18px rgba(42,43,43,.28));
}
.seal__medal, .seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring { animation: spin 50s linear infinite; }
.seal__ring text { fill: var(--gold-l); font: 700 13px var(--body); letter-spacing: .12em; }
.seal__num { position: relative; font: 800 clamp(1.75rem, 1rem + 2.4vw, 2.6rem)/1 var(--fig); color: var(--gold-l); letter-spacing: -.01em; translate: 0 -.04em; }
.hero__tulip { position: absolute; right: 9%; top: 9%; width: 9%; fill: var(--cini-l); stroke: var(--cini-l); stroke-width: 2; --ic-accent: var(--cini-l); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 600px) {
  .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .award { width: fit-content; padding-inline: 18px 30px; }
}
@media (min-width: 980px) {
  .hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px); }
  .hero__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .hero__copy { display: block; }
  .hero__art { margin-top: 0; }
  .hero__lead { margin-top: 26px; }
  .hero__actions { margin-top: 30px; }
  .award { margin-top: 28px; }
}

/* ---------- facts: three short facts ---------- */
.facts { padding-bottom: clamp(36px, 5vw, 64px); }
/* an arcade of three arches (same arch as the day-trip cards); each icon sits in a pointed-arch niche */
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.facts__list li {
  display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; padding: 18px 6px 16px;
  background: var(--sand); border-radius: var(--dome); box-shadow: inset 0 0 0 1.5px var(--sand-2);
}
.facts__ic {
  display: grid; place-items: center; width: 50px; height: 56px; padding-top: 8px;
  background: var(--niche) center / 100% 100% no-repeat;
}
.facts__list .ic { width: 28px; height: 28px; color: var(--ink); --ic-accent: var(--cini); stroke-width: 1.6; }
.facts__list li > span:last-child { display: grid; gap: 3px; }
.facts__list b { font-weight: 700; font-size: 15.5px; line-height: 1.2; color: var(--ink); }
.facts__list b .fig { display: block; font-size: 30px; line-height: 1; color: var(--ink); margin-bottom: 2px; }
.facts__list small { font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 379px) { .facts__list { gap: 6px; } .facts__list li { padding-inline: 4px; } .facts__list b { font-size: 14.5px; } .facts__list small { font-size: 13px; } }
@media (min-width: 760px) {
  .facts__list { gap: 14px; }
  .facts__list li { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; align-content: center; gap: 16px; padding: 30px 22px 20px; }
  .facts__ic { width: 58px; height: 66px; padding-top: 10px; }
  .facts__list .ic { width: 32px; height: 32px; }
  .facts__list b { font-size: 18px; }
  .facts__list b .fig { display: inline; font-size: 26px; margin: 0 2px 0 0; }
  .facts__list small { font-size: 15.5px; }
}

/* ---------- ribbon ---------- */
.ribbon { background: var(--tile-dark) 0 0 / 40px, var(--char); color: var(--paper); overflow: hidden; border-block: 5px solid var(--cini); }
.ribbon__track { display: flex; align-items: center; gap: 24px; width: max-content; padding-block: 14px; animation: marquee 38s linear infinite; }
.ribbon span { font: italic 540 clamp(1.25rem, 1rem + 1vw, 1.9rem)/1 var(--display); font-variation-settings: "SOFT" 100; white-space: nowrap; }
.ribbon i { width: 18px; height: 18px; background: var(--star-cini) center / contain no-repeat; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- carousels (rooms, cafe, gallery on phones): snap at the gutter, the next card peeks 56px ---------- */
:root { --card: calc(100vw - 2 * var(--pad) - 56px); }
.rooms, .cafe__art, .gal { position: relative; }
.car-ctl { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.car-ctl[hidden] { display: none; }
.car-ctl__count { min-width: 3.4em; font: 700 15px/1 var(--body); color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.car-ctl__count b { font: 800 19px/1 var(--fig); color: var(--ink); }
.car-ctl__bar { flex: 1; max-width: 120px; height: 3px; border-radius: 3px; background: var(--sand-2); margin: 0 auto 0 4px; position: relative; overflow: hidden; }
.car-ctl__bar i { position: absolute; inset: 0 auto 0 0; background: var(--cini); border-radius: 3px; transition: width .25s ease, left .25s ease; }
.car-ctl button {
  width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sand-2);
}
.car-ctl button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.car-ctl button:disabled { opacity: .35; cursor: default; }
.car-ctl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.car-ctl--dark .car-ctl__count { color: rgba(244,235,221,.75); }
.car-ctl--dark .car-ctl__count b { color: var(--paper); }
.car-ctl--dark .car-ctl__bar { background: rgba(255,255,255,.16); }
.car-ctl--dark .car-ctl__bar i { background: var(--cini-l); }
.car-ctl--dark button { background: rgba(255,255,255,.08); color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.car-ctl--dark button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--paper); }

/* ---------- location: kroki drawn on OpenStreetMap geometry (tools/make_c2_map.py) ---------- */
.loc { padding-block: var(--sec); }
.loc__in { display: grid; gap: 28px; align-items: start; }
.mapbox { min-width: 0; }
.map { position: relative; width: 100%; aspect-ratio: 630 / 650; border-radius: var(--dome); --dome-h: 44px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--sand-2), 0 22px 40px -28px rgba(42,43,43,.5); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__bg { fill: #EEE6D6; }
.map__dots { fill: url(#mapdots); }
#mapdots circle { fill: #D9CDB6; }
.mtn { fill: #CFD6CC; }
.mtn--back { fill: #B5C3B8; }
.snow { fill: var(--paper); }
.parks path { fill: #D5E6D9; }
.parks .park--big { fill: #C3DDCB; }
.water path { fill: #A9D6D3; }
.trees circle { fill: #8CC3AA; }
.rd path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rd--minor path { stroke: #FAF6EE; stroke-width: 2; }
.rd--case path { stroke: #D8CCB5; stroke-width: 8.5; }
.rd--trunk-case path { stroke: #D0C3A9; stroke-width: 12; }
.rd--major path { stroke: #FCFAF4; stroke-width: 5.5; }
.rd--trunk path { stroke: #FFFEFA; stroke-width: 8.5; }
.tram path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-dasharray: 7 5; opacity: .7; }
.metro path { fill: none; stroke: var(--cobalt); stroke-width: 2.6; stroke-dasharray: .5 5; stroke-linecap: round; opacity: .75; }
/* selectable walks: one route visible at a time, drawn from the hotel */
.route { display: none; }
.route.is-on { display: inline; }
.route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route__street { stroke: var(--cini); stroke-width: 10; opacity: .3; }
.route__base { stroke: var(--cini); stroke-width: 8; opacity: .22; stroke-dasharray: 1 1; }
.route__dots { stroke: var(--cini); stroke-width: 5; stroke-dasharray: .5 9; }
.route__end { fill: var(--paper); stroke: var(--cini); stroke-width: 4; }
.route.is-on .route__base { animation: draw 1s cubic-bezier(.4,0,.2,1) both; }
.route.is-on .route__dots { animation: appear .3s .8s both, walk 1.4s linear infinite; }
.route.is-on .route__end { animation: appear .3s .85s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } }
@keyframes walk { to { stroke-dashoffset: -19; } }
.hit { fill: transparent; pointer-events: all; cursor: pointer; }
/* the selected walk is drawn above the other labels, below the hotel and the selected label */
.map__routes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pin--hotel, .pin.is-on { z-index: 2; }
.pin.is-under { visibility: hidden; }
.edge { fill: none; stroke: var(--cini); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.edge--far { stroke: var(--ink-2); stroke-width: 2.5; opacity: .55; }
.ico .fg { fill: var(--cini); }
.ico .dm { fill: #5F6B68; }           /* lead-covered domes */
.ico .dm-d { fill: #46504E; }
.ico .tq { fill: var(--turq); }
.ico .tq-d { fill: var(--turq-d); }
.ico .tq-s { stroke: var(--turq); stroke-width: 1.8; }
.ico .br { fill: #9A5A3C; }            /* Merinos brick */
.ico .br-d { fill: var(--brown); }
.ico .tr { fill: #5FA383; }
.ico .tr-d { fill: var(--brown); }
.ico .cy { fill: #2F6B4F; }
.ico .bg { fill: var(--paper); }
.ico .bg-s { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico .metro-bg { fill: var(--cobalt); }
.ico .tram-bg { fill: var(--red); }
.map__hotel .star { fill: var(--red); stroke: var(--paper); stroke-width: 2.5; }
.map__hotel .dot { fill: var(--paper); }
.map__hotel .pulse { fill: var(--red); opacity: .2; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
.north circle { fill: var(--paper); stroke: var(--sand-2); stroke-width: 1.5; }
.north path { fill: var(--ink); }
.north text, .scale text { font: 700 12px var(--body); fill: var(--ink-2); }
.scale path { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }

.pins { position: absolute; inset: 0; pointer-events: none; }
button.pin { font-family: inherit; border: 0; margin: 0; cursor: pointer; pointer-events: auto; text-align: left; color: inherit; }
button.pin:hover { box-shadow: 0 0 0 2px var(--cini), 0 4px 12px -6px rgba(42,43,43,.5); }
.pin.is-on { background: var(--cini); z-index: 2; box-shadow: 0 6px 16px -6px rgba(30,122,92,.8); }
.pin.is-on b, .pin.is-on span { color: #fff; }
.pin {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: inline-grid; justify-items: start; white-space: nowrap;
  background: var(--paper); border-radius: 9px; padding: .28em .6em .32em;
  font-size: clamp(11.5px, 3vw, 14px); line-height: 1.15;
  box-shadow: 0 4px 12px -6px rgba(42,43,43,.5);
}
.pin b { font-weight: 700; color: var(--ink); }
.pin span { color: var(--cini); font-weight: 700; font-size: .92em; font-variant-numeric: lining-nums; }
.pin i { font-style: normal; font-weight: 500; }
.pin--l { translate: 0 -50%; }
.pin--r { translate: -100% -50%; justify-items: end; }
.pin--c { translate: -50% -50%; justify-items: center; }
.pin--b { translate: -50% 0; justify-items: center; }
.pin--t { translate: -50% -100%; justify-items: center; }
.pin--lb { translate: 0 0; }
.pin--lt { translate: 0 -100%; }
.pin--rt { translate: -100% -100%; justify-items: end; }
.pin--hotel { background: var(--red); border-radius: 11px; padding: .38em .75em .42em; font-size: clamp(12px, 3.2vw, 15px); }
.pin--hotel b { color: #fff; font-family: var(--display); font-weight: 620; font-variation-settings: "SOFT" 100; font-size: 1.08em; }
.pin--hotel span { color: rgba(255,255,255,.92); font-weight: 500; }
.pin--hotel.is-compact span { display: none; }
.pin--muted { background: rgba(246,241,231,.82); }
.pin--far { background: transparent; box-shadow: none; padding: 0; }
.pin--far b, .pin--far span { color: var(--ink-2); }
.pin--extra:not(.is-on) { display: none; }
.map__note { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 699px) {
  .pin--wide:not(.is-on), .pin--far, .edge--far { display: none; }
  .pin i { display: none; }
}
/* readout of the selected walk, under the map */
.route-now {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 7px 22px 7px 7px;
  background: var(--cini); color: #fff; border-radius: 999px;
}
.route-now__min { flex: none; display: grid; place-content: center; justify-items: center; width: 60px; height: 60px;
  border-radius: 50%; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  font-weight: 700; font-size: 13px; line-height: 1; gap: 1px; }
.route-now__min .fig { font-size: 27px; line-height: 1; }
.route-now__txt { display: grid; gap: 1px; min-width: 0; line-height: 1.25; }
.route-now__txt b { font: 620 1.2rem/1.15 var(--display); font-variation-settings: "SOFT" 100; }
.route-now__txt span { font-size: 15px; opacity: .88; }

.dist { display: grid; gap: 32px; margin-top: 8px; }
.dist h3 { font-size: 1.45rem; color: var(--ink); margin-bottom: 8px; }
.walklist li { border-bottom: 2px dotted var(--sand-2); }
.walklist button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 5.4rem 1fr auto; gap: 12px; align-items: baseline;
  padding: 11px 14px; margin-inline: -14px; width: calc(100% + 28px); border-radius: 999px;
  font-size: 17.5px; line-height: 1.35; transition: background-color .2s ease;
}
.walklist button::after { content: "Haritada"; font-size: 13px; font-weight: 700; color: var(--cini); opacity: 0; transition: opacity .2s ease; }
.walklist button:hover { background: var(--sand); }
.walklist button:hover::after { opacity: 1; }
.walklist button:focus-visible { outline: 3px solid var(--turq); outline-offset: -3px; }
.walklist button[aria-pressed="true"] { background: var(--cini); color: #fff; }
.walklist button[aria-pressed="true"] .d { color: #fff; }
.walklist button[aria-pressed="true"]::after { content: "Haritada"; opacity: .85; color: #fff; }
.walklist .d { font-weight: 700; color: var(--cini); font-variant-numeric: tabular-nums; white-space: nowrap; }
.js .walklist:not(.is-open) .more { display: none; }
.walkmore {
  margin-top: 14px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sand); font-weight: 700; font-size: 16px; color: var(--ink);
}
.walkmore:hover { background: var(--sand-2); }
.trips ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 520px; }
.trip { border-radius: var(--dome); padding: 24px 6px 16px; text-align: center; display: grid; justify-items: center; align-content: start; gap: 2px; background: var(--sand); }
.trip svg { width: 38px; height: 38px; margin-bottom: 8px; }
.trip b { font: 620 1.12rem/1.1 var(--display); font-variation-settings: "SOFT" 100; color: var(--ink); }
.trip span { font-weight: 500; font-size: 14.5px; line-height: 1.25; color: var(--ink-2); }
.trip--sea { color: var(--turq-d); }
.trip--mtn { color: var(--brown); }
.trip--tile { color: var(--cini); }
.trip--mtn svg path:last-child { fill: var(--sand); }
@media (min-width: 980px) { .loc__in { grid-template-columns: 7fr 5fr; gap: 56px; } .dist { margin-top: 0; } }

/* ---------- apartments ---------- */
.apts { padding-block: var(--sec); padding-top: clamp(20px, 4vw, 48px); }
/* Phones/tablets: one swipe row of big photos (tap opens the full photo).
   Desktop: mosaic where every frame stays at or below half the photo's native pixels. */
.rooms {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 6px; scroll-padding-inline: var(--pad);
}
.rooms::-webkit-scrollbar { display: none; }
.room { flex: none; scroll-snap-align: start; width: calc(var(--room-h) * 2 / 3); --room-h: clamp(300px, 80vw, 400px); }
.room--w { width: min(var(--card), calc(var(--room-h) * 1.2)); }
.room .frame { height: var(--room-h); border-bottom: 6px solid var(--cini); cursor: zoom-in; }
.room:nth-child(3n+2) .frame { border-bottom-color: var(--turq); }
.room:nth-child(3n) .frame { border-bottom-color: var(--brown-l); }
.room--w .frame { border-radius: var(--dome-photo); }
.room figcaption { margin-top: 12px; display: grid; gap: 2px; }
.room figcaption b { font: 600 1.2rem/1.15 var(--display); font-variation-settings: "SOFT" 100; color: var(--ink); }
.room figcaption span { font-size: 15.5px; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 1080px) {
  .apts__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
  .apts__head { position: sticky; top: calc(var(--header) + 40px); margin-bottom: 0; }
  .rooms { display: grid; grid-template-columns: repeat(4, 144px); gap: 30px 12px; overflow: visible; margin: 0; padding: 0; }
  .room, .room--w { width: auto; }
  .room .frame { height: 200px; cursor: default; }
  .room--w { grid-column: span 2; }
  .room:not(.room--w) .frame { border-radius: var(--arch); }
}

.amen {
  margin-top: clamp(40px, 7vw, 96px);
  background: var(--sand); border-radius: var(--dome); --dome-h: 64px;
  padding: 58px 18px 18px;
  display: grid; gap: 18px; position: relative; overflow: hidden;
}
.amen::after { /* finial: one whole çini star at the apex of the dome */
  content: ""; position: absolute; left: 50%; top: 14px; width: 44px; height: 30px; translate: -50% 0;
  background: var(--band) center / contain no-repeat;
}
.amen__head { position: relative; z-index: 1; }
.amen__head h3 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.7rem); color: var(--ink); }
.amen__head p { margin-top: 6px; color: var(--ink-2); }
.stay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.stay li { white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 14.5px; color: var(--cini); box-shadow: inset 0 0 0 1.5px rgba(30,122,92,.22); }
.amen__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; position: relative; z-index: 1; }
.amen__grid li {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-top: 1px solid var(--sand-2);
  font-weight: 500; font-size: 15.5px; line-height: 1.25;
}
.amen__grid .ic { width: 26px; height: 26px; color: var(--ink); --ic-accent: var(--cini); stroke-width: 1.7; }
@media (min-width: 640px) { .amen { padding: 64px 32px 32px; --dome-h: 80px; } .amen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .amen__grid li { font-size: 16.5px; } }
@media (min-width: 1080px) {
  .amen { grid-template-columns: 1fr 2.4fr; gap: 48px; align-items: start; padding: 88px 48px 48px; --dome-h: 110px; }
  .amen::after { top: 22px; width: 58px; height: 40px; }
  .amen__grid li { padding: 14px 0; }
  .amen__grid .ic { width: 30px; height: 30px; }
}

/* ---------- cafe ---------- */
.cafe { position: relative; background: var(--tile-dark) 0 0 / 64px, var(--char); color: var(--paper); padding-block: var(--sec); margin-top: 22px; }
.domes { position: absolute; left: 0; right: 0; top: -22px; height: 22px; background: radial-gradient(50% 100% at 50% 100%, var(--char) 96%, transparent 100%) 0 0 / 44px 22px round no-repeat; } /* round: whole domes only */
.cafe h2 { color: var(--paper); }
.cafe__in { display: grid; gap: 32px; align-items: center; }
.cafe__copy > p { margin-top: 16px; font-size: 1.12rem; color: rgba(246,241,231,.88); max-width: 32em; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.ticks li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--star-cini) center / contain no-repeat; translate: 0 2px; }
.stamp {
  display: inline-flex !important; align-items: center; gap: 10px; margin-top: 26px !important;
  padding: 16px 18px 12px; border-radius: var(--dome); --dome-h: 22px; border: 1.5px dashed var(--cini-l);
  color: var(--cini-l) !important; font-weight: 700; font-size: 15.5px !important; line-height: 1.35;
}
.stamp .ic { --ic-accent: var(--cini-l); width: 16px; height: 16px; }
/* phones/tablets: a swipe row */
.cafe__art {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad); scroll-padding-inline: var(--pad);
}
.cafe__art::-webkit-scrollbar { display: none; }
.cafe__art .frame { flex: none; width: min(var(--card), 520px); aspect-ratio: 4 / 3; border-radius: var(--dome-photo); scroll-snap-align: start; }
.cafe__d img { object-position: 35% 50%; }
@media (min-width: 980px) {
  .cafe__in { grid-template-columns: 5fr 7fr; gap: 72px; }
  .cafe__art { display: block; overflow: visible; margin: 0; padding: 0; position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 1 / .95; }
  .cafe__art .frame { position: absolute; width: auto; box-shadow: 0 0 0 6px var(--char), 0 30px 50px -30px rgba(0,0,0,.6); }
  .cafe__a { left: 0; top: 0; width: 62% !important; aspect-ratio: 4 / 3; }
  .cafe__b { right: 0; top: 7%; width: 40% !important; height: 60%; aspect-ratio: auto !important; border-radius: var(--arch) !important; }
  .cafe__b img { object-position: 45% 50%; }
  .cafe__c { left: 7%; bottom: 0; width: 50% !important; aspect-ratio: 4 / 3; }
  .cafe__d { right: 7%; bottom: 1%; width: 31% !important; aspect-ratio: 1 !important; border-radius: 50% !important; }
}

/* ---------- gallery ---------- */
.gallery { padding-block: var(--sec); }
.filters { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
.filters::-webkit-scrollbar { display: none; }
.pill {
  border: 0; cursor: pointer; padding: 0 18px; min-height: 44px; border-radius: 999px;
  background: var(--sand); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.pill:hover { background: var(--sand-2); }
.pill.is-on { background: var(--char); color: var(--paper); }
/* phones: big swipe row; tablets/desktop: grid */
.gal {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad); scroll-padding-inline: var(--pad);
}
.gal::-webkit-scrollbar { display: none; }
.gal li { flex: none; width: var(--card); aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gal button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: var(--dome-photo); overflow: hidden; position: relative; background: var(--sand); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal button:hover img { transform: scale(1.05); }
.gal button:focus-visible { outline: 3px solid var(--turq); outline-offset: -3px; }
.gal li.is-hidden { display: none; }
.gal__more { display: flex; justify-content: center; margin-top: 28px; }
.gal__more[hidden], .walkmore[hidden] { display: none; }
@media (min-width: 700px) {
  .gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .gal li { width: auto; aspect-ratio: 1; }
  .gal li.arch button { border-radius: var(--arch); }
}
@media (min-width: 1080px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* ---------- story ---------- */
.story { background: var(--grain) 0 0 / 180px, var(--sand); padding-block: var(--sec); position: relative; }
.story::before { /* whole stars only: background-repeat space never cuts a tile */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34px;
  background: var(--band) center / 44px 30px space no-repeat, linear-gradient(var(--cini), var(--cini)) 0 50% / 100% 1.5px no-repeat, var(--paper);
  border-bottom: 3px solid var(--cini); box-shadow: inset 0 3px 0 var(--cini);
  background-repeat: space no-repeat, no-repeat, no-repeat;
  padding-inline: 6px; background-origin: content-box, border-box, border-box;
}
.story { padding-top: calc(var(--sec) + 34px); }
.story__in { display: grid; gap: 36px; }
.story__img { width: min(56%, 260px); aspect-ratio: 359 / 536; margin-top: 28px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7.5px var(--sand-2); }
.chapters { display: grid; }
.chapter { padding-block: 24px; border-top: 2px dotted var(--stone); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); color: var(--ink); }
.chapter h3::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--star-red) center / contain no-repeat; }
.chapter p { margin-top: 10px; color: var(--ink-2); max-width: 36em; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.specs li { padding: 7px 14px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 15px; color: var(--brown); }
@media (min-width: 980px) {
  .story__in { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .story__side { position: sticky; top: calc(var(--header) + 32px); }
  .story__img { width: min(64%, 300px); margin-top: 36px; }
}

/* ---------- contact ---------- */
.contact { padding-block: var(--sec); }
.contact__card {
  background: var(--tile-dark) 0 0 / 64px, var(--char); color: var(--paper);
  border-radius: var(--dome); --dome-h: clamp(64px, 12vw, 150px); padding: clamp(22px, 5vw, 64px); padding-top: clamp(64px, 11vw, 120px);
  display: grid; gap: 32px; overflow: hidden;
}
.contact h2 { color: var(--paper); font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); }
.contact__copy > p { margin-top: 16px; color: rgba(246,241,231,.88); max-width: 32em; }
.acts { display: grid; gap: 10px; margin-top: 24px; }
.act {
  display: flex; align-items: center; gap: 16px; text-decoration: none; min-height: 64px;
  padding: 10px 24px 10px 20px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: background-color .2s ease, transform .2s ease;
}
.act:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }
.act .ic { width: 28px; height: 28px; --ic-accent: currentColor; color: var(--cini-l); }
.act span { display: grid; gap: 4px; min-width: 0; }
.act small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.act b { font: 700 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.1 var(--fig); font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.act--wa { background: var(--cini); color: #fff; box-shadow: none; }
.act--wa:hover { background: var(--cini-2); }
.act--wa .ic { color: #fff; --ic-accent: #fff; }
.act--mail b { font: 700 clamp(1.02rem, .85rem + .9vw, 1.35rem)/1.1 var(--body); overflow-wrap: normal; }
.contact address { display: flex; gap: 14px; margin-top: 26px; line-height: 1.5; }
.contact address .ic { width: 26px; height: 26px; color: var(--cini-l); margin-top: 2px; }
.contact address small { display: block; opacity: .78; margin-top: 4px; font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; margin-left: 40px; font-weight: 700; color: var(--cini-l); text-decoration: none; }
.link .ic { width: 18px; height: 18px; }
/* Google's map sits under a çini lunette: the dome is tiled, so the embed's own top-left card is never clipped */
.contact__map {
  --dome-h: 64px; border-radius: var(--dome); overflow: hidden; display: flex; flex-direction: column;
  padding-top: var(--dome-h); min-height: calc(320px + var(--dome-h));
  background: var(--tile) center 4px / 48px, var(--paper); box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}
.contact__map iframe { flex: 1; width: 100%; min-height: 320px; border: 0; display: block; background: var(--char-d); border-top: 3px solid var(--cini); }
@media (min-width: 980px) {
  .contact__card { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .contact__map { --dome-h: 96px; min-height: 620px; }
}

/* ---------- footer ---------- */
.foot { color: var(--paper); }
.skyline { display: block; width: 100%; height: clamp(56px, 8vw, 120px); margin-bottom: -1px; }
.foot__body { background: var(--char); padding-block: 32px calc(28px + var(--dock)); } /* room for the phone dock inside the dark footer */
.foot__in { display: grid; gap: 30px; }
.foot__name { font: 620 clamp(1.9rem, 1.5rem + 2vw, 3rem)/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.02em; }
.foot__slogan { margin-top: 8px; color: var(--cini-l); font-style: italic; }
.foot__badge { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 15px; opacity: .95; }
.foot__badge .medal-sm { width: 54px; height: 54px; }
.foot__badge .medal-sm b { font-size: 17px; }
.foot__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 32px; align-content: start; }
.foot__nav a, .foot__contact a { text-decoration: none; font-weight: 500; min-height: 40px; display: flex; align-items: center; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--cini-l); }
.foot__contact { display: grid; gap: 0; align-content: start; }
.foot__contact span { opacity: .75; font-size: 15.5px; margin-top: 6px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14.5px; opacity: .75; }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(28,30,31,.96); color: var(--paper); overflow: hidden; }
.lb::backdrop { background: rgba(28,30,31,.6); }
.lb[open] { display: grid; place-items: center; }
.lb__fig { display: grid; justify-items: center; gap: 14px; padding: 72px 12px 64px; }
.lb__fig img { max-width: min(96vw, 1100px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 14px; }
.lb__fig figcaption { font-weight: 500; font-size: 16px; text-align: center; opacity: .9; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb__btn:hover { background: var(--cini-l); }
.lb__close { top: 14px; right: 14px; background: var(--cini-l); }
.lb__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb__next { right: 14px; top: 50%; translate: 0 -50%; }
.lb__count { position: absolute; left: 50%; top: 28px; translate: -50% 0; font: 700 15px/1 var(--body); letter-spacing: .12em; opacity: .8; }
@media (max-width: 640px) {
  .lb__prev, .lb__next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); translate: none; }
  .lb__fig { padding-bottom: 84px; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
