:root {
  --bg: #f5edde;
  --paper: #fcf6ea;
  --paper-strong: #fffaf1;
  --ink: #121843;
  --muted: #4f5368;
  --gold: #e7a73a;
  --red: #ff4020;
  --line: rgba(18, 24, 67, 0.12);
  --soft-shadow: 0 18px 44px rgba(44, 33, 17, 0.08);
  --neo-border: 3px solid #121843;
  --neo-shadow: 10px 10px 0 #121843;
  --neo-shadow-sm: 6px 6px 0 #121843;
  --radius: 24px;
  --radius-lg: 30px;
  --container: min(1120px, calc(100vw - 48px));
  --measure: 760px;
  --panel-gap: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(231, 167, 58, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf5ea 0%, #f3ead9 56%, #f7f0e4 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 245, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 24, 67, 0.06);
}

.header-inner,
.page-shell {
  width: var(--container);
  margin: 0 auto;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-height: 66px;
  padding: 10px 0 10px 64px;
}

.header-squiggle {
  position: absolute;
  left: calc((100vw - var(--container)) / -2 + 18px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  width: 42px;
}

.header-squiggle img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.site-nav a,
.menu-toggle {
  font-size: 0.95rem;
  padding: 10px 14px;
  border: var(--neo-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 5px 5px 0 #121843;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a.is-active {
  color: var(--ink);
  background: var(--gold);
}

.site-nav a:hover,
.menu-toggle:hover,
.preview-button:hover {
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
}

.page-shell {
  padding: 0 0 88px;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(18, 24, 67, 0.08);
  background: #f7efdf;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 18px 0;
}

.footer-link,
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
}

.footer-link {
  justify-self: start;
}

.footer-logo {
  display: inline-flex;
  justify-self: center;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-logo img {
  width: clamp(34px, 4vw, 42px);
  height: auto;
  transform: rotate(90deg);
  transform-origin: center;
}

@media (max-width: 1080px) {
  .footer-logo img:nth-of-type(n + 18) {
    display: none;
  }
}

@media (max-width: 1045px) {
  .footer-logo img:nth-of-type(n + 17) {
    display: none;
  }
}

@media (max-width: 1010px) {
  .footer-logo img:nth-of-type(n + 16) {
    display: none;
  }
}

@media (max-width: 975px) {
  .footer-logo img:nth-of-type(n + 15) {
    display: none;
  }
}

@media (max-width: 940px) {
  .footer-logo img:nth-of-type(n + 14) {
    display: none;
  }
}

@media (max-width: 905px) {
  .footer-logo img:nth-of-type(n + 13) {
    display: none;
  }
}

@media (max-width: 870px) {
  .footer-logo img:nth-of-type(n + 12) {
    display: none;
  }
}

@media (max-width: 835px) {
  .footer-logo img:nth-of-type(n + 11) {
    display: none;
  }
}

@media (max-width: 800px) {
  .footer-logo img:nth-of-type(n + 10) {
    display: none;
  }
}

@media (max-width: 765px) {
  .footer-logo img:nth-of-type(n + 9) {
    display: none;
  }
}

@media (max-width: 730px) {
  .footer-logo img:nth-of-type(n + 8) {
    display: none;
  }
}

@media (max-width: 695px) {
  .footer-logo img:nth-of-type(n + 7) {
    display: none;
  }
}

@media (max-width: 660px) {
  .footer-logo img:nth-of-type(n + 6) {
    display: none;
  }
}

.footer-social {
  justify-self: end;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-overview-box h1,
.intro-text-block h1,
.page-intro h1,
.home-card h2,
.list-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.03em;
}

.hero-overview-box h1,
.intro-text-block h1,
.page-intro h1 {
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  line-height: 0.98;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border: var(--neo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 4px 4px 0 #121843;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-label {
  margin: 0 0 12px;
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: var(--neo-border);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 4px 4px 0 #121843;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-overview {
  position: relative;
  height: 80vh;
  margin-bottom: 8px;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  background: var(--paper);
}

.hero-overview-image,
.hero-overview-image img {
  height: 100%;
}

.hero-overview-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 24, 67, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 67, 0.06), transparent 28%);
}

.hero-corner-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: inline-flex;
  width: 108px;
}

.hero-overview-box {
  position: absolute;
  left: clamp(20px, 4vw, 42px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: min(560px, calc(100% - 40px));
  padding: 28px 30px;
  border: var(--neo-border);
  border-radius: 28px;
  box-shadow: var(--neo-shadow);
  background: rgba(252, 246, 234, 0.96);
  backdrop-filter: blur(8px);
}

.hero-overview-box p {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.68;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.intro-bio-row {
  margin-top: 6px;
  margin-bottom: 28px;
}

.intro-text-block,
.intro-media-frame {
  min-width: 0;
}

.intro-text-block {
  padding: 8px 0;
}

.intro-text-block p {
  max-width: 35rem;
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.72;
}

.intro-bio-block {
  padding: 28px 0 28px 6px;
}

.intro-bio-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
}

.intro-bio-heading .card-label {
  margin: 0;
}

.intro-bio-block h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  min-width: 0;
}

.intro-bio-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.98rem;
}

.intro-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.intro-media-frame {
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper-strong);
  border: 1px solid rgba(18, 24, 67, 0.08);
  box-shadow: var(--soft-shadow);
}

.intro-portrait-frame {
  position: sticky;
  top: 16vh;
  align-self: start;
  margin-top: 26px;
}

.intro-media-frame img {
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  height: 100%;
}

.intro-bio-row .intro-media-frame img {
  object-position: center 28%;
}

.intro-bio-row .intro-portrait-frame img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  height: auto;
}

.testimonials-preview {
  display: grid;
  justify-items: start;
  gap: 32px;
  margin: 8px 0 0;
}

.testimonials-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.preview-quote {
  margin: 0;
  padding: 28px 30px;
  border: var(--neo-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 236, 214, 0.84)),
    var(--paper);
  box-shadow: var(--neo-shadow-sm);
}

.preview-quote p {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.preview-quote cite {
  display: inline-flex;
  margin-top: 16px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.96rem;
}

.testimonial-signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-signoff-preview {
  gap: 12px;
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(18, 24, 67, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 10px 22px rgba(18, 24, 67, 0.08);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 233, 214, 0.94));
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-creditline {
  display: inline-block;
}

.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: var(--neo-border);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 5px 5px 0 #121843;
  font-size: 0.96rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--panel-gap);
}

.home-card,
.text-block,
.list-card,
.quote-card {
  background: var(--paper);
  border: var(--neo-border);
  border-radius: var(--radius);
  box-shadow: var(--neo-shadow);
}

.home-card {
  display: block;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 239, 205, 0.88)),
    var(--paper);
}

a.home-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 13px 13px 0 #121843;
}

.home-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.home-card p + p {
  margin-top: 22px;
}

.home-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2rem);
}

.home-grid a.home-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(231, 167, 58, 0.32), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.home-grid a.home-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 213, 189, 0.95), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.home-grid a.home-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(212, 236, 255, 0.95), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.home-grid a.home-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(223, 247, 206, 0.95), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.home-card img,
.side-image img,
.image-row img {
  object-fit: cover;
  border-radius: 18px;
}

.home-card img {
  height: 280px;
}

.page-layout {
  display: grid;
  gap: 36px;
}

.gallery-page {
  --gallery-section-gap: clamp(12px, 1.2vw, 22px);
  width: min(calc(100vw - 10px), 1900px);
  padding-inline: clamp(16px, 1.8vw, 28px);
}

.gallery-page .page-intro {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.gallery-content {
  display: grid;
  gap: var(--gallery-section-gap);
}

.gallery-hero-grid {
  --gallery-hero-gap: var(--gallery-section-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gallery-hero-gap);
  margin: 0 auto;
}

.gallery-hero-photo {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  background: transparent;
}

.gallery-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: filter 500ms ease;
}

.gallery-hero-photo img:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.gallery-hero-photo:hover img {
  filter: saturate(1.04) contrast(1.02);
}

.gallery-grid {
  --gallery-gap: var(--gallery-section-gap);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-gap);
  align-items: start;
}

.gallery-wall {
  width: 100%;
  margin-inline: auto;
}

.gallery-column {
  display: grid;
  gap: var(--gallery-gap);
  justify-items: center;
  align-content: start;
}

.gallery-photo {
  width: 100%;
  margin: 0;
  overflow: visible;
  min-height: 0;
  background: transparent;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  transition: filter 500ms ease;
}

.gallery-photo img:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.gallery-photo:hover img {
  filter: saturate(1.04) contrast(1.02);
}

.gallery-wall .gallery-photo,
.gallery-wall .gallery-small,
.gallery-wall .gallery-medium,
.gallery-wall .gallery-feature-large,
.gallery-wall .gallery-feature-wide,
.gallery-wall .gallery-feature-tall {
  width: 100%;
}

body.lightbox-open {
  overflow: hidden;
}

body.popup-open {
  overflow: hidden;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 24, 67, 0.3);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.site-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-popup-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 34px 30px 28px;
  border: var(--neo-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 236, 214, 0.94)),
    var(--paper);
  box-shadow: var(--neo-shadow);
  text-align: center;
}

.site-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(18, 24, 67, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(18, 24, 67, 0.08);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.site-popup-subtitle,
.site-popup-title,
.site-popup-date {
  margin: 0;
}

.site-popup-subtitle {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-popup-title {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.site-popup-date {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 18px;
  border: var(--neo-border);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 5px 5px 0 #121843;
  font-size: 0.98rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-popup-button:hover {
  transform: translate(-2px, -2px);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(18, 24, 67, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-frame {
  display: grid;
  place-items: center;
  width: min(100%, 1500px);
  max-height: calc(100vh - 96px);
}

.gallery-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  height: auto;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fffaf1;
  backdrop-filter: blur(10px);
}

.page-intro {
  max-width: var(--measure);
  padding-top: 14px;
}

.intro-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.records-page,
.contact-page {
  gap: 28px;
}

.contact-image-frame,
.contact-detail-frame {
  overflow: hidden;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid rgba(18, 24, 67, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 236, 214, 0.84)),
    var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.contact-image-frame img,
.contact-detail-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.testimonials-page {
  gap: 28px;
}

.testimonials-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.testimonials-intro {
  padding: 14px 0 6px;
}

.testimonials-stack {
  display: grid;
  gap: 22px;
}

.testimonials-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
}

.testimonial-panel {
  position: relative;
  padding: 32px 34px 30px;
  border-radius: 32px;
  border: 1px solid rgba(18, 24, 67, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 246, 234, 0.9)),
    var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.testimonial-panel::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: 26px;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(18, 24, 67, 0.1);
}

.testimonial-copy {
  margin: 0;
}

.testimonial-copy p {
  margin: 0;
  max-width: 58rem;
  font-size: 1.06rem;
  line-height: 1.88;
}

.testimonial-copy p + p {
  margin-top: 22px;
}

.testimonial-copy-featured p {
  max-width: none;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.06rem;
  line-height: 1.88;
  letter-spacing: -0.03em;
}

.testimonial-panel-featured {
  padding-top: 42px;
}

.testimonial-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-panel-longform {
  padding-top: 38px;
}

.testimonial-panel-featured .testimonial-avatar {
  width: 50px;
  height: 50px;
  font-size: 1rem;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.text-block {
  padding: 40px 44px;
}

.text-block p,
.quote-card p,
.list-card li {
  font-size: 1.08rem;
  line-height: 1.9;
}

.spacious p + p,
.quote-card p + p {
  margin-top: 26px;
}

.image-row.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.image-row img {
  min-height: 360px;
}

.records-list,
.list-sections,
.quotes-list {
  display: grid;
  gap: 20px;
}

.records-list {
  --records-gap: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--records-gap);
  align-items: start;
}

.records-column {
  display: grid;
  gap: var(--records-gap);
  align-content: start;
}

.record-project {
  display: grid;
  gap: 0;
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.record-embed-shell {
  padding: 12px;
  border-radius: 26px;
  border: 1px solid rgba(18, 24, 67, 0.08);
  background:
    linear-gradient(180deg, rgba(248, 241, 227, 0.9), rgba(255, 255, 255, 0.96)),
    var(--paper);
}

.record-embed-frame {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
}

.record-tweet-embed {
  display: grid;
  justify-items: center;
  min-height: 0;
  padding: 0;
  margin-top: -10px;
}

.record-tweet-embed.is-loading {
  align-content: center;
}

.record-tweet-embed.is-loading::before {
  content: "Loading post...";
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.record-tweet-embed iframe,
.record-tweet-embed twitter-widget {
  display: block;
  margin: 0 auto;
  width: min(100%, 100%);
  max-width: 100%;
  border-radius: 0 !important;
}

.record-tweet-embed twitter-widget {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.record-tweet-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.record-tweet-embed:not(.is-fallback) .record-tweet-fallback {
  display: none;
}

.record-cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.record-cover-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.record-cover-credits {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(247, 241, 230, 0.24), rgba(247, 241, 230, 0.8));
  color: var(--ink);
  opacity: 0;
  transition: opacity 180ms ease;
}

.record-cover-credit-title {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.record-cover-credit-byline,
.record-cover-credit-line,
.record-cover-credit-role {
  font-size: 0.92rem;
  line-height: 1.3;
}

.record-cover-credit-byline {
  margin-bottom: 4px;
}

.record-cover-credit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.record-cover-credit-group {
  display: grid;
  gap: 4px;
  align-content: start;
}

.record-cover-credit-list {
  display: grid;
  gap: 2px;
}

.record-cover-credit-role {
  font-weight: 600;
}

.record-cover-link-credits:hover .record-cover-credits,
.record-cover-link-credits:focus-visible .record-cover-credits {
  opacity: 1;
}

.record-embed-frame-spotify iframe {
  display: block;
  width: 100%;
  min-height: 352px;
  border: 0;
}

.list-card,
.quote-card {
  padding: 28px 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 167, 58, 0.28)),
    var(--paper);
}

.list-card h2 {
  margin: 0 0 18px;
  font-size: 1.8rem;
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(18, 24, 67, 0.2);
}

.list-card ul {
  margin: 0;
  padding-left: 20px;
}

.list-card li + li {
  margin-top: 10px;
}

.gear-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.gear-card {
  border-radius: 32px;
  border: 1px solid rgba(18, 24, 67, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 246, 234, 0.9)),
    var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.gear-card-microphones {
  grid-column: 1 / span 7;
}

.gear-card-instruments {
  grid-column: 1 / span 5;
}

.gear-card-preamps {
  grid-column: 8 / span 5;
}

.gear-card-space {
  grid-column: 6 / span 7;
}

.gear-card-monitoring {
  grid-column: 1 / span 7;
}

.gear-card-photo {
  grid-column: 8 / span 5;
  padding: 10px;
  overflow: hidden;
}

.gear-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.gear-grid .list-card h2 {
  margin-bottom: 14px;
}

.gear-grid .list-card ul {
  padding-left: 18px;
}

.gear-grid .list-card li {
  line-height: 1.62;
}

.gear-grid .list-card li + li {
  margin-top: 4px;
}

.side-image img {
  min-height: 420px;
}

.contact-grid {
  display: grid;
  justify-content: center;
}

.contact-form-card {
  width: min(720px, 100%);
  padding: 28px 30px 30px;
  border-radius: 28px;
  border: 1px solid rgba(18, 24, 67, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 236, 214, 0.88)),
    var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.contact-form-header h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.85rem, 2.8vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.contact-form-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(18, 24, 67, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  padding: 14px 16px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(18, 24, 67, 0.4);
  box-shadow: 0 0 0 4px rgba(231, 167, 58, 0.18);
  background: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(79, 83, 104, 0.58);
}

.contact-submit {
  justify-self: start;
  margin-top: 4px;
  padding: 14px 20px;
  border: var(--neo-border);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 5px 5px 0 #121843;
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-submit:hover {
  transform: translate(-2px, -2px);
}

.form-botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-result {
  min-height: 1.6em;
  margin: 4px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-form-result.is-success {
  color: #2d6a4f;
}

.contact-form-result.is-error {
  color: #a33a20;
}

@media (max-width: 900px) {
  .hero-overview {
    height: 80vh;
  }

  .hero-overview-image img {
    height: 100%;
  }

  .hero-overview-box {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    transform: none;
    width: auto;
  }

  .hero-corner-logo {
    width: 96px;
  }

  .intro-section,
  .testimonials-hero,
  .testimonials-columns,
  .content-block,
  .form-row,
  .image-row.two-up,
  .home-grid,
  .gallery-grid,
  .gear-grid {
    grid-template-columns: 1fr;
  }

  .intro-section {
    gap: 18px;
  }

  .intro-bio-row .intro-bio-block {
    order: 1;
    text-align: center;
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro-bio-row .intro-portrait-frame {
    order: 2;
  }

  .intro-bio-row .intro-bio-block .card-label {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-bio-row .intro-bio-block p,
  .intro-bio-row .intro-bio-block h2,
  .intro-bio-row .intro-bio-block .intro-bio-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-bio-row {
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .intro-media-frame img,
  .side-image img {
    aspect-ratio: 16 / 10;
  }

  .intro-portrait-frame img {
    aspect-ratio: auto;
    height: auto;
  }

  .intro-portrait-frame {
    position: relative;
    top: auto;
    margin-top: 0;
  }

  .testimonials-preview-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-hero {
    gap: 18px;
    align-items: start;
  }

  .testimonials-intro {
    padding-bottom: 0;
  }

  .gear-card-space,
  .gear-card-microphones,
  .gear-card-instruments,
  .gear-card-preamps,
  .gear-card-monitoring,
  .gear-card-photo {
    grid-column: 1 / -1;
  }

  .gallery-wall .gallery-photo,
  .gallery-wall .gallery-small,
  .gallery-wall .gallery-medium,
  .gallery-wall .gallery-feature-large,
  .gallery-wall .gallery-feature-wide,
  .gallery-wall .gallery-feature-tall {
    width: 100%;
  }

  .records-list {
    --records-gap: 22px;
    grid-template-columns: 1fr;
  }

  .records-column {
    display: contents;
  }

  .record-project {
    padding: 0;
  }

  .record-tweet-embed {
    margin-top: -8px;
  }

}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1120px);
    --panel-gap: 16px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px 16px;
    min-height: 0;
    padding: 10px 0 12px;
  }

  .header-squiggle {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    width: 42px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 12px;
    margin-top: 4px;
    padding-top: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: auto;
  }

  .page-shell {
    padding: 0 0 64px;
  }

  .gallery-page {
    width: min(calc(100vw - 12px), 1900px);
    padding-inline: 10px;
  }

  .gallery-hero-grid {
    --gallery-hero-gap: 8px;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-hero-photo img {
    height: auto;
  }

  .gallery-grid {
    --gallery-gap: 8px;
    grid-template-columns: 1fr;
  }

  .gallery-hero-photo,
  .gallery-column {
    display: contents;
  }

  .gallery-hero-photo img,
  .gallery-photo,
  .gallery-small,
  .gallery-medium,
  .gallery-feature-large,
  .gallery-feature-wide,
  .gallery-feature-tall {
    width: 100%;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .site-popup {
    padding: 18px;
  }

  .site-popup-dialog {
    width: min(100%, 420px);
    padding: 28px 22px 22px;
    border-radius: 24px;
    box-shadow: var(--neo-shadow-sm);
  }

  .site-popup-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .site-popup-title {
    font-size: 1.4rem;
    line-height: 1.22;
  }

  .site-popup-subtitle {
    margin-bottom: 10px;
    font-size: 0.88rem;
  }

  .site-popup-date {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .site-popup-button {
    width: 100%;
    margin-top: 22px;
  }

  .gallery-lightbox-frame,
  .gallery-lightbox-image {
    max-height: calc(100vh - 72px);
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    padding: 9px 12px;
  }

  .site-footer {
    margin-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: 0;
    padding: 18px 0 22px;
  }

  .footer-link,
  .footer-logo,
  .footer-social {
    justify-self: center;
  }

  .hero-overview {
    margin-bottom: 8px;
    height: 100svh;
  }

  .hero-overview-image img {
    height: 100%;
  }

  .hero-overview-box {
    left: 18px;
    right: 18px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    padding: 20px 20px 22px;
    box-shadow: 7px 7px 0 #121843;
  }

  .hero-corner-logo {
    top: 14px;
    right: 14px;
    width: 84px;
    box-shadow: none;
  }

  .hero-overview-box h1,
  .intro-text-block h1,
  .page-intro h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .hero-overview-box p,
  .intro-text-block p,
  .text-block p,
  .quote-card p,
  .list-card li,
  .home-card p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .preview-quote {
    padding: 22px;
  }

  .preview-quote p {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .testimonial-panel {
    padding: 24px 22px 22px;
  }

  .testimonial-panel::before {
    top: 14px;
    left: 18px;
    font-size: 3.4rem;
  }

  .testimonial-copy p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .testimonial-copy-featured p {
    font-size: 0.98rem;
    line-height: 1.72;
    letter-spacing: 0;
  }

  .testimonial-signoff {
    gap: 10px;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .testimonial-panel-featured .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .intro-bio-block,
  .text-block,
  .home-card,
  .list-card,
  .quote-card,
  .contact-form-card {
    padding: 22px;
  }

  .intro-bio-heading {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .records-list {
    --records-gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-project {
    padding: 0;
  }

  .record-project-tweet {
    grid-column: 1 / -1;
    justify-items: center;
  }

  .record-project-badkarma {
    order: 99;
  }

  .record-tweet-embed {
    margin-top: -5px;
  }

  .record-cover-link {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .record-project-tweet .record-tweet-embed iframe,
  .record-project-tweet .record-tweet-embed twitter-widget {
    width: min(100%, 320px);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .record-embed-shell {
    padding: 10px;
  }

  .record-cover-credit-columns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .record-embed-frame-spotify iframe {
    min-height: 352px;
  }
}
