/* The landing page. Colours come from mezaryolu.css, which every page loads; this file only lays the page out.
 * One container carries every edge: header, hero, sections and footer start on the same line. */
.landing{
  --gutter:24px;
  --ground:var(--sage-100);
  --cypress:#2F4B45;
  font-size:18px; line-height:1.6;
}
@media (min-width:56rem){ .landing{ --gutter:40px; } }

.landing .container{max-width:1120px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.landing a:focus-visible{outline:3px solid var(--teal-600);outline-offset:3px;border-radius:6px}

.sr-only,.landing .quiet{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0
}

/* Header */
.top{display:flex;align-items:center;justify-content:space-between;padding-top:24px;padding-bottom:24px}
.mark{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--stone-900);font-weight:650;font-size:19px;letter-spacing:-.01em}
.mark img{width:36px;height:36px}
.top nav{display:none;gap:32px}
.top nav a{color:var(--stone-700);text-decoration:none;font-size:16px}
.top nav a:hover{color:var(--teal-600)}
@media (min-width:40rem){ .top nav{display:flex} }

/* Hero */
.hero{display:grid;gap:48px;align-items:center;padding-top:24px;padding-bottom:88px}
@media (min-width:62rem){ .hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;padding-top:40px;padding-bottom:120px} }

.hero h1{
  font-size:clamp(40px,4.6vw,60px);line-height:1.06;font-weight:700;letter-spacing:-.03em;
  color:var(--stone-900);max-width:15ch;text-wrap:balance
}
.lead{font-size:clamp(19px,1.6vw,22px);color:var(--stone-700);margin-top:24px;max-width:34ch}

.stores{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.store{
  display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 20px;border-radius:999px;
  background:var(--stone-000);border:1px solid var(--stone-200);color:var(--stone-700);font-size:15.5px;font-weight:550
}
.store svg{width:18px;height:18px;fill:var(--stone-700)}

/* The walk: the map moves a little with the pointer, the phone answers the walk. */
.scene{position:relative;margin:0;max-width:640px}
@media (min-width:62rem){ .scene{max-width:none} }
.map-frame{border-radius:var(--r-large);overflow:hidden;background:var(--ground)}
.map{display:block;width:100%;height:auto;transform:scale(1.04);transition:transform .6s ease}
.ground{fill:var(--ground)}
.walks path{fill:none;stroke:var(--stone-000);stroke-width:22;stroke-linecap:round;stroke-linejoin:round}
.plots rect{fill:var(--stone-050);stroke:var(--stone-200);stroke-width:1.5}
.plots rect.target{fill:var(--teal-100);stroke:var(--teal-600);stroke-width:2}
.cypress circle{fill:var(--cypress)}
.cypress .landmark{fill:var(--sage-600)}
.fountain circle:first-child{fill:var(--stone-000);stroke:var(--stone-300);stroke-width:1.5}
.fountain circle:last-child{fill:#C9D6DE}
.gate rect{fill:var(--stone-600)}
.labels text{font:500 13px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;fill:var(--stone-600)}
.route{fill:none;stroke:var(--teal-600);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 9;opacity:.55}
.route-done{fill:none;stroke:var(--teal-600);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.pin path{fill:var(--teal-600)}
.pin circle{fill:var(--stone-000)}
.walker circle{fill:var(--teal-700);stroke:var(--stone-000);stroke-width:2.5}
.walker .halo{fill:var(--teal-600);stroke:none;opacity:.18;transform-box:fill-box;transform-origin:center;animation:breathe 2.4s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.5);opacity:.08}}

.phone{
  position:relative;width:min(264px,80%);margin:-32px auto 0;padding:20px 20px 22px;border-radius:var(--r-large);
  background:var(--stone-000);border:1px solid var(--stone-200);
  box-shadow:0 28px 56px -28px rgba(6,42,41,.42);transition:transform .6s ease
}
@media (min-width:62rem){ .phone{position:absolute;right:-24px;bottom:-112px;width:248px;margin:0} }
.phone-head{display:flex;flex-direction:column;align-items:center;gap:6px}
.phone-title{font-size:15px;font-weight:650;color:var(--stone-900)}
.offline{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:550;color:var(--stone-600);background:var(--stone-050);border-radius:999px;padding:4px 9px 4px 7px}
.offline svg{width:13px;height:13px;fill:none;stroke:var(--stone-600);stroke-width:1.6;stroke-linecap:round}
/* Arriving fades the compass out and the photo in after it; a new walk shows the compass at once. */
.guide,.arrival{text-align:center}
.guide{margin-top:10px}
.compass{width:118px;height:118px;display:block;margin:0 auto}
.compass .ring{fill:none;stroke:var(--stone-200);stroke-width:2}
.compass .ticks path{stroke:var(--stone-300);stroke-width:2;stroke-linecap:round}
.compass .needle path{fill:var(--teal-600)}
.distance{font-size:42px;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--stone-900);margin-top:10px;font-variant-numeric:tabular-nums}
.hint{font-size:14px;color:var(--stone-600);margin-top:6px}
.arrival{position:absolute;left:20px;right:20px;top:76px;opacity:0;pointer-events:none}
.photo{display:block;width:100%;height:auto;border-radius:var(--r-field)}
.photo .sky{fill:var(--teal-100)}
.photo .hill{fill:var(--sage-600)}
.photo .tree{fill:var(--cypress)}
.photo .stone{fill:var(--stone-000);stroke:var(--stone-200);stroke-width:1.5}
.note{font-size:15px;line-height:1.45;color:var(--stone-700);margin-top:12px}
.scene.arrived .guide{opacity:0;transition:opacity .25s ease}
.scene.arrived .arrival{opacity:1;transition:opacity .45s ease .2s}

/* Sections */
.landing main > section + section{padding-top:96px}
.landing h2{font-size:clamp(30px,3.2vw,40px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--stone-900)}

.problem blockquote{
  font-size:clamp(34px,4.6vw,58px);line-height:1.08;font-weight:650;letter-spacing:-.025em;
  color:var(--teal-600);max-width:17ch;text-wrap:balance
}
.columns{display:grid;gap:20px;margin-top:36px}
.columns p{color:var(--stone-700);max-width:46ch}
@media (min-width:50rem){ .columns{grid-template-columns:1fr 1fr;gap:56px} }

.feature-grid{display:grid;gap:48px;margin-top:44px}
@media (min-width:48rem){ .feature-grid{grid-template-columns:1fr 1fr;gap:56px 72px} }
.feature-grid svg{width:56px;height:56px;display:block}
.feature-grid h3{font-size:22px;font-weight:650;letter-spacing:-.01em;color:var(--stone-900);margin-top:18px}
.feature-grid p{color:var(--stone-700);margin-top:8px;max-width:42ch}
.feature-grid .line{fill:none;stroke:var(--teal-600);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.feature-grid .faint{stroke:var(--stone-300)}
.feature-grid .fill{fill:var(--teal-600)}
.feature-grid .soft{fill:var(--teal-100)}

.panel{border-radius:36px;padding:clamp(32px,5vw,64px)}
.privacy{background:var(--teal-600);color:var(--stone-000)}
.privacy h2{color:var(--stone-000);max-width:20ch;text-wrap:balance}
.panel-lead{font-size:19px;color:rgba(255,255,255,.8);margin-top:16px;max-width:52ch}
.levels{list-style:none;display:grid;gap:14px;margin-top:40px}
@media (min-width:54rem){ .levels{grid-template-columns:repeat(3,1fr)} }
.levels li{background:rgba(255,255,255,.08);border-radius:var(--r-card);padding:24px}
.levels li:first-child{background:var(--stone-000);color:var(--stone-900)}
.level-name{font-size:18px;font-weight:650}
.levels li p + p{font-size:16.5px;line-height:1.55;color:rgba(255,255,255,.76);margin-top:8px}
.levels li:first-child p + p{color:var(--stone-700)}
.never{margin-top:32px;font-size:17px;color:rgba(255,255,255,.88)}

.closing{background:var(--ground);display:grid;gap:28px;align-items:center}
@media (min-width:44rem){ .closing{grid-template-columns:auto 1fr;gap:48px} }
.closing img{width:132px;height:132px}
.closing p{font-size:19px;color:var(--stone-700);margin-top:10px}
.closing .stores{margin-top:28px}

/* Footer: links and the year, nothing else; its rule ends where the content does. */
.landing footer.bottom{margin-top:120px;border-top:0}
.bottom-inner{border-top:1px solid var(--stone-200);padding-top:28px;padding-bottom:44px;display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:center}
.bottom nav{display:flex;flex-wrap:wrap;gap:12px 28px}

@media (prefers-reduced-motion:reduce){
  .walker .halo{animation:none}
  .map,.phone,.scene.arrived .guide,.scene.arrived .arrival{transition:none}
}
