/* ==========================================================================
   KA Technologies — Klasse/Trust site stylesheet (klasse.html)
   --------------------------------------------------------------------------
   C-108: the classic/trust recipe as a COMPLETE, self-contained site. Same
   copy as index.html, its own composition: centered hero with a thin gold
   rule, serif micro-labels, ledger of facts, editorial two-column process,
   ruled lists instead of cards, navy footer.

   Recipe: white base, deep navy ink, cream alternate band, one deep gold
   accent, Playfair Display, radius 4-8px, thin rules, restrained details.
   ========================================================================== */

:root {
    --base: #ffffff;
    --base-deep: #faf7f0;
    --surface: #ffffff;
    --ink: #1e3a5f;
    --muted: #4a5a6e;
    --line: #ded8c9;
    --accent: #b08d4a;
    --accent-deep: #7a5c22;
    --gold-light: #d9bc7f;
    --shadow: none;
    --display: "Playfair Display", Georgia, "Times New Roman", serif;
    --serif: Georgia, "Times New Roman", serif;
}

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

body {
    margin: 0;
    background: var(--base);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3 { font-family: var(--display); letter-spacing: 0; line-height: 1.25; margin: 0; }
h1 { font-size: 2.1rem; font-weight: 600; }
h2 { font-size: 1.65rem; font-weight: 600; margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0.8rem 0 0; }
.lede { font-size: 1.1rem; color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }

section { padding: 5.5rem 0; }
.cream-band { background: var(--base-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.micro-label {
    font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent-deep); margin: 0 0 1rem;
}
.note-line { font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--muted); margin: 1rem 0 0; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--base);
    padding: 0.7rem 1.1rem; border-radius: 4px; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- header: centred wordmark over a thin rule ----------------------- */
header { background: var(--surface); border-bottom: 1px solid var(--line); text-align: center; }
.bar { padding: 1.5rem 1.5rem 1.2rem; }
.wordmark {
    display: inline-block; font-family: var(--display); font-size: 1.15rem;
    letter-spacing: 0.04em; color: var(--ink); text-decoration: none;
}
nav ul {
    display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; justify-content: center;
    list-style: none; margin: 1rem 0 0; padding: 0;
    font-family: var(--serif); font-size: 0.82rem; letter-spacing: 0.12em;
    text-transform: uppercase;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus { color: var(--accent-deep); }

/* --- hero: classic centred composition, monogram, gold rule ---------- */
.hero-centered { text-align: center; max-width: 44rem; margin: 0 auto; }
.monogram {
    font-family: var(--display); font-size: 2.4rem; line-height: 1;
    color: var(--accent); margin: 0 0 1.4rem;
}
.status-line {
    font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem;
}
/* signature: thin gold rule under the hero heading */
#hero h1::after {
    content: ""; display: block; width: 5.5rem; height: 2px;
    background: var(--accent); margin: 1.3rem auto 0;
}
.hero-centered .lede { margin-left: auto; margin-right: auto; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }
.cta-primary {
    display: inline-block; font-family: var(--serif); font-size: 0.86rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--ink); color: var(--base); text-decoration: none;
    border: 1px solid var(--ink); border-radius: 4px; padding: 0.9rem 1.6rem;
}
.cta-primary:hover, .cta-primary:focus { background: var(--accent-deep); border-color: var(--accent-deep); }
.cta-secondary {
    display: inline-block; font-family: var(--serif); font-size: 0.86rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-deep); background: transparent; text-decoration: none;
    border: 1px solid var(--line); border-radius: 4px; padding: 0.9rem 1.6rem;
}
.cta-secondary:hover, .cta-secondary:focus { border-color: var(--accent); }
.hero-phone-note { font-family: var(--serif); font-size: 0.88rem; color: var(--muted); margin: 0.9rem 0 0; }

/* signature: the facts as a thin-ruled ledger, not a floating card ---- */
.ledger { margin: 3.2rem auto 0; max-width: 34rem; text-align: left; }
.ledger-rows { margin: 0.6rem 0 0; border-top: 1px solid var(--line); }
.ledger-row { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-family: var(--display); font-size: 1.05rem; }
.ledger dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* --- om: the trust statement leads the page -------------------------- */
.about-plate { display: grid; gap: 1.5rem; align-items: start; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.portrait-plate {
    width: 120px; height: 120px; border-radius: 4px;
    background: var(--base-deep); border: 1px solid var(--accent);
}

/* --- prosess: editorial two-column reading ---------------------------- */
.process-grid { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 2.2rem; }
.process-item { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.process-index {
    display: block; font-family: var(--display); font-size: 1.5rem;
    color: var(--accent); line-height: 1;
}
.process-day {
    display: block; font-family: var(--serif); font-size: 0.75rem;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
    margin: 0.5rem 0 0.3rem;
}
.process-item p { color: var(--muted); }

/* --- hva du får: ruled rows, no cards -------------------------------- */
.ruled-list { list-style: none; margin: 2.6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.ruled-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.ruled-item p { color: var(--muted); }
.ruled-item--lead h3 { color: var(--accent-deep); }
.ruled-item--lead { background: var(--base-deep); padding: 1.5rem 1.3rem; border-radius: 4px; }

/* --- innvendinger: restrained question-and-answer -------------------- */
.qa-classic { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 2rem; }
.qa-item h3 { font-family: var(--display); font-style: italic; font-weight: 500; }
.qa-item p { color: var(--muted); }

/* --- kontakt: cream plate under a gold rule -------------------------- */
.contact-plate {
    margin-top: 2.4rem; background: var(--base-deep);
    border: 1px solid var(--line); border-top: 2px solid var(--accent);
    border-radius: 4px; padding: 2rem 1.6rem;
}
.contact-list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.contact-list dt { font-family: var(--serif); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0.4rem 0 0; font-family: var(--display); font-size: 1.15rem; overflow-wrap: break-word; }

/* --- navy footer with the monogram ----------------------------------- */
footer { background: var(--ink); border-top: 1px solid var(--ink); padding: 3.5rem 0; text-align: center; }
footer p { color: rgba(255,255,255,0.82); font-size: 0.92rem; }
footer .monogram { color: var(--gold-light); font-size: 1.8rem; margin-bottom: 1rem; }
footer .cta-primary { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
footer .cta-secondary { border-color: var(--gold-light); color: var(--gold-light); }
.footer-link { color: var(--gold-light); }

/* --- wide screens ---------------------------------------------------- */
@media (min-width: 800px) {
    h1 { font-size: 3.1rem; }
    h2 { font-size: 2.1rem; }
    section { padding: 7.5rem 0; }
    .process-grid { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
    .ruled-item { padding: 1.8rem 0; }
    .qa-classic { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
    .about-plate { grid-template-columns: 120px 1fr; gap: 2.4rem; }
    .contact-plate { padding: 2.6rem 2.4rem; }
}
