:root {
  --ink: #0B0B0C;
  --ink-soft: #2B2C2E;
  --blue: #4A9FD6;
  --blue-deep: #2E7CB0;
  --white: #FFFFFF;
  --surface: #F4F5F6;
  --surface-line: rgba(11,11,12,0.1);
  --steel: #585C61;

  --font-display: "Playfair Display", serif;
  --font-body: "IBM Plex Sans", sans-serif;

  --container: 1180px;
  --edge: clamp(20px, 5vw, 64px);
  --cut: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue); color: var(--white);
  padding: 10px 16px; z-index: 200; font-size: 0.85rem; font-weight: 600;
}
.skip-link:focus { left: var(--edge); top: var(--edge); }

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

section[id] { scroll-margin-top: 84px; }

/* ---------- Layout helpers ---------- */
.section { position: relative; padding: clamp(44px, 6.5vw, 88px) 0; }
.section--surface { background: var(--surface); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.two-col { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 14px; display: inline-block;
  padding-left: 14px; border-left: 3px solid var(--blue);
}
.eyebrow--light { color: var(--blue); border-left-color: var(--blue); }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 22px; }
.section-title.light { color: var(--white); }
.section-body { font-size: 1.02rem; line-height: 1.7; color: var(--steel); max-width: 62ch; }
.section-body + .section-body { margin-top: 16px; }
.section-body.light { color: #C7CDD3; }
.section-body.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 68ch; margin-bottom: 26px; }

.accent { color: var(--blue); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--surface-line); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 12px var(--edge); display: flex; align-items: center; justify-content: space-between; }
.brand-mark { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-glyph { display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.brand-wordmark { display: block; height: 20px; width: auto; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }

.site-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; gap: clamp(14px, 2vw, 26px); margin: 0; padding: 0; align-items: center; }
.nav-list a { font-size: 0.85rem; font-weight: 500; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--blue); }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 9px 18px !important; clip-path: var(--cut); }
.nav-cta:hover { border-bottom-color: transparent !important; background: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0;
    max-height: 0; overflow: hidden; border-bottom: 1px solid var(--surface-line);
    transition: max-height 0.3s ease;
  }
  .nav-list.is-open { max-height: 360px; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; width: 100%; padding: 14px var(--edge); border-bottom: 1px solid var(--surface-line); }
  .nav-cta { clip-path: none; }
}

/* ---------- Hero ---------- */
.hero.hero--photo {
  position: relative; overflow: hidden; padding-top: 0;
  min-height: clamp(520px, 78vh, 720px); display: flex; align-items: center;
}
.hero-top-accent {
  position: absolute; top: 0; left: 0; width: 220px; height: 6px; z-index: 3;
  background: var(--blue); clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 66%);
}
.hero--photo .hero-inner {
  position: relative; z-index: 2; max-width: var(--container); margin: 0; padding: 90px var(--edge) 60px;
}
.hero--photo .hero-copy { max-width: clamp(320px, 36vw, 480px); text-align: left; }
@media (max-width: 760px) {
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 42%, rgba(255,255,255,0.55) 68%, rgba(255,255,255,0.18) 100%);
  }
  .hero--photo .hero-copy { max-width: 100%; }
  .hero.hero--photo { min-height: clamp(560px, 90vh, 780px); align-items: flex-end; }
}

.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--ink); margin-bottom: 22px; }
.hero-sub { font-size: 1.02rem; color: var(--steel); max-width: 46ch; line-height: 1.65; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600;
  padding: 15px 26px; border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease;
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); clip-path: var(--cut); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- Photo band (carousel) ---------- */
.photo-band { padding: clamp(24px, 4vw, 48px) 0; }
.band-carousel { position: relative; }
.band-carousel::before {
  content: ""; position: absolute; top: 0; left: 0; width: 160px; height: 6px; z-index: 3;
  background: var(--blue); clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}
.band-track {
  display: flex; overflow-x: hidden; scroll-behavior: smooth; box-shadow: 0 20px 44px rgba(11,11,12,0.12);
}
.band-slide { flex: 0 0 100%; aspect-ratio: 2.2 / 1; overflow: hidden; }
@media (max-width: 700px) { .band-slide { aspect-ratio: 4 / 3; } }
.band-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--surface-line);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
  box-shadow: 0 8px 18px rgba(11,11,12,0.16); transition: background 0.15s ease, color 0.15s ease;
}
.band-nav svg { width: 18px; height: 18px; }
.band-nav:hover { background: var(--blue); color: var(--white); }
.band-nav--prev { left: 14px; }
.band-nav--next { right: 14px; }
.band-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 4; display: flex; gap: 8px; justify-content: center; }
.band-dots .carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 0; padding: 0; cursor: pointer; }
.band-dots .carousel-dot.is-active { background: var(--white); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .about-photo { aspect-ratio: 16 / 9; } }
.about-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Stats ---------- */
.stats-section { padding-top: clamp(32px, 4.5vw, 56px); padding-bottom: clamp(32px, 4.5vw, 56px); }
.stats-panel {
  background: var(--white); border: 1px solid var(--surface-line); position: relative; overflow: hidden;
  box-shadow: 0 22px 50px rgba(11,11,12,0.08);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stats-panel::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; z-index: 2;
  background: var(--blue); clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
}
.stat { position: relative; text-align: center; padding: clamp(28px, 4vw, 40px) 20px; }
.stat:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--surface-line);
}
.stat-icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.9rem); color: var(--ink); }
.stat-label { color: var(--steel); font-size: 0.86rem; margin-top: 6px; }
@media (max-width: 700px) {
  .stats-panel { grid-template-columns: 1fr; }
  .stat:not(:first-child)::before { left: 22%; right: 22%; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Capabilities ---------- */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 820px) { .capability-grid { grid-template-columns: 1fr; } }
.capability-card {
  background: var(--white); border: 1px solid var(--surface-line); position: relative;
  padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.capability-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,11,12,0.1); border-color: var(--blue); }
.capability-card::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 6px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 76% 100%, 0% 100%); }
.capability-icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
.card-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }
.capability-card h3 { font-size: 1.32rem; margin: 0; }
.capability-card p { color: var(--steel); line-height: 1.6; font-size: 0.96rem; }

/* ---------- Vision ---------- */
.vision { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.vision::before {
  content: ""; position: absolute; top: -20%; right: -8%; width: 42%; height: 140%; z-index: 0;
  background: rgba(74,159,214,0.08); clip-path: polygon(35% 0, 100% 0, 65% 100%, 0% 100%);
}
.vision .section-inner { position: relative; z-index: 1; }
.vision-quote {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.22; max-width: 24ch; margin: 0 0 24px;
  color: var(--white);
}
.vision-sub { font-size: 1.02rem; color: #C7CDD3; max-width: 52ch; }

/* ---------- Compliance ---------- */
.compliance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; max-width: 640px; }
@media (max-width: 600px) { .compliance-list { grid-template-columns: 1fr; } }
.compliance-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--ink); }
.compliance-banner {
  width: 100%; margin-top: clamp(28px, 4vw, 44px);
  background: var(--ink); color: var(--white);
}
.compliance-banner-inner {
  max-width: var(--container); margin: 0 auto; padding: 26px var(--edge);
  display: flex; align-items: center; gap: 20px;
}
@media (max-width: 600px) { .compliance-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; } }
.compliance-banner-icon {
  width: 42px; height: 42px; flex-shrink: 0; color: var(--blue);
}
.compliance-banner-title {
  font-size: 1.06rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.compliance-banner-body {
  font-size: 0.92rem; color: #C7CDD3; line-height: 1.5;
}
.tick { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; background: var(--white); border: 1.5px solid var(--blue); border-radius: 50%; padding: 3px; }

/* ---------- Categories ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  font-size: 0.82rem; font-weight: 500; border: 1px solid var(--surface-line); padding: 9px 16px; color: var(--steel);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- Video grid (office left, dental+canteen stacked right) ---------- */
.video-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 30px;
}
.video-cell--left { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.video-cell--tr { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; }
.video-cell--br { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; }
.video-cell .work-caption { display: block; margin-bottom: 10px; }
.video-cell video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: var(--surface);
  box-shadow: 0 16px 34px rgba(11,11,12,0.14);
}
.video-cell--portrait video { aspect-ratio: 9 / 16; }
.video-cell--tr video, .video-cell--br video { aspect-ratio: 16 / 9; }
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-cell--left, .video-cell--tr, .video-cell--br { grid-column: 1; grid-row: auto; }
  .video-cell--portrait video { aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; }
}

/* ---------- Our Work / Instagram ---------- */
.work-grid {
  column-count: 3; column-gap: 22px; margin-top: 30px;
}
@media (max-width: 900px) { .work-grid { column-count: 2; } }
@media (max-width: 560px) { .work-grid { column-count: 1; } }
.work-tile {
  display: block; break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: 26px;
}
.work-tile .work-caption { display: block; margin-bottom: 10px; }
.work-caption {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-deep);
}
.work-tile .instagram-media { margin: 0 !important; width: 100% !important; min-width: 0 !important; }
.work-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--blue); padding-bottom: 4px;
}
.work-cta:hover { color: var(--blue-deep); }
.ig-icon { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.contact-actions--stacked { flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-actions--stacked .btn { width: 100%; max-width: 420px; justify-content: flex-start; }
.contact-meta { color: var(--blue); font-size: 0.86rem; font-weight: 500; }
.contact .btn-primary { background: var(--blue); }
.contact .btn-primary:hover { background: var(--blue-deep); }
.contact-details {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 600px) { .contact-details { grid-template-columns: 1fr; } }
.contact-detail { display: flex; flex-direction: column; gap: 6px; }
.contact-detail-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
}
.contact-detail-value { font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.88); }

/* ---------- Footer ---------- */
.site-footer { background: #050506; color: #C7CDD3; padding: 56px var(--edge) 26px; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 6px; }
.footer-wordmark { display: block; height: 22px; width: auto; }
.footer-tag { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.footer-links a, .footer-links span { font-size: 0.9rem; color: #C7CDD3; }
.footer-links a:hover { color: var(--white); }
.footer-copy { max-width: var(--container); margin: 22px auto 0; text-align: center; font-size: 0.72rem; color: #6C7075; }