:root {
  --sand-50: #faf5ef;
  --sand-100: #f3ede6;
  --sand-200: #e6dacd;
  --sand-300: #d3c1af;
  --sand-500: #9b7e65;
  --ink: #16120f;
  --ink-soft: #6f6358;
  --paper: rgba(255, 252, 248, 0.82);
  --paper-strong: rgba(255, 252, 248, 0.94);
  --line: rgba(104, 80, 58, 0.14);
  --shadow: 0 26px 70px rgba(58, 39, 22, 0.12);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --container: 1460px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 35%),
    linear-gradient(180deg, #fbf7f2 0%, var(--sand-50) 42%, #f2ece5 100%);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  padding: 24px 24px 60px;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.14)),
    radial-gradient(circle at 17% 18%, rgba(239, 227, 214, 0.92), transparent 26%),
    radial-gradient(circle at 78% 12%, rgba(234, 221, 209, 0.95), transparent 24%);
  pointer-events: none;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.site-header {
  padding-top: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(129, 110, 91, 0.14);
}

.site-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.site-logo-plaque {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  width: 252px;
  height: auto;
  box-shadow: 0 12px 26px rgba(17, 12, 10, 0.14);
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1 1 760px;
  align-items: center;
  padding-top: 6px;
}

.nav-pill {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(129, 110, 91, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
}

.nav-pill.is-active {
  background: #1f1b18;
  border-color: #1f1b18;
  color: #fff9f2;
  box-shadow: 0 16px 32px rgba(31, 27, 24, 0.18);
}

.site-main {
  margin-top: 0;
}

.site-shell[data-page="bienvenidos"] .site-header {
  display: none;
}

.site-shell[data-page="bienvenidos"] .site-main {
  margin-top: 0;
  width: 100%;
}

.site-shell[data-page="bienvenidos"] .site-footer {
  display: none;
}

.site-shell[data-page="bienvenidos"] {
  min-height: 100vh;
  padding: 22px;
}

.site-shell[data-page="bienvenidos"]::before {
  display: none;
}

.page-view {
  display: grid;
  gap: 24px;
}

.home-view {
  gap: 0;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 44px);
  overflow: hidden;
  border-radius: 42px;
  border: 1px solid rgba(104, 80, 58, 0.1);
  box-shadow: 0 34px 90px rgba(32, 23, 15, 0.2);
  background: #231916;
  cursor: pointer;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: background-image 240ms ease;
}

.home-brand-plaque {
  position: absolute;
  top: 30px;
  left: 34px;
  z-index: 1;
}

.home-brand-image {
  display: block;
  width: 252px;
  height: auto;
  box-shadow: 0 14px 30px rgba(12, 10, 9, 0.18);
}

.home-hero-copy {
  position: absolute;
  inset: auto auto 52px 34px;
  z-index: 1;
  max-width: 760px;
  color: #fff9f2;
}

.home-kicker {
  color: rgba(255, 248, 240, 0.74);
  font-family: "Urbanist", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.52em;
}

.home-hero-title {
  margin: 0;
  max-width: 720px;
  font-family: "Urbanist", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3.9vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.home-hero-text {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 248, 240, 0.86);
  font-family: "Urbanist", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.74;
}

.home-hero-hint {
  margin: 16px 0 0;
  color: rgba(255, 248, 240, 0.68);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.home-hero-actions {
  margin-top: 28px;
}

.home-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(255, 248, 240, 0.28);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.18);
  color: #fff9f2;
  text-decoration: none;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.home-hero-button:hover {
  background: rgba(255, 248, 240, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 22px;
}

.card,
.mosaic-card,
.editorial-card,
.story-card,
.blog-card,
.clients-card,
.strip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 44px 42px 40px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--ink-soft);
  letter-spacing: 0.38em;
  font-size: 0.82rem;
}

.hero-title,
.section-title,
.large-title,
.blog-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 5.4rem);
}

.hero-text,
.section-text,
.card-note,
.blog-excerpt,
.meta-note,
.quote-body {
  color: var(--ink-soft);
  line-height: 1.68;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: 1.05rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(129, 110, 91, 0.12);
}

.stat-value {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mosaic-card {
  padding: 20px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, 84px);
  gap: 14px;
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px;
  color: #fffaf3;
  display: flex;
  align-items: end;
  min-height: 0;
}

.mosaic-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(8, 8, 8, 0.38));
}

.mosaic-tile span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 600;
}

.tile-large {
  grid-column: span 3;
  grid-row: span 3;
}

.tile-tall {
  grid-column: span 2;
  grid-row: span 3;
}

.tile-wide {
  grid-column: span 3;
  grid-row: span 2;
}

.tile-square {
  grid-column: span 2;
  grid-row: span 2;
}

.tone-portfolio { background: linear-gradient(150deg, #c5946f, #544238); }
.tone-arquitectura { background: linear-gradient(150deg, #938b7e, #4e4944); }
.tone-natura { background: linear-gradient(150deg, #9aaf8f, #556754); }
.tone-dulce { background: linear-gradient(150deg, #d7b5b6, #8a6875); }
.tone-newborn { background: linear-gradient(150deg, #d8cec6, #8f7f78); }
.tone-ninos { background: linear-gradient(150deg, #d3b07d, #875f44); }
.tone-comuniones { background: linear-gradient(150deg, #e0d0b5, #847162); }
.tone-mayores { background: linear-gradient(150deg, #b7bbc5, #64697b); }
.tone-stilllife { background: linear-gradient(150deg, #c9a279, #6c4d35); }

.section-stack,
.portfolio-overview,
.blog-grid {
  display: grid;
  gap: 22px;
}

.carousel-page-view {
  gap: 16px;
}

.gallery-page-topline {
  display: flex;
  justify-content: flex-end;
}

.gallery-page-parent {
  margin: 0;
  color: rgba(111, 99, 88, 0.72);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.42em;
}

.gallery-shell {
  display: grid;
  gap: 16px;
}

.gallery-media-frame {
  position: relative;
}

.gallery-viewport {
  border-radius: 34px;
  border: 1px solid rgba(104, 80, 58, 0.12);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.34);
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 34px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
}

.carousel-slide {
  position: relative;
  min-height: clamp(430px, 68vh, 760px);
  overflow: hidden;
  border-radius: 34px;
  scroll-snap-align: start;
  display: block;
  padding: 0;
  color: #fffaf4;
  border: 0;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 8, 8, 0.14));
}

.carousel-slide::after {
  display: none;
}

.carousel-slide-overlay {
  display: none;
}

.carousel-slide-copy {
  display: none;
}

.gallery-arrow,
.gallery-next-pill {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 248, 240, 0.16);
  color: #fffaf3;
  background: rgba(23, 19, 16, 0.34);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 28px rgba(15, 12, 10, 0.14);
}

.gallery-arrow {
  top: 50%;
  left: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-next-pill {
  left: 20px;
  bottom: 18px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.gallery-arrow:disabled,
.gallery-next-pill:disabled {
  opacity: 0.34;
  cursor: default;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 88px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(104, 80, 58, 0.12);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.4);
  background-position: center;
  background-size: cover;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(31, 27, 24, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
}

.gallery-thumb.is-active {
  border-color: rgba(31, 27, 24, 0.66);
  box-shadow: 0 14px 24px rgba(31, 27, 24, 0.14);
  transform: translateY(-1px);
}

.gallery-count {
  color: rgba(111, 99, 88, 0.82);
}

.carousel-count {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
}

.portfolio-landing {
  gap: 28px;
  padding-top: 12px;
}

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

.portfolio-gallery-link {
  position: relative;
  min-height: 368px;
  overflow: hidden;
  border-radius: 32px;
  text-decoration: none;
  color: #fffaf4;
  border: 1px solid rgba(104, 80, 58, 0.08);
  box-shadow: 0 26px 60px rgba(31, 27, 24, 0.1);
  background-position: center;
  background-size: cover;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.portfolio-gallery-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(31, 27, 24, 0.14);
}

.portfolio-gallery-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 10, 9, 0.08) 32%, rgba(12, 10, 9, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.18), transparent 38%);
}

.portfolio-gallery-copy {
  position: absolute;
  inset: auto 34px 30px 34px;
  z-index: 1;
}

.portfolio-gallery-kicker {
  margin: 0 0 8px;
  color: rgba(255, 250, 244, 0.76);
  font-size: 0.74rem;
  letter-spacing: 0.36em;
}

.portfolio-gallery-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 3.4vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.portfolio-gallery-copy p:last-child {
  margin: 16px 0 0;
  max-width: 340px;
  color: rgba(255, 250, 244, 0.88);
  font-size: 1rem;
  line-height: 1.55;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1fr);
  gap: 22px;
}

.editorial-card {
  padding: 36px 34px;
}

.section-title {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.section-text {
  margin: 18px 0 0;
  font-size: 1rem;
}

.section-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.soft-pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(129, 110, 91, 0.13);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.photo-card {
  min-height: 260px;
  padding: 18px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  color: #fff8f1;
  display: flex;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.28), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(8, 7, 6, 0.4));
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
}

.photo-card-content {
  position: relative;
  z-index: 1;
}

.photo-card h4 {
  margin: 0;
  font-size: 1.08rem;
}

.photo-card p {
  margin: 8px 0 0;
  max-width: 220px;
  color: rgba(255, 248, 241, 0.84);
  font-size: 0.92rem;
  line-height: 1.55;
}

.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;
}

.story-card {
  padding: 30px 30px 28px;
  display: grid;
  gap: 18px;
}

.story-list {
  display: grid;
  gap: 14px;
}

.story-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(129, 110, 91, 0.11);
}

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

.story-index {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.story-item h4 {
  margin: 0;
  font-size: 1rem;
}

.story-item p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

.strip-card {
  padding: 26px;
}

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

.strip-tile {
  min-height: 170px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.strip-tile::before,
.strip-tile::after {
  content: "";
  position: absolute;
}

.strip-tile::before {
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(9, 8, 8, 0.36));
}

.strip-tile::after {
  inset: auto 16px 16px auto;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

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

.blog-card {
  padding: 20px;
  display: grid;
  gap: 18px;
}

.blog-cover {
  min-height: 240px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

.blog-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.3), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(8, 8, 8, 0.42));
}

.meta-note {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.blog-title {
  font-size: 2.6rem;
}

.blog-excerpt {
  margin: 0;
  font-size: 0.96rem;
}

.clients-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.clients-preview {
  min-height: 420px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #d7c2aa, #544338);
}

.clients-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 8, 8, 0.52));
}

.clients-preview-copy {
  position: absolute;
  inset: auto 28px 28px 28px;
  color: #fff9f1;
  z-index: 1;
}

.clients-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.clients-panel {
  padding: 18px 8px 8px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.primary-link {
  background: #1f1b18;
  color: #fff9f2;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(129, 110, 91, 0.16);
  color: var(--ink);
}

.site-footer {
  margin-top: 70px;
  padding: 54px 0 0;
  border-top: 1px solid rgba(129, 110, 91, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.footer-copy {
  margin: 22px 0 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.footer-right {
  display: grid;
  justify-items: end;
  gap: 24px;
  padding-top: 18px;
}

.footer-links {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
}

.footer-signature {
  margin: 0;
  color: rgba(111, 99, 88, 0.54);
  font-size: 0.92rem;
  letter-spacing: 0.42em;
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-grid,
  .clients-card {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: calc(100vh - 44px);
  }

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

  .carousel-slide {
    min-height: clamp(400px, 58vh, 680px);
  }
}

@media (max-width: 860px) {
  .site-shell {
    padding: 18px 18px 44px;
  }

  .site-header {
    padding-top: 4px;
  }

  .site-header-inner {
    gap: 16px;
  }

  .site-logo-plaque {
    min-width: 0;
  }

  .site-logo-image {
    width: 224px;
  }

  .site-shell[data-page="bienvenidos"] {
    padding: 18px;
  }

  .home-hero {
    min-height: calc(100vh - 36px);
    border-radius: 32px;
  }

  .home-brand-plaque {
    top: 24px;
    left: 22px;
  }

  .home-brand-image {
    width: 218px;
  }

  .home-hero-copy {
    inset: auto 22px 30px 22px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    auto-rows: 120px;
  }

  .tile-large,
  .tile-tall,
  .tile-wide,
  .tile-square {
    grid-column: span 1;
    grid-row: span 1;
  }

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

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

  .carousel-slide {
    min-height: clamp(360px, 52vh, 560px);
    border-radius: 28px;
  }

  .gallery-viewport {
    border-radius: 28px;
  }

  .gallery-arrow {
    left: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.85rem;
  }

  .gallery-next-pill {
    left: 14px;
    bottom: 14px;
  }

  .gallery-thumb {
    width: 78px;
    height: 58px;
  }

  .portfolio-gallery-link {
    min-height: 320px;
    border-radius: 26px;
  }

  .footer-title {
    font-size: clamp(3rem, 8vw, 4.2rem);
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .editorial-card,
  .story-card,
  .blog-card,
  .clients-card,
  .strip-card {
    padding: 24px 22px;
    border-radius: 28px;
  }

  .mosaic-card,
  .gallery-card,
  .gallery-header {
    padding: 16px;
    border-radius: 28px;
  }

  .visual-card,
  .form-card {
    border-radius: 28px;
  }

  .brand-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .site-logo-plaque {
    max-width: 100%;
  }

  .site-logo-image {
    width: min(100%, 202px);
  }

  .home-hero {
    min-height: calc(100vh - 36px);
    border-radius: 28px;
  }

  .home-brand-plaque {
    max-width: calc(100% - 28px);
  }

  .home-brand-image {
    width: min(100%, 194px);
  }

  .home-hero-title {
    font-size: clamp(1.9rem, 7.2vw, 2.75rem);
  }

  .home-hero-text {
    font-size: 0.84rem;
  }

  .home-hero-button {
    width: 100%;
  }

  .carousel-slide {
    min-height: clamp(300px, 46vh, 440px);
    border-radius: 24px;
  }

  .gallery-viewport {
    border-radius: 24px;
  }

  .gallery-arrow {
    left: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .gallery-next-pill {
    left: 12px;
    bottom: 12px;
    min-height: 28px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .gallery-thumb {
    width: 68px;
    height: 52px;
    border-radius: 16px;
  }

  .gallery-toolbar {
    align-items: flex-start;
  }

  .portfolio-gallery-link {
    min-height: 290px;
    border-radius: 24px;
  }

  .portfolio-gallery-copy {
    inset: auto 18px 18px 18px;
  }

  .portfolio-gallery-copy h3 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .portfolio-gallery-copy p:last-child {
    margin-top: 12px;
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 10vw, 4.2rem);
  }

  .stats-row,
  .strip-row {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .blog-cover,
  .clients-preview {
    min-height: 220px;
  }

  .footer-right {
    justify-items: start;
    padding-top: 0;
    gap: 16px;
  }

  .footer-links {
    gap: 18px;
  }

  .footer-signature {
    letter-spacing: 0.24em;
  }
}
