/* Integrated Services site — typography, whitespace, one accent. No purple SaaS gradients. */
:root {
  --ink: #0B1F3A;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --line: #d9d2c8;
  --card: #ffffff;
  --accent: #E85D04; /* orange — brand primary with dark blue ink */
  --accent-ink: #0B1F3A;
  --accent-soft: #FFF0E6;
  --radius: 10px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Times New Roman", Times, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}

.wordmark img {
  height: 32px;
  width: auto;
  display: block;
}

.wordmark:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Toggle + header CTA share one compact height (~36px) */
.market-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  height: 36px;
  flex-shrink: 0;
}

.market-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0 0.85rem;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.market-toggle button.is-active,
.market-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.header-actions > .btn.header-cta,
.header-cta {
  height: 36px;
  min-height: 36px;
  padding: 0 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-ink);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 1rem;
  max-width: 18ch;
  letter-spacing: -0.01em;
}

.hero-sub {
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.1rem;
}

/* —— Sections —— */
.section {
  padding: 3.25rem 0;
}

.section--tight {
  padding: 2.25rem 0;
}

.section--band {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p,
.card li {
  color: var(--ink-soft);
  margin: 0;
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.card li + li {
  margin-top: 0.35rem;
}

/* —— Launch strip —— */
.launch-strip {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem 1.6rem;
}

@media (min-width: 800px) {
  .launch-strip {
    grid-template-columns: 1fr auto;
  }
}

.launch-strip .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  margin: 0 0 0.4rem;
}

.launch-strip h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.launch-strip p {
  margin: 0;
  color: #d6d3d1;
  max-width: 36rem;
}

.launch-strip .btn--primary {
  background: #fbbf24;
  color: var(--ink);
}

.launch-strip .btn--primary:hover {
  background: #f59e0b;
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* —— Pricing cards (4 cols desktop, stack mobile) —— */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}

.plan-tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
  min-height: 2.4em;
}

.plan-compare p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-card--recommended,
.plan-card--launch {
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.08);
  transform: scale(1.02);
  z-index: 1;
}

.plan-card--decoy {
  opacity: 0.92;
}

.plan-badge {
  position: absolute;
  top: -0.65rem;
  left: 1rem;
  margin: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0.25rem 0 0;
}

.plan-price {
  margin: 0;
}

.plan-build {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-build-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.plan-year {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-timeline {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.plan-scope {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.plan-scope li + li {
  margin-top: 0.3rem;
}

.plan-gap {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 0.65rem;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-notes {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Work / portfolio —— */
.work-list {
  display: grid;
  gap: 1rem;
}

.work-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.work-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.work-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.work-item h3 a:hover {
  color: var(--accent);
}

.work-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* —— Process —— */
.process-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.process-table th,
.process-table td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.process-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

/* —— FAQ —— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

/* —— Contact —— */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

.form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.form label > input,
.form label > select,
.form label > textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  box-sizing: border-box;
}

.form label > .form-note {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: 3rem 1rem;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: var(--ink-soft);
  margin: 0 auto 1.25rem;
  max-width: 36rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

/* —— Page title —— */
.page-hero {
  padding: 2.75rem 0 1.35rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-hero .section-lead {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.page-hero .page-hero-note {
  margin: 0;
  max-width: 40rem;
  line-height: 1.5;
}


/* Header: calm proportions; no bulky CTA beside market toggle */
.header-actions > .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 0.7rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

/* Tablet and down: Enquiry is in nav — never pair a tall CTA with the toggle */
@media (max-width: 1100px) {
  .header-actions > .btn,
  .header-cta {
    display: none !important;
  }
}

/* Abbreviate market labels only on very narrow phones */
@media (max-width: 360px) {
  .market-toggle {
    height: 34px;
  }

  .market-toggle button {
    font-size: 0;
    line-height: 0;
    padding: 0 0.55rem;
    min-width: 2.4rem;
  }

  .market-toggle button::after {
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .market-toggle button[data-market-btn="NA"]::after {
    content: "NA";
  }

  .market-toggle button[data-market-btn="IN"]::after {
    content: "IN";
  }
}

/* Mobile nav */
@media (max-width: 640px) {
  .nav-links {
    gap: 0.55rem 0.85rem;
    width: 100%;
    order: 3;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .header-inner {
    row-gap: 0.5rem;
  }

  .wordmark img {
    height: 24px;
  }

  .plan-card--recommended,
  .plan-card--launch {
    transform: none;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .page-hero {
    padding: 2.25rem 0 1.25rem;
  }
}

@media (max-width: 400px) {
  .nav-links {
    gap: 0.45rem 0.7rem;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .header-actions {
    margin-left: auto;
  }
}

.launch-strip .checklist li {
  color: #d6d3d1;
}

.launch-strip .checklist li::before {
  color: #fbbf24;
}

/* —— Proposal: link strips —— */
.link-strips {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .link-strips {
    grid-template-columns: repeat(3, 1fr);
  }
}

.link-strip {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.link-strip:hover {
  border-color: var(--ink);
  color: inherit;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.link-strip .strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.link-strip h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.link-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— Enquiry form —— */
.form--enquiry {
  max-width: 44rem;
  width: 100%;
  box-sizing: border-box;
}

.form--enquiry .form-grid {
  min-width: 0;
  width: 100%;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .span-2 {
    grid-column: 1 / -1;
  }
}

.form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.65rem 1rem 1.15rem;
  margin: 0;
  background: var(--card);
  min-width: 0;
  min-inline-size: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.form fieldset + fieldset {
  margin-top: 0.75rem;
}

.form legend {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.req {
  color: var(--accent);
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.enquiry-fallback {
  display: none;
  margin-top: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.enquiry-fallback.is-visible {
  display: block;
}

.enquiry-fallback h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.enquiry-fallback pre {
  margin: 0.75rem 0;
  padding: 1rem;
  background: var(--paper-2);
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— Requirements checklist —— */
.req-group {
  margin-bottom: 1.5rem;
}

.req-group h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.req-group .badge-phase {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.badge-phase--week1 {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.badge-phase--golive {
  background: var(--paper-2);
  color: var(--ink);
}

.badge-phase--later {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.req-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 2.5rem;
}

.req-list li::before {
  content: "□";
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

/* —— Hosting compare —— */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper-2);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.recommend-map {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .recommend-map {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recommend-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.recommend-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.recommend-card .rec-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.recommend-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— Work gallery —— */
.wrap--gallery {
  max-width: 1080px;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gallery-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.gallery-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}

.gallery-tab:hover {
  color: var(--ink);
}

.gallery-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-shot {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: zoom-in;
  text-align: left;
  background: #e8e4dc;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-viewport {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e4dc;
  position: relative;
  flex: 0 0 auto;
}

.gallery-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background: #f3f0ea;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}

.gallery-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0cbc2;
  display: inline-block;
}

.gallery-chrome span:nth-child(1) { background: #e8a090; }
.gallery-chrome span:nth-child(2) { background: #e0c56e; }
.gallery-chrome span:nth-child(3) { background: #9dba9a; }

.gallery-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #e8e4dc;
  max-width: none; /* fill the 16:10 frame; never letterbox */
}

.gallery-card .gallery-body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 7.5rem;
}

.gallery-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}

.gallery-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}

.gallery-visit {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  width: fit-content;
}

.gallery-visit:hover {
  text-decoration: underline;
}

.template-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.15rem;
  width: fit-content;
}

.template-label--live {
  color: var(--accent);
  border-color: #f0c9a8;
  background: var(--accent-soft);
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* Lightbox: enlarged visual */
.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.72);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 1rem 1rem 1.25rem;
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  color: var(--ink);
}

.lightbox__title {
  margin: 0 2.5rem 0.75rem 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.lightbox__frame {
  background: #e8e4dc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  max-height: min(72vh, 820px);
}

.lightbox__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}

.lightbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* nav tightening lives with header media queries above */


/* —— Integrations row —— */
.integrations-strip {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.integrations-caption {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.integrations-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.25rem;
}

.integrations-logos li {
  display: flex;
  align-items: center;
}

.integrations-logos img {
  height: 28px;
  width: auto;
  max-width: 120px;
  opacity: 0.85;
  filter: grayscale(0.15);
}

.integrations-logos img:hover {
  opacity: 1;
}


/* Enquiry honeypot + status */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#enquiry-status {
  font-weight: 600;
  color: var(--ink);
}
#enquiry-status.is-error {
  color: #b42318;
}
