/* Jeremy Freedman Photographic Ltd
   Darkroom palette and contact-sheet details, drawn with CSS only. */

:root {
  --ink: #13110f;
  --film: #0c0b0a;
  --paper: #f4efe6;
  --paper-2: #ebe4d8;
  --text: #1d1a16;
  --muted: #5d564d;
  --line: #d3c9b9;
  --red: #b3261e;
  --red-dark: #8f1d17;
  --red-light: #f0806a;
  --pencil: #e0452f;
  --amber: #e2a54b;
  --on-dark: #f4efe6;
  --on-dark-muted: #bfb6a8;
  --rule-dark: rgba(244, 239, 230, 0.12);
  --focus: var(--red);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 72px;
  --sprockets: repeating-linear-gradient(90deg, transparent 0 11px, rgba(244, 239, 230, 0.8) 11px 19px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

::selection {
  color: #fff;
  background: var(--red);
}

.on-dark {
  --focus: var(--red-light);
  color: var(--on-dark);
  background-color: var(--ink);
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border-radius: 3px;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.on-dark .eyebrow {
  color: var(--amber);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--on-dark);
  border-color: rgba(244, 239, 230, 0.45);
}

.btn-ghost:hover {
  border-color: var(--on-dark);
  background: rgba(244, 239, 230, 0.07);
}

.text-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(244, 239, 230, 0.4);
  text-underline-offset: 0.4em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.text-link::after {
  content: "\2192";
  content: "\2192" / "";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--red-light);
  text-decoration-color: currentColor;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.text-link--light {
  color: var(--red);
  text-decoration-color: rgba(179, 38, 30, 0.45);
}

.text-link--light:hover {
  color: var(--red-dark);
}

/* Header */

.site-header {
  --focus: var(--red-light);
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--on-dark);
  background: rgba(19, 17, 15, 0.97);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header {
    background: rgba(19, 17, 15, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  padding-block: 0.6rem;
  line-height: 1;
  color: var(--on-dark);
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.005em;
}

.brand-sub {
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav a:hover {
  border-bottom-color: var(--amber);
}

.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--on-dark);
  border: 1px solid rgba(244, 239, 230, 0.35);
  border-radius: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-call:hover {
  color: var(--red-light);
  border-color: var(--red-light);
}

/* A small red "ready" light before the label */
.header-call-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  vertical-align: 0.08em;
  background: var(--red-light);
  border-radius: 50%;
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 80% 45%, rgba(226, 165, 75, 0.15), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(240, 128, 106, 0.09), transparent 70%),
    var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 6.6vw, 5.4rem);
}

.hero h1 em {
  color: var(--red-light);
}

.lead {
  max-width: 46ch;
  margin-bottom: 2.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero contact sheet: paper print, black film strips, sprocket holes */

.hero-visual {
  position: relative;
  padding: 1.5rem 0.75rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 5% 3% 9%;
  background: #d6ccbc;
  border-radius: 2px;
  transform: rotate(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.sheet {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px 14px 36px;
  background: var(--paper);
  border-radius: 2px;
  transform: rotate(-2.5deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.sheet-label {
  position: absolute;
  left: 16px;
  bottom: 11px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 30px 12px 24px;
  background:
    var(--sprockets) left 0 top 7px / 100% 8px no-repeat,
    var(--sprockets) left 0 bottom 7px / 100% 8px no-repeat,
    var(--film);
}

.frame {
  position: relative;
}

.frame-no {
  position: absolute;
  top: -15px;
  left: 1px;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.frame-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1.4rem 0.55rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* Vignette over each frame */
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Grease-pencil circle around the chosen frame */
.frame--pick::before {
  content: "";
  position: absolute;
  inset: -12px -11px -10px -12px;
  z-index: 2;
  border: 3px solid var(--pencil);
  border-radius: 48% 52% 46% 54% / 55% 47% 53% 45%;
  transform: rotate(-4deg);
  pointer-events: none;
}

.scene {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 1px;
  background: #2e2924;
}

.scene::before,
.scene::after {
  content: "";
  position: absolute;
}

/* East End boxing hall: overhead light, ropes, corner posts, crowd */
.scene--ring {
  background:
    conic-gradient(from 166deg at 50% -12%, transparent 0deg, rgba(250, 240, 222, 0.2) 9deg, rgba(250, 240, 222, 0.12) 19deg, transparent 28deg),
    radial-gradient(55% 30% at 50% 80%, rgba(250, 240, 222, 0.5), transparent 72%),
    linear-gradient(to bottom, transparent 0 47%, rgba(232, 222, 205, 0.8) 47% 48.6%, transparent 48.6% 56%, rgba(232, 222, 205, 0.65) 56% 57.6%, transparent 57.6% 65%, rgba(232, 222, 205, 0.5) 65% 66.6%, transparent 66.6%),
    linear-gradient(to bottom, #0e0c0a 0 68%, #4a423a 68% 72%, #2a2520 72% 100%);
}

.scene--ring::before {
  inset: 40% 0 28%;
  background: linear-gradient(90deg, transparent 9%, #8d8172 9% 11.5%, transparent 11.5% 88.5%, #8d8172 88.5% 91%, transparent 91%);
}

.scene--ring::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 24%;
  background:
    linear-gradient(#0b0a09, #0b0a09) 0 100% / 100% 35% no-repeat,
    radial-gradient(46% 70% at 50% 100%, #0b0a09 97%, transparent 100%) 0 100% / 9% 100% repeat-x;
}

/* Imperial palace: dome, towers and arcade against a pale sky */
.scene--palace {
  background:
    linear-gradient(90deg, transparent 49.3%, #4a423a 49.3% 50.7%, transparent 50.7%) 0 18% / 100% 14% no-repeat,
    radial-gradient(3.4% 5% at 12% 38%, #6e6356 97%, transparent 100%),
    radial-gradient(3.4% 5% at 88% 38%, #6e6356 97%, transparent 100%),
    linear-gradient(90deg, transparent 0 9%, #6e6356 9% 15%, transparent 15% 85%, #6e6356 85% 91%, transparent 91%) 0 100% / 100% 62% no-repeat,
    linear-gradient(to bottom, #d9cdb9, #b3a690 72%);
}

.scene--palace::before {
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background:
    linear-gradient(#cbbfa9, #cbbfa9) 0 0 / 100% 7% no-repeat,
    radial-gradient(25% 20% at 50% 42%, #2e2924 97%, transparent 100%) 0 0 / 12.5% 100% repeat-x,
    linear-gradient(90deg, transparent 0 25%, #2e2924 25% 75%, transparent 75%) 0 100% / 12.5% 58% repeat-x,
    linear-gradient(#8a7e6e, #6e6356);
}

.scene--palace::after {
  bottom: 40%;
  left: 34%;
  width: 32%;
  height: 30%;
  background: linear-gradient(90deg, #5f554a, #a2957f 42%, #6e6356);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Flower market: striped awning over buckets of blooms */
.scene--market {
  background:
    radial-gradient(circle at 14% 72%, #efe6d6 0 6%, transparent 6.6%),
    radial-gradient(circle at 26% 64%, #b9ad9a 0 7%, transparent 7.6%),
    radial-gradient(circle at 37% 76%, #e3d8c6 0 6.5%, transparent 7.1%),
    radial-gradient(circle at 50% 66%, #9c907e 0 7.5%, transparent 8.1%),
    radial-gradient(circle at 62% 74%, #f2eadc 0 6%, transparent 6.6%),
    radial-gradient(circle at 74% 64%, #c7bba8 0 7%, transparent 7.6%),
    radial-gradient(circle at 86% 74%, #a89c89 0 6.5%, transparent 7.1%),
    linear-gradient(to bottom, transparent 0 80%, #2b2621 80%),
    linear-gradient(to bottom, #3d3630, #1f1b17);
}

.scene--market::before {
  top: 0;
  right: 0;
  left: 0;
  height: 34%;
  background: repeating-linear-gradient(90deg, #ece3d3 0 10%, #8c806f 10% 20%);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat,
    radial-gradient(50% 100% at 50% 0, #000 96%, transparent 100%) bottom / 10% 9px repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat,
    radial-gradient(50% 100% at 50% 0, #000 96%, transparent 100%) bottom / 10% 9px repeat-x;
}

.scene--market::after {
  top: 34%;
  right: 0;
  left: 0;
  height: 14%;
  background: linear-gradient(rgba(0, 0, 0, 0.35), transparent);
}

/* Mountain tops: snow-capped ridges and a low sun */
.scene--peaks {
  background:
    radial-gradient(circle at 70% 30%, #fbf6ec 0 5%, rgba(251, 246, 236, 0.35) 5.5% 10%, transparent 15%),
    linear-gradient(to bottom, #e2d9ca, #b4a895 75%);
}

.scene--peaks::before {
  inset: 0;
  background: linear-gradient(to bottom, #f1ebdf 0 47%, #84796b 47%);
  clip-path: polygon(0 80%, 16% 56%, 27% 64%, 46% 33%, 58% 52%, 70% 44%, 84% 58%, 100% 50%, 100% 100%, 0 100%);
}

.scene--peaks::after {
  inset: 0;
  background: linear-gradient(to bottom, #4a423a, #1e1a16);
  clip-path: polygon(0 86%, 20% 68%, 34% 78%, 52% 60%, 62% 67%, 78% 56%, 100% 78%, 100% 100%, 0 100%);
}

/* Featured-by band, styled as a strip of film */

.featured {
  padding-block: 2.6rem;
  color: var(--on-dark);
  background:
    var(--sprockets) left 0 top 9px / 100% 8px no-repeat,
    var(--sprockets) left 0 bottom 9px / 100% 8px no-repeat,
    var(--film);
}

.featured-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2.25rem;
}

.featured-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.featured-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.3;
  white-space: nowrap;
}

.featured-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* Sections */

.section {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: 3.75rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.section-head > p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}

/* Commissions: a contact sheet of six frames */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot {
  position: relative;
  display: flex;
  padding: 30px 12px;
  color: var(--on-dark);
  background:
    var(--sprockets) left 0 top 7px / 100% 8px no-repeat,
    var(--sprockets) left 0 bottom 7px / 100% 8px no-repeat,
    var(--film);
  border-radius: 2px;
  box-shadow: 0 22px 40px -26px rgba(19, 17, 15, 0.7);
}

.shot-no {
  position: absolute;
  top: 17px;
  left: 2.25rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.shot-inner {
  position: relative;
  flex: 1;
  padding: 1.9rem 1.6rem 1.7rem;
  background: linear-gradient(155deg, #2b2622, #1a1714 70%);
  border-radius: 2px;
}

/* Viewfinder corner marks */
.shot-inner::before,
.shot-inner::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid rgba(226, 165, 75, 0.6);
}

.shot-inner::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.shot-inner::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 1px 1px 0;
}

.shot h3 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  line-height: 1.1;
}

.shot p {
  margin: 0;
  font-size: 1rem;
  color: var(--on-dark-muted);
}

.shot .shot-tag {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
}

/* Grease-pencil select marks on the specialisms */
.shot--pick::after {
  content: "";
  position: absolute;
  inset: -14px -13px -12px -14px;
  border: 3px solid var(--pencil);
  border-radius: 30% 34% 32% 36% / 34% 30% 38% 32%;
  transform: rotate(-1.2deg);
  opacity: 0.92;
  pointer-events: none;
}

.shot--pick + .shot--pick::after {
  border-radius: 34% 30% 36% 32% / 30% 36% 32% 38%;
  transform: rotate(1deg);
}

/* About */

.about {
  background: var(--paper-2);
}

.statement {
  max-width: 21ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  line-height: 1.04;
}

.statement em {
  color: var(--red);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.about-copy p {
  max-width: 60ch;
}

.about-copy .about-lede {
  font-size: 1.25rem;
  line-height: 1.55;
}

.about-copy .text-link {
  margin-top: 0.5rem;
}

.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 2.5rem 0.5rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: var(--red);
  border: 2px solid currentColor;
  border-radius: 3px;
  outline: 1px solid currentColor;
  outline-offset: 4px;
  transform: rotate(-3deg);
  opacity: 0.9;
}

.stamp strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: none;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  padding-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

/* Contact */

.contact {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(226, 165, 75, 0.12), transparent 65%),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.contact-copy > p:not([class]) {
  max-width: 44ch;
  color: var(--on-dark-muted);
}

.phone-label {
  margin: 2rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.phone-big {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding-bottom: 0.3rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 3.9rem);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid rgba(244, 239, 230, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.phone-big:hover {
  color: var(--red-light);
  border-bottom-color: currentColor;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--rule-dark);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-dark);
}

.contact-list dt {
  padding-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-list dd {
  margin: 0;
}

.contact-list address {
  font-style: normal;
}

.contact-list a,
.site-footer a {
  color: var(--on-dark);
  transition: color 0.2s ease;
}

.contact-list a:hover,
.site-footer a:hover {
  color: var(--red-light);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The map, mounted like a print */
.map-print {
  margin: 0;
  padding: 12px 12px 0;
  background: var(--paper);
  border-radius: 2px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
}

.map-print iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 500px);
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.map-print figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0.2rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */

.site-footer {
  --focus: var(--red-light);
  padding-block: 3.5rem 2.25rem;
  font-size: 0.95rem;
  color: var(--on-dark);
  background: var(--film);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
}

.footer-brand p {
  margin: 0;
}

.footer-brand .brand-name {
  font-size: 1.9rem;
  line-height: 1;
}

.footer-brand .brand-sub {
  margin-top: 0.45rem;
}

.footer-brand .footer-tag {
  margin-top: 1rem;
  color: var(--on-dark-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal {
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

.footer-legal p {
  max-width: 95ch;
  margin: 0 0 0.5rem;
}

/* Motion: the hero frames "develop" like a print in the tray */

@media (prefers-reduced-motion: no-preference) {
  .scene {
    animation: develop 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .scene--palace {
    animation-delay: 0.25s;
  }

  .scene--market {
    animation-delay: 0.5s;
  }

  .scene--peaks {
    animation-delay: 0.75s;
  }

  .frame--pick::before {
    animation: mark 0.5s ease-out 2.4s both;
  }
}

@keyframes develop {
  from {
    filter: brightness(2.4) contrast(0.35);
    opacity: 0.8;
  }

  to {
    filter: none;
    opacity: 1;
  }
}

@keyframes mark {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(1.12);
  }

  to {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}

/* Responsive */

@media (max-width: 1040px) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    align-items: start;
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 0.75rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .header-call-number {
    display: none;
  }

  .js .header-call {
    order: 2;
  }

  .js .nav-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--on-dark);
    background: transparent;
    border: 1px solid rgba(244, 239, 230, 0.25);
    border-radius: 3px;
    cursor: pointer;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle-bar {
    position: relative;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bar::before {
    top: -6px;
  }

  .nav-toggle-bar::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
    padding: 0.25rem 0 1rem;
  }

  .js .site-nav a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  }
}

@media (max-width: 600px) {
  .shots {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    flex: 1 1 auto;
  }

  .facts div,
  .contact-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .featured-inner {
    flex-direction: column;
    gap: 0.9rem;
  }

  .featured-list {
    gap: 0.25rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .container,
  .js .site-nav ul {
    width: min(1180px, 100% - 2rem);
  }

  .eyebrow {
    gap: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .eyebrow::before {
    width: 1.5rem;
  }

  .hero-visual {
    padding-inline: 0.25rem;
  }

  .sheet {
    padding: 10px 10px 32px;
  }

  .strip {
    gap: 10px;
    padding-inline: 10px;
  }

  .frame-cap {
    padding-inline: 0.4rem;
    font-size: 0.52rem;
  }

  .shot-inner {
    padding: 1.7rem 1.35rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
