/* PANGEA Technologies website. Brand guide: Near black #05090B, Deep teal #064F56, Ochre #C8893F; Arial for body and
   technical text, Segoe UI Light for editorial titles. Ochre is used for rules, markers and text on near black only
   (2.96:1 on white is below WCAG AA for text); teal carries small accent text on light backgrounds (9.3:1).
   No font or file from another site. The logo is the supplied white-background artwork, always shown on white with a
   clear space of at least a quarter of its height. */
:root {
  --ink: #05090b;
  --teal: #064f56;
  --ochre: #c8893f;
  --white: #ffffff;
  --bg: #f5f6f4;
  --panel: #ffffff;
  --fg: #05090b;
  --muted: #4a5960;
  --line: #d9dfdd;
  --on-dark: #e9eeee;
  --on-dark-muted: #c3ced0;
  --radius: 8px;
  --f-body: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --f-title: "Segoe UI Light", "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body);
  font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; margin: 0 0 0.5em; font-family: var(--f-body); font-weight: 700; }
h1 { font-family: var(--f-title); font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.02rem; }
.title-light { font-family: var(--f-title); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.narrow { max-width: 860px; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--panel); color: var(--fg); padding: 8px 14px; z-index: 10; border-radius: 6px; }
.skip:focus { top: 8px; }

/* header: the full logo on white with its clear space (15px = a quarter of 60px); the sigle when the menu folds */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex: none; padding: 15px; margin-left: -15px; line-height: 0; background: var(--white); }
.brand img { width: 236px; height: 60px; }
.nav-wide { margin-left: auto; }
.nav-wide ul, .nav-narrow ul { list-style: none; margin: 0; padding: 0; }
.nav-wide ul { display: flex; gap: 2px; flex-wrap: wrap; }
.nav-wide a, .nav-narrow a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--fg); text-decoration: none; font-size: 0.97rem; }
.nav-wide a:hover, .nav-narrow a:hover { background: var(--bg); color: var(--teal); }
.nav-wide a[aria-current="page"], .nav-narrow a[aria-current="page"] { color: var(--teal); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ochre); }
.nav-dc a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--ochre); vertical-align: 0.12em; }
.langs { display: flex; gap: 2px; font-size: 0.9rem; font-weight: 700; flex: none; }
.langs a, .langs span { padding: 6px 8px; border-radius: 6px; }
.langs span { color: var(--fg); box-shadow: inset 0 -2px 0 var(--ochre); }
.langs a { color: var(--teal); text-decoration: none; }
.nav-narrow { display: none; }
.nav-narrow summary { cursor: pointer; list-style: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary::after { content: " ▾"; }
.nav-narrow[open] summary::after { content: " ▴"; }
@media (max-width: 1080px) {
  .brand { padding: 11px; margin-left: -11px; }
  .brand img { width: 44px; height: 44px; }
  .nav-wide { display: none; }
  .nav-narrow { display: block; }
  .langs { margin-left: auto; }
  .nav-narrow nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-narrow a { padding: 12px 10px; font-size: 1.05rem; }
}

/* hero: the presentation's cover, a photo under a near-black veil */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; border-bottom: 3px solid var(--ochre); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 11, 0.94) 0%, rgba(5, 9, 11, 0.78) 50%, rgba(5, 9, 11, 0.35) 100%); }
@media (max-width: 760px) { .hero-bg::after { background: rgba(5, 9, 11, 0.8); } }
.hero-in { position: relative; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: var(--white); max-width: 18ch; margin-bottom: 0.25em; }
.hero-sub { font-family: var(--f-title); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--ochre); margin-bottom: 1em; }
.hero .lead { color: var(--on-dark); }
.hero .eyebrow { color: var(--ochre); }
.hero-cta, .next-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
@media (max-width: 760px) { .hero-in { padding-top: 52px; padding-bottom: 56px; } }

.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6em; }
.section-label { margin: 8px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 64ch; }

/* the two capabilities, equal weight */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.pillar { border-radius: var(--radius); padding: 28px; color: var(--white); display: flex; flex-direction: column; }
.pillar h3 { color: var(--white); font-family: var(--f-title); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.pillar p { color: var(--on-dark); }
.pillar-cta { margin: auto 0 0 !important; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.pillar-sw { background: var(--teal); }
.pillar-dc { background: var(--ink); border-top: 4px solid var(--ochre); }
.pillar-sw { border-top: 4px solid var(--white); }
.pillar-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white) !important; margin-bottom: 0.6em; }
.pillar-dc .pillar-label { color: var(--ochre) !important; }
.pillar-label .num { margin-right: 6px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } .pillar { padding: 22px; } }

/* buttons */
.btn { display: inline-block; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 6px; line-height: 1.3; border: 2px solid transparent; }
.btn:hover { text-decoration: underline; }
.btn-ochre { background: var(--ochre); color: var(--ink); }
.btn-light, .pillar .btn { background: var(--white); color: var(--ink); }
.pillar-dc .btn { background: var(--ochre); color: var(--ink); }
.btn-ghost, .pillar .btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }

/* bands and cards */
.band { padding: 52px 0; }
.band-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .eyebrow { color: var(--ochre); }
.band-dark .card { background: #0d1518; border-color: #26363a; }
.band-dark .card p { color: var(--on-dark); }
.band-dark a:not(.btn) { color: var(--white); }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.band-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
@media (max-width: 860px) { .trio, .duo { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band-alt .card { background: var(--bg); }
.point { border-top: 3px solid var(--teal); }
.band-dark .point { border-top-color: var(--ochre); }
.num { font-family: var(--f-title); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--teal); margin-bottom: 0.4em; }
.band-dark .num, .pillar .num { color: inherit; font-size: inherit; font-family: inherit; font-weight: 700; }
.band-dark .point .num { color: var(--ochre); font-family: var(--f-title); font-weight: 300; font-size: 1.6rem; }
.card h3 a, .card h2 a { color: var(--fg); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--teal); text-decoration: underline; }
.card > :last-child { margin-bottom: 0; }
.app-card { display: flex; flex-direction: column; }
.app-card .app-url { margin-top: auto; font-weight: 700; }
.app-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.app-top h2, .app-top h3 { margin: 0; font-size: 1.2rem; }
.mark { flex: none; width: 42px; height: 42px; border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; box-shadow: inset 0 -3px 0 var(--ochre); }
.tagline { color: var(--teal); font-weight: 700; margin-bottom: 0.5em; }

.page-head { padding: 52px 0 40px; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 0.3em; }
.page-head .lead { margin-bottom: 0; }
.page-head-dc { background: var(--ink); color: var(--white); border-bottom: 3px solid var(--ochre); }
.page-head-dc h1 { color: var(--white); }
.page-head-dc .lead { color: var(--on-dark); }
.page-head-dc .eyebrow { color: var(--ochre); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; max-width: 900px; }

/* AI data centers page */
.dc-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.dc-lead { font-family: var(--f-title); font-weight: 300; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.4; }
.dc-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.brief { border-left: 4px solid var(--ochre); margin-top: 1.5em; }
.brief h2 { font-size: 1.2rem; }
@media (max-width: 860px) { .dc-intro { grid-template-columns: 1fr; } .dc-img img { aspect-ratio: 16 / 10; } }

/* solutions page */
.industry { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.industry h3 { font-size: 1.3rem; }
.industry.has-img .industry-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.industry.has-img .trio { grid-template-columns: 1fr; margin-top: 0; }
.ind-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .industry.has-img .industry-body { grid-template-columns: 1fr; } .ind-img img { aspect-ratio: 16 / 10; } }
.sector { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.sector:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }

.ticks { padding-left: 0; list-style: none; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.55em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; background: var(--ochre); }
.app-list { padding-left: 1.2em; }
.app-list li { margin-bottom: 0.5em; }

.access dl, .contact-list { margin: 0 0 1em; display: grid; gap: 12px; }
.access dt, .contact-list dt { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.access dd, .contact-list dd { margin: 0; font-weight: 700; word-break: break-word; }
.small { font-size: 0.92rem; color: var(--muted); }

.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; }
.toc a { display: inline-block; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 700; font-size: 0.95rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-bottom: 0.8em; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.97rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.pill-built { background: #e3efee; color: var(--teal); }
.pill-inbuild { background: transparent; color: var(--ink); border: 1px solid var(--ochre); }

.projects { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 1.5em; }
.projects li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--ochre); border-radius: var(--radius); padding: 16px 18px; font-size: 1.1rem; }
.projects li p { font-size: 1rem; margin: 0.4em 0 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 0 0 1.5em; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.facts dt { color: var(--muted); font-size: 0.85rem; }
.facts dd { margin: 0; font-weight: 700; }

address { font-style: normal; line-height: 1.7; }

.legal h2 { margin-top: 1.6em; font-size: 1.25rem; }
.legal-meta { color: var(--muted); margin: 0; }

/* footer: the logo on a white plate with its clear space */
.foot { background: var(--ink); color: var(--on-dark); padding: 40px 0 28px; border-top: 3px solid var(--ochre); }
.foot a { color: var(--white); }
.foot-in { display: grid; gap: 18px; }
.foot-id { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot-plate { display: inline-block; background: var(--white); padding: 12px; border-radius: 4px; line-height: 0; }
.foot-logo { width: 189px; height: 48px; }
.foot-id p { margin: 0; }
.foot-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot .legal-links { margin: 0; }
.foot .copyright { margin: 0; color: var(--on-dark-muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .top nav, .foot nav, .skip, .hero-bg { display: none; } .hero, .band-dark { background: none; color: var(--ink); } }
