/* Trakwyse marketing site — shared styles. Plain CSS, no build step, by design
   (mirrors the rest of this static site: no framework, no bundler). */

:root {
  --color-ink: #1b1b3a;
  --color-heading: #14141a;
  --color-indigo: #4338ca;
  --color-indigo-strong: #362f9e;
  --color-indigo-deep: #241f5e;
  --color-indigo-tint: #eeecfb;
  --color-amber: #d97f2b;
  --color-amber-strong: #c06b1e;
  --color-amber-tint: #fbeee0;
  --color-success: #1e9e6d;
  --color-paper: #f6f5fb;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-border: #e5e3f1;
  --color-text: #201f3b;
  --color-text-muted: #6e6c8e;
  --color-text-faint: #9694b3;
  --shadow-card: 0 1px 2px rgba(32, 31, 59, 0.04), 0 8px 24px -12px rgba(32, 31, 59, 0.12);
  --shadow-raised: 0 12px 32px -16px rgba(36, 31, 94, 0.28);
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-ink: #edebfb;
    --color-heading: #ffffff;
    --color-indigo: #7a70e8;
    --color-indigo-strong: #948bef;
    --color-indigo-deep: #1c1a3a;
    --color-indigo-tint: #221f45;
    --color-amber: #e8973f;
    --color-amber-strong: #f0ad5f;
    --color-amber-tint: #2c2115;
    --color-success: #35c091;
    --color-paper: #100f1d;
    --color-surface: #18172b;
    --color-surface-raised: #1d1c33;
    --color-border: #2a2846;
    --color-text: #edebfb;
    --color-text-muted: #9c99c0;
    --color-text-faint: #6f6c92;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-raised: 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

/* Explicit theme choice (assets/theme.js) always wins over the OS preference
   above — an attribute selector on :root has higher specificity than a plain
   :root nested in a media query, regardless of source order. Until the visitor
   actually clicks the toggle, neither attribute is set and the media query
   above is the only thing driving the theme. */
:root[data-theme="dark"] {
  --color-ink: #edebfb;
  --color-heading: #ffffff;
  --color-indigo: #7a70e8;
  --color-indigo-strong: #948bef;
  --color-indigo-deep: #1c1a3a;
  --color-indigo-tint: #221f45;
  --color-amber: #e8973f;
  --color-amber-strong: #f0ad5f;
  --color-amber-tint: #2c2115;
  --color-success: #35c091;
  --color-paper: #100f1d;
  --color-surface: #18172b;
  --color-surface-raised: #1d1c33;
  --color-border: #2a2846;
  --color-text: #edebfb;
  --color-text-muted: #9c99c0;
  --color-text-faint: #6f6c92;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-raised: 0 16px 40px -18px rgba(0, 0, 0, 0.6);
}

:root[data-theme="light"] {
  --color-ink: #1b1b3a;
  --color-heading: #14141a;
  --color-indigo: #4338ca;
  --color-indigo-strong: #362f9e;
  --color-indigo-deep: #241f5e;
  --color-indigo-tint: #eeecfb;
  --color-amber: #d97f2b;
  --color-amber-strong: #c06b1e;
  --color-amber-tint: #fbeee0;
  --color-success: #1e9e6d;
  --color-paper: #f6f5fb;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-border: #e5e3f1;
  --color-text: #201f3b;
  --color-text-muted: #6e6c8e;
  --color-text-faint: #9694b3;
  --shadow-card: 0 1px 2px rgba(32, 31, 59, 0.04), 0 8px 24px -12px rgba(32, 31, 59, 0.12);
  --shadow-raised: 0 12px 32px -16px rgba(36, 31, 94, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--color-paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--color-ink); }

nav.primary-nav { display: flex; align-items: center; gap: 1.9rem; }
nav.primary-nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--color-text-muted);
  transition: color 0.15s ease;
}
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"] { color: var(--color-ink); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-toggle-btn {
  display: none; width: 2.3rem; height: 2.3rem; border-radius: 8px; border: 1px solid var(--color-border);
  align-items: center; justify-content: center; cursor: pointer; background: var(--color-surface);
  padding: 0;
}
.nav-toggle-btn svg { width: 18px; height: 18px; color: var(--color-ink); }

.theme-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem;
  border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-surface);
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.theme-toggle-btn svg { width: 17px; height: 17px; color: var(--color-ink); }
/* assets/theme.js sets [hidden] on whichever icon doesn't match the resolved
   theme (system preference or an explicit choice) as soon as it runs — simpler
   and more reliable than chasing this in CSS, and the brief mismatch before the
   blocking <head> script executes is imperceptible (unlike a full-page color
   flash, which the data-theme attribute selectors above already prevent). */
.theme-toggle-btn .icon-moon { display: none; }

@media (max-width: 860px) {
  nav.primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1.5rem 1rem;
  }
  nav.primary-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--color-border); }
  nav.primary-nav a:last-child { border-bottom: none; }
  .nav-toggle-btn { display: inline-flex; }
  nav.primary-nav.is-open { display: flex; }
  .header-actions .btn-ghost { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.92rem; border-radius: var(--radius-sm);
  padding: 0.72rem 1.4rem; text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-amber); color: #2b1a09; box-shadow: 0 8px 20px -10px rgba(217, 127, 43, 0.55); }
.btn-dark { background: var(--color-indigo-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-ink); border: 1px solid var(--color-border); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-indigo); background: var(--color-indigo-tint);
  padding: 0.32rem 0.8rem; border-radius: 99px; margin-bottom: 1.2rem;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); }
.text-muted { color: var(--color-text-muted); }
.text-faint { color: var(--color-text-faint); }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(2.6rem, 6vw, 5.5rem) 0 clamp(2.2rem, 5vw, 4.2rem); text-align: center; }
.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.5rem); line-height: 1.12;
  margin: 0 auto 1.15rem; max-width: 19ch; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--color-indigo); }
.hero p.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--color-text-muted);
  max-width: 48ch; margin: 0 auto 2.1rem;
}
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.hero-note { font-size: 0.82rem; color: var(--color-text-faint); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.4rem); text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 24ch; margin: 0 auto 0.9rem; text-wrap: balance; }
.page-hero p { color: var(--color-text-muted); max-width: 54ch; margin: 0 auto; font-size: 1.02rem; }

/* ---------- Screens / device mock ---------- */
.hero-visual {
  margin: clamp(1.8rem, 5vw, 3rem) auto 0; max-width: 880px;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-raised); background: var(--color-surface);
}
.hero-visual .titlebar { position: relative; display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--color-indigo-deep); }
.hero-visual .titlebar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.hero-visual .titlebar .live-badge {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 0.35rem; width: max-content; height: auto;
  font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.03em; white-space: nowrap;
}
.hero-visual .titlebar .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #35c091;
  box-shadow: 0 0 0 0 rgba(53,192,145,0.6); animation: mockup-pulse 2s infinite;
}
@keyframes mockup-pulse {
  0% { box-shadow: 0 0 0 0 rgba(53,192,145,0.55); }
  70% { box-shadow: 0 0 0 6px rgba(53,192,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,192,145,0); }
}
.hero-visual .screen { padding: clamp(1.2rem, 4vw, 2rem); text-align: left; }

.mockup-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.mockup-header h3 { font-size: 1.05rem; margin: 0; }
.mockup-header span { font-size: 0.76rem; color: var(--color-text-faint); }

.mockup-chart { display: flex; align-items: flex-end; gap: clamp(0.5rem, 2vw, 0.9rem); height: 92px; margin: 0.3rem 0 0.6rem; }
.mockup-chart .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; height: 100%; justify-content: flex-end; }
.mockup-chart .bar-stack { width: 100%; max-width: 30px; display: flex; flex-direction: column-reverse; border-radius: 5px 5px 2px 2px; overflow: hidden; }
.mockup-chart .bar-work { background: var(--color-success); }
.mockup-chart .bar-break { background: var(--color-amber); }
.mockup-chart .bar-label { font-size: 0.66rem; font-weight: 600; color: var(--color-text-faint); }

.mockup-legend { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.mockup-legend span { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--color-text-muted); }
.mockup-legend .dot { width: 8px; height: 8px; border-radius: 50%; }

.mockup-activity-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); }
.mockup-activity-row:last-child { border-bottom: none; padding-bottom: 0; }
.mockup-avatar {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; color: #fff;
}
.mockup-activity-row .who { font-size: 0.84rem; font-weight: 600; color: var(--color-ink); }
.mockup-activity-row .what { font-size: 0.74rem; color: var(--color-text-muted); }
.mockup-status-pill { margin-left: auto; font-size: 0.66rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; white-space: nowrap; }
.mockup-status-active { background: var(--color-success); color: #fff; }
.mockup-status-break { background: var(--color-amber); color: #2b1a09; }

/* ---------- Sections ---------- */
section { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.7rem; text-wrap: balance; }
.section-head p { color: var(--color-text-muted); margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2-fixed { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
  .grid-2-fixed { grid-template-columns: 1fr; }
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-card);
}
.card .icon {
  width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--color-indigo-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card .icon.amber { background: var(--color-amber-tint); }
.card h3 { font-size: 1.02rem; margin: 0 0 0.5rem; }
.card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

.category-block { margin-bottom: clamp(2rem, 5vw, 3rem); }
.category-block .category-head { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 1.2rem; }
.category-block .category-head h3 { font-size: 1.2rem; margin: 0; }
.category-block .category-head .idx {
  font-family: var(--font-display); font-size: 0.85rem; color: var(--color-amber); font-weight: 600;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 0.2rem; }
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--color-indigo-deep); color: #fff;
  font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem;
}
.step h3 { font-size: 1.02rem; margin: 0 0 0.5rem; }
.step p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.price-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
}
.price-card.featured { border-color: var(--color-indigo); box-shadow: var(--shadow-raised); position: relative; }
.price-card.featured::before {
  content: "Most common"; position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%);
  background: var(--color-indigo); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 99px; letter-spacing: 0.04em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.price-card .price-tag { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-ink); margin: 0.3rem 0 0.9rem; }
.price-card .price-tag span { font-size: 0.85rem; font-weight: 400; color: var(--color-text-muted); font-family: var(--font-sans); }
.price-card p.desc { font-size: 0.88rem; color: var(--color-text-muted); margin: 0 0 1.3rem; min-height: 2.6em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: var(--color-text); }
.price-card li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--color-success); }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
table.compare th, table.compare td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.88rem; }
table.compare thead th { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); background: var(--color-indigo-tint); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--color-success); font-weight: 700; text-align: center; }
table.compare td.no { color: var(--color-text-faint); text-align: center; }
table.compare th.row-label { color: var(--color-text-muted); font-weight: 600; font-family: var(--font-sans); }

/* ---------- Differentiators (no fake testimonials) ---------- */
.differentiator { display: flex; gap: 1rem; align-items: flex-start; }
.differentiator .mark {
  flex-shrink: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--color-indigo-deep);
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600;
}
.differentiator h3 { font-size: 0.98rem; margin: 0 0 0.35rem; }
.differentiator p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }

/* ---------- CTA band ---------- */
section.cta-band {
  background: var(--color-indigo-deep); color: #fff; border-radius: var(--radius-lg);
  margin: clamp(1rem, 4vw, 2rem) 0; padding: clamp(2.1rem, 5vw, 3.4rem); text-align: center;
}
section.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 0.7rem; text-wrap: balance; }
section.cta-band p { color: rgba(255,255,255,0.72); margin: 0 0 1.7rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
section.cta-band .hero-actions { margin-bottom: 0; }
section.cta-band .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.5rem; text-align: center;
}
.contact-card .icon { margin: 0 auto 0.9rem; }
.contact-card a.contact-link { color: var(--color-indigo); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.contact-card a.contact-link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
details.faq-item {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem; margin-bottom: 0.75rem;
}
details.faq-item summary { font-weight: 700; cursor: pointer; font-size: 0.95rem; color: var(--color-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--color-text-faint); flex-shrink: 0; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item p { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--color-border); margin-top: clamp(2rem, 5vw, 3rem); padding: clamp(2.2rem, 5vw, 3rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.4fr repeat(3, 1fr); margin-bottom: 2rem; }
.footer-brand p { font-size: 0.86rem; color: var(--color-text-muted); max-width: 30ch; margin: 0.9rem 0 0; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-faint); margin: 0 0 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { text-decoration: none; font-size: 0.88rem; color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-ink); }
.parent-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; background: #ffffff; border: 1px solid var(--color-border);
  border-radius: 99px; padding: 0.4rem 0.9rem 0.4rem 0.5rem; margin-top: 0.9rem;
}
.parent-badge img { height: 22px; width: auto; display: block; }
.parent-badge span { font-size: 0.76rem; color: #4b4b4b; font-weight: 600; }
.parent-logo-card {
  background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.6rem; display: flex; align-items: center; justify-content: center;
}
.parent-logo-card img { height: 56px; width: auto; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  font-size: 0.8rem; color: var(--color-text-faint);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--color-border); border: none; margin: clamp(1.5rem, 4vw, 2.5rem) 0; }
.photo-banner {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); margin: 0 0 clamp(1rem, 3vw, 1.6rem);
}
.photo-banner img { width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; display: block; }
.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.8rem); align-items: center; }
.photo-split .photo-banner { margin: 0; }
.photo-split img { height: clamp(240px, 26vw, 340px); }
@media (max-width: 760px) {
  .photo-split { grid-template-columns: 1fr; }
}
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pill { font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted); background: var(--color-surface); border: 1px solid var(--color-border); padding: 0.4rem 0.85rem; border-radius: 99px; }
