/* Dy Filxhanë - Harku. Olive night, warm stone, a little brass; the stone-house arch window. */

:root {
  --night: #1B2018;
  --night-2: #232A20;
  --night-deep: #12150F;
  --stone: #E8DFCF;
  --stone-dim: #B4AB97;
  --brass: #C9A66B;

  --display: 'Gloock', Georgia, serif;
  --sans: 'Albert Sans', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--stone);
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 4px; border-radius: 2px; }

/* ---------- nav ---------- */
.nav {
  position: absolute; z-index: 20; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 26px var(--gutter);
}
.nav-mark { font-family: var(--display); font-size: 20px; text-decoration: none; letter-spacing: .01em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a, .lang button, .lang span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.nav-links a { color: var(--stone); opacity: .85; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.lang { justify-self: end; display: flex; align-items: center; gap: 6px; color: var(--stone-dim); }
.lang button { background: none; border: 0; padding: 6px 2px; cursor: pointer; color: var(--stone-dim); }
.lang button[aria-pressed="true"] { color: var(--stone); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }

/* ---------- stage: finished state by default (no JS, reduced motion) ---------- */
.stage { position: relative; }
.stage-pin { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--night); }
.window { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.window-photo { width: 100%; height: 100%; object-fit: cover; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(18, 21, 15, .62), rgba(18, 21, 15, .2) 70%),
    linear-gradient(to bottom, rgba(18, 21, 15, .55), rgba(18, 21, 15, 0) 22%, rgba(18, 21, 15, 0) 55%, rgba(18, 21, 15, .85));
}
.stage-title {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -62%;
  text-align: center; padding: 0 var(--gutter);
}
.kicker {
  margin: 0 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--stone);
}
.kicker i { font-style: normal; color: var(--brass); margin: 0 .5em; }
.hero-name {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 9.4vw, 148px); line-height: .95; letter-spacing: -.012em;
  text-wrap: balance;
}
.stage-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(36px, 7svh, 72px);
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter);
}
.hero-tagline { margin: 0 0 16px; max-width: 36ch; font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.5; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; }
.is-closed .status-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--stone-dim); }
.photo-note {
  position: absolute; right: var(--gutter); bottom: 16px; margin: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--stone);
  opacity: .85;
}
.scroll-cue { display: none; }
.surround { display: none; }

/* ---------- motion: the arch opens as the page scrolls ---------- */
.motion .stage { height: 240svh; }
.motion .stage-pin { position: sticky; top: 0; }
.motion .window { clip-path: var(--clip, inset(0)); will-change: clip-path; }
.motion .window-photo { scale: var(--zoom, 1); will-change: scale; }
.motion .stage-shade { opacity: var(--shade, 1); }
.motion .surround {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible;
  opacity: var(--surround, 0);
}
.surround path { fill: none; stroke: var(--brass); stroke-width: 1; vector-effect: non-scaling-stroke; }
.motion .stage-title { translate: 0 var(--title-y, -62%); scale: var(--title-s, 1); }
.motion .stage-foot { opacity: var(--foot, 1); translate: 0 calc((1 - var(--foot, 1)) * 18px); }
.motion .stage-foot:not(.is-on) { pointer-events: none; visibility: hidden; }
.motion .photo-note { opacity: calc(.85 * var(--note, 1)); }
.motion .scroll-cue {
  display: block; position: absolute; left: 50%; bottom: 20px; translate: -50% 0; margin: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone-dim);
  opacity: var(--cue, 1);
}
.motion .scroll-cue { animation: breathe 3.2s var(--ease) infinite; }
@keyframes breathe { 50% { color: var(--stone); } }

/* load: the arch and the name arrive slowly */
.motion .window { animation: rise 1.6s var(--ease) both; }
.motion .stage-title { animation: fade 1.4s var(--ease) .35s both; }
@keyframes rise { from { opacity: 0; translate: 0 6%; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
  border-radius: 999px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background-color .35s, color .35s, border-color .35s;
}
.btn-solid { background: var(--stone); color: var(--night-deep); }
.btn-solid:hover { background: var(--brass); }
.btn-line { border: 1px solid rgba(232, 223, 207, .55); color: var(--stone); }
.btn-line:hover { border-color: var(--stone); background: rgba(232, 223, 207, .08); }

/* ---------- shared ---------- */
.label {
  margin: 0 0 36px; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass);
}
section:not(.stage) { padding-left: var(--gutter); padding-right: var(--gutter); }
section:not(.stage) > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ---------- intro ---------- */
.intro { padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(80px, 10vw, 140px); text-align: center; }
.intro-lead {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18;
  letter-spacing: -.005em; max-width: 24ch !important; margin-top: 0; margin-bottom: 48px; text-wrap: balance;
}
.amen { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.amen li { font-size: 15px; color: var(--stone-dim); display: inline-flex; align-items: center; gap: 10px; }
.amen li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }

/* ---------- arcade ---------- */
.arcade { padding-bottom: clamp(100px, 12vw, 170px); }
.arcade .label { text-align: center; }
.arches { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(16px, 2.6vw, 40px); align-items: end; }
.arch { margin: 0; }
.arch-frame { overflow: hidden; border-radius: 999px 999px 0 0; background: var(--night-2); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
.arch:hover .arch-frame img { scale: 1.04; }
.arch-a .arch-frame, .arch-c .arch-frame { aspect-ratio: 3 / 4.4; }
.arch-b .arch-frame { aspect-ratio: 3 / 4.8; }
.arch figcaption { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--stone-dim); text-align: center; }

/* ---------- hours ---------- */
.hours { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); background: var(--night-2); }
.hours > * { max-width: 760px !important; }
.hours-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px !important; }
.hours-head .label { margin: 0; }
.hours-now { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; }
.week { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.week li {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
  border-bottom: 1px solid rgba(232, 223, 207, .12);
}
.week .d { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.week .rule { flex: 1; border-bottom: 1px dotted rgba(232, 223, 207, .28); translate: 0 -6px; }
.week .t { font-family: var(--mono); font-size: 14px; letter-spacing: .04em; color: var(--stone-dim); font-variant-numeric: tabular-nums; }
.week li.is-today .d { color: var(--brass); }
.week li.is-today .t { color: var(--stone); }
.week li.is-today .d::after {
  content: attr(data-today); margin-left: 14px; vertical-align: 4px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
}

/* ---------- praise ---------- */
.praise { padding-top: clamp(100px, 12vw, 160px); padding-bottom: clamp(90px, 11vw, 150px); text-align: center; }
.praise-line { margin-top: 0; margin-bottom: 40px; }
.praise-num { display: block; font-family: var(--display); font-size: clamp(110px, 15vw, 210px); line-height: .9; }
.praise-text { display: block; margin-top: 14px; font-size: 18px; font-weight: 300; color: var(--stone-dim); }
.dist { list-style: none; padding: 0; max-width: 360px !important; margin-bottom: 40px; display: grid; gap: 9px; }
.dist li { display: grid; grid-template-columns: 12px 1fr 34px; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--stone-dim); }
.dist i { height: 1px; background: rgba(232, 223, 207, .18); position: relative; }
.dist i::after {
  content: ''; position: absolute; left: 0; top: -.5px; height: 2px; width: calc(var(--n) * 100%); min-width: 2px; background: var(--brass);
  transform-origin: left; transition: transform 1.6s var(--ease);
}
.js .praise:not(.is-seen) .dist i::after { transform: scaleX(0); }
.dist b { font-weight: 400; text-align: right; }
.text-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 7px;
}

/* ---------- visit ---------- */
.visit {
  padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: end;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.visit > * { margin: 0 !important; min-width: 0; }
.addr { font-style: normal; font-family: var(--display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; margin-bottom: 18px; }
.phone { margin: 0 0 34px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; }
.phone a { text-decoration: none; }
.phone a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }
.visit .actions { justify-content: flex-start; }
.map { aspect-ratio: 4 / 4.2; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--night-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) brightness(.92) contrast(1.05); }

/* ---------- footer ---------- */
.foot { padding: 70px var(--gutter) 56px; background: var(--night-deep); text-align: center; font-size: 13.5px; color: var(--stone-dim); }
.foot p { margin: 0 0 6px; }
.foot-mark { font-family: var(--display); font-size: 30px; color: var(--stone); margin-bottom: 22px !important; }

.dock { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .praise:not(.is-seen) .dist i::after { transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .nav { grid-template-columns: 1fr auto; padding-top: 20px; }
  .nav-links { display: none; }
  .hero-name { font-size: clamp(52px, 15vw, 96px); }
  .arches { grid-template-columns: 1fr 1fr; }
  .arch-b { grid-column: 1 / -1; grid-row: 1; width: 78%; justify-self: center; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .map { aspect-ratio: 4 / 4.4; }
  .photo-note { left: var(--gutter); right: auto; }
  .motion .scroll-cue { display: none; }
  .dock {
    position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(18, 21, 15, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 223, 207, .16); border-radius: 999px; padding: 5px;
    translate: 0 calc(100% + 24px); transition: translate .5s var(--ease);
  }
  .dock.is-shown { translate: 0 0; }
  .dock a {
    min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 999px;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  }
  .dock a:first-child { background: var(--stone); color: var(--night-deep); }
}
