@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;650;700;800&display=swap');
/* ---------- Theme and base styles ---------- */
/* Steamoji brand palette, matched to the logo badge: blue #0c3199 and yellow #fdd118. */
:root {
  --paper: #f7f6f2;
  --ink: #0a2266;
  --blue: #0a2a85;
  --blue-bright: #0c3199;
  --navy: #0a2266;
  --yellow: #fdd118;
  --lavender: #cdd6f0;
  --mist: #e9edf7;
  --line: #d6dcec;
  --muted: #4f5b80;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
h1,
h2,
h3,
.brand {
  font-family: 'Outfit', sans-serif;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1 {
  font-size: clamp(58px, 6.7vw, 100px);
  font-weight: 650;
}
h2 {
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 600;
}
h3 {
  font-size: 27px;
}
p {
  margin: 16px 0;
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
/* ---------- Shared layout and navigation ---------- */
.wrap {
  max-width: 1280px;
  width: calc(100% - 112px);
  margin: auto;
}
.accent {
  color: var(--blue-bright);
  background: linear-gradient(transparent 64%, #fdd11899 64%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 24px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 550px;
}
.skip {
  position: absolute;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 4%;
  border-bottom: 1px solid var(--line);
  max-width: 1600px;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 34px;
  font-weight: 700;
}
.brand-logo {
  width: 58px;
  height: 58px;
  flex: none;
  transition: transform 0.3s;
}
.brand:hover .brand-logo {
  transform: rotate(-10deg) scale(1.06);
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Matches the blue in the logo badge. */
.brand-name,
.brand-name span {
  color: var(--blue-bright);
}
.brand-tag {
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  white-space: nowrap;
  transform: rotate(-2deg);
}
nav {
  display: flex;
  gap: 29px;
  font-size: 13px;
  font-weight: 600;
}
nav a {
  padding: 10px 0;
  position: relative;
}
nav a[aria-current]:after {
  content: '';
  position: absolute;
  height: 4px;
  background: var(--yellow);
  bottom: 0;
  left: 25%;
  right: 25%;
  border-radius: 10px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-join {
  background: var(--navy);
  color: white;
  padding: 13px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.header-join span {
  margin-left: 22px;
}
.menu-toggle {
  display: none;
}
/* ---------- Home hero and artwork ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  min-height: 700px;
  padding-top: 60px;
  padding-bottom: 70px;
}
.hero-copy {
  position: relative;
}
.hero h1 {
  position: relative;
}
.drawn-star {
  font-size: 72px;
  color: var(--yellow);
  position: absolute;
  right: 5%;
  top: 29%;
  transform: rotate(10deg);
}
.live-dot {
  display: inline-block;
  background: var(--blue);
  height: 8px;
  width: 8px;
  border-radius: 50%;
  margin-right: 8px;
}
.hero .lead {
  max-width: 440px;
  font-size: 16px;
  margin: 28px 0;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  border: 1px solid var(--blue);
  border-radius: 7px;
  font-size: 13px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 0 var(--yellow);
}
.button.secondary {
  background: transparent;
  border-color: #b9bbd6;
  color: var(--ink);
}
.hero-note {
  font-size: 11px;
  margin-top: 26px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note span {
  color: var(--blue);
  font-size: 26px;
}
.hero-art {
  position: relative;
  height: 520px;
  background: radial-gradient(ellipse, #e3e8f5 0%, #e3e8f580 47%, transparent 69%);
}
.orbit {
  position: absolute;
  inset: 40px 0 15px;
  border: 1px dashed #9fb0dc;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.main-polaroid {
  position: absolute;
  top: 50px;
  left: 9%;
  width: 85%;
  background: #fff;
  padding: 13px 13px 20px;
  transform: rotate(7deg);
  box-shadow: 0 12px 30px #0a22661c;
  border: 1px solid var(--line);
}
.main-polaroid img {
  height: 285px;
  object-fit: cover;
}
.main-polaroid figcaption {
  font-family: 'Outfit', sans-serif;
  text-align: center;
  font-size: 17px;
  padding-top: 17px;
}
.mini-polaroid {
  position: absolute;
  width: 48%;
  /* Inset so the tilted corners stay inside .hero-art, which clips its overflow. */
  left: 26px;
  bottom: 38px;
  transform: rotate(-12deg);
  background: #fff;
  padding: 9px 9px 13px;
  box-shadow: 0 9px 25px #0a226626;
}
.mini-polaroid img {
  height: 150px;
  object-position: center 40%;
}
.mini-polaroid figcaption {
  font-size: 11px;
  padding: 10px 0 0;
  text-align: center;
}
.sticker {
  position: absolute;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.sticker-top {
  background: var(--yellow);
  padding: 10px 20px;
  border-radius: 5px;
  top: 21px;
  left: 15%;
  transform: rotate(-9deg);
  font-size: 15px;
}
.sticker-bottom {
  right: 4%;
  bottom: 22px;
  background: var(--blue);
  color: white;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  display: grid;
  align-content: center;
  text-align: center;
  font-size: 25px;
  line-height: 1.1;
  transform: rotate(12deg);
  border: 3px dashed #fff8;
  outline: 5px solid var(--blue);
}
.art-spark {
  position: absolute;
  right: -1%;
  top: 0;
  font-size: 85px;
  color: var(--yellow);
}
.art-dots {
  position: absolute;
  right: 27%;
  bottom: 18px;
  font-size: 70px;
  color: var(--navy);
  transform: rotate(-20deg);
}
.marquee {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
  padding: 19px 0;
  background: var(--yellow);
  border-block: 1px solid #e5b800;
  color: var(--navy);
  font-size: 25px;
}
.marquee span {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
}
/* ---------- Sections and product cards ---------- */
.section {
  padding-block: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 55px;
  align-items: end;
  margin-bottom: 37px;
}
.section-heading > div:last-child {
  max-width: 350px;
}
.section-heading p {
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  gap: 24px;
  border-bottom: 1px solid;
  padding: 5px 0;
  font-weight: 700;
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
#collection .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-photo {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mist);
}
.product-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s;
}
.product-photo:hover img {
  transform: scale(1.045);
}

.photo-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 30px 0;
}
.photo-thumb {
  width: 76px;
  height: 61px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
  cursor: pointer;
}
.photo-thumb img {
  height: 100%;
}
.photo-thumb[aria-pressed='true'] {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--yellow);
}
.maker-note {
  font-size: 14px;
  padding: 10px 14px;
  border-left: 4px solid var(--yellow);
  background: var(--mist);
  border-radius: 6px;
}
.round-arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  background: var(--paper);
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin: 19px 0 11px;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.card-meta span {
  color: var(--muted);
}
.text-button {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
}
.product-card p {
  font-size: 14px;
  max-width: 460px;
}
.product-card small {
  font-size: 11px;
  color: var(--muted);
}
/* ---------- About, memories teaser, and join banner ---------- */
.about-section {
  background: var(--mist);
  padding: 80px 0;
}
.about-layout,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.workshop-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  transform: rotate(-3deg);
  padding: 12px;
  background: white;
  box-shadow: 0 6px 20px #0a226610;
}
.workshop-photo img {
  height: auto;
}
.photo-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 18px 8px 8px;
}
.about-layout .button {
  margin-top: 20px;
}
.memory-teaser {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-block: 80px;
}
.memory-teaser h2 {
  font-size: 35px;
}
.memory-teaser p {
  max-width: 580px;
  font-size: 14px;
}
.memory-teaser .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.memory-snap {
  flex: none;
  width: 230px;
  margin: 0;
  padding: 8px 8px 26px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgb(10 34 102 / 18%);
  transform: rotate(-4deg);
}
.memory-snap img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
.join-banner {
  background: var(--navy);
  color: var(--paper);
  border-radius: 18px;
  padding: 50px 65px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  overflow: hidden;
}
.join-banner .eyebrow,
.join-banner p {
  color: var(--lavender);
}
.join-banner .button {
  background: var(--yellow);
  color: var(--navy);
  border: 0;
}
.banner-mark {
  position: absolute;
  left: 46%;
  top: 50%;
  width: 170px;
  color: var(--yellow);
  transform: translateY(-50%) rotate(-10deg);
  pointer-events: none;
}
/* ---------- Footer ---------- */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-block: 70px;
}
.footer-main p {
  font-size: 13px;
}
.footer-main strong {
  font-size: 12px;
}
.footer-main > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
/* ---------- Inner pages, filters, and forms ---------- */
.page-intro {
  padding-block: 75px 45px;
}
.page-intro h1 {
  font-size: clamp(48px, 6vw, 80px);
}
.page-intro .lead {
  max-width: 700px;
  margin-top: 25px;
}
.bottom-space {
  padding-bottom: 75px;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  padding: 9px 22px;
  border-radius: 30px;
}
.filter-bar button[aria-pressed='true'] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.notice {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 12px;
  margin: 35px 0;
}
.notice p {
  max-width: 740px;
}
.rounded-image {
  border-radius: 14px;
  height: 420px;
}
.split h3 {
  margin-top: 30px;
}
.split a {
  overflow-wrap: anywhere;
}
.charity-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 12px 22px 12px 14px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgb(10 34 102 / 8%);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.charity-badge:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.charity-badge svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: #fde8ef;
  fill: #e0457b;
  flex: none;
}
.charity-badge small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.location-card {
  font-style: normal;
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--mist);
  border-left: 4px solid var(--yellow);
  border-radius: 10px;
}
.location-card h3 {
  margin: 0 0 4px;
}
.location-card a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
}
.location-card a:hover {
  color: var(--blue-bright);
  text-decoration: underline;
}
.album-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  margin: 30px 0 60px;
}
.album-art {
  min-height: 330px;
  border-radius: 15px;
  background: var(--lavender);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 65px;
  transform: rotate(-2deg);
}
.album-art > span {
  font-family: 'Outfit', sans-serif;
  font-size: 43px;
  font-weight: 700;
  line-height: 1.1;
  transform: rotate(-4deg);
}
.album-art small {
  display: block;
  font:
    9px 'DM Sans',
    sans-serif;
  letter-spacing: 0.1em;
  margin-top: 22px;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.link-grid > a {
  border-top: 2px solid var(--navy);
  padding-top: 25px;
}
.link-grid span {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.link-grid h3 {
  font-size: 25px;
  margin-top: 20px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 35px 0;
}
.steps article > span {
  display: grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
}
.steps h2 {
  font-size: 30px;
}
.contact-form {
  padding: 30px;
  background: var(--mist);
  border-radius: 16px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
input,
textarea,
select {
  border: 1px solid #b9bbd6;
  background: var(--paper);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
}
input,
textarea,
.contact-form select {
  width: 100%;
  margin: 6px 0 18px;
}
.form-note {
  font-size: 12px;
}
.contact-form [role='status'] {
  font-size: 13px;
}
dialog {
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  width: min(600px, 90vw);
  max-height: 90vh;
  box-shadow: 0 20px 100px #0005;
}
dialog::backdrop {
  background: #16194ac9;
  backdrop-filter: blur(5px);
}
dialog > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.empty-note {
  padding: 40px 0;
  font-size: 15px;
}
.dialog-copy {
  padding: 30px;
}
.close-dialog {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 25px;
}
.dialog-copy h2 {
  font-size: 35px;
}
/* Club story */
.club-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  align-items: start;
  min-width: 0;
}
.club-card h3 {
  font-size: 28px;
}
.club-card .button {
  margin-top: 18px;
}
.motto-box {
  margin: 22px 0 4px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--yellow);
}
.motto-box p {
  margin: 0;
  color: var(--ink);
}
.motto-box p + p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.motto-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
/* Mayor's letter: its own band, shown near full page size so the type can be read. */
.mayor-section {
  background: var(--mist);
  padding: 72px 0 84px;
}
.mayor-copy {
  max-width: 920px;
  margin: 0 auto 28px;
}
.mayor-copy h2 {
  font-size: clamp(34px, 3.2vw, 48px);
}
.mayor-copy p:last-child {
  max-width: 46ch;
  margin-bottom: 0;
}
.mayor-sheet {
  display: block;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  padding: 16px;
  box-shadow: 0 18px 50px rgb(10 34 102 / 14%);
}
.mayor-sheet img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 760px) {
  .club-grid {
    grid-template-columns: 1fr;
  }
  .mayor-section {
    padding: 48px 0 56px;
  }
  .mayor-sheet {
    padding: 8px;
  }
}
/* ---------- Responsive layouts and motion preferences ---------- */
@media (min-width: 1500px) {
  .hero {
    min-height: 780px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  nav {
    gap: 17px;
  }
  header {
    gap: 20px;
  }
  .header-join {
    display: none;
  }
  .hero {
    gap: 20px;
  }
  .hero-art {
    height: 460px;
  }
  .main-polaroid img {
    height: 250px;
  }
  .drawn-star {
    display: none;
  }
  .hero h1 {
    font-size: 76px;
  }
  .about-layout,
  .split {
    gap: 40px;
  }
  .memory-symbol {
    display: none;
  }
  #collection .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  header {
    padding: 20px;
    position: relative;
  }
  .brand {
    font-size: 28px;
    gap: 8px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px;
    background: none;
    color: var(--ink);
    font-size: 13px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--paper);
    z-index: 5;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav a[aria-current]:after {
    left: 0;
    width: 25px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 35px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero .lead {
    max-width: 100%;
  }
  .hero-art {
    max-width: 490px;
    width: 100%;
    height: 455px;
    margin: 0 auto;
  }
  .main-polaroid img {
    height: 250px;
  }
  .sticker-bottom {
    width: 100px;
    height: 100px;
    font-size: 23px;
  }
  .mini-polaroid img {
    height: 130px;
  }
  .hero-note {
    font-size: 10px;
  }
  .marquee {
    gap: 22px;
    justify-content: flex-start;
    padding-inline: 20px;
  }
  .marquee span {
    font-size: 10px;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > div:last-child {
    max-width: none;
    margin-top: 22px;
  }
  .product-grid,
  #collection .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-photo img {
    height: auto;
  }
  .about-layout,
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-section {
    padding: 45px 0;
  }
  .workshop-photo {
    width: min(100%, 320px);
  }
  .memory-teaser {
    display: block;
    padding-block: 45px;
  }
  .memory-teaser .text-link {
    margin-top: 15px;
  }
  .memory-snap {
    width: 190px;
    margin-bottom: 25px;
  }
  .join-banner {
    display: block;
    padding: 30px;
  }
  .join-banner > div + div {
    margin-top: 25px;
  }
  .banner-mark {
    left: auto;
    right: 18px;
    top: 18px;
    width: 80px;
    transform: rotate(-10deg);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-block: 45px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .page-intro {
    padding-block: 45px 25px;
  }
  .page-intro h1 {
    font-size: 52px;
  }
  .album-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .album-art {
    min-height: 280px;
  }
  .link-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .notice {
    padding: 25px;
  }
  .contact-form {
    padding: 22px;
  }
  .lead {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.hero-art {
  overflow: clip;
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 60px;
  }
}
.album-art {
  padding: 0;
  overflow: hidden;
  background: var(--mist);
}
.album-art img {
  min-height: 330px;
  height: 100%;
  object-fit: cover;
}
/* ---------- Memory photo grid ---------- */
.memory-grid {
  columns: 3;
  column-gap: 18px;
  margin: 8px 0 50px;
}
.memory-grid figure {
  margin: 0 0 18px;
  background: var(--mist);
  border-radius: 14px;
  overflow: hidden;
  break-inside: avoid;
}
/* Photos keep their own shape; tall ones are capped and cropped from the top third so faces stay in view. */
.memory-grid img {
  height: auto;
  max-height: 520px;
  object-position: center 30%;
}
.memory-grid figcaption {
  font-size: 13px;
  padding: 12px 14px 16px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .memory-grid {
    columns: 2;
  }
}
@media (max-width: 760px) {
  .album-art img {
    min-height: 240px;
  }
  .memory-grid {
    columns: 1;
  }
  .rounded-image {
    height: 260px;
  }
}
/* ---------- Rotating photo gallery ---------- */
.gallery {
  margin: 10px 0 80px;
  scroll-margin-top: 110px;
}
.gallery-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 14px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 14px 36px #0a22661f;
  transform: rotate(var(--tilt, -1.2deg));
  transition: transform 0.5s;
}
.gallery-image {
  height: min(62vh, 560px);
  object-fit: contain;
  background: var(--mist);
  border-radius: 4px;
  transition: opacity 0.2s;
}
.gallery-image.fading {
  opacity: 0;
}
.gallery-nav {
  position: absolute;
  top: calc(14px + min(62vh, 560px) / 2);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 22px;
  box-shadow: 0 4px 12px #0a226633;
}
.gallery-nav.prev {
  left: -12px;
}
.gallery-nav.next {
  right: -12px;
}
.gallery-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px 16px;
}
.gallery-caption {
  flex: 1;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--ink);
}
.gallery-count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gallery-pause {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: none;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--ink);
}
@media (max-width: 760px) {
  .gallery-stage {
    padding: 10px 10px 0;
  }
  .gallery-image {
    height: 360px;
  }
  .gallery-nav {
    top: 190px;
    width: 40px;
    height: 40px;
  }
  .gallery-nav.prev {
    left: 4px;
  }
  .gallery-nav.next {
    right: 4px;
  }
  .gallery-bar {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .gallery-caption {
    flex-basis: 100%;
    font-size: 14px;
  }
}
/* ---------- Cart controls, dialog, and responsive overrides ---------- */
.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  padding: 11px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
}
.dialog-copy .actions {
  margin-top: 22px;
}
.dialog-price {
  color: var(--ink);
  font-size: 20px;
}
.swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.swatch:hover {
  transform: scale(1.1);
}
.swatch[aria-pressed='true'] {
  box-shadow: 0 0 0 2px var(--ink);
}
.swatch:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.swatch.small {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
.swatches,
.card-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.card-swatches {
  gap: 6px;
  margin-bottom: 10px;
}
.card-swatches span {
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted);
}
.colour-picker {
  margin: 18px 0;
}
.colour-picker p {
  margin: 0 0 10px;
  font-size: 14px;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.cart-dialog {
  width: min(520px, 92vw);
}
.cart-body {
  padding: 30px;
}
.cart-body h2 {
  font-size: 35px;
  margin-bottom: 20px;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cart-line img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.cart-line h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.cart-line p {
  margin: 4px 0 0;
  font-size: 13px;
}
.remove-line {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
  margin-top: 6px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cart-body .checkout {
  width: 100%;
}
.cart-note {
  font-size: 12px;
}
@media (max-width: 760px) {
  header {
    gap: 10px;
  }
  .header-actions {
    margin-left: auto;
  }
  .cart-toggle {
    padding: 8px 10px;
    gap: 6px;
  }
  .menu-toggle {
    order: 2;
  }
  .cart-body {
    padding: 24px;
  }
}
@media (max-width: 420px) {
  header {
    padding-inline: 14px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }
  .brand-tag {
    font-size: 7px;
    padding: 2px 7px;
  }
  .menu-toggle,
  .cart-toggle {
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  header {
    gap: 6px;
  }
  .brand {
    font-size: 22px;
    gap: 6px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .menu-toggle {
    padding: 8px;
  }
  .cart-toggle {
    padding: 7px 8px;
  }
}
/* ---------- About page layout overrides ---------- */

.pathways-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 28px 0;
  padding-left: 20px;
  color: var(--muted);
}

.pathways-list li {
  line-height: 1.6;
}

.pathways-list strong {
  color: var(--ink);
}

/* ---------- Text wrapping around image layout ---------- */

.about-flow-section {
  display: flow-root;
}

.about-flow-section h2 {
  margin-top: 28px;
}

.flow-image {
  float: left;
  width: min(420px, 42%);
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  margin-right: 35px;
  margin-bottom: 20px;
}

.about-flow-section h2:first-of-type {
  margin-top: 0;
}

.about-flow-section .actions,
.about-flow-section h3 {
  clear: left;
}

.about-flow-section .actions {
  margin: 8px 0 22px;
}

@media (max-width: 760px) {
  .flow-image {
    float: none;
    width: 100%;
    height: 260px;
    margin-right: 0;
    margin-bottom: 25px;
  }
}