:root {
  --ink: #0d0d0f;
  --ink-soft: #52525b;
  --muted: #8f8f97;
  --bg: #fafafa;
  --bg-alt: #f1f1f3;
  --line: #e5e5e8;

  --accent: #ff3347;
  --accent-2: #c8102b;
  --on-accent: #ffffff;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 80px;
  --section-y: clamp(80px, 11vw, 160px);
  --radius-sm: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --logo-light: block;
  --logo-dark: none;
  --media-light: block;
  --media-dark: none;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #f4f4f6;
  --ink-soft: #a6a6ae;
  --muted: #6d6d76;
  --bg: #0a0a0c;
  --bg-alt: #131316;
  --line: #262629;

  --accent: #ff4a5c;
  --accent-2: #ff2d42;
  --on-accent: #0a0a0c;

  --logo-light: none;
  --logo-dark: block;
  --media-light: none;
  --media-dark: block;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

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

site-header, site-footer, site-hours, site-contacts { display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 em, h2 em { font-style: normal; color: var(--accent); }

p { margin: 0 0 1em; color: var(--ink-soft); }

::selection { background: var(--accent); color: var(--on-accent); }

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  position: relative;
  z-index: 2;
}

section { scroll-margin-top: var(--header-h); position: relative; z-index: 2; }

.section { padding-block: var(--section-y); }
.section + .section { padding-top: 0; }

.overline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}
.overline--accent { color: var(--accent); }

.index {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows > * { border-bottom: 1px solid var(--line); }

.is-pending { color: var(--muted); }

.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
}
.icon--arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.icon--diagonal { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow__index { color: var(--ink); font-variant-numeric: tabular-nums; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(40px, 6vw, 112px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 0; max-width: 14ch; }
.section-head__aside { justify-self: end; max-width: 420px; }
.section-head__aside p:last-child { margin-bottom: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }

[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
[data-split] .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
[data-split].is-visible .word > span { transform: none; }

.photo { margin: 0; position: relative; }
.photo__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background: var(--bg-alt);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease);
}
.photo.is-visible .photo__frame { clip-path: inset(0); }
.photo__media {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  scale: 1.12;
  transition: scale 1.6s var(--ease);
}
.photo.is-visible .photo__media { scale: 1; }
.photo__empty {
  inset: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)),
    var(--bg-alt);
}
.photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

@supports (animation-timeline: view()) {
  .photo--parallax .photo__media:not(.photo__empty) {
    animation: parallax linear both;
    animation-timeline: view();
  }
  @keyframes parallax {
    from { translate: 0 -6%; }
    to { translate: 0 6%; }
  }
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 1000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary::before { background: var(--accent-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--bg); }
.btn--ghost { color: var(--ink-soft); font-weight: 600; padding-inline: 4px; }
.btn--ghost::before { display: none; }
.btn--ghost:hover { color: var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 15px; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn .icon { font-size: 16px; transition: translate 0.4s var(--ease); }
.btn:hover .icon { translate: 3px 0; }

.logo { display: inline-flex; align-items: center; }
.logo__img { height: 52px; width: auto; }
.logo__img--light { display: var(--logo-light); }
.logo__img--dark { display: var(--logo-dark); }
.logo--footer .logo__img { height: 72px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-color: var(--line);
  height: 68px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 17px; height: 17px; transition: transform 0.6s var(--ease); }
.theme-toggle:hover svg { transform: rotate(45deg); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  padding: 0 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  margin-top: 24px;
  padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link-more .icon { font-size: 15px; color: var(--accent); transition: translate 0.4s var(--ease); }
.link-more:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-more:hover .icon { translate: 4px 0; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts > div { padding: 22px 0 26px; }
.facts > div:nth-child(odd) { padding-right: 24px; }
.facts > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.facts dd { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }

.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 14.5px; }
.hours dt { color: var(--ink); font-weight: 500; }
.hours dd { margin: 0; color: var(--ink-soft); text-align: right; }

.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease), padding 0.5s var(--ease);
}
.contact-list small { color: inherit; opacity: 0.6; }
.contact-list .icon { font-size: 18px; color: var(--accent); transition: translate 0.4s var(--ease); }
.contact-list a:hover { color: var(--accent); padding-left: 10px; }
.contact-list a:hover .icon { translate: 3px -3px; }

.cities a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 8px 24px;
  align-items: center;
  padding: clamp(18px, 2.4vw, 30px) 0;
  position: relative;
  isolation: isolate;
}
.cities a::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * clamp(20px, 4vw, 64px));
  z-index: -1;
  background: var(--bg-alt);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.cities__name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  transition: translate 0.6s var(--ease), color 0.4s var(--ease);
}
.cities__meta { font-size: 14px; color: var(--ink-soft); text-align: right; }
.cities .icon { font-size: 26px; color: var(--accent); opacity: 0; translate: -10px 0; transition: opacity 0.4s var(--ease), translate 0.5s var(--ease); }
.cities a:hover::before { transform: scaleY(1); }
.cities a:hover .cities__name { translate: 12px 0; }
.cities a:hover .icon { opacity: 1; translate: 0 0; }

.post {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0;
}
.post .index { padding-top: 0.7em; }
.post h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.025em; margin: 10px 0 8px; transition: translate 0.6s var(--ease); }
.post p { margin: 0 0 8px; font-size: 15px; max-width: 640px; }
.post__source { display: block; }
.post:hover h3 { translate: 8px 0; }
.post:hover .index { color: var(--accent); }

.cta { background: var(--ink); color: var(--bg); padding-block: var(--section-y); }
.cta ::selection { background: var(--accent); color: var(--on-accent); }
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px clamp(40px, 7vw, 128px);
  align-items: end;
}
.cta h2 { color: var(--bg); font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 13ch; margin-bottom: clamp(32px, 4vw, 56px); }
.cta .eyebrow { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.cta .eyebrow__index { color: var(--bg); }
.cta .hours { border-top-color: var(--bg); max-width: 520px; }
.cta .hours > div { border-bottom-color: color-mix(in srgb, var(--bg) 18%, transparent); }
.cta .hours dt { color: var(--bg); }
.cta .hours dd { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.cta__aside h3 { color: var(--bg); font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; }
.cta__aside p { color: color-mix(in srgb, var(--bg) 65%, transparent); max-width: 420px; }
.cta__aside .link-more { color: var(--bg); }

.site-footer { background: var(--bg); border-top: 1px solid var(--ink); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 64px; }
.site-footer__brand { display: flex; align-items: center; justify-content: center; }
.site-footer__heading { margin-bottom: 18px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer__links a { font-size: 14.5px; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.site-footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer__social svg { width: 16px; height: 16px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.site-footer__bottom p { margin: 0; font-size: 13px; color: var(--muted); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
  z-index: 800;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--ink); color: var(--bg); }
.back-to-top svg { width: 18px; height: 18px; }

.nearby {
  position: fixed;
  left: 22px; right: 22px; bottom: 22px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: wrap;
  z-index: 950;
  transform: translateY(160%);
  transition: transform 0.6s var(--ease);
}
.nearby.is-visible { transform: translateY(0); }
.nearby p { margin: 0; font-size: 14px; flex: 1 1 260px; color: var(--ink); }
.nearby small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.nearby__actions { display: flex; flex-wrap: wrap; gap: 8px; }

button.link-more { border: 0; padding: 0 0 4px; font-family: inherit; cursor: pointer; }

@media (max-width: 960px) {
  .nav { display: none; }
  .site-header__actions .btn--ghost { display: none; }
  .nav-toggle { display: flex; }

  .site-header.is-menu-open { background: var(--bg); border-color: var(--line); }
  .site-header.is-menu-open .nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100dvh - 100%);
    background: var(--bg);
    padding: 32px clamp(20px, 4vw, 64px);
    overflow-y: auto;
  }
  .site-header.is-menu-open .nav__list { flex-direction: column; gap: 0; }
  .site-header.is-menu-open .nav__link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    animation: menu-in 0.6s var(--ease) both;
  }
  .site-header.is-menu-open .nav__list li:nth-child(2) .nav__link { animation-delay: 0.05s; }
  .site-header.is-menu-open .nav__list li:nth-child(3) .nav__link { animation-delay: 0.1s; }
  .site-header.is-menu-open .nav__list li:nth-child(4) .nav__link { animation-delay: 0.15s; }
  .site-header.is-menu-open .nav__list li:nth-child(5) .nav__link { animation-delay: 0.2s; }
  .site-header.is-menu-open .nav__link::after { display: none; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__brand { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__aside { justify-self: start; }
  .cta__inner { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; }
  .post time { padding-top: 0; }
  .cities a { grid-template-columns: minmax(0, 1fr) 24px; }
  .cities__meta { grid-column: 1; grid-row: 2; text-align: left; }
  .cities .icon { grid-column: 2; grid-row: 1; opacity: 1; translate: 0 0; }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .site-header__actions .btn--primary { display: none; }
  .facts > div:nth-child(odd) { padding-right: 14px; }
  .facts > div:nth-child(even) { padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal], [data-split] .word > span { opacity: 1; transform: none; }
  .photo__frame { clip-path: none; }
  .photo__media { scale: 1; translate: none; }
}
