/* Holhooja Ltd website stylesheet.
   AI generation and marking: authored by Claude (Anthropic). Anthropic applies machine-readable
   marking to Claude model output; the authoring instance cannot inspect, confirm, disable or remove it. */

:root {
  --sky-light: #5aaee8;
  --navy: #0d2b4a;
  --navy-2: #1d4468;
  --paper: #ffffff;
  --card: #ffffff;
  --text: #10263d;
  --muted: #4a6075;
  --line: #d6e6f2;
  --accent: #0a4f8c;
  --accent-btn: #0b5fa5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: 0.5rem 1rem; z-index: 10; }

/* Header and hero share the ink ground */
.top { background: #ffffff; color: var(--navy); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.02em; text-decoration: none; }
.brand span { color: var(--sky-light); }
.nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--navy); }
.nav a:hover { color: var(--accent); text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 5rem; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--navy-2); max-width: 34rem; margin: 1.6rem 0 2.2rem; }
.btn { display: inline-block; background: var(--accent-btn); color: #fff; text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; }
.btn:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: #ffffff; border: 1px solid var(--accent-btn); color: var(--accent); margin-left: 0.6rem; }
.btn-ghost:hover { background: #eef6fd; color: var(--accent); }

/* Hero figure: a person, an agent and a service, joined by a signed chain */
.chain { width: 100%; height: auto; }
.chain .faint { stroke: #c9def0; stroke-width: 1; fill: none; }
.chain .dot { fill: #9cc6e8; }
.chain .link { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s ease-out 0.3s forwards; }
.chain .node { fill: #ffffff; stroke: var(--accent); stroke-width: 2; }
.chain .core { fill: var(--sky-light); }
.chain .pulse { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; animation: pulse 3.6s ease-out 2.4s infinite; transform-origin: 240px 180px; }
.chain text { font-family: var(--sans); font-size: 13px; fill: var(--navy); font-weight: 600; }
.chain .tag { font-size: 11px; fill: var(--navy-2); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chain .link { animation: none; stroke-dashoffset: 0; }
  .chain .pulse { animation: none; }
}

/* Sections */
section { padding: 5rem 0; }
.kicker { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 40rem; }
.intro { color: var(--muted); max-width: 42rem; margin-top: 1rem; }

.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.g4 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin-bottom: 0.8rem; }
.card p:last-child { margin-bottom: 0; }
.num { font-family: var(--serif); color: var(--accent); font-size: 0.95rem; margin-bottom: 0.9rem; }
.std { font-size: 0.85rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 0.8rem; }
.sector { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }

.band { background: #ffffff; color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .kicker { color: var(--accent); }
.band .intro, .band p { color: #33536f; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.two h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.two ul { margin: 0; padding-left: 1.1rem; color: #33536f; }
.two li { margin-bottom: 0.5rem; }
.badge { display: inline-block; border: 1px solid #a9cbe6; background: #ffffff; border-radius: 10px; padding: 0.9rem 1.1rem; margin-top: 1.4rem; font-size: 0.92rem; color: #33536f; }
.badge strong { color: var(--navy); }
.roles { margin-top: 1.2rem; font-size: 0.95rem; }
.roles strong { color: var(--navy); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.creds { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; }
.creds h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin: 1.2rem 0 0.3rem; }
.creds h3:first-child { margin-top: 0; }
.creds p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.contact { text-align: center; }
.contact h2 { margin: 0 auto; }
.contact .intro { margin: 1rem auto 2rem; }
.mail { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.3rem); }

footer { border-top: 1px solid var(--line); padding: 2.2rem 0 3rem; font-size: 0.88rem; color: var(--muted); }
footer p { margin: 0 0 0.4rem; }

/* Plain text pages */
.prose { max-width: 44rem; }
.prose h1 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 0.6rem; }
.plain { padding-bottom: 1.4rem; }

@media (max-width: 820px) {
  .hero, .two, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; padding-bottom: 3.5rem; gap: 2rem; }
  .g4, .g3 { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .btn-ghost { margin: 0.8rem 0 0; }
}
