/* ============================================================
   INNER PAGES — matches the home page look (home.css)
   Loaded after portfolio.css on services, work, products, about, contact.
   Night-sky pixel hero, Poppins 800 headings, blue bar labels,
   soft 22px cards, same footer as home.
   ============================================================ */

:root {
  --pg-ink: #122033;
  --pg-body: #4b5866;
  --pg-muted: #5c6b7a;
  --pg-line: #e5eef6;
  --pg-tint: #f7fbfe;
  --pg-night: linear-gradient(180deg, #040c24 0%, #081f52 38%, #0b4396 70%, #1688e6 100%);
}

/* ---------- Hero: one still pixel art scene per page ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 38vw, 600px);
  padding: 64px 0;
  background: #06142f var(--hero-img) right bottom / cover no-repeat;
  image-rendering: pixelated;
}
.page-hero::before {            /* scrim keeps the copy readable */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4,12,36,0.82) 0%, rgba(4,12,36,0.55) 38%, rgba(4,12,36,0) 65%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 3; width: 100%; }
.hero-services { --hero-img: url('assets/pages/services.webp'); }
.hero-work     { --hero-img: url('assets/pages/work.webp'); }
.hero-products { --hero-img: url('assets/pages/products.webp'); }
.hero-about    { --hero-img: url('assets/pages/about.webp'); }
.hero-contact  { --hero-img: url('assets/pages/contact.webp'); }
.hero-custom-applications { --hero-img: url('assets/pages/custom-applications.webp'); }
.hero-event-technology    { --hero-img: url('assets/pages/event-technology.webp'); }
.hero-websites            { --hero-img: url('assets/pages/websites.webp'); }
.hero-brand-activation    { --hero-img: url('assets/pages/brand-activation.webp'); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

.page-hero .eyebrow {
  color: #8fd6ff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.page-hero .eyebrow::before { display: none; }
.page-hero h1 {
  font-family: 'Poppins', var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 760px;
  margin: 0 0 16px;
  text-shadow: 0 2px 18px rgba(0,20,60,0.45);
}
.page-hero h1 .blue { color: #7ccfff; }
.page-hero .lead {
  color: rgba(235,245,255,0.88);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
}
.page-hero .anchor-nav a {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.page-hero .anchor-nav a:hover { background: rgba(255,255,255,0.16); border-color: #fff; color: #fff; }

/* ---------- Sections + headings ---------- */
.section { padding: 80px 0; }
.section-tint { background: var(--pg-tint); }
.section-head { margin-bottom: 36px; }

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #0c9bff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before,
.section-label::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #0c9bff;
}

.section-head h2,
.cta-box h2 {
  font-family: 'Poppins', var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--pg-ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.section-head .lead { font-size: 17px; line-height: 1.6; color: var(--pg-body); max-width: 620px; }
.prose p { color: var(--pg-body); }

/* ---------- Cards (same as home .sx-card) ---------- */
.card {
  border-radius: 22px;
  border: 1px solid var(--pg-line);
  box-shadow: 0 12px 32px rgba(16, 60, 100, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 60, 100, 0.1); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: #e7f5ff; color: #0c9bff; }
.icon-tile .lucide { width: 24px; height: 24px; }

.svc h3, .case h3, .product-mini h3, .contact-card b, .shot-row h2, .form-card h2 {
  font-family: 'Poppins', var(--font-display);
  font-weight: 700;
  color: var(--pg-ink);
  letter-spacing: -0.01em;
}
.svc h3 { font-size: 20px; }
.svc p, .case p { color: #516070; }
.kicker { font-family: var(--font-display); font-weight: 600; color: #6b7d90; }
.link, .case .link { color: #0c9bff; }
.link::after { content: " →"; }
.pills li, .chip { background: #eef6fd; color: #1d4f75; }
.metrics div b, .stat-row b { font-family: 'Poppins', var(--font-display); font-weight: 800; color: #0c9bff; }

.quote { margin: 0; background: #f5f9fc; box-shadow: none; }
.quote:hover { transform: none; box-shadow: none; }
.quote .stars { color: #f5b400; font-size: 15px; }
.quote p { color: #243140; }

.ph { border-radius: 22px; border-color: #c9dced; }
.shot-row img { border-radius: 20px; border-color: var(--pg-line); box-shadow: 0 12px 32px rgba(16, 60, 100, 0.08); }

/* dark band on Work (brand activation) uses the same night sky */
.band-navy { background: var(--pg-night); }
.band-navy .section-label { color: #8fd6ff; }
.band-navy .section-label::before { background: #8fd6ff; }
.band-navy .card { box-shadow: none; }

/* about page photo sits in the container like home cards */
.pg-photo { margin: 0 auto; padding-top: 56px; }
.pg-photo img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px rgba(16, 60, 100, 0.12); }

/* ---------- CTA: night panel with the city along the bottom ---------- */
.cta-box {
  --s: 1.6px;
  --far-s: calc(var(--s) * 0.78);
  position: relative;
  overflow: hidden;
  max-width: 1112px;
  width: calc(100% - 48px);
  padding: 56px 32px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(2px 2px at 14% 20%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 82% 16%, #cfeaff 50%, transparent 51%),
    radial-gradient(2px 2px at 64% 34%, #fff 50%, transparent 51%),
    var(--pg-night);
  image-rendering: pixelated;
  box-shadow: 0 18px 40px rgba(8, 31, 82, 0.18);
}
.cta-box h2 { color: #fff; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-box .lead { color: rgba(235,245,255,0.88); font-size: 17px; margin: 0 auto 26px; max-width: 520px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .page-hero {
    display: block;
    min-height: 0;
    padding: 44px 0 calc(100vw * 672 / 1584 + 8px);
    background: linear-gradient(180deg, #040c24 0%, #0a1d45 100%);
  }
  .page-hero::before {
    inset: auto 0 0 0;
    height: calc(100vw * 672 / 1584);
    background: var(--hero-img) center bottom / 100% auto no-repeat;
  }
  .section { padding: 64px 0; }
  .cta-box { width: calc(100% - 32px); padding-left: 20px; padding-right: 20px; }
}

/* Contact: bright morning scene with a dark fade on the left so the white copy reads */
.hero-contact::before { background: linear-gradient(90deg, rgba(4,12,36,0.88) 0%, rgba(4,12,36,0.7) 38%, rgba(4,12,36,0.25) 62%, rgba(4,12,36,0) 78%); }
@media (max-width: 860px) {
  .hero-contact::before { background: var(--hero-img) center bottom / 100% auto no-repeat; }
}

/* Our Work: pixel art banner under each section label */
.sec-banner {
  width: 100%;
  height: clamp(180px, 24vw, 320px);
  object-fit: cover;
  object-position: center bottom;
  margin: 4px 0 32px;
  border-radius: 22px;
  border: 1px solid var(--pg-line);
  box-shadow: 0 12px 32px rgba(16, 60, 100, 0.08);
  image-rendering: pixelated;
}
.band-navy .sec-banner { border-color: rgba(255,255,255,0.15); }

/* Light hero (bright artwork, dark text): Contact and the Our Work sub-pages */
.hero-light::before { background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0) 72%); }
.hero-light .eyebrow { color: #0a7fd6; }
.hero-light .eyebrow a { color: inherit; text-decoration: none; }
.hero-light .eyebrow a:hover { text-decoration: underline; }
.hero-light h1 { color: #122033; text-shadow: 0 2px 14px rgba(255,255,255,0.6); }
.hero-light h1 .blue { color: #0c9bff; }
.hero-light .lead { color: #243140; margin-bottom: 24px; }
@media (max-width: 860px) {
  .hero-light { background: linear-gradient(180deg, #d6ecff 0%, #fdf3df 100%); }
  .hero-light::before { background: var(--hero-img) center bottom / 100% auto no-repeat; }
}

/* Our Work hub + "more of our work" cards */
.work-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-cats-3 { grid-template-columns: repeat(3, 1fr); }
.work-cat { display: flex; flex-direction: column; overflow: hidden; text-decoration: none !important; color: inherit; }
.work-cat img { width: 100%; height: clamp(170px, 17vw, 240px); flex: none; object-fit: cover; object-position: center bottom; image-rendering: pixelated; border-bottom: 1px solid var(--pg-line); }
.work-cat-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-cat .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: #0c9bff; }
.work-cat h3 { font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 22px; color: var(--pg-ink); margin: 0; }
.work-cat p { margin: 0; color: #516070; font-size: 15px; line-height: 1.55; flex: 1; }
.work-cat .link { margin-top: 10px; }
@media (max-width: 980px) { .work-cats-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-cats, .work-cats-3 { grid-template-columns: 1fr; } }

.work-cats-3 .work-cat img { height: clamp(150px, 12vw, 180px); }

/* Our Work sub-pages: bright artwork under a dark overlay so white text reads */
.hero-dim::before { background: linear-gradient(90deg, rgba(4,12,36,0.88) 0%, rgba(4,12,36,0.7) 45%, rgba(4,12,36,0.4) 100%); }
.hero-dim h1 { text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.hero-dim .lead { margin-bottom: 24px; }
.hero-dim .eyebrow a { color: inherit; text-decoration: none; }
.hero-dim .eyebrow a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .hero-dim::before { background: linear-gradient(rgba(4,12,36,0.25), rgba(4,12,36,0.25)), var(--hero-img) center bottom / 100% auto no-repeat; background-size: 100% 100%, 100% auto; background-position: center bottom, center bottom; background-repeat: no-repeat; }
}

.hero-app-developer-kuching { --hero-img: url('assets/pages/custom-applications.webp'); }

/* SEO content blocks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--pg-body); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tl-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--pg-line); border-radius: 22px; padding: 22px 20px; color: var(--pg-body); font-size: 15px; line-height: 1.55; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; color: var(--tl-blue); font-size: 14px; margin-bottom: 8px; }
.steps li b { display: block; font-family: var(--font-display); color: var(--pg-ink); font-size: 18px; margin-bottom: 6px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--pg-line); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; color: var(--pg-ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--tl-blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: var(--pg-body); line-height: 1.65; }
.prose h2 { font-family: 'Poppins', var(--font-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; color: var(--pg-ink); margin: 0 0 16px; text-wrap: balance; }

/* ---------- Forms: contact + quote (forms.js, api/contact.php) ---------- */
.form-card { padding: var(--sp-8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-display); font-weight: var(--w-semibold); font-size: 13.5px; color: var(--pg-ink); padding: 0; }
.field label small { font-weight: 400; color: var(--pg-muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--fg);
  border: 1.5px solid var(--ink-300); border-radius: var(--r-md);
  padding: 12px 14px; width: 100%; background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tl-blue); box-shadow: 0 0 0 3px rgba(12,155,255,0.18); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin-top: 4px; }
.checks label { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--pg-body); cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--tl-blue); flex: none; }
.form-actions, .field.form-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-wa { background: #fff; color: #128c4a; border: 1.5px solid #25d366; }
.btn-wa:hover { background: #effcf4; }
.form-note { margin: 0; font-size: 13px; color: var(--pg-muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; grid-column: 1 / -1; border-radius: var(--r-md); padding: 12px 14px; font-size: var(--fs-sm); }
.form-status.show { display: block; }
.form-status.ok { background: var(--success-bg, #e9f9ef); border: 1px solid var(--success, #1f9d55); color: #14532d; }
.form-status.error { background: #fff1f0; border: 1px solid #f0a8a0; color: #8a1c12; }
.form-status a { color: inherit; font-weight: 600; }
@media (max-width: 800px) { .form-grid, .checks { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }

/* Real photo at the top of a project card */
.case-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }

/* ---------- Pricing guide ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.price-card h3 { font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 20px; color: var(--pg-ink); margin: 0; }
.price-card .for { margin: 0; color: var(--pg-muted); font-size: 14.5px; line-height: 1.5; }
.price-card .from { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7d90; }
.price-card .amount { margin: 0; font-family: 'Poppins', var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; color: var(--tl-blue); line-height: 1.1; }
.price-card .amount small { font-size: 15px; font-weight: 600; color: var(--pg-muted); letter-spacing: 0; }
.price-card .ticks { margin: 6px 0 10px; flex: 1; }
.price-card .ticks li { font-size: 15px; }
.price-card .btn { align-self: flex-start; }
.price-card.featured { border: 2px solid var(--tl-blue); box-shadow: 0 18px 40px rgba(12,155,255,0.16); }
.price-tag { align-self: flex-start; background: #e7f5ff; color: #0a7fd6; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-notes .card { padding: 24px; background: #fff; }
.price-notes h3 { font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 18px; color: var(--pg-ink); margin: 14px 0 6px; }
.price-notes p { margin: 0; color: var(--pg-body); font-size: 15px; line-height: 1.6; }
@media (max-width: 980px) { .price-grid, .price-notes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .price-grid, .price-notes { grid-template-columns: 1fr; } }

/* Case studies, blog, language */
.cs-shot { margin: 0 0 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--pg-line); box-shadow: 0 18px 40px rgba(16,60,100,.08); }
.cs-shot img { display: block; width: 100%; height: auto; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cs-results p { max-width: 760px; }
.cs-quote { margin: 32px 0 0; padding: 24px 28px; border-left: 4px solid var(--tl-blue); background: var(--pg-tint); border-radius: 0 18px 18px 0;
  font-family: var(--font-display); font-size: 20px; line-height: 1.5; color: var(--pg-ink); max-width: 820px; }
.cs-quote cite { display: block; margin-top: 10px; font-family: var(--font-body, inherit); font-size: 14px; font-style: normal; color: var(--pg-muted); }
.cs-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; text-decoration: none !important; color: inherit; }
.post-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.3; color: var(--pg-ink); margin: 0; }
.post-card p { color: var(--pg-body); margin: 0; }
.post-card .link { margin-top: auto; padding-top: 8px; }
.article { max-width: 760px; }
.article .post-meta { color: var(--pg-muted); font-size: 14px; margin: 0 0 24px; }
.article h2 { font-family: 'Poppins', var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--pg-ink); margin: 40px 0 12px; }
.article h3 { font-family: var(--font-display); font-size: 20px; color: var(--pg-ink); margin: 28px 0 8px; }
.article p, .article li { font-size: 17px; line-height: 1.75; color: var(--pg-body); }
.article ul { padding-left: 22px; }
.article a { color: var(--tl-blue-press); text-decoration: underline; text-underline-offset: 3px; }
.post-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--pg-line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.post-related .eyebrow { margin: 0; width: 100%; }
.lang-switch a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } .cs-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* mobile hero art */
@media (max-width: 860px) {
  .hero-services { --hero-img: url('assets/pages/services-800.webp'); }
  .hero-work { --hero-img: url('assets/pages/work-800.webp'); }
  .hero-products { --hero-img: url('assets/pages/products-800.webp'); }
  .hero-about { --hero-img: url('assets/pages/about-800.webp'); }
  .hero-contact { --hero-img: url('assets/pages/contact-800.webp'); }
  .hero-custom-applications { --hero-img: url('assets/pages/custom-applications-800.webp'); }
  .hero-event-technology { --hero-img: url('assets/pages/event-technology-800.webp'); }
  .hero-websites { --hero-img: url('assets/pages/websites-800.webp'); }
  .hero-brand-activation { --hero-img: url('assets/pages/brand-activation-800.webp'); }
  .hero-app-developer-kuching { --hero-img: url('assets/pages/custom-applications-800.webp'); }
}
.article a { color: var(--blue-700); }

/* Blog pixel art: thumbnail under each card title, featured image at the top of each post */
.post-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1376 / 768; object-fit: cover; margin: 6px 0 4px; border-radius: 14px; border: 1px solid var(--pg-line); }
.post-feature { margin: 0 0 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--pg-line); box-shadow: 0 18px 40px rgba(16,60,100,.08); }
.post-feature img { display: block; width: 100%; height: auto; }

/* Web design Kuching: selected websites */
.wdk-intro .split { align-items: start; }
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.site-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pg-line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(12, 40, 80, 0.06); transition: transform .2s, box-shadow .2s; }
.site-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(12, 40, 80, 0.1); }
.site-shot { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #eaf6ff, #d2ecff); border-bottom: 1px solid var(--pg-line); overflow: hidden; }
.site-shot img { position: absolute; inset: 30px 0 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top center; }
.site-bar { position: absolute; inset: 0 0 auto; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f4f7fa; border-bottom: 1px solid var(--pg-line); }
.site-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dde5; }
.site-bar span { margin-left: 10px; flex: 1; max-width: 70%; height: 18px; line-height: 18px; padding: 0 10px; border-radius: 9px; background: #fff; font-size: 11px; color: #6b7d90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-ph { position: absolute; inset: 30px 0 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #5c7a96; }
.site-shot img + .site-ph { display: none; }
.site-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.site-body .kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-body h3 { margin: 0 0 8px; font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--pg-ink); }
.site-body p { margin: 0; color: #516070; font-size: 15px; line-height: 1.55; }
.site-body .link { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--blue-700); }
.wdk-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.wdk-proof .cs-quote { margin: 0; background: #fff; font-size: 17px; line-height: 1.55; }
.wdk-more { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--pg-line); }
.wdk-more h3 { margin: 0 0 16px; font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 20px; color: var(--pg-ink); }
.wdk-count { margin: 18px 0 0; color: #5c6b7a; font-size: 14px; }
@media (max-width: 1000px) { .site-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .site-grid, .wdk-proof { grid-template-columns: 1fr; gap: 20px; } .wdk-proof, .wdk-more { margin-top: 40px; } }

/* Event technology: stats and on-the-day list */
.evt-svc { grid-template-columns: repeat(4, 1fr); }
.evt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.evt-stats div { padding: 22px 22px 20px; border-radius: 18px; background: var(--pg-tint); border: 1px solid var(--pg-line); }
.evt-stats b { display: block; font-family: 'Poppins', var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--blue-700); }
.evt-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: #516070; }
.evt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.evt-list article { padding: 26px 0; border-top: 1px solid var(--pg-line); }
.evt-list .kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.evt-list h3 { margin: 0 0 8px; font-family: 'Poppins', var(--font-display); font-weight: 700; font-size: 20px; color: var(--pg-ink); }
.evt-list p { margin: 0; color: #516070; font-size: 15px; line-height: 1.6; }
.evt-quote { margin-top: 32px; max-width: 760px; }
@media (max-width: 900px) { .evt-stats, .evt-svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .evt-list, .evt-svc { grid-template-columns: 1fr; } .evt-stats { gap: 12px; } .evt-stats b { font-size: 28px; } }
.site-shot.is-photo img { inset: 0; height: 100%; object-position: center; }
.evt-photo { position: relative; aspect-ratio: 16 / 10; margin-bottom: 18px; border-radius: 16px; overflow: hidden; border: 1px solid var(--pg-line); background: linear-gradient(160deg, #eaf6ff, #d2ecff); }
.evt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evt-ph { position: absolute; inset: 0; display: grid; place-items: center; background-image: radial-gradient(rgba(12, 155, 255, 0.14) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.evt-ph span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #5c7a96; }
.evt-photo img + .evt-ph { display: none; }
.evt-list article { border-top: 0; padding: 0 0 36px; }
/* On the day: 3 per row, last row centred */
.evt-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }
.evt-list article { flex: 0 1 calc((100% - 64px) / 3); }
@media (max-width: 900px) { .evt-list article { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 640px) { .evt-list article { flex-basis: 100%; } }
