/* Key and Lock Services. Colours are tokens on :root. Dark mode is not used: the shop sign
   is red on cream and the page stays that way. */

:root {
  --cream: #F5F1EA;
  --paper: #FFFFFF;
  --sand: #EAE2D5;
  --ink: #17181B;
  --ink-soft: #3B3E45;
  --red: #E30613;
  --red-deep: #A50D12;
  --line: rgba(23, 24, 27, 0.14);
  --rail: #E4D9C9;
  --cream-on-ink: #F5F1EA;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --head-h: 76px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red-deep);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
}
.skip:focus { top: 12px; }

.kicker {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.kicker-light { color: #F2B8B5; }

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  min-height: var(--head-h);
  padding: 8px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand { display: block; flex: none; }
.brand img {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
}
@media (min-width: 1020px) {
  .brand img { height: 56px; }
}

.nav {
  display: flex;
  order: 3;
  flex: 1 0 100%;
  gap: 4px 20px;
  margin: 0;
  padding: 6px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
}
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; }
.nav a {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--red); }

.call-pill {
  margin-left: auto;
  padding: 10px 14px;
  background: var(--red-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}
.call-pill:hover { background: var(--ink); }

.brand { margin-right: auto; }

@media (min-width: 1020px) {
  .site-head { flex-wrap: nowrap; height: var(--head-h); min-height: 0; padding: 0 var(--gutter); }
  .nav { order: 0; flex: 0 1 auto; margin-left: auto; padding: 0; border-top: 0; overflow: visible; }
  .call-pill { margin-left: 0; }
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

main section[id] { scroll-margin-top: var(--head-h); }

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-red { background: var(--red-deep); color: #fff; }
.btn-red:hover { background: var(--ink); }
.btn-line { border-color: currentColor; background: transparent; color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 40%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(23, 24, 27, 0.92) 0%, rgba(23, 24, 27, 0.55) 45%, rgba(23, 24, 27, 0.15) 100%),
    linear-gradient(90deg, rgba(23, 24, 27, 0.55) 0%, rgba(23, 24, 27, 0) 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 96px;
}

.hero .eyebrow {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFD7D3;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  text-transform: none;
}

.hero .lede {
  max-width: 36ch;
  margin-top: 20px;
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  color: #F2EEE7;
}

.hero-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 1;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--cream);
  text-decoration: none;
  display: none;
}
.hero-cue::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 36px;
  margin-left: 12px;
  background: currentColor;
}

@media (min-width: 768px) {
  .hero-cue { display: block; }
  .hero-copy { padding-bottom: 120px; }
}

/* ---------- Sign strip ---------- */

.sign-strip {
  overflow: hidden;
  background: var(--red-deep);
  color: #fff;
  padding: 18px 0;
  white-space: nowrap;
}
.sign-track {
  display: flex;
  width: max-content;
  animation: sign-loop 38s linear infinite;
}
.sign-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-right: 48px;
  line-height: 1;
}
.sign-track span::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 48px;
  background: var(--cream);
  border-radius: 50%;
}
@keyframes sign-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Intro ---------- */

.intro { padding: 88px 0 72px; }

.intro-grid {
  display: grid;
  gap: 36px;
}
.intro-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
}
.intro-body p { color: var(--ink-soft); font-size: 1.1rem; }

.facts {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 2px solid var(--ink);
}
.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-deep);
  font-size: 0.95rem;
  padding-top: 2px;
}
.facts dd { margin: 0; font-weight: 500; }

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
  .intro-body { padding-top: 10px; }
}

/* ---------- Services: the key shaft ---------- */

.services {
  padding: 88px 0 96px;
  background: var(--sand);
}

.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
  max-width: 18ch;
}

.shaft {
  position: relative;
  padding-left: 64px;
}

/* The shaft: a red bar that fills as you scroll, like a key being cut. */
.shaft-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 16px;
  width: 8px;
  background: #D8CBB8;
  border-radius: 4px;
  overflow: hidden;
}
.shaft-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--fill, 0%);
  background: var(--red);
}

.cut-group { padding: 26px 0 8px; }
.cut-group:first-child { padding-top: 0; }

.cut-group h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.cut-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cut {
  position: relative;
  padding: 16px 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 1px solid rgba(23, 24, 27, 0.12);
}

/* The notch: a key tooth that turns red when its service reaches the middle of the screen. */
.notch {
  position: absolute;
  left: -48px;
  top: 50%;
  width: 26px;
  height: 10px;
  margin-top: -5px;
  background: #CDBFAA;
  transition: background-color 0.5s ease, transform 0.5s ease;
}
.cut.in .notch {
  background: var(--red);
  transform: translateX(0);
}

@media (min-width: 900px) {
  .shaft { padding-left: 72px; }
  .shaft-line { left: 20px; }
  .notch { left: -52px; }
  .cut-group {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
  }
  .cut-group h3 { margin: 0; padding-top: 14px; }
  .cut-group:first-child { padding-top: 0; }
}

/* ---------- Awards ---------- */

.awards {
  padding: 96px 0;
  background: var(--ink);
  color: var(--cream-on-ink);
}
.awards-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.awards h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  text-transform: none;
  margin-bottom: 20px;
}
.awards p { color: #E6E1D8; font-size: 1.1rem; max-width: 52ch; }

.badge {
  position: relative;
  justify-self: start;
  width: min(300px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: var(--red-deep);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px var(--red-deep), inset 0 0 0 12px rgba(255, 255, 255, 0.35);
  padding: 24px;
}
.badge span { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; }
.badge-top { font-size: 2.1rem; }
.badge-mid { font-size: 1.35rem; margin: 6px 0; letter-spacing: 0.04em; }
.badge-bot { font-size: 1.1rem; letter-spacing: 0.08em; }

@media (min-width: 900px) {
  .awards-grid { grid-template-columns: 1.25fr 0.75fr; gap: 72px; }
  .badge { justify-self: end; }
}

/* ---------- Gallery ---------- */

.gallery { padding: 96px 0; }

.tiles {
  display: grid;
  gap: 14px;
}
.tile {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.tile:hover img { transform: scale(1.04); }

@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(12, 1fr); }
  .tile-a { grid-column: span 7; }
  .tile-b { grid-column: span 5; }
  .tile-c { grid-column: span 5; }
  .tile-d { grid-column: span 7; }
}

/* ---------- Reviews ---------- */

.reviews {
  padding: 88px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.reviews-grid { display: grid; gap: 40px; }
.reviews h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
}
.rating {
  margin-top: 18px;
  font-weight: 600;
  color: var(--ink-soft);
}

.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  border-left: 8px solid var(--red);
  padding-left: 24px;
}
.quote figcaption {
  margin-top: 22px;
  padding-left: 32px;
  display: grid;
  gap: 4px;
}
.quote .who { font-weight: 700; font-size: 1.1rem; }
.quote .where { color: var(--ink-soft); }
.quote .translation { color: var(--ink-soft); font-style: italic; }

@media (min-width: 900px) {
  .reviews-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
}

/* ---------- Visit ---------- */

.visit { padding: 96px 0; background: var(--sand); }
.visit-grid { display: grid; gap: 40px; }
.visit h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
  margin-bottom: 22px;
}
.visit address {
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 26px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.hours caption {
  text-align: left;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-deep);
  padding-bottom: 8px;
}
.hours th, .hours td {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  font-size: 1.05rem;
}
.hours th { font-weight: 600; width: 60%; }
.hours td { font-weight: 500; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }

.after { margin-top: 18px; font-weight: 600; }

.map {
  min-height: 380px;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: saturate(0.85);
}

@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: stretch; }
  .map { min-height: 520px; }
  .map iframe { min-height: 520px; }
}

/* ---------- Quote form ---------- */

.quote-sec { padding: 96px 0; background: var(--cream); border-top: 1px solid var(--line); }
.quote-grid { display: grid; gap: 40px; }
.quote-sec h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
  margin-bottom: 18px;
}
.quote-sec p { color: var(--ink-soft); font-size: 1.1rem; }

.quote-form {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 28px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-weight: 600;
  font-size: 1rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 0;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.quote-form .btn { width: 100%; }
.form-note { margin: 0; font-weight: 600; color: var(--red-deep); min-height: 1.6em; }

@media (min-width: 900px) {
  .quote-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .quote-form .btn { width: auto; justify-self: start; }
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--cream-on-ink);
  padding: 64px 0 0;
  font-size: 1rem;
}
.foot-grid { display: grid; gap: 36px; }
.foot-name {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}
.site-foot a { color: var(--cream-on-ink); }
.foot-links { display: grid; gap: 10px; }
.foot-label {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #F2B8B5;
  margin-bottom: 4px;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(245, 241, 234, 0.2);
  font-size: 0.95rem;
  color: #D9D3C8;
}
.foot-base p { margin: 0; }

@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}

/* ---------- Reveal and motion ---------- */

html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sign-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .notch, .btn, .tile img { transition: none; }
  .hero-media img { transform: none !important; }
}

/* ---------- 404 page ---------- */

.notfound { padding: 140px 0 120px; }
.notfound h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  text-transform: none;
  max-width: 16ch;
  margin-bottom: 20px;
}
.notfound p { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.btn-dark { color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--cream); }
