/* Advanced Printing — v2 premium pass (defect-36ae5b229ae)
   Mobile-first. Base styles target ~390px width, desktop enhancements via min-width media queries.
   Same navy/orange brand, refined: real type ramp, layered depth, restrained motion, AA contrast. */

:root {
  --navy: #132a4c;
  --navy-deep: #0c1c33;
  --orange: #f2872e;
  --orange-deep: #d9701c;
  --orange-hover: #e07f28; /* darker than --orange but keeps navy text at 4.95:1 (AA) */
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5b6472;
  --hairline: #e4e1da;
  --available: #2f9e5c;
  --unavailable: #d8dde3;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --max-width: 1200px;
  --space-mobile: 56px;
  --space-desktop: 96px;

  --ease: cubic-bezier(.4, 0, .2, 1);

  /* layered elevation — hairline + soft ambient + directional shadow */
  --shadow-sm: 0 1px 2px rgba(19, 42, 76, 0.06), 0 1px 1px rgba(19, 42, 76, 0.04);
  --shadow-md: 0 2px 4px rgba(19, 42, 76, 0.05), 0 8px 20px rgba(19, 42, 76, 0.08);
  --shadow-lg: 0 4px 10px rgba(19, 42, 76, 0.06), 0 20px 40px rgba(19, 42, 76, 0.12);
  --focus-ring: 0 0 0 3px rgba(242, 135, 46, 0.32);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.8vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.15rem); }
h3 { font-weight: 600; font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); }

p { margin: 0 0 16px; color: var(--text); }

a { color: var(--navy); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--orange); }

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

/* Refined focus-visible ring, everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .15s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Navy-on-orange, not white-on-orange: white on #f2872e is only 2.54:1 and fails
   WCAG AA. Navy is 5.66:1 on the base and 4.95:1 on the hover shade. */
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
  box-shadow: 0 1px 2px rgba(217, 112, 28, 0.25), 0 6px 16px rgba(242, 135, 46, 0.28);
}
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--navy); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(217, 112, 28, 0.3), 0 10px 22px rgba(242, 135, 46, 0.34); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* On the dark hero photo a navy outline button is invisible (1.0:1) — invert it. */
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------- Layout helpers ---------- */
.section-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--space-mobile) 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 0 rgba(19, 42, 76, 0.02);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-text strong { font-weight: 700; color: var(--orange); }

.logo-mark {
  height: 64px;
  width: auto;
  max-width: 66px;
  object-fit: contain;
}

@media (max-width: 639px) {
  .logo-mark { height: 44px; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.nav-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.nav-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-menu a {
  padding: 12px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid #f0efec;
}

.nav-cta {
  margin-top: 8px;
  text-align: center;
}

/* ---------- Premium header polish (defect: "header looks like shit — make it fancy & cool") ---------- */
.site-header {
  position: sticky;
  transition: box-shadow .28s var(--ease), background .28s var(--ease);
}
/* animated navy→orange hairline across the very top edge */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 45%, #ffd9a8 50%, var(--orange) 55%, var(--navy) 100%);
  background-size: 220% 100%;
  animation: apHeaderSheen 7s linear infinite;
}
@keyframes apHeaderSheen { to { background-position: -220% 0; } }
/* deeper elevation once the page is scrolled */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 28px rgba(19, 42, 76, 0.12);
}
.logo { transition: transform .2s var(--ease); }
.logo:hover { transform: translateY(-1px); }

/* Premium CTA — dark pill, orange arrow, glow on hover (replaces the flat orange rectangle) */
.nav-cta.btn-primary {
  background: linear-gradient(135deg, #1b3a63 0%, var(--navy-deep) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 4px 16px rgba(19, 42, 76, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.nav-cta.btn-primary::after {
  content: '\2192';
  margin-left: 9px;
  color: var(--orange);
  display: inline-block;
  transition: transform .2s var(--ease);
}
.nav-cta.btn-primary:hover {
  background: linear-gradient(135deg, #22477a 0%, #10345f 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(19, 42, 76, 0.34), 0 0 0 3px rgba(242, 135, 46, 0.30);
}
.nav-cta.btn-primary:hover::after { transform: translateX(4px); }

/* Animated underline on desktop nav links */
@media (min-width: 900px) {
  .nav-menu a:not(.nav-cta) {
    position: relative;
    font-weight: 600;
    padding: 6px 2px;
  }
  .nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transition: right .22s var(--ease);
  }
  .nav-menu a:not(.nav-cta):hover::after,
  .nav-menu a:not(.nav-cta).is-current::after { right: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(12,28,51,0.96) 0%, rgba(19,42,76,0.88) 42%, rgba(15,33,56,0.62) 100%),
    url('/assets/images/gallary-image.png');
  background-size: cover;
  background-position: center 20%;
  color: #fff;
  padding: 72px 0;
  position: relative;
}

.hero-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.hero-sub {
  color: #d7dfec;
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero {
  background:
    linear-gradient(115deg, rgba(12,28,51,0.97) 0%, rgba(19,42,76,0.9) 48%, rgba(15,33,56,0.66) 100%),
    url('/assets/images/gallary-image.png');
  background-size: cover;
  background-position: center 15%;
  color: #fff;
  padding: 52px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .hero-sub { color: #d7dfec; margin-bottom: 0; }

/* ---------- Section headings ---------- */
.section-sub {
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.secondary-heading {
  margin-top: 44px;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card-grid--secondary {
  grid-template-columns: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.service-card .service-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
}

.service-photo {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--hairline);
  transition: transform .45s var(--ease);
}

/* The body grows, so `service-cta` pins to the bottom edge of every card and the
   equal-height row reads as a deliberate grid rather than as ragged dead space. */
.service-card .service-body { flex: 1 1 auto; }
.service-card .service-cta { margin-top: auto; padding-top: 6px; }

a.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
a.service-card:hover .service-photo { transform: scale(1.04); }

/* A secondary service is still a real service — a dashed grey box read as unfinished.
   Same card, quieter: no dashed border, just a softer surface. */
.service-card--secondary {
  background: var(--surface);
}

/* The 7th service used to orphan itself on its own row of a 3-up grid, leaving a large
   dead zone beside it. It now spans the full grid and turns into a wide banner card. */
.service-card--wide {
  grid-column: 1 / -1;
  background: var(--surface);
}

@media (min-width: 900px) {
  .service-card--wide { flex-direction: row; align-items: stretch; }
  .service-card--wide .service-photo { width: 38%; height: auto; min-height: 190px; flex: 0 0 38%; }
  .service-card--wide .service-body { justify-content: center; padding: 28px 32px; }
  .service-card--wide .service-desc { max-width: 62ch; }
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(19, 42, 76, 0.22);
}

.service-card--secondary .service-icon {
  background: var(--muted);
  box-shadow: none;
}

.service-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.06rem;
}

.service-desc {
  color: var(--muted);
  font-size: 0.93rem;
}

.service-cta {
  margin-top: auto;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-cta--link {
  text-decoration: none;
}

/* ---------- About teaser / content ---------- */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.about-content {
  max-width: 760px;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  box-shadow: var(--shadow-md);
}

.about-teaser-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  box-shadow: var(--shadow-md);
}

.about-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--orange);
  margin-top: 8px;
  transition: transform .18s var(--ease);
}
.link-arrow:hover { transform: translateX(3px); }

/* ---------- Reviews ---------- */
.reviews-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  margin: 0;
  padding: 26px;
  background: var(--bg);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.review-card p {
  font-style: italic;
  margin-bottom: 10px;
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Trust band ----------
   The award badge used to float alone in a large empty band, which read as unfinished.
   It now anchors a row of proof points. */
.trust-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.trust-badge { display: flex; justify-content: center; }

.trust-badge img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(19, 42, 76, 0.18));
}

.trust-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trust-points li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}

.trust-points strong {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  color: var(--navy);
}

.trust-points span { color: var(--muted); font-size: .89rem; line-height: 1.5; }

@media (min-width: 900px) {
  .trust-band { grid-template-columns: auto 1fr; gap: 56px; }
  .trust-points { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gallery-grid img:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* On a phone a fixed 3-up grid rendered these at ~107px — the shop's best work shown as
   postage stamps. Below 900px the teaser becomes a swipeable, snapping rail so each piece
   is large enough to actually read; it returns to a grid on desktop. */
.gallery-grid--teaser {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Bleed out through .section-wrap's flat 20px side padding so the rail runs to the
     screen edge and reads as swipeable, not clipped. Must stay in step with that value. */
  margin-inline: -20px;
  padding-inline: 20px;
  padding-bottom: 4px;
}
.gallery-grid--teaser::-webkit-scrollbar { display: none; }

.gallery-grid--teaser img {
  flex: 0 0 74%;
  max-width: 300px;
  scroll-snap-align: center;
  aspect-ratio: 4 / 3;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  font-size: 0.9rem;
  margin-top: 10px;
}

.contact-form .optional {
  font-weight: 400;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* iOS zoom rule: never below 16px */
  padding: 13px 14px;
  min-height: 44px;
  border: 1px solid #d3d0c9;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: var(--focus-ring);
}

.contact-form button {
  margin-top: 18px;
  align-self: flex-start;
}

.contact-info-col h3 { margin-top: 0; }
.contact-info-col h3:not(:first-child) { margin-top: 24px; }

.form-notice {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
}

.form-notice--success {
  background: #e5f5ea;
  color: #1e6b3d;
  border: 1px solid #bfe6cd;
}

.form-notice--error {
  background: #fdeceb;
  color: #a3291b;
  border: 1px solid #f6c6c1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d9dfe8;
  padding: var(--space-mobile) 0 24px;
}

.footer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-logo { color: #fff; }
.footer-brand p { color: #b9c2d0; }
.footer-logo-link { text-decoration: none; margin-bottom: 4px; }
.footer-logo-link .logo-mark { height: 40px; }

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #d9dfe8;
}

.footer-list a { color: #d9dfe8; }
.footer-list a:hover { color: var(--orange); }

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.social-icons a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

.footer-note {
  max-width: var(--max-width);
  margin: 36px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: #9aa6b8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* The global `p` colour (#1a1a1a) otherwise wins here and renders these lines
   near-black on the navy footer. */
.footer-note p { color: inherit; margin: 0; }

/* ---------- Desktop enhancements ---------- */
@media (min-width: 640px) {
  .card-grid,
  .card-grid--secondary {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-actions {
    flex-direction: row;
  }

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

@media (min-width: 900px) {
  :root {
    --space-mobile: var(--space-desktop);
  }

  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    gap: 28px;
  }

  .nav-menu a { border-bottom: none; padding: 0; min-height: 0; }
  .nav-cta { margin-top: 0; }

  .hero { padding: 104px 0; }

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

  .card-grid--secondary {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }

  .about-teaser-grid {
    grid-template-columns: 0.9fr 1.3fr 1fr;
    align-items: center;
  }

  .about-content-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
  }

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

  /* Back to a grid on desktop — the swipe rail is a phone affordance only. */
  .gallery-grid--teaser {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .gallery-grid--teaser img {
    flex: initial;
    max-width: none;
    aspect-ratio: 4 / 3;
  }

  .footer-wrap {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

/* ── Ultrawide readability (AK 2026-07-20) ──
   On ultrawide monitors the base 16px type reads too small (AK was zooming to 130%). Scale the root
   font (drives every rem) + the body base only at genuinely-ultrawide widths, so standard desktops
   and laptops (≤1600px) are completely untouched — no regression there, automatic bump on ultrawide. */
@media (min-width: 1800px) {
  html { font-size: 17.5px; }
  body { font-size: 17.5px; }
}
@media (min-width: 2400px) {
  html { font-size: 19px; }
  body { font-size: 19px; }
}
@media (min-width: 3200px) {
  html { font-size: 20.5px; }
  body { font-size: 20.5px; }
}
