/*
 * site.css — the only stylesheet you edit for this site.
 * nk-web.css (in assets/nk/) holds the Nordkapp system; never edit that copy.
 *
 * Allowed here (see AGENTS.md):
 *   - the accent colours below
 *   - small layout tweaks for site-specific sections, using the --nk-* tokens
 * Not allowed: other fonts, new font sizes, shadows, new radii, recolouring nav/footer/logos.
 */
:root {
  /* Accent: one main colour, optionally one second colour. Keep text on it readable (4.5:1). */
  --nk-accent: var(--nk-black);        /* e.g. #ff5a36 */
  --nk-accent-ink: var(--nk-white);    /* text on the accent: black or white */
  --nk-accent-soft: var(--nk-white);   /* light tint for cards, e.g. #ffe8e1 */
  --nk-accent-2: var(--nk-accent);
  /* Hero shade: keeps the black type readable over the light engraving */
  --site-shade-top: rgba(255, 255, 255, 0.55);
  --site-shade-clear: rgba(255, 255, 255, 0);
  --site-shade-bottom: rgba(255, 255, 255, 0.7);
}

/* ---------- Hero: the light engraving from the old Webflow page, on a light panel ---------- */
.site-hero__photo { object-position: 50% 40%; }
.site-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--site-shade-top) 0%, var(--site-shade-clear) 40%, var(--site-shade-clear) 60%, var(--site-shade-bottom) 100%); }
.nk-hero--light .nk-hero__card { background: var(--nk-gray); }
.nk-hero__intro { max-width: 560px; }

/* ---------- Tiles ---------- */
.site-tile { gap: 16px; }
.site-tile .nk-service__text { margin-top: auto; }

/* Use-case cards are articles, not links: no hover plus, the text sets the height */
.site-case { min-height: 0; justify-content: flex-start; }

/* What we do: two tiles with a list */
.site-what .nk-list { margin-top: auto; padding-top: 10px; }

/* People in the contact card */
.site-people { display: flex; flex-direction: column; gap: 24px; }
.site-people .nk-person__img { object-fit: cover; }

/* ---------- Where am I (site.js), from the AI Coaching site ---------- */
.site-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--nk-black); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; transition: opacity 0.3s; }
.nk-nav.is-open .site-progress { opacity: 0; }
.nk-nav__links a[aria-current="location"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; }
.site-where { display: none; }
@media (max-width: 1199.98px) {
  .site-where { display: flex; gap: 8px; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
  .site-where.is-on { opacity: 1; pointer-events: auto; }
  .nk-nav.is-open .site-where { opacity: 0; pointer-events: none; }
  .site-where__n { opacity: 0.5; }
}
