:root {
  --ink: #111111;
  --ink-soft: #343331;
  --paper: #f7f3eb;
  --paper-warm: #ede4d5;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.14);
  --blue: #1e3554;
  --blue-deep: #101d32;
  --amber: #c89144;
  --amber-dark: #8f632d;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.18);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(30, 53, 84, 0.07), transparent 28rem),
    linear-gradient(315deg, rgba(200, 145, 68, 0.15), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.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-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1220px, calc(100vw - 24px));
  min-height: 78px;
  margin: 12px auto 0;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.88);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 58px auto;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.brand-mark img {
  width: 56px;
  max-width: 56px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand-text span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 10px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  color: #1b1307;
  background: var(--amber);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #1b1307;
  background: var(--amber);
  box-shadow: 0 16px 30px rgba(143, 99, 45, 0.24);
}

.button-secondary {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section-shell {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 90px);
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: 58px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 8vw, 7.9rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.about-copy p,
.custom-copy p,
.contact-card p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.quick-facts div {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.quick-facts dt {
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.quick-facts dd {
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  --hero-main-x: 0px;
  --hero-main-y: 0px;
  --hero-one-x: 0px;
  --hero-one-y: 0px;
  --hero-two-x: 0px;
  --hero-two-y: 0px;
}

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 8px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  inset: 74px 78px auto 0;
  aspect-ratio: 4 / 3;
  transform: translate3d(var(--hero-main-x), var(--hero-main-y), 0) rotate(-3deg);
}

.hero-card-one {
  right: 0;
  top: 0;
  width: 42%;
  aspect-ratio: 4 / 3;
  transform: translate3d(var(--hero-one-x), var(--hero-one-y), 0) rotate(6deg);
}

.hero-card-two {
  right: 18px;
  bottom: 22px;
  width: 38%;
  aspect-ratio: 3 / 4;
  transform: translate3d(var(--hero-two-x), var(--hero-two-y), 0) rotate(3deg);
}

.intro-strip {
  padding: 26px 20px;
  background: var(--blue-deep);
  color: var(--white);
  text-align: center;
}

.intro-strip p {
  width: min(920px, 100%);
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  font-weight: 850;
  line-height: 1.18;
}

.idea-section {
  padding: 88px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(110deg, rgba(200, 145, 68, 0.16), transparent 34rem),
    linear-gradient(290deg, rgba(30, 53, 84, 0.1), transparent 30rem),
    #fffaf1;
}

.idea-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.idea-copy {
  min-width: 0;
  max-width: 640px;
}

.idea-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.idea-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.idea-chip {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.idea-chip:hover,
.idea-chip:focus-visible {
  transform: translateY(-2px);
}

.idea-chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(30, 53, 84, 0.22);
}

.idea-board {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: grid;
  align-items: end;
}

.idea-board::before {
  content: "";
  position: absolute;
  inset: 36px 0 44px 64px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(30, 53, 84, 0.12) 0 10px,
      rgba(30, 53, 84, 0.04) 10px 20px
    );
}

.idea-photo {
  position: absolute;
  inset: 0 112px 108px 0;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.idea-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 260ms ease;
}

.idea-board.is-swapping .idea-photo img {
  opacity: 0.35;
  transform: scale(1.04);
}

.idea-ticket {
  position: relative;
  width: min(398px, 86%);
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 72px rgba(17, 17, 17, 0.2);
  transform: rotate(1.2deg);
}

.idea-ticket h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.idea-ticket p:not(.card-kicker) {
  color: rgba(17, 17, 17, 0.7);
}

.idea-details {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.idea-details div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.idea-details dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.idea-details dd {
  margin: 0;
  color: rgba(17, 17, 17, 0.72);
}

.work-section,
.gallery-section,
.contact-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading p:last-child {
  max-width: 460px;
  margin-bottom: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  min-height: 410px;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.product-card-large {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card div {
  padding: 20px;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p:last-child {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.66);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(30, 53, 84, 0.28);
  box-shadow: 0 22px 50px rgba(17, 17, 17, 0.12);
}

.product-card:hover img,
.product-card:focus-within img {
  transform: scale(1.035);
}

.about-section {
  padding: 98px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    var(--paper-warm);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 56px;
  align-items: start;
}

.about-copy {
  max-width: 790px;
}

.capability-panel {
  position: sticky;
  top: 118px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.capability-panel h3 {
  margin-bottom: 18px;
}

.capability-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-panel li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.gallery-heading {
  align-items: center;
}

.filter-group {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 260ms ease, opacity 260ms ease;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(17, 17, 17, 0.74);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.is-hidden {
  display: none;
}

.custom-section {
  padding: 96px 0;
  background: var(--blue-deep);
  color: var(--white);
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1fr);
  gap: 62px;
  align-items: center;
}

.custom-photo-stack {
  position: relative;
  min-height: 520px;
}

.custom-photo-stack img {
  position: absolute;
  width: 70%;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.custom-photo-stack img:first-child {
  left: 0;
  top: 26px;
  transform: rotate(-4deg);
}

.custom-photo-stack img:last-child {
  right: 0;
  bottom: 22px;
  transform: rotate(5deg);
}

.custom-copy .eyebrow,
.custom-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.custom-copy h2 {
  color: var(--white);
}

.order-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: order-step;
}

.order-steps li {
  position: relative;
  min-height: 82px;
  padding: 16px 16px 16px 68px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  counter-increment: order-step;
}

.order-steps li::before {
  content: counter(order-step);
  position: absolute;
  left: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1307;
  font-weight: 900;
}

.order-steps strong,
.order-steps span {
  display: block;
}

.order-steps strong {
  margin-bottom: 4px;
}

.order-steps span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(330px, 0.52fr);
  gap: 42px;
  padding: clamp(24px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.contact-links span {
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.92rem;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  gap: 14px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.lightbox {
  width: min(980px, calc(100vw - 30px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  background: var(--ink);
}

.lightbox p {
  margin: 0;
  padding: 16px 20px 20px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: rgba(17, 17, 17, 0.82);
  color: var(--white);
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(200, 145, 68, 0.78);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(17, 17, 17, 0.96);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.22);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .hero,
  .section-heading,
  .idea-grid,
  .about-grid,
  .custom-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .idea-copy {
    width: 100%;
    max-width: 780px;
  }

  .idea-board {
    width: min(760px, 100%);
    margin: 0 auto;
  }

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

  .filter-group {
    justify-self: start;
  }

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

  .capability-panel {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 28px);
  }

  body {
    background:
      linear-gradient(160deg, rgba(30, 53, 84, 0.08), transparent 22rem),
      var(--paper);
  }

  .site-header {
    width: calc(100% - 16px);
    max-width: 374px;
    min-height: 64px;
    margin-top: 8px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    grid-template-columns: 44px auto;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 42px;
    max-width: 42px;
  }

  .brand-text span {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    width: var(--container);
    max-width: var(--container);
    min-height: auto;
    padding: 40px 0 48px;
    gap: 32px;
  }

  .hero-copy,
  .hero-lede,
  .quick-facts {
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11.5vw, 3.05rem);
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .quick-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-card {
    border-width: 6px;
  }

  .hero-card-main {
    inset: 48px 28px auto 0;
  }

  .hero-card-one {
    width: 44%;
  }

  .hero-card-two {
    width: 40%;
    right: 0;
  }

  .idea-section {
    padding: 64px 0;
  }

  .idea-grid {
    gap: 32px;
  }

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

  .idea-chip {
    width: 100%;
  }

  .idea-board {
    min-height: auto;
    gap: 14px;
  }

  .idea-board::before {
    inset: 24px 0 auto 24px;
    height: 260px;
  }

  .idea-photo {
    position: relative;
    inset: auto;
    width: 92%;
    aspect-ratio: 4 / 3;
    margin: 0;
  }

  .idea-ticket {
    width: 100%;
    margin: 0;
    transform: none;
  }

  .idea-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .work-section,
  .gallery-section,
  .contact-section,
  .about-section,
  .custom-section {
    padding: 64px 0;
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-large,
  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid {
    grid-auto-rows: 270px;
  }

  .custom-photo-stack {
    min-height: 390px;
  }

  .custom-photo-stack img {
    width: 72%;
    border-width: 6px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: 340px;
    max-width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
  }

  .hero-lede,
  .quick-facts,
  .hero-actions {
    max-width: 340px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(2.35rem, 10.5vw, 2.85rem);
  }

  .idea-copy,
  .idea-board {
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
