/* KPO Marketing Company Ltd — holding page
   Brand blue #3697c3 (from the KPO logo); ridge motif from the former site banner. */

:root {
  --brand: #3697c3;
  --brand-light: #8fd0f0;
  --sky-top: #061a2b;
  --sky-mid: #0c3150;
  --sky-low: #1a5f8c;
  --ridge-near: #134d72;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.92);
  --text-soft: rgba(255, 255, 255, 0.74);
  --card: rgba(8, 32, 54, 0.66);
  --card-border: rgba(255, 255, 255, 0.16);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--sky-top);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- background scene (covers the whole page; ridges sit behind the footer) ---------- */

.scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(74, 167, 214, 0.45) 0%, rgba(74, 167, 214, 0) 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 100%);
}
.ridges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(200px, 40vh, 480px);
  object-fit: cover;
  object-position: 50% 100%;
}

/* ---------- page frame ---------- */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(20px, 4vh, 40px) var(--gutter) 0;
}

.site-header { display: flex; align-items: center; }
.brand img { width: clamp(170px, 24vw, 240px); height: auto; }

.site-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(20px, 4vh, 48px);
}

/* ---------- holding content ---------- */

.holding { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--brand-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: currentColor; }

h1 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.lead { margin: 0 0 16px; font-size: clamp(17px, 2vw, 20px); font-weight: 500; color: var(--text); }
.about { margin: 0; max-width: 680px; color: var(--text-soft); }
.about strong { color: var(--white); font-weight: 700; }

.contact-title {
  margin: clamp(24px, 4vh, 40px) 0 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-cards .wide { grid-column: 1 / -1; }
.contact-cards a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-cards a:hover { background: rgba(54, 151, 195, 0.32); border-color: rgba(143, 208, 240, 0.55); transform: translateY(-1px); }
.contact-cards span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-cards small, .related small {
  color: var(--brand-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--brand-light); }

.related {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 12px 18px 12px 20px;
  background: var(--white);
  border-radius: 999px;
  color: var(--sky-mid);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.related span { display: flex; flex-direction: column; line-height: 1.3; }
.related small { color: var(--brand); }
.related .icon { margin: 0; color: var(--brand); transition: transform 0.2s; }
.related:hover { background: var(--brand-light); }
.related:hover .icon { transform: translateX(3px); }

/* 404 */
.notice .lead { margin-bottom: 8px; }

/* ---------- footer (sits on the darkest ridge) ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-soft);
  font-size: 12.5px;
}
.site-footer p { margin: 0; }
.developer-credit { letter-spacing: 0.06em; text-transform: uppercase; }
.developer-credit a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.developer-credit a:hover { border-bottom-color: var(--white); }

@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
