:root {
  --ink: #111827;
  --body: #4f6175;
  --muted: #718195;
  --brand: #1877f2;
  --brand-deep: #071a33;
  --brand-soft: #e8f2ff;
  --brand-mid: #2f80d1;
  --blue: #1b5e9d;
  --coral: #d97706;
  --clay: #b86a28;
  --gold: #e5ad56;
  --cream: #f7fbff;
  --paper: #f8fbff;
  --white: #fff;
  --line: #d7e4f2;
  --shadow: 0 22px 70px rgba(7, 26, 51, .16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 253, 248, .88);
  border-bottom: 1px solid rgba(18, 59, 99, .12);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(18, 59, 99, .14);
  box-shadow: 0 16px 34px rgba(18, 59, 99, .22);
  flex: 0 0 auto;
  overflow: hidden;
}
.logo-icon-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.brand strong { display: block; font-size: 1rem; line-height: 1.05; }
.brand small { display: block; color: var(--body); font-size: .78rem; font-weight: 800; margin-top: 3px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #172b46;
  font-weight: 900;
  font-size: .9rem;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 900;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(18, 59, 99, .24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 58%, var(--coral));
  box-shadow: 0 16px 34px rgba(18, 59, 99, .22);
}
.btn-soft {
  color: var(--brand);
  background: #fff;
  border-color: #cfe0f5;
}
.btn-glass {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  backdrop-filter: blur(10px);
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: end;
  padding: clamp(28px, 6vw, 74px);
  overflow: hidden;
  background: var(--brand-deep);
}
.hero-slider,
.hero-slider img,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease, transform 8s ease;
  transform: scale(1.04);
}
.hero-slider img.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, .84), rgba(7, 26, 51, .5) 48%, rgba(7, 26, 51, .16)),
    linear-gradient(0deg, rgba(7, 26, 51, .74), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 900;
}
.hero .eyebrow,
.page-hero .eyebrow,
.process-band .eyebrow,
.review-band .eyebrow { color: #f1bd67; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8.4vw, 7.2rem);
  line-height: .9;
  letter-spacing: 0;
  max-width: 980px;
}
.hero p {
  max-width: 760px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 2vw, 1.26rem);
  line-height: 1.72;
}
.hero-actions,
.inline-actions,
.center-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-card {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.hero-card h2 { margin: 8px 0 8px; font-size: 1.35rem; }
.hero-card p { margin: 0 0 12px; color: rgba(255,255,255,.78); line-height: 1.55; }
.card-kicker {
  color: #f6c575;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}
.mini-link {
  color: var(--brand);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}
.mini-link.light { color: #fff; }

.signal-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.signal-row article {
  background: #fff;
  padding: 24px clamp(16px, 3vw, 34px);
}
.signal-row strong {
  display: block;
  color: var(--brand);
  font-size: 1.05rem;
}
.signal-row span {
  display: block;
  margin-top: 7px;
  color: var(--body);
  line-height: 1.55;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(16px, 4vw, 58px);
}
.section-soft {
  background:
    radial-gradient(circle at 8% 12%, rgba(229,173,86,.18), transparent 28%),
    linear-gradient(180deg, #f2f7ff, #f8fbff);
}
.section-heading {
  margin: 0 auto 34px;
}
.section-heading h2,
.section-copy h2,
.contact-panel h2,
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: 0;
}
.section-heading p,
.section-copy p,
.contact-panel p,
.page-hero p,
.editorial-card p {
  color: var(--body);
  line-height: 1.78;
  font-size: 1.03rem;
}
.section-lead {
  max-width: 760px;
  margin: 10px 0 0;
}
.section-lead strong {
  color: var(--brand-deep);
  font-weight: 900;
}
.fee-notice {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 59, 99, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #eef6ff);
  box-shadow: 0 12px 28px rgba(7, 26, 51, .08);
}
.fee-notice span {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.fee-notice strong {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--coral));
  font-size: 1.45rem;
  font-weight: 900;
}
.fee-notice p {
  margin: 0;
  color: var(--body);
  line-height: 1.45;
}
.fee-notice.compact {
  grid-template-columns: auto auto;
  align-items: start;
}
.fee-notice.compact p {
  grid-column: 1 / -1;
}
.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.center {
  text-align: center;
  max-width: 900px;
}
.center-actions {
  justify-content: center;
  margin-top: 28px;
}
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}
.application-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  background: linear-gradient(180deg, #f8fbff, #f4f8ff);
}
.application-notice {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(18, 59, 99, .18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(232,242,255,.92)),
    radial-gradient(circle at 90% 12%, rgba(215,107,74,.18), transparent 32%);
  box-shadow: var(--shadow);
}
.application-notice h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.application-notice p {
  color: var(--body);
  line-height: 1.72;
}
.application-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(215,107,74,.12), transparent 30%),
    linear-gradient(180deg, #f4f8ff, #f8fbff);
}
.application-form {
  max-width: 1180px;
  margin: 0 auto;
  overflow: visible;
}
.form-head {
  margin-bottom: 20px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(18, 59, 99, .16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, #fff, #f2f7ff 62%, rgba(255, 248, 237, .9)),
    radial-gradient(circle at 96% 0%, rgba(215, 107, 74, .16), transparent 30%);
}
.form-head h2 {
  margin: 0 0 10px;
  max-width: 900px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.selected-pup-panel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid rgba(18, 59, 99, .18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, #ffffff, #f3f8ff),
    radial-gradient(circle at 0% 0%, rgba(229, 173, 86, .2), transparent 34%);
  box-shadow: 0 18px 42px rgba(7, 26, 51, .1);
}
.selected-pup-panel.is-empty {
  display: block;
  padding: clamp(18px, 4vw, 26px);
  background:
    linear-gradient(135deg, #f8fbff, #f7faff),
    repeating-linear-gradient(135deg, rgba(27,94,157,.05) 0 10px, transparent 10px 20px);
}
.selected-pup-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.selected-pup-empty span {
  color: var(--brand-deep);
  font-size: 1.1rem;
  font-weight: 900;
}
.selected-pup-empty p {
  max-width: 760px;
  margin: 0;
  color: var(--body);
  line-height: 1.62;
}
.selected-pup-media {
  overflow: hidden;
  min-height: 180px;
  border-radius: 20px;
  background: var(--brand-soft);
}
.selected-pup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.selected-pup-content {
  min-width: 0;
  padding: 8px 4px;
}
.selected-pup-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.selected-pup-content p {
  margin: 12px 0 0;
  color: var(--body);
  line-height: 1.62;
}
.selected-pup-content .selected-pup-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8ed;
  color: var(--ink);
}
.selected-pup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.selected-pup-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: #e8f2ff;
  font-size: .78rem;
  font-weight: 900;
}
.selected-pup-actions {
  margin-top: 14px;
}
.form-section {
  margin: 20px 0 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 26, 51, .055);
}
.form-section legend {
  padding: 0 10px;
  color: var(--brand-deep);
  font-size: 1.03rem;
  font-weight: 900;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #172b46;
  font-weight: 900;
}
.field.wide {
  grid-column: 1 / -1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5e3f2;
  border-radius: 15px;
  background: #fbfdff;
  padding: 13px 14px;
  outline: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(18, 59, 99, .1);
}
.field input.touched:invalid,
.field select.touched:invalid,
.field textarea.touched:invalid {
  border-color: #c94747;
  box-shadow: 0 0 0 4px rgba(201, 71, 71, .08);
}
.form-help {
  margin: 0 0 14px;
  color: var(--body);
  line-height: 1.62;
}
.upload-zone {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1.5px dashed rgba(18, 59, 99, .38);
  border-radius: 22px;
  color: var(--brand-deep);
  background:
    radial-gradient(circle at 50% 0%, rgba(47,128,209,.16), transparent 34%),
    #f8fbff;
  text-align: center;
  cursor: pointer;
}
.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-zone span {
  font-size: 1.3rem;
  font-weight: 900;
}
.upload-zone small {
  display: block;
  max-width: 430px;
  margin-top: 8px;
  color: var(--body);
  line-height: 1.45;
}
.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.media-preview-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 26, 51, .08);
}
.media-preview-card img,
.media-preview-card video {
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.remove-media {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(7,26,51,.86);
  cursor: pointer;
}
.media-file-name {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,26,51,.78);
  font-size: .68rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: #172b46;
  font-weight: 800;
  line-height: 1.45;
}
.form-check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.confirmation-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,248,255,.98)),
    radial-gradient(circle at 100% 0%, rgba(215,107,74,.1), transparent 28%);
}
.confirmation-list {
  display: grid;
  gap: 12px;
}
.confirmation-card {
  align-items: center;
  min-height: 64px;
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(18, 59, 99, .16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 26, 51, .06);
}
.confirmation-card span {
  min-width: 0;
}
.email-verify-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18, 59, 99, .14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.email-verify-card.has-error {
  border-color: rgba(159, 36, 64, .5);
  background:
    linear-gradient(180deg, #fffafa, #fff4f6),
    #fff;
  box-shadow: 0 0 0 4px rgba(159, 36, 64, .08), 0 14px 30px rgba(159, 36, 64, .08);
}
.email-verify-card.has-loading {
  border-color: rgba(184, 93, 45, .36);
}
.email-verify-card label {
  margin: 0;
}
.email-verify-card input[type="email"],
.verify-code-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5e3f2;
  border-radius: 15px;
  background: #fbfdff;
  padding: 13px 14px;
  font: inherit;
  outline: 0;
}
.email-verify-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
.verify-send,
.verify-confirm {
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
}
.verify-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.verify-code-row[hidden] {
  display: none;
}
.verify-code-row input {
  font-weight: 900;
  letter-spacing: .08em;
}
.verify-note {
  min-height: 0;
  margin: 0;
  color: var(--body);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
}
.verify-note.is-success,
.form-note.is-success {
  color: var(--brand);
}
.verify-note.is-error,
.form-note.is-error {
  color: #9f2440;
}
.verify-note.is-error {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(159, 36, 64, .22);
  border-radius: 15px;
  background: #fff0f3;
}
.verify-note.is-loading,
.form-note.is-loading {
  color: #b85d2d;
}
.email-verify-card.is-verified {
  border-color: rgba(18, 59, 99, .38);
  box-shadow: 0 0 0 4px rgba(18, 59, 99, .08);
}
.email-verify-card.is-verified.has-error {
  border-color: rgba(18, 59, 99, .38);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 0 0 4px rgba(18, 59, 99, .08);
}
.avatar-preview {
  margin-top: 10px;
}
.avatar-preview-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(18, 59, 99, .14);
  border-radius: 16px;
  background: #fff;
}
.avatar-preview-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}
.avatar-preview-card strong,
.avatar-preview-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-preview-card span {
  color: var(--body);
  font-size: .88rem;
}
.avatar-preview-card button,
.modal-close {
  border: 0;
  border-radius: 999px;
  background: rgba(7, 26, 51, .1);
  color: var(--brand-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.avatar-preview-card button {
  width: 34px;
  height: 34px;
}
.inquiry-form.is-submitting,
.application-form.is-submitting {
  opacity: .86;
}
.inquiry-form.is-submitting button[type="submit"],
.application-form.is-submitting button[type="submit"] {
  cursor: wait;
}
.section-copy,
.contact-panel {
  max-width: 780px;
}
.editorial-card,
.contact-panel,
.inquiry-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.editorial-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.editorial-card div {
  padding: 24px;
}
.editorial-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: #172b46;
  font-weight: 800;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  box-shadow: inset 0 0 0 6px #dcecff;
}

.pup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pup-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.public-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(18, 59, 99, .25);
  border-radius: 20px;
  background: linear-gradient(135deg, #f7faff, #eef6ff);
  color: var(--body);
  text-align: center;
}
.public-empty strong,
.public-empty span {
  display: block;
}
.public-empty strong {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.pup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 26, 51, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(7, 26, 51, .14);
}
.pup-card .body {
  padding: 18px;
}
.photo-wrap {
  position: relative;
}
.pup-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.pup-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.pup-title-row span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff5e1;
  color: #8c5200;
  font-size: .68rem;
  font-weight: 900;
}
.pup-card p {
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.meta-line span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f8ff;
}
.pup-facts {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(18, 59, 99, .13);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7faff, #eef6ff);
}
.pup-facts span {
  color: var(--body);
  font-size: .78rem;
  line-height: 1.45;
}
.pup-facts strong {
  color: var(--brand);
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.chip {
  display: inline-flex;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: .72rem;
  font-weight: 900;
}
.status-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  max-width: calc(100% - 24px);
  color: #fff;
  background: rgba(7, 26, 51, .86);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pup-card .card-actions .btn {
  padding: 11px 14px;
  font-size: .86rem;
}

.media-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--brand-soft);
}
.pup-card .media-carousel { aspect-ratio: 1 / 1; }
.story-card .media-carousel,
.review-card .media-carousel { height: 260px; }
.story-grid.large .story-card .media-carousel { height: 360px; }
.media-track {
  height: 100%;
  display: flex;
  transition: transform .34s ease;
  touch-action: pan-y;
}
.media-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  background: #071a33;
  cursor: zoom-in;
}
.media-slide img,
.media-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-slide video { background: #071a33; }
.play-cue {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.play-cue::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(7,26,51,.25);
}
.play-cue::after {
  content: "";
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--brand-deep);
  transform: translateX(3px);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--brand-deep);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7,26,51,.18);
}
.carousel-btn:hover {
  background: #fff;
  color: var(--coral);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 5;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(7,26,51,.44);
  backdrop-filter: blur(8px);
}
.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.46);
}
.carousel-dots span.active { background: #fff; }

.process-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,26,51,.98), rgba(27,94,157,.92)),
    radial-gradient(circle at 80% 20%, rgba(229,173,86,.28), transparent 30%);
}
.process-band .section-heading p { color: rgba(255,255,255,.76); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-grid.detailed { grid-template-columns: repeat(3, 1fr); }
.step-grid article {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}
.step-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: var(--brand-deep);
  background: #f6c575;
  font-weight: 900;
}
.step-grid h3 { margin: 18px 0 10px; font-size: 1.18rem; }
.step-grid p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.62; }

.media-story {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.12fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  background: #fff;
}
.media-story h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .98;
}
.media-story p {
  color: var(--body);
  line-height: 1.78;
  margin-bottom: 24px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.video-grid video,
.video-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  background: var(--brand-deep);
  box-shadow: var(--shadow);
}

.story-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.story-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.story-card,
.review-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(7, 26, 51, .07);
}
.memory-card {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff, #f7faff),
    #fff;
  border-color: rgba(18, 59, 99, .16);
}
.memory-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--coral));
}
.memory-media {
  position: relative;
}
.story-card div.content,
.review-card div.content {
  padding: 22px;
}
.memory-card div.content {
  padding: 24px;
}
.memory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.memory-pill,
.memory-date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}
.memory-pill {
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.memory-date {
  color: #9d5928;
  background: #fff3dc;
}
.story-card h3,
.review-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}
.review-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  border: 2px solid #fff;
  box-shadow: 0 12px 24px rgba(7, 26, 51, .16);
  font-weight: 900;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card p,
.review-card p {
  margin: 0;
  color: var(--body);
  line-height: 1.7;
}
.review-band {
  background: linear-gradient(180deg, #fff8ed, #f8fbff);
}
.review-actions {
  gap: 12px;
  flex-wrap: wrap;
}
.review-card .review-type {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.stars {
  margin-top: 16px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .08em;
}

.rating-field {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(18, 59, 99, .16);
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f7ff, #f8fbff);
}
.rating-field > span {
  color: var(--brand-deep);
  font-weight: 900;
}
.rating-field small {
  color: var(--muted);
  font-weight: 800;
}
.rating-stars {
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 26, 51, .08);
}
.rating-star {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #edf3fa;
  color: #9aa8b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.rating-star:hover,
.rating-star:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 4px rgba(18, 59, 99, .12);
}
.rating-star.is-active {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #fff;
}

.gallery-preview { background: #f7faff; }
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 26, 51, .56);
  backdrop-filter: blur(8px);
}
.review-modal.open {
  display: flex;
}
.review-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215,107,74,.11), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  padding: clamp(18px, 4vw, 30px);
}
.review-popup-form {
  margin-top: 18px;
  box-shadow: none;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
}
body.modal-open {
  overflow: hidden;
}
.mosaic-grid {
  columns: 5 210px;
  column-gap: 15px;
}
.mosaic-grid.preview { columns: 5 180px; }
.media-tile {
  position: relative;
  break-inside: avoid;
  margin: 0 0 15px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7, 26, 51, .08);
  cursor: zoom-in;
}
.media-tile img,
.media-tile video {
  width: 100%;
  height: auto;
}
.media-source-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 26, 51, .82);
  font-size: .72rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(7, 26, 51, .18);
}
.media-source-tag:hover {
  background: var(--coral);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 11vw, 150px) clamp(16px, 4vw, 58px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,26,51,.82), rgba(27,94,157,.58)),
    url("img.jpg") center/cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,26,51,.78), rgba(7,26,51,.38) 58%, rgba(7,26,51,.18));
  z-index: 1;
}
.page-hero > *:not(.page-hero-slider) {
  position: relative;
  z-index: 2;
}
.page-hero-slider,
.page-hero-slider img {
  position: absolute;
  inset: 0;
}
.page-hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 8s ease;
}
.page-hero-slider img.active {
  opacity: 1;
  transform: scale(1);
}
.page-hero h1 { max-width: 1000px; color: #fff; }
.page-hero p {
  max-width: 780px;
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
}
.story-hero { background: linear-gradient(135deg, rgba(7,26,51,.96), rgba(27,94,157,.78)), url("amazing pups.webp") center/cover; }
.review-hero { background: linear-gradient(135deg, rgba(7,26,51,.96), rgba(27,94,157,.78)), url("dhrytd.jpg") center/cover; }
.gallery-hero { background: linear-gradient(135deg, rgba(7,26,51,.96), rgba(27,94,157,.74)), url("yo.jpg") center/cover; }
.contact-hero { background: linear-gradient(135deg, rgba(7,26,51,.96), rgba(27,94,157,.76)), url("giyh.jpg") center/cover; }
.adoption-hero { background: linear-gradient(135deg, rgba(7,26,51,.96), rgba(27,94,157,.78)), url("tfutd.jpg") center/cover; }
.page-body { background: #f8fbff; }
.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-field {
  flex: 1 1 320px;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 16px;
  box-shadow: 0 12px 26px rgba(7, 26, 51, .06);
}
.search-field span {
  color: var(--brand);
  font-weight: 900;
  font-size: .8rem;
}
.search-field input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
}
.filter-pills {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.filter-pills button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--body);
  font-weight: 900;
  padding: 10px 15px;
  cursor: pointer;
}
.filter-pills button.active {
  color: #fff;
  background: var(--brand);
}

.inquiry-form {
  padding: clamp(22px, 4vw, 34px);
}
.inquiry-form h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.inquiry-form p { color: var(--body); line-height: 1.65; }
.inquiry-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #172b46;
  font-weight: 900;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #d5e3f2;
  border-radius: 15px;
  background: #fbfdff;
  padding: 13px 14px;
  outline: 0;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(18, 59, 99, .1);
}
.inquiry-form input.touched:invalid,
.inquiry-form select.touched:invalid,
.inquiry-form textarea.touched:invalid {
  border-color: #c94f54;
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(201, 79, 84, .09);
}
.inquiry-form button { margin-top: 16px; width: 100%; }
.form-note {
  min-height: 24px;
  font-weight: 900;
  color: var(--brand);
}
.form-note:not(:empty) {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 59, 99, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  color: var(--brand-deep);
  line-height: 1.45;
}
.inquiry-form,
.application-form {
  border: 1px solid rgba(18, 59, 99, .16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0%, rgba(47, 128, 209, .14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,251,255,.98));
  box-shadow: 0 24px 62px rgba(7, 26, 51, .11);
}
.application-form .btn-primary,
.inquiry-form .btn-primary {
  box-shadow: 0 14px 30px rgba(18, 59, 99, .2);
}
.application-form .form-section {
  background:
    linear-gradient(180deg, #fff, #fbfdff),
    radial-gradient(circle at 100% 0%, rgba(229,173,86,.1), transparent 26%);
}
.compact-upload {
  min-height: 138px;
  margin-top: 16px;
}
.compact-upload span {
  font-size: 1.06rem;
}
.contact-panel {
  padding: clamp(24px, 4vw, 42px);
}
.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.contact-methods a {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.site-footer {
  color: #edf5ff;
  background:
    radial-gradient(circle at 15% 10%, rgba(229,173,86,.2), transparent 25%),
    linear-gradient(135deg, #071a33, #061428);
}
.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: clamp(34px, 6vw, 64px) clamp(16px, 4vw, 58px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}
.footer-cta p { color: rgba(255,255,255,.72); line-height: 1.65; margin: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: clamp(34px, 5vw, 58px) clamp(16px, 4vw, 58px);
}
.footer-logo {
  width: min(190px, 72vw);
  height: 76px;
  object-fit: contain;
  object-position: left center;
  margin: -10px 0 10px;
  padding: 8px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}
.footer-main h3,
.footer-main h4 { margin: 0 0 12px; color: #fff; }
.footer-main p,
.footer-main a {
  display: block;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0 0 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 58px);
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.58);
  font-size: .9rem;
}

.back-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(18, 59, 99, .28);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 26, 51, .88);
}
.lightbox.open { display: flex; }
.lightbox img,
.lightbox video {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 22px;
  background: #000;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 50%;
  color: var(--brand-deep);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
}
.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

@media (max-width: 1080px) {
  .pup-grid,
  .pup-grid.compact,
  .step-grid,
  .signal-row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { min-height: 70px; padding: 10px 12px; }
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, .98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 16px; }
  .header-actions .btn-soft { display: none; }
  .signal-row article {
    padding: 18px 14px;
  }
  .signal-row strong {
    font-size: .95rem;
  }
  .signal-row span {
    font-size: .84rem;
    line-height: 1.42;
  }
  .hero {
    min-height: 760px;
    padding: 24px 16px;
    align-items: center;
  }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }
  .split-section,
  .application-intro,
  .media-story,
  .footer-cta { grid-template-columns: 1fr; }
  .section-copy { max-width: none; }
  .story-grid,
  .story-grid.large,
  .review-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid video,
  .video-grid img { height: 300px; }
  .page-hero { padding-top: 74px; padding-bottom: 82px; }
  .form-grid { grid-template-columns: 1fr; }
  .application-form { border-radius: 0; }
  .selected-pup-panel {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  body { background: #f8fbff; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .72rem; }
  .brand-mark { width: 44px; height: 44px; border-radius: 15px; }
  .footer-logo {
    width: min(176px, 74vw);
    height: 70px;
  }
  .menu-btn { padding: 11px 15px; }
  .hero { min-height: 720px; }
  .hero-actions .btn,
  .inline-actions .btn,
  .toolbar .btn { width: 100%; }
  .signal-row,
  .pup-grid,
  .pup-grid.compact,
  .step-grid,
  .step-grid.detailed,
  .footer-main { grid-template-columns: 1fr; }
  .signal-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 14px; }
  .application-section { padding-left: 0; padding-right: 0; }
  .application-form {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
  .form-head {
    border-radius: 18px;
    padding: 18px 14px;
  }
  .selected-pup-panel {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    border-radius: 18px;
    padding: 10px;
  }
  .selected-pup-panel.is-empty {
    padding: 18px 14px;
  }
  .selected-pup-media {
    min-height: 118px;
    border-radius: 16px;
  }
  .selected-pup-content h3 {
    font-size: 1.28rem;
  }
  .selected-pup-content p {
    display: none;
  }
  .selected-pup-meta {
    gap: 6px;
  }
  .selected-pup-meta span {
    min-height: 28px;
    padding: 5px 8px;
    font-size: .68rem;
  }
  .form-section {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .application-notice {
    border-radius: 18px;
  }
  .upload-zone {
    min-height: 150px;
    padding: 20px 14px;
  }
  .media-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .email-verify-actions,
  .verify-code-row {
    grid-template-columns: 1fr;
  }
  .verify-send,
  .verify-confirm {
    width: 100%;
  }
  .confirmation-card {
    align-items: flex-start;
    padding: 14px;
  }
  .review-modal {
    align-items: flex-end;
    padding: 0;
  }
  .review-modal-panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 26px 26px 0 0;
  }
  .avatar-preview-card {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }
  .avatar-preview-card img {
    width: 54px;
    height: 54px;
  }
  .memory-card div.content,
  .review-card div.content {
    padding: 18px;
  }
  .memory-meta {
    align-items: flex-start;
  }
  .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .editorial-card img,
  .story-card .media-carousel,
  .story-grid.large .story-card .media-carousel,
  .review-card .media-carousel { height: 280px; }
  .mosaic-grid,
  .mosaic-grid.preview { columns: 2 140px; column-gap: 10px; }
  .media-tile { margin-bottom: 10px; border-radius: 16px; }
  .toolbar { align-items: stretch; }
  .filter-pills { width: 100%; overflow-x: auto; }
  .search-field { max-width: none; flex-basis: 100%; }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-main h3,
  .footer-main h4 {
    font-size: .98rem;
  }
  .footer-main p,
  .footer-main a {
    font-size: .84rem;
    line-height: 1.45;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    font-size: .76rem;
  }
  .footer-cta { padding-left: 14px; padding-right: 14px; }
  .fee-notice {
    grid-template-columns: 1fr auto;
  }
  .fee-notice p {
    grid-column: 1 / -1;
  }
  .carousel-btn {
    width: 34px;
    height: 34px;
  }
}
