/* Pelusoft Limited. Single stylesheet, no build step. */
:root {
    --navy: #0b1f3a;
    --navy-2: #13315c;
    --accent: #0878ad;      /* the logo's cyan, darkened for readable white text */
    --accent-dark: #06618c;
    --text: #1d2433;
    --muted: #5a6478;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --border: #dde3ec;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
    --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { background: var(--bg-alt); }
.nav a.nav-cta { background: var(--accent); color: #fff; }
.nav a.nav-cta:hover { background: var(--accent-dark); }

/* ---------- Buttons ---------- */
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: var(--accent); color: var(--accent-dark); background: transparent; }
.button-ghost:hover { background: var(--accent); color: #fff; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #0f5a86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6edf7; padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { font-size: 1.15rem; max-width: 60ch; color: #c9d6ea; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.hero .eyebrow { color: #7fd3f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero .button-ghost { border-color: #7fd3f5; color: #fff; }
.hero .button-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.clients { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.clients-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: #7fd3f5; margin-bottom: 12px; }
.clients ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; color: #dbe6f5; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 65ch; font-size: 1.05rem; margin-bottom: 36px; }
.center .section-intro, .section-intro.center { margin-inline: auto; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 36px; }

.tile, .card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tile p, .card li { color: var(--muted); }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #e3f5fc; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) scale(0.75); transform-origin: left top; }
.two-col { columns: 2 260px; column-gap: 32px; }
.two-col li { break-inside: avoid; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.portrait { aspect-ratio: 1; border-radius: 20px; background: linear-gradient(150deg, var(--navy-2), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 700; letter-spacing: 0.04em; box-shadow: var(--shadow); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.role { font-weight: 600; color: var(--navy-2); }
@media (max-width: 760px) {
    .about { grid-template-columns: 1fr; }
    .portrait { width: 160px; font-size: 2.6rem; }
}

/* ---------- Selected work ---------- */
.case { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 40px); border-top: 4px solid var(--accent); }
.case .checks { margin: 0; }
.case .checks li { color: var(--muted); margin-bottom: 14px; }
.case .checks strong { color: var(--navy); }
.tags { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 0.8rem; font-weight: 600; color: var(--accent-dark); background: #e3f5fc; border-radius: 999px; padding: 4px 12px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* ---------- Recommendations ---------- */
.quote { margin: 0; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; }
.quote blockquote p { line-height: 1.7; color: var(--text); margin: 0; }
.quote figcaption { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); padding-top: 14px; }
.quote figcaption strong { display: block; color: var(--navy); font-size: 1rem; }
.quote-featured { max-width: 860px; margin: 0 auto 24px; padding: clamp(28px, 5vw, 48px); text-align: center; border-top: 4px solid var(--accent); }
.quote-featured blockquote p { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--navy); font-style: italic; max-width: 62ch; margin-inline: auto; }
.quote-featured figcaption { border-top: 0; padding-top: 0; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb3d1; padding: 32px 0; font-size: 0.9rem; }
.site-footer a { color: #cfe0f7; }
.footer-inner p { margin: 0 0 6px; }

/* ---------- Plain content pages (privacy) ---------- */
.page { padding: 56px 0 80px; }
.page h2 { font-size: 1.3rem; margin-top: 1.8em; }

@media (max-width: 560px) {
    body { font-size: 16px; }
    .header-inner { padding: 8px 0; }
    .brand img { height: 38px; }
    .nav a { padding: 6px 9px; font-size: 0.9rem; }
    .hero-actions .button, .contact-actions .button { width: 100%; text-align: center; }
}
