:root {
  --bg: #080b11;
  --bg-deep: #05070c;
  --bg-raise: #0f141c;
  --ink: #f3efe8;
  --muted: #a9adb5;
  --faint: #7b818b;
  --line: rgba(243, 239, 232, 0.12);
  --line-strong: rgba(243, 239, 232, 0.28);
  --red: #e01018;
  --red-soft: rgba(224, 16, 24, 0.14);
  --pad: 1.25rem;
  --max: 74rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: var(--ease);
}

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

html {
  background: var(--bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(224, 16, 24, 0.7);
  transition: color 0.3s var(--ease);
}

a:hover {
  color: #fff;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  min-width: 0;
  margin-inline: auto;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.lede {
  max-width: min(36rem, 100%);
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

/* Header */

.noscript-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 11, 17, 0.8);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 24px;
}

.site-nav {
  display: flex;
  gap: 2.1rem;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

@media (max-width: 55.99rem) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-toggle-bars {
    position: relative;
    width: 1.3rem;
    height: 8px;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transition: transform 0.45s var(--ease), top 0.45s var(--ease);
  }

  .nav-toggle-bars::before {
    top: 0;
  }

  .nav-toggle-bars::after {
    top: 7px;
  }

  .nav-open .nav-toggle-bars::before {
    top: 3.5px;
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle-bars::after {
    top: 3.5px;
    transform: rotate(-45deg);
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 6rem var(--pad) 3rem;
    background:
      radial-gradient(40rem 30rem at 100% 0%, var(--red-soft), transparent 70%),
      var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease);
  }

  .site-nav a {
    padding: 0.35rem 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    letter-spacing: -0.02em;
    text-transform: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
    transition-delay: calc(var(--i, 0) * 60ms + 80ms);
  }

  .nav-open .site-nav a {
    opacity: 1;
    transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--red);
  }
}

/* Buttons and links */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}

.btn:hover {
  color: var(--bg);
  border-color: var(--ink);
}

.btn:hover::before {
  transform: none;
}

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

.arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}

.btn:hover .arrow,
.arrow-link:hover .arrow,
a:hover > .card-go .arrow {
  transform: translateX(5px);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(224, 16, 24, 0.6);
  font-size: 0.95rem;
  text-decoration: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

/* Entrance and scroll motion */

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }

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

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

.enter {
  animation: enter 1.1s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Home hero */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 60rem;
  height: 44rem;
  background: radial-gradient(closest-side, rgba(224, 16, 24, 0.16), transparent);
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  max-width: min(12em, 100%);
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
}

.hero-art {
  width: min(100%, 15rem);
  margin: 0 auto;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.art-frame,
.art-base,
.art-path {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.art-base {
  stroke: var(--line);
  stroke-width: 1;
  animation: draw 1.4s var(--ease) 0.1s forwards;
}

.art-frame {
  stroke: var(--line-strong);
  stroke-width: 1;
  animation: draw 1.9s var(--ease) 0.3s forwards;
}

.art-frame-inner {
  stroke: var(--line);
  animation-delay: 0.6s;
}

.art-path {
  stroke: url(#path-fade);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: draw 2.2s var(--ease) 1s forwards;
}

.art-path-glow {
  stroke-width: 9;
  opacity: 0.35;
  filter: url(#path-blur);
}

/* Credentials strip */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.strip-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.strip-item:first-child {
  border-top: 0;
}

.strip-label {
  display: block;
  color: var(--faint);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.strip-value {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

/* Sections */

.band {
  padding: 4.5rem 0;
}

.band + .band {
  border-top: 1px solid var(--line);
}

.band-head {
  max-width: min(40rem, 100%);
  margin-bottom: 2.5rem;
}

.band-head > p:not(.kicker) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.band-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: none;
}

.page-head {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  background: radial-gradient(44rem 22rem at 92% 0%, rgba(224, 16, 24, 0.13), transparent 70%);
}

.page-head h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
}

.page-head + .band {
  padding-top: 1rem;
}

/* Hairline card grids */

.grid-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 14rem;
  padding: 1.6rem 1.5rem;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: background 0.5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

a.card:hover {
  background: var(--bg-raise);
  color: inherit;
}

a.card:hover::before {
  transform: scaleX(1);
}

.card-num {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.card-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.card-text {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Featured line */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.feature .plate-frame {
  width: min(100%, 24rem);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.chips li:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

/* Closing call to action */

.cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(50rem 26rem at 10% 120%, var(--red-soft), transparent 70%);
}

.cta h2 {
  max-width: 14em;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

/* Product plates */

.plate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.plate {
  margin: 0;
}

.plate-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  aspect-ratio: 4 / 5;
  min-height: 16rem;
  padding: 1.1rem 1.15rem 1.25rem;
  background:
    radial-gradient(70% 55% at 50% 45%, rgba(243, 239, 232, 0.05), transparent 70%),
    var(--bg-raise);
  border: 1px solid var(--line);
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease);
}

.plate-frame:hover {
  border-color: rgba(224, 16, 24, 0.5);
  transform: translateY(-4px);
}

.plate-frame::before,
.plate-frame::after {
  content: "";
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-color: rgba(243, 239, 232, 0.45);
  border-style: solid;
  pointer-events: none;
}

.plate-frame::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 1px 0 0 1px;
}

.plate-frame::after {
  right: 0.7rem;
  bottom: 0.7rem;
  border-width: 0 1px 1px 0;
}

.plate-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plate-mark {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  margin: auto;
  border: 1px solid rgba(243, 239, 232, 0.22);
  border-radius: 50%;
  transition: transform 0.9s var(--ease), border-color 0.6s var(--ease);
}

.plate-frame:hover .plate-mark {
  transform: rotate(90deg);
  border-color: rgba(224, 16, 24, 0.6);
}

.plate-mark::before,
.plate-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(243, 239, 232, 0.3);
  transform: translate(-50%, -50%);
}

.plate-mark::before {
  width: 1px;
  height: 1.35rem;
}

.plate-mark::after {
  width: 1.35rem;
  height: 1px;
}

.plate-name {
  max-width: 11em;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Catalog lines */

.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.line:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.line .plate-frame {
  width: min(100%, 18rem);
}

.line-copy > p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

blockquote {
  margin: 1rem 0 0;
  padding: 0;
}

blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote-source {
  margin-top: 0.55rem;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spec-list,
.link-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.line-link {
  margin-top: 1.25rem;
}

.facts {
  margin: 1.25rem 0 0;
}

.facts div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

/* Resources */

.link-list {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
  transition: padding 0.5s var(--ease), color 0.3s;
}

.link-list a:hover {
  padding-left: 0.6rem;
}

.note {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: var(--faint);
  font-size: 0.92rem;
}

/* About */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

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

.intro-body p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-body p:first-child {
  color: var(--ink);
}

.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.quotes figure {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--red);
}

.quotes blockquote p {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.quotes figcaption {
  margin-top: 1rem;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  display: grid;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  aspect-ratio: 4 / 5;
  min-height: 14rem;
  min-width: 0;
  padding: 1.1rem 1.15rem 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 45%, rgba(243, 239, 232, 0.05), transparent 70%),
    linear-gradient(160deg, rgba(224, 16, 24, 0.08), transparent 45%),
    var(--bg-raise);
  border: 1px solid var(--line);
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease);
}

.gallery-item:hover .gallery-frame,
.gallery-item:focus-visible .gallery-frame {
  border-color: rgba(224, 16, 24, 0.5);
  transform: translateY(-4px);
}

.gallery-frame::before,
.gallery-frame::after {
  content: "";
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-color: rgba(243, 239, 232, 0.45);
  border-style: solid;
  pointer-events: none;
}

.gallery-frame::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 1px 0 0 1px;
}

.gallery-frame::after {
  right: 0.7rem;
  bottom: 0.7rem;
  border-width: 0 1px 1px 0;
}

.gallery-frame-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-frame .plate-mark {
  margin-top: auto;
  margin-bottom: auto;
}

.gallery-item:hover .plate-mark,
.gallery-item:focus-visible .plate-mark {
  transform: rotate(90deg);
  border-color: rgba(224, 16, 24, 0.6);
}

.gallery-frame-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.gallery-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gallery-detail {
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-lightbox {
  width: min(100% - (var(--pad) * 2), 42rem);
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  overflow-x: clip;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}

.gallery-lightbox::backdrop {
  background: rgba(5, 7, 12, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-panel {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  padding: 1.25rem;
}

.gallery-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.gallery-lightbox-close:hover {
  color: var(--ink);
}

.gallery-lightbox-close span[aria-hidden="true"] {
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-lightbox-media {
  min-width: 0;
}

.gallery-frame-large {
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 14rem;
}

.gallery-lightbox-body {
  min-width: 0;
}

.gallery-lightbox-body h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  overflow-wrap: anywhere;
}

.gallery-lightbox-detail {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.gallery-lightbox-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

.gallery-lightbox-nav .btn {
  flex: 1 1 8rem;
  justify-content: center;
}

.gallery-lightbox-nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-lightbox-nav .btn:disabled:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.gallery-lightbox-nav .btn:disabled:hover::before {
  transform: translateY(101%);
}

/* Contact */

.contact-card .card-title {
  overflow-wrap: anywhere;
}

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

.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--bg-raise);
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--faint);
  font-size: 0.9rem;
  text-align: center;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.55) contrast(0.92);
}

.map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.map-meta address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.map-meta .actions {
  margin-top: 0;
}

/* Footer */

.site-footer {
  padding-top: 4rem;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 24px;
}

.footer-brand p {
  max-width: 20rem;
  margin: 1.1rem 0 0;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--faint);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--ink);
}

.footer-address {
  line-height: 1.5;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

a.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.social-link.is-pending {
  opacity: 0.35;
  cursor: not-allowed;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Breakpoints */

@media (min-width: 40rem) {
  :root {
    --pad: 1.75rem;
  }

  .strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strip-item {
    padding: 1.6rem 1.5rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .strip-item:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .grid-lines,
  .plate-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map {
    aspect-ratio: 16 / 9;
  }

  .gallery-lightbox-panel {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  :root {
    --pad: 2rem;
    --header-h: 5rem;
  }

  .brand img {
    height: 28px;
  }

  .hero {
    padding: calc(var(--header-h) + 5rem) 0 6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    min-height: 34rem;
  }

  .hero-art {
    width: min(100%, 22rem);
    margin-right: 0;
  }

  .band {
    padding: 6rem 0;
  }

  .page-head {
    padding: calc(var(--header-h) + 5rem) 0 3.5rem;
  }

  .plate-grid,
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid,
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-lightbox {
    width: min(100% - (var(--pad) * 2), 48rem);
  }

  .gallery-lightbox-panel {
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .card {
    min-height: 17rem;
    padding: 2rem 1.75rem;
  }

  .feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .line {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
    padding: 3rem 0;
  }

  .intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 5rem;
    align-items: start;
  }

  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .map {
    aspect-ratio: 21 / 9;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 1.15fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .art-ember {
    display: none;
  }
}
