/* ==========================================================
   Tradesman Website Design – main stylesheet
   Simple, high-contrast, large-text design for busy tradespeople
   ========================================================== */

:root {
  --navy: #0f2a44;
  --navy-dark: #0a1d30;
  --orange: #f15a24;
  --orange-dark: #c9431a;
  --green: #16a34a;
  --green-dark: #128a3e;
  --ink: #1b2430;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 42, 68, 0.08);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* Never scroll sideways on phones: let grid/flex children shrink, break long words (emails, URLs) */
html, body { overflow-x: clip; max-width: 100%; }
.hero-grid > *, .two-col > *, .grid > *, .form-row-2 > *, .footer-grid > *, .steps > *, .tpl-grid > * { min-width: 0; }
p, li, a, strong, span, td, th, h1, h2, h3 { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.contact-method > div { min-width: 0; }

a { color: var(--navy); }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: #000; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #fff;
  font-size: 15px;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--navy);
  text-decoration: none;
}
.logo img { height: 52px; width: auto; }
@media (max-width: 600px) { .logo img { height: 42px; } }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--orange); color: var(--navy);
  display: grid; place-items: center; font-size: 1.3rem;
}
.logo small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; color: var(--ink);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover, .main-nav a.btn-primary:focus, .main-nav a.btn-primary:active, .main-nav a.btn-primary[aria-current="page"] { background: var(--orange); color: #000; }
.main-nav a.btn-primary:hover, .main-nav a.btn-primary:active { background: var(--orange-dark); }
.main-nav .btn { margin-left: 8px; color: #000; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy);
  border-radius: 8px; padding: 8px 12px; font-size: 16px; font-weight: 700;
  color: var(--navy); cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .main-nav a { padding: 14px; font-size: 1.1rem; }
  .main-nav .btn { margin: 10px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  line-height: 1.2; transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: var(--orange-dark); color: #000; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn-lg { padding: 18px 30px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #183d61 100%);
  color: #fff; padding: 64px 0 72px;
}
.hero h1, .hero h2 { color: #fff; }
.hero .lead { font-size: 1.25rem; color: #dbe5ef; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero .btn-outline { color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; }
.hero-points li::before { content: "✓"; color: var(--orange); font-weight: 900; }
.eyebrow {
  display: inline-block; background: rgba(241, 90, 36, 0.18); color: #ff8a5c;
  font-weight: 700; font-size: 0.9rem; padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.page-hero { padding: 48px 0 52px; }
.page-hero .lead { max-width: 760px; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Cards & panels ---------- */
.panel {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.panel h2, .panel h3 { color: var(--navy); }

section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-navy .section-head p { color: #dbe5ef; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #fff0e8;
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px;
}

/* Trade tiles */
.trade-tile {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; color: var(--ink); font-weight: 700;
  transition: border-color .15s ease, transform .15s ease;
}
.trade-tile:hover { border-color: var(--orange); color: var(--navy); transform: translateY(-2px); }
.trade-tile .emoji { font-size: 1.8rem; width: 44px; text-align: center; }
/* Photo trade tiles */
.trade-tile { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
.trade-tile .tt-img { width: 100%; height: 150px; object-fit: cover; transition: transform .4s ease; }
.trade-tile:hover .tt-img { transform: scale(1.05); }
.trade-tile .tt-text { padding: 14px 16px 16px; }
.trade-tile span.small { display: block; font-weight: 500; font-size: 0.9rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #000;
  display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; margin-bottom: 14px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: #dcfce7; color: var(--green-dark); font-weight: 900;
  display: grid; place-items: center; font-size: 0.9rem; margin-top: 2px;
}
.checklist.cross li::before { content: "✕"; background: #fee2e2; color: #b91c1c; }

/* Pricing */
.price-card { display: flex; flex-direction: column; border: 2px solid var(--line); }
.price-card.featured { border-color: var(--orange); position: relative; }
.price-card .badge {
  position: absolute; top: -14px; left: 24px; background: var(--orange); color: #000;
  font-weight: 800; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px;
}
.price { font-size: 2.4rem; font-weight: 900; color: var(--navy); line-height: 1; margin: 8px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .checklist { flex: 1; margin: 18px 0 22px; }
.price-note { font-size: 0.95rem; color: var(--muted); }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.08rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-dark); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; color: var(--ink); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.95rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9fb3c8; }
.breadcrumbs a { color: #dbe5ef; }
.breadcrumbs [aria-current] { color: #fff; }

/* Content pages (legal, about) */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.98rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.updated { color: var(--muted); font-size: 0.95rem; }

/* Author / trust box */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-soft); border-left: 5px solid var(--orange);
  border-radius: var(--radius); padding: 24px;
}
.avatar {
  flex: 0 0 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.5rem;
}
.author-box p { margin-bottom: 0.4em; }
@media (max-width: 600px) { .author-box { flex-direction: column; } }

/* Callout */
.callout {
  background: #fff4ee; border: 2px solid #fbb59a; border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
label .opt { font-weight: 500; color: var(--muted); font-size: 0.9rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 14px;
  border: 2px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(241,90,36,.3); }
textarea { min-height: 110px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label {
  display: flex; align-items: center; gap: 8px; font-weight: 600;
  border: 2px solid #cbd5e1; border-radius: 10px; padding: 12px 16px; cursor: pointer; margin: 0;
}
.radio-group input { width: auto; margin: 0; }
.radio-group label:has(input:checked) { border-color: var(--orange); background: #fff4ee; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.form-note { font-size: 0.92rem; color: var(--muted); }
/* Compact form sizing */
.form-grid { gap: 12px; }
.form-row-2 { gap: 12px; }
.form-grid label { font-size: 0.92rem; margin-bottom: 4px; }
.form-grid input, .form-grid select, .form-grid textarea { padding: 10px 12px; font-size: 1rem; border-width: 1.5px; }
.form-grid textarea { min-height: 72px; }
.form-grid .btn { padding: 13px 20px; }
.panel h2 + .muted { margin-bottom: 14px; font-size: 0.97rem; }
.pref { border: 0; padding: 0; margin: 0; }
.pref legend { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.pref .radio-group { gap: 6px; flex-wrap: nowrap; }
.pref .radio-group label { flex: 1; justify-content: center; padding: 8px 6px; font-size: 0.92rem; gap: 6px; white-space: nowrap; }
.form-grid .consent { font-size: 0.85rem; margin: 0; }
.form-grid .consent input { width: 18px; height: 18px; flex-basis: 18px; padding: 0; }
.form-grid .form-note { margin: 0; font-size: 0.88rem; }

.form-success {
  display: none; background: #dcfce7; border: 2px solid var(--green); color: #14532d;
  border-radius: var(--radius); padding: 18px 20px; font-weight: 600;
}
.form-success.show { display: block; }
.hp { position: absolute; left: -5000px; }

/* Contact methods */
.contact-method {
  display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff;
}
.contact-method:hover { border-color: var(--orange); color: var(--ink); }
.contact-method .card-icon { margin: 0; flex: 0 0 52px; }
.contact-method strong { display: block; font-size: 1.15rem; color: var(--navy); }
.contact-method span { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: #000; padding: 48px 0; }
.cta-band h2 { color: #000; margin-bottom: 8px; }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-outline { color: #000; }
.cta-band .btn-outline:hover { background: #000; color: #fff; border-color: #000; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c7d4e2; padding: 56px 0 24px; font-size: 0.98rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: #c7d4e2; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.88rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px 4px; min-height: 64px; text-decoration: none; font-weight: 700; font-size: 0.9rem;
    color: var(--navy);
  }
  .mobile-bar a .ico { font-size: 1.35rem; line-height: 1; margin-bottom: 4px; }
  .mobile-bar a.wa { background: var(--green); color: #fff; }
  .mobile-bar a.quote { background: var(--orange); color: #000; }
}

/* Floating WhatsApp (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--green); color: #fff; border-radius: 999px; padding: 14px 20px;
  font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(22,163,74,.35);
  display: flex; gap: 8px; align-items: center;
}
.wa-float:hover { background: var(--green-dark); color: #fff; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 20px; font-size: 0.97rem; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin-bottom: 12px; }
.cookie-banner .btn { padding: 10px 18px; font-size: 0.98rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 84px; } }

/* Template gallery */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tpl-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.tpl-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tpl-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tpl-thumb iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(0.25); pointer-events: none; }
.tpl-link { position: absolute; inset: 0; z-index: 1; }
.tpl-card { position: relative; }
.tpl-card.premium { border-color: #f5c2a8; box-shadow: 0 0 0 1px #f5c2a8; }
.tpl-item { display: flex; flex-direction: column; }
.tpl-item .tpl-card { flex: 1; }
.tpl-label { align-self: flex-start; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }
.tpl-label.basic { background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line); }
.tpl-label.premium { background: #111; color: #ffd27a; }
.tpl-info { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tpl-info h3 { font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 18px; }
.tpl-info p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.tpl-info .btn { padding: 10px 16px; font-size: 0.97rem; }
.tpl-dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px; }
.tpl-picker { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.tpl-picker label { margin: 0; }
.tpl-picker select { width: auto; min-width: 260px; }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.tag-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.95rem; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* WhatsApp logo */
.wa-ico { width: 1.2em; height: 1.2em; vertical-align: -0.22em; flex: 0 0 auto; }
.card-icon.wa-green { color: #25d366; }
.card-icon.wa-green .wa-ico { width: 28px; height: 28px; }
.mobile-bar .wa-ico { width: 24px; height: 24px; }
.radio-group .wa-ico { color: #25d366; }

/* Parent company line under the logo */
.logo { flex-direction: column; align-items: flex-start; gap: 2px; }
.logo-parent { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); padding-left: 2px; }
.logo-parent-foot { margin-top: -10px; font-size: 0.85rem; color: #8aa0b8; }

/* Photos on the main pages */
.page-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin: 0 0 24px; box-shadow: var(--shadow); }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip.three { grid-template-columns: repeat(3, 1fr); }
.photo-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); }
.ps-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.ps-item img { transition: transform .4s ease; }
.ps-item:hover img { transform: scale(1.05); }
.ps-item span { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 42, 68, .85); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
@media (max-width: 900px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } .photo-strip.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .photo-strip { grid-template-columns: 1fr; } }
