/* Fonts: Schibsted Grotesk, self-hosted (SIL Open Font License, see fonts/OFL-LICENSE.txt) */
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --paper: #F5FAFA;   /* page background */
  --ink: #0D2A30;     /* text */
  --teal: #0E5E6F;    /* dark bands and buttons */
  --teal-2: #0F6B7E;
  --accent: #FF8A3D;  /* orange: used only where a person stays in control */
  --mist: #D6E7EA;    /* lines and quiet fills */
  --slate: #4E6A70;   /* secondary text */
  --on-teal: #E6F3F5;
  --on-teal-muted: #BCDDE3;
  --radius: 14px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, dl, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: var(--paper); text-decoration: none; border: 0;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 15px 24px; border-radius: 999px; cursor: pointer;
}
.btn:hover { background: var(--ink); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #FF9E5E; }
.text-link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link.on-dark { color: var(--paper); text-decoration-color: var(--accent); font-size: 20px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(245, 250, 250, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist); }
.head-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--teal); color: var(--paper); font-weight: 800; font-size: 22px; line-height: 1; padding-bottom: 3px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 700; }
.brand-text span { font-size: 13px; color: var(--slate); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--slate); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .nav-cta { color: var(--paper); }
.nav .nav-cta[aria-current="page"] { background: var(--ink); }
.menu-btn { display: none; margin-left: auto; font: inherit; font-weight: 600; font-size: 15px; background: var(--mist); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }

/* ---------- Hero ---------- */
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; max-width: 11ch; }
.kicker { font-size: 15px; font-weight: 600; color: var(--teal-2); margin-bottom: 18px; }
.lead { font-size: 20px; line-height: 1.5; color: #28454B; margin-top: 24px; max-width: 40ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Landing hero: the slideshow fills the first screen and the headline sits on the photo */
.hero { position: relative; height: clamp(520px, calc(100vh - 190px), 780px); background: var(--ink); color: #FFFFFF; overflow: hidden; }
.slides, .slide, .shot { position: absolute; inset: 0; }
.slide { margin: 0; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 0s linear 900ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease; }
.shot { background: var(--teal); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 42, 48, 0.86) 0%, rgba(13, 42, 48, 0.62) 38%, rgba(13, 42, 48, 0.12) 72%),
    linear-gradient(0deg, rgba(13, 42, 48, 0.7) 0%, rgba(13, 42, 48, 0) 30%); }
.slide figcaption { position: absolute; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); bottom: 30px; z-index: 2;
  font-size: 14px; font-weight: 600; color: var(--on-teal); }

.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 56px; }
.hero-copy .kicker { color: var(--on-teal-muted); }
.hero-copy h1 { color: #FFFFFF; max-width: 15ch; }
.hero-copy .lead { color: var(--on-teal); max-width: 42ch; }
.hero-copy .btn { align-self: flex-start; margin-top: 32px; }

.slider-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.slider-controls .wrap { display: flex; align-items: center; gap: 14px; }
.count { font-size: 14px; font-weight: 600; color: var(--on-teal); font-variant-numeric: tabular-nums; min-width: 4.5em; }
.arrow, .pause {
  font: inherit; cursor: pointer; color: #FFFFFF; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4); height: 38px; border-radius: 999px;
}
.arrow { width: 38px; font-size: 22px; line-height: 1; padding-bottom: 3px; }
.pause { padding: 0 14px; font-size: 14px; font-weight: 600; }
.arrow:hover, .pause:hover { background: rgba(255, 255, 255, 0.22); }
.arrow:focus-visible, .pause:focus-visible, .dots button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.dots { display: flex; gap: 8px; margin-right: 8px; }
.dots button { width: 22px; height: 5px; border-radius: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.4); }
.dots button[aria-current="true"] { width: 34px; background: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* What I do: three links under the hero */
.offer { padding-top: 44px; padding-bottom: 48px; }
.offer .label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 18px; }
.offer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.offer-links a { display: flex; align-items: baseline; gap: 16px; padding: 22px 24px 22px 0; text-decoration: none; color: var(--ink); }
.offer-links a + a { padding-left: 24px; border-left: 1px solid var(--mist); }
.offer-links .num { font-size: 13px; font-weight: 700; color: var(--slate); }
.offer-links .name { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -0.01em; }
.offer-links a > span:last-child { margin-left: auto; font-size: 22px; color: var(--teal); transition: transform 150ms ease; }
.offer-links a:hover .name { color: var(--teal); }
.offer-links a:hover > span:last-child { transform: translateX(4px); }

/* One closing band */
.home-close { background: var(--mist); padding: 64px 0; }
.home-close-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.home-close p { font-size: 18px; color: #28454B; max-width: 46ch; margin-bottom: 18px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.sub { font-size: 19px; color: var(--slate); margin-top: 16px; max-width: 56ch; }

/* Services: a three-step path, so they are numbered */
.services { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: svc; border-top: 2px solid var(--ink); }
.services > li { counter-increment: svc; padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.services > li + li { padding-left: 28px; border-left: 1px solid var(--mist); }
.step { font-weight: 700; color: var(--teal-2); font-size: 15px; }
.step::before { content: counter(svc) ". "; }
.services h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.services > li > p:not(.step) { color: #2E4A50; }
.services ul { padding-left: 18px; color: var(--slate); font-size: 16px; }
.services ul li { margin-bottom: 4px; }
.svc-link { margin-top: auto; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--teal-2); }

/* In practice: dark band with tabs */
.band { background: var(--teal); color: var(--on-teal); }
.band .h2 { color: #FFFFFF; }
.band .sub { color: var(--on-teal-muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(233, 239, 235, 0.35);
  background: transparent; color: var(--on-teal);
}
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 28px; line-height: 1.15; font-weight: 700; color: #FFFFFF; letter-spacing: -0.015em; max-width: 22ch; }
.panel-copy > p { margin-top: 16px; color: var(--on-teal-muted); max-width: 52ch; }
.panel dl { margin: 24px 0 28px; display: grid; gap: 14px; }
.panel dt { font-weight: 700; color: #FFFFFF; font-size: 15px; }
.panel dd { margin: 2px 0 0; color: var(--on-teal-muted); }
.flow { list-style: none; padding: 0; counter-reset: fl; display: grid; gap: 12px; }
.flow li {
  counter-increment: fl; position: relative; background: rgba(247, 248, 245, 0.07);
  border: 1px solid rgba(233, 239, 235, 0.16); border-radius: var(--radius); padding: 16px 18px 16px 62px;
}
.flow li::before {
  content: counter(fl); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(233, 239, 235, 0.14); font-weight: 700; font-size: 14px;
}
.flow li strong { display: block; color: #FFFFFF; }
.flow li span { color: var(--on-teal-muted); font-size: 15px; }
.flow li.human { background: var(--accent); border-color: var(--accent); }
.flow li.human strong, .flow li.human span { color: var(--ink); }
.flow li.human::before { background: var(--ink); color: var(--accent); }

/* Approach: a four-step sequence */
.timeline { list-style: none; padding: 0; counter-reset: tl; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 44px; }
.timeline li { counter-increment: tl; padding-top: 18px; border-top: 2px solid var(--ink); }
.timeline li::before { content: counter(tl); display: block; font-size: 40px; font-weight: 800; color: var(--teal-2); line-height: 1; margin-bottom: 14px; }
.timeline h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.timeline p { margin-top: 8px; color: var(--slate); font-size: 16px; }

/* About */
.about { background: #EAF4F5; }
.about-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.monogram {
  width: 120px; height: 120px; border-radius: 28px; background: var(--teal); color: var(--paper);
  display: grid; place-items: center; font-size: 46px; font-weight: 800; letter-spacing: -0.04em; padding-bottom: 6px;
}
.name { font-size: 22px; font-weight: 700; margin-top: 20px; }
.role { color: var(--slate); margin: 4px 0 14px; }
.person-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.about-copy p { margin-top: 18px; max-width: 62ch; color: #28454B; }
.about-copy .direct { font-weight: 700; color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.faq-list details { border-bottom: 1px solid var(--mist); }
.faq-list details:first-child { border-top: 1px solid var(--mist); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--teal-2); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 40px 22px 0; color: var(--slate); max-width: 60ch; }

/* Contact */
.contact { background: var(--ink); color: var(--on-teal); }
.contact .h2 { color: #FFFFFF; }
.contact .sub { color: var(--on-teal-muted); margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.small { font-size: 14px; color: var(--on-teal-muted); margin-top: 10px; }
.enquiry { display: grid; gap: 6px; background: rgba(247, 248, 245, 0.05); border: 1px solid rgba(233, 239, 235, 0.14); border-radius: 18px; padding: 28px; }
.enquiry label { font-weight: 600; font-size: 15px; color: #FFFFFF; margin-top: 10px; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 2px solid transparent; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--accent); }
.enquiry .btn { margin-top: 18px; justify-self: start; }
.form-error { color: #FFD8D2; font-weight: 600; margin-top: 8px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-teal-muted); border-top: 1px solid rgba(233, 239, 235, 0.12); padding: 28px 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.site-foot .brand-text strong { color: #FFFFFF; }
.site-foot .brand-text span { color: var(--on-teal-muted); }
.site-foot .mark { background: var(--paper); color: var(--ink); }
.site-foot p { font-size: 15px; }
.site-foot .small { margin: 0 0 0 auto; }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  .panel, .about-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-block; }
  .head-row { flex-wrap: wrap; height: auto; min-height: 72px; padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 8px 0 4px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { font-size: 17px; padding: 8px 0; }
  .nav .nav-cta { margin-top: 8px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { height: clamp(520px, calc(100svh - 150px), 680px); }
  .hero-copy { padding-bottom: 96px; }
  .slide figcaption { display: none; }
  .dots { display: none; }
  .section { padding: 64px 0; }
  .services, .timeline, .offer-links, .home-close-row { grid-template-columns: minmax(0, 1fr); }
  .offer-links a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--mist); }
  h1 { font-size: 40px; }
  .services > li, .services > li + li { padding: 24px 0; border-left: 0; }
  .services > li + li { border-top: 1px solid var(--mist); }
  .site-foot .small { margin-left: 0; }
}

/* ---------- Inner pages ---------- */
main.inner > .section:first-child { padding-top: 72px; }
.cta-band { background: var(--teal); color: var(--on-teal); padding: 56px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band .h2 { color: #FFFFFF; font-size: clamp(28px, 3.4vw, 40px); }
.band + .cta-band { border-top: 1px solid rgba(233, 239, 235, 0.16); }
h1.h2 { max-width: 22ch; line-height: 1.05; }

/* ---------- Service detail pages (discover, build, improve) ---------- */
.page-hero { position: relative; min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; background: var(--ink); color: #FFFFFF; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 42, 48, 0.88) 0%, rgba(13, 42, 48, 0.6) 45%, rgba(13, 42, 48, 0.15) 80%),
              linear-gradient(0deg, rgba(13, 42, 48, 0.6) 0%, rgba(13, 42, 48, 0) 40%); }
.page-hero-copy { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 56px; }
.page-hero .kicker { color: var(--on-teal-muted); }
.page-hero .kicker a { color: inherit; }
.page-hero h1 { color: #FFFFFF; max-width: 16ch; font-size: clamp(38px, 5vw, 64px); }
.page-hero .lead { color: var(--on-teal); max-width: 46ch; }
main.inner > .page-hero + .section { padding-top: 80px; }

.svc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.svc-steps li.checkpoint h3::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 10px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }

.svc-feature { background: var(--mist); padding: 72px 0; }
.svc-feature-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.svc-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--teal); }
.svc-feature p { font-size: 18px; color: #28454B; margin: 16px 0 20px; max-width: 46ch; }

.svc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--mist); position: relative; font-size: 17px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 13px; color: var(--teal); font-weight: 700; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 56px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--mist); border-radius: 14px; text-decoration: none; color: var(--ink); background: #FFFFFF; }
.pager a:hover { border-color: var(--teal-2); }
.pager span { font-size: 14px; font-weight: 600; color: var(--teal-2); }
.pager strong { font-size: 19px; }
.pager-next { text-align: right; }

@media (max-width: 960px) {
  .svc-feature-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .svc-steps, .svc-two, .pager { grid-template-columns: minmax(0, 1fr); }
  .pager-next { text-align: left; }
  .svc-feature { padding: 56px 0; }
}
