/* Open Presto Lock & Key — High Street shop window / tram-red newsprint
   Distinct from Stone Rd, Mordi, Ringy, Adel Grote */

:root {
  --ink: #121212;
  --paper: #f6f1e8;
  --paper-deep: #ebe4d6;
  --tram: #c4122f;
  --tram-hot: #e01b3a;
  --mute: #4a453c;
  --line: rgba(18, 18, 18, 0.14);
  --display: "Bebas Neue", sans-serif;
  --body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --frame: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
  background: var(--tram);
  color: #fff;
  padding: 0.7rem 1rem;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--tram);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }

/* Shop-window chrome */
.window {
  margin: var(--frame);
  background: var(--paper);
  min-height: calc(100svh - var(--frame) * 2);
  border: 3px solid #fff;
  outline: 3px solid var(--tram);
}

/* Masthead — newspaper, not a floating pill / rail / dock */
.mast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem 0.7rem;
  border-bottom: 4px solid var(--ink);
}

.mast__mark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.mast__place {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.mast__call {
  justify-self: end;
  text-decoration: none;
  background: var(--tram);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
}

.mast__call:hover {
  background: var(--tram-hot);
}

/* Hero: photo ON TOP, poster type BELOW */
.hero__shot {
  margin: 0;
}

.hero__shot img {
  width: 100%;
  height: clamp(220px, 46vh, 460px);
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.05) saturate(0.9);
}

.hero__poster {
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.15rem, 4vw, 2.5rem) 2.4rem;
  display: grid;
  gap: 0.85rem;
}

.hero__nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__nav a {
  text-decoration: none;
  border-bottom: 2px solid var(--tram);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 12vw, 8.2rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
}

.hero__lede {
  margin: 0;
  max-width: 40ch;
  color: var(--mute);
  font-size: 1.08rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  background: var(--tram);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--tram-hot);
}

.ghost {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

.ghost:hover {
  color: var(--tram);
  border-color: var(--tram);
}

/* About: broken 3-cell grid + red ticket */
.about {
  border-top: 4px solid var(--ink);
  background: var(--paper-deep);
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.15rem, 4vw, 2.5rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "photo copy"
    "ticket copy";
  gap: 1.25rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.about__photo { grid-area: photo; margin: 0; }
.about__copy { grid-area: copy; }
.ticket { grid-area: ticket; }

.about__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  outline: 3px solid var(--ink);
  outline-offset: 6px;
}

.about__title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
}

.about__text {
  margin: 0;
  max-width: 38ch;
  color: var(--mute);
}

.ticket {
  background: var(--tram);
  color: #fff;
  padding: 1.1rem 1.15rem 1.2rem;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 84% 88%, 76% 100%, 68% 88%, 60% 100%, 52% 88%, 44% 100%, 36% 88%, 28% 100%, 20% 88%, 12% 100%, 4% 88%, 0 100%);
}

.ticket__label {
  margin: 0 0 0.25rem;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.ticket__addr {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 0.95;
}

.ticket__sub {
  margin: 0.2rem 0 0.85rem;
  font-weight: 700;
}

.ticket ul {
  list-style: none;
  margin: 0;
  padding: 0.7rem 0 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  display: grid;
  gap: 0.3rem;
}

.ticket a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.ticket a:hover {
  border-bottom-color: #fff;
}

/* Services: shop shelves — square left, copy right, same side every row */
.services {
  border-top: 4px solid var(--ink);
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.15rem, 4vw, 2.5rem) 2.8rem;
}

.services__head {
  max-width: 1080px;
  margin: 0 auto 1.5rem;
}

.services__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
}

.shelves {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  display: grid;
  gap: 0;
}

.shelf {
  display: grid;
  grid-template-columns: 3.2rem minmax(140px, 220px) 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 2px solid var(--ink);
  position: relative;
}

.shelf:last-child {
  border-bottom: 2px solid var(--ink);
}

.shelf__stamp {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--tram);
}

.shelf img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shelf h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.shelf p {
  margin: 0 0 0.55rem;
  color: var(--mute);
  max-width: 42ch;
}

.shelf a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--tram);
}

.shelf a:hover {
  color: var(--tram);
}

.colophon {
  border-top: 4px solid var(--ink);
  padding: 1.2rem 1.15rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.colophon strong {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.colophon div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.colophon a {
  text-decoration: none;
  border-bottom: 1px solid var(--tram);
}

.colophon a:hover {
  color: var(--tram);
}

@media (max-width: 820px) {
  .mast {
    grid-template-columns: 1fr auto;
  }

  .mast__place {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo"
      "ticket";
  }

  .about__photo {
    max-width: 320px;
  }

  .shelf {
    grid-template-columns: 2.4rem 1fr;
    grid-template-areas:
      "stamp title"
      "img img";
  }

  .shelf__stamp { grid-area: stamp; }
  .shelf div { grid-area: title; }
  .shelf img {
    grid-area: img;
    max-width: 220px;
  }
}

@media (max-width: 540px) {
  :root { --frame: 6px; }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
