/* Shared styles for every page. Page-specific overrides stay in a small <style> in that page. */
:root {
  --bg: #ffffff;
  --text: #111318;
  --muted: #5b6270;
  --accent: #005EEB;
  --accent-text: #ffffff;
  --card: #f4f5f7;
  --border: #e2e4e9;
  --max: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--bg); color: var(--text); padding: 8px 14px; border: 2px solid var(--text); border-radius: 4px; }
.skip:focus { left: 8px; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo img { height: 40px; width: auto; }
nav ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 15px; }
nav a:hover { text-decoration: underline; }

.btn { display: inline-block; padding: 12px 24px; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; font-size: 15px; border: 2px solid var(--accent); border-radius: 4px; cursor: pointer; }
.btn:hover { opacity: .88; }
.btn.ghost { background: transparent; color: var(--text); }

.hero { position: relative; color: #fff; background: #1b1f27 url("Images/hero.webp") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(10,12,18,.55); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; max-width: 800px; text-align: center; }
h1, h2, h3, .page-title { font-weight: 800; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.01em; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; margin-bottom: 32px; opacity: .95; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: #fff; }

section { padding: 80px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; width: 100%; }
h2, .page-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; margin-bottom: 18px; line-height: 1.2; }
.lead { color: var(--muted); }

.access { background: var(--card); }
.access h2 { text-align: center; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; }

.contact { text-align: center; }
.contact .lead { max-width: 560px; margin: 0 auto 36px; }
form { max-width: 600px; margin: 0 auto; display: grid; gap: 16px; text-align: left; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
input, textarea { font: inherit; padding: 12px; border: 1px solid var(--border); border-radius: 4px; width: 100%; }
textarea { min-height: 140px; resize: vertical; }
form .btn { justify-self: center; }
.req-note { font-size: 14px; color: var(--muted); margin-top: -4px; }
.hp { position: absolute; left: -9999px; }
.form-status { text-align: center; font-weight: 600; }
.form-status:empty { display: none; }

footer { background: #111318; color: #fff; padding: 56px 0 28px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 36px; }
footer img { height: 40px; width: auto; filter: brightness(0) invert(1); }
footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-bottom: 6px; }
footer a { text-decoration: none; }
footer .copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: 14px; opacity: .7; }


/* Products list (Products, Portfolio, 404) */
.proj-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.project { display: block; text-decoration: none; }
.project img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.project .tag { margin-top: 16px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project h3 { margin-top: 4px; font-size: 1.25rem; line-height: 1.3; }
.project p { color: var(--muted); margin-top: 8px; }
.project:hover h3 { text-decoration: underline; }

/* Product and case pages (Leeway, Portfolio) */
.case-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.case-intro .tag { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.shots { display: grid; gap: 40px; }
.shot img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.shot figcaption strong { color: var(--text); }
.disclaimer { margin-top: 40px; text-align: center; color: var(--muted); font-size: .95rem; }
.portfolio-cta { text-align: center; background: var(--card); }
.portfolio-cta .lead { max-width: 560px; margin: 0 auto 28px; }

@media (max-width: 800px) {
  .split, .cards, .row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
}
