@font-face {
    font-family: "Bricolage";
    src: url("bricolage.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --ink: #13241b;
    --ink-2: #40554a;
    --paper: #ffffff;
    --paper-2: #f1f5f1;
    --green: #1e4d37;
    --green-deep: #163a29;
    --error: #a8331f;
    --line: rgba(19, 36, 27, 0.14);
    --display: "Bricolage", "Segoe UI", Helvetica, Arial, sans-serif;
    --body: "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
    --wrap: min(1180px, 90vw);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(1rem, 0.97rem + 0.16vw, 1.07rem);
    line-height: 1.62;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

p {
    margin: 0;
}

.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: -9999px;
    background: var(--ink);
    color: var(--paper);
    padding: 0.8rem 1rem;
    z-index: 200;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* Header */

.site-head {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding-block: 1rem;
    transition: background 0.25s ease;
}

.site-head.is-stuck {
    background: var(--ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.head-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    margin-right: auto;
}

.brand-mark {
    flex: none;
}

.nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.93rem;
}

.nav a {
    text-decoration: none;
    opacity: 0.85;
}

.nav a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.head-call {
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.head-call:hover {
    background: var(--green-deep);
}

/* Hero — photo, scrim, text. Explicit layers, no negative z-index. */

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(92svh, 760px);
    display: flex;
    align-items: flex-end;
}

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(19, 36, 27, 0.62) 0%,
        rgba(19, 36, 27, 0.12) 42%,
        rgba(19, 36, 27, 0.82) 100%
    );
}

.hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding-block: 3.5rem;
}

.lead {
    max-width: 46ch;
    margin-top: 1.2rem;
    font-size: 1.1rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    cursor: pointer;
}

.btn:hover {
    background: var(--green-deep);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Sections */

.section {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-alt {
    background: var(--paper-2);
}

.section-lead {
    max-width: 58ch;
    margin-top: 1.1rem;
    color: var(--ink-2);
    font-size: 1.08rem;
}

/* Før / etter pair */

.pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-top: 2.5rem;
}

.pair figure {
    margin: 0;
}

.pair img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 3px;
}

.pair figcaption,
.steps-figure figcaption {
    margin-top: 0.7rem;
    color: var(--ink-2);
    font-size: 0.92rem;
}

.note {
    margin-top: 1.4rem;
    color: var(--ink-2);
    font-size: 0.88rem;
}

/* Services */

.jobs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-top: 2.6rem;
}

.job {
    border-top: 1px solid var(--line);
    padding-top: 1.6rem;
}

.num {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 0.7rem;
}

.job h3 {
    margin-bottom: 0.9rem;
}

.job p {
    color: var(--ink-2);
    max-width: 52ch;
}

.job p + p {
    margin-top: 0.9rem;
}

.pair-head {
    margin-top: clamp(2.6rem, 5vw, 4rem);
}

/* Statement band */

.statement {
    position: relative;
    isolation: isolate;
    min-height: min(70svh, 560px);
    display: flex;
    align-items: center;
}

.statement img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statement::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(19, 36, 27, 0.62);
}

.statement-body {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding-block: 3.5rem;
}

.statement-body p {
    max-width: 58ch;
    margin-top: 1.2rem;
}

/* Steps */

.steps-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.steps {
    list-style: none;
    counter-reset: step;
    margin: 2.2rem 0 0;
    padding: 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3.2rem;
    padding-bottom: 1.8rem;
}

.steps li:last-child {
    padding-bottom: 0;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.95rem;
}

.steps h3 {
    margin-bottom: 0.4rem;
}

.steps p {
    color: var(--ink-2);
}

.steps-figure {
    margin: 0;
}

.steps-figure img {
    width: 100%;
    border-radius: 3px;
}

/* About */

.about p {
    color: var(--ink-2);
    max-width: 56ch;
}

.about h2 {
    margin-bottom: 1.1rem;
}

.about p + p {
    margin-top: 0.9rem;
}

/* Call band */

.callband {
    background: var(--green);
    color: #fff;
    padding-block: clamp(2.5rem, 5vw, 3.6rem);
}

.callband .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.callband a {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    text-decoration: none;
    white-space: nowrap;
}

.callband a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Contact */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.contact > div > p {
    margin-top: 1.1rem;
    color: var(--ink-2);
    max-width: 42ch;
}

.facts {
    margin: 2rem 0 0;
    display: grid;
    gap: 1rem;
}

.facts div {
    display: grid;
    gap: 0.15rem;
}

.facts dt {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.facts dd {
    margin: 0;
    font-weight: 600;
}

.facts a {
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.facts a:hover {
    border-bottom-color: var(--green);
}

.form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 600;
}

.field input,
.field textarea {
    font: inherit;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0.7rem 0.85rem;
    width: 100%;
}

.field textarea {
    min-height: 8rem;
    resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
    border-color: var(--green);
}

.form .btn {
    justify-self: start;
}

.form-status {
    font-size: 0.92rem;
    min-height: 1.4em;
}

.form-status.is-error {
    color: var(--error);
}

.form-status.is-ok {
    color: var(--green);
}

/* Footer */

.site-foot {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.64);
    padding-block: 2.2rem;
    font-size: 0.87rem;
}

.site-foot .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: space-between;
}

.site-foot a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 2px;
}

.site-foot a:hover {
    color: #fff;
    text-decoration-color: currentColor;
}

/* Responsive */

@media (max-width: 900px) {
    .jobs,
    .steps-wrap,
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav {
        display: none;
    }

    .pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pair-tall img {
    aspect-ratio: 4 / 5;
}

.pair-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
    .pair-three {
        grid-template-columns: minmax(0, 1fr);
    }
}
