:root {
  color-scheme: only light;
  --bg: #fff8f5;
  --bg-soft: #fffdfb;
  --surface: #fffaf8;
  --surface-strong: #ffffff;
  --text: #2d1d1d;
  --text-soft: #5e4b49;
  --accent: #ca6f64;
  --accent-deep: #bc6158;
  --accent-soft: rgba(202, 111, 100, 0.1);
  --border: rgba(210, 177, 171, 0.42);
  --shadow: 0 18px 40px rgba(93, 57, 51, 0.05);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --container: 1220px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  color-scheme: only light;
  background-color: #fffdfb;
  scroll-behavior: smooth;
}

body {
  color-scheme: only light;
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 225, 220, 0.44), transparent 30%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 34%, #fff6f2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 255, 255, 0.72), transparent 14%),
    radial-gradient(circle at 10% 4%, rgba(255, 248, 245, 0.9), transparent 18%);
  z-index: -1;
}

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

figure {
  margin: 0;
}

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

button {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.page-shell {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding: 22px 0 30px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 0 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(210, 177, 171, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--accent);
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title,
.site-footer h2,
.site-footer h3,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand-title {
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  color: var(--accent);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(61, 40, 40, 0.9);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.lang-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(108, 76, 72, 0.72);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease;
}

.lang-button.is-active,
.lang-button:hover,
.lang-button:focus-visible {
  color: var(--accent);
}

.lang-divider {
  color: rgba(139, 101, 98, 0.5);
}

main {
  display: grid;
  gap: 42px;
}

.card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.story-copy,
.quote-card,
.story-photo,
.value-card,
.gallery-card,
.cta-band,
.footer-grid,
.location-band {
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 8px 12px 6px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.1;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.35rem, 4.75vw, 4.85rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.accent-rule {
  width: 92px;
  height: 2px;
  margin: 20px 0 18px;
  background: var(--accent);
  border-radius: 999px;
}

.hero-body,
.story-copy p,
.value-card p,
.gallery-card figcaption,
.location-summary,
.detail-list,
.cta-copy p,
.footer-grid p,
.footer-grid li {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-body {
  max-width: 33ch;
  margin: 0;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  color: var(--text-soft);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(77, 54, 52, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.info-pill svg,
.detail-list svg,
.value-icon svg,
.location-sketch svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero-media {
  border-radius: 0 var(--radius-xl) var(--radius-xl) var(--radius-xl);
}

.hero-media img {
  height: 100%;
  min-height: 448px;
  object-fit: cover;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 3.7vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-align: center;
}

.section-ornament {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(202, 111, 100, 0.08);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.story-copy {
  padding: 10px 6px 10px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.story-copy p {
  max-width: 31ch;
  margin: 0;
}

.story-copy p + p {
  margin-top: 16px;
}

.story-aside {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 16px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 30px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fffaf8, #fff7f4);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: rgba(202, 111, 100, 0.32);
}

.quote-card p {
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 2.7vw, 2.75rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--accent);
}

.quote-rule {
  width: 108px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(202, 111, 100, 0.48), transparent);
}

.story-photo img {
  height: 100%;
  min-height: 246px;
  object-fit: cover;
}

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

.value-card {
  min-height: 188px;
  padding: 24px 18px 22px;
  text-align: center;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.value-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  font-size: 0.96rem;
}

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

.gallery-card {
  padding: 10px 10px 12px;
}

.gallery-card img {
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-card figcaption {
  padding: 10px 6px 2px;
  text-align: center;
  color: var(--text);
  font-size: 0.98rem;
}

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

.location-mini {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
}

.location-mini + .location-mini {
  border-left: 1px solid var(--border);
}

.location-mini-end {
  grid-template-columns: 1fr 96px;
}

.location-sketch {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: rgba(202, 111, 100, 0.08);
  color: rgba(202, 111, 100, 0.52);
}

.location-sketch svg {
  width: 40px;
  height: 40px;
}

.location-info h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.detail-list svg {
  color: var(--accent);
  margin-top: 4px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 0;
  padding: 0;
}

.cta-photo img {
  height: 100%;
  min-height: 206px;
  object-fit: cover;
}

.cta-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.cta-copy::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 120px;
  height: 120px;
  background: url("assets/leaf-outline.svg") center / contain no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.cta-copy h2 {
  margin: 0 0 10px;
  max-width: 11ch;
  font-size: clamp(2.3rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.cta-copy p {
  max-width: 28ch;
  margin: 0 0 22px;
}

.site-footer {
  position: relative;
  margin-top: 8px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: 84px;
  width: 100px;
  height: 100px;
  background: url("assets/leaf-outline.svg") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 24px;
}

.footer-brand p {
  margin: 14px 0 16px;
}

.brand-footer .brand-title {
  font-size: 1.78rem;
}

.footer-column h3 {
  margin: 2px 0 12px;
  font-size: 1.5rem;
  line-height: 1.05;
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.compact-list {
  margin-top: 0;
}

.footer-bottom {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  font-size: 0.94rem;
  font-weight: 600;
}

.gallery-page .page-shell {
  width: min(1160px, calc(100% - 56px));
}

.gallery-page main {
  gap: 30px;
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  min-height: 318px;
  height: 318px;
  margin-inline: calc((100vw - min(1160px, calc(100vw - 56px))) / -2);
  padding-left: calc((100vw - min(1160px, calc(100vw - 56px))) / 2);
  background:
    linear-gradient(90deg, rgba(255, 250, 248, 0.98) 0%, rgba(255, 250, 248, 0.9) 48%, rgba(255, 250, 248, 0.25) 100%),
    #fff8f5;
  border-top: 1px solid rgba(210, 177, 171, 0.22);
  border-bottom: 1px solid rgba(210, 177, 171, 0.22);
  overflow: hidden;
}

.gallery-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 32px 36px 0;
}

.gallery-hero-copy h1 {
  max-width: none;
  font-size: clamp(4rem, 6.2vw, 5.7rem);
  line-height: 0.98;
}

.gallery-hero-copy p {
  max-width: 43ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1.18rem;
  line-height: 1.65;
}

.ornate-rule {
  display: flex;
  align-items: center;
  width: 138px;
  margin-top: 24px;
  color: var(--accent);
}

.ornate-rule::before,
.ornate-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.72;
}

.ornate-rule span {
  width: 9px;
  height: 9px;
  margin: 0 11px;
  background: currentColor;
  transform: rotate(45deg);
}

.gallery-hero-image {
  height: 318px;
  min-height: 318px;
}

.gallery-hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.9) brightness(1.05);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 10px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.gallery-filter,
.gallery-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(75, 52, 51, 0.9);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-sort:hover,
.gallery-sort:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(202, 111, 100, 0.5);
  color: var(--accent-deep);
}

.gallery-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}

.gallery-sort {
  margin-left: auto;
  gap: 10px;
  color: var(--accent-deep);
}

.gallery-sort svg,
.gallery-more-button svg {
  width: 18px;
  height: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.showcase-item {
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(93, 57, 51, 0.05);
}

.showcase-item[hidden] {
  display: none;
}

.showcase-item img {
  height: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.showcase-item:hover img,
.showcase-item:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-more-button {
  min-width: 290px;
  min-height: 44px;
  color: var(--accent-deep);
  border-radius: 10px;
}

.gallery-cta {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 18px 28px;
  background: linear-gradient(90deg, #fff8f5 0%, #fffaf8 66%, #fff3ef 100%);
}

.gallery-cta::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 8px;
  width: 110px;
  height: 92px;
  background: url("assets/leaf-outline.svg") center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.gallery-cta-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(202, 111, 100, 0.76);
  border-radius: 999px;
  color: var(--accent);
}

.gallery-cta-icon svg {
  width: 32px;
  height: 32px;
}

.gallery-cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.gallery-cta-copy p,
.gallery-cta-action span {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.gallery-cta-action {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 220px;
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(var(--container), calc(100% - 40px));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .hero-section,
  .story-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-page .page-shell {
    width: min(1160px, calc(100% - 40px));
  }

  .gallery-hero {
    margin-inline: calc((100vw - min(1160px, calc(100vw - 40px))) / -2);
    padding-left: calc((100vw - min(1160px, calc(100vw - 40px))) / 2);
  }

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

  .gallery-cta {
    grid-template-columns: 72px 1fr;
  }

  .gallery-cta-action {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  .site-header {
    padding-bottom: 14px;
    margin-bottom: 22px;
  }

  .brand-title {
    font-size: 1.58rem;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  main {
    gap: 34px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.95rem;
  }

  .hero-kicker {
    font-size: 1.12rem;
  }

  .hero-media img {
    min-height: 300px;
  }

  .hero-body,
  .story-copy p,
  .value-card p,
  .gallery-card figcaption,
  .detail-list,
  .cta-copy p,
  .footer-grid p,
  .footer-grid li {
    font-size: 0.98rem;
  }

  .pill-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .story-copy {
    padding: 0;
  }

  .story-aside,
  .gallery-grid,
  .cta-band,
  .footer-grid,
  .location-band {
    grid-template-columns: 1fr;
  }

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

  .location-mini,
  .location-mini-end {
    grid-template-columns: 80px 1fr;
    padding: 22px 20px;
  }

  .location-mini + .location-mini {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .location-mini-end .location-sketch {
    order: -1;
  }

  .cta-copy {
    padding: 24px 22px;
  }

  .cta-copy h2,
  .section-heading h2 {
    font-size: 2.12rem;
  }

  .cta-copy::after,
  .site-footer::before {
    display: none;
  }

  .gallery-page .page-shell {
    width: calc(100% - 24px);
  }

  .gallery-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
    margin-inline: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .gallery-hero-copy {
    padding: 30px 0 24px;
  }

  .gallery-hero-copy h1 {
    font-size: 3.35rem;
  }

  .gallery-hero-copy p {
    max-width: 34ch;
    font-size: 1.03rem;
  }

  .gallery-hero-image {
    height: 260px;
    min-height: 260px;
    margin: 0 0 24px;
    border-radius: 14px;
    overflow: hidden;
  }

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

  .filter-bar {
    gap: 10px;
  }

  .gallery-filter,
  .gallery-sort {
    min-width: auto;
    padding: 0 16px;
  }

  .gallery-sort {
    margin-left: 0;
  }

  .gallery-cta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .gallery-cta-action {
    grid-column: auto;
    width: 100%;
  }

  .gallery-cta-icon {
    width: 58px;
    height: 58px;
  }

  .gallery-cta::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 18px);
  }

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

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-media img,
  .story-photo img,
  .cta-photo img {
    min-height: 240px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .quote-card p {
    font-size: 1.7rem;
  }

  .footer-grid {
    padding: 22px 18px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .showcase-item img {
    aspect-ratio: 1.42 / 1;
  }

  .gallery-more-button {
    min-width: 100%;
  }
}
