/* Nightshift. See docs/brand.md.
   Daybreak: the page is the morning after the shift, not the middle of it.
   The colours are sampled from the photographs rather than chosen against
   them: the ground is the pale dawn sky, the ink is the shadow on the brick,
   the accents are sky blue and a covered-shift green. There are NO dark
   sections: the photographs are shot in morning light and the page never
   drops to ink, because the feeling being sold is relief, not night. */
:root {
  /* Two colours: the morning sky, and green for anything that means covered.
     The warmth stays in the photographs, where it is real light rather than a
     swatch. Earlier passes put an amber accent on top of warm photographs and
     the whole page went sepia. */
  --paper:    #FFFFFF;  /* the page */
  --paper-2:  #EDF3F8;  /* alternating band, the sky not beige */
  --wash:     #E8F2EC;  /* the closing call; the page's one colour field */
  --wash-line:#CDE1D5;
  --white:    #FFFFFF;

  --ink:      #0F2233;  /* headlines */
  --slate:    #3F5265;  /* body copy */
  --muted:    #57697B;  /* labels; clears AA on white, the sky band and the wash */
  --rule:     #DCE3EA;
  --rule-2:   #C3CEDA;

  --sky:      #1A6FB5;  /* links, coverage lines, focus; carries text */
  --go:       #0F7A54;  /* buttons and marks; the colour of a covered shift */
  --go-deep:  #0F6B4A;  /* the same green where it has to be large type */
  --on-go:    #FFFFFF;

  --shade:    #E4EAF0;  /* placeholder behind a photo while it loads */

  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 48px);
  --gap: clamp(56px, 7.5vw, 108px);
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: #12507F; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--ink); color: var(--white); padding: 10px 16px;
  font-family: var(--ui); font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* --- type ---------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--display); color: var(--ink); }

h1 {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 700;
  letter-spacing: -0.021em; line-height: 1.06; margin: 0;
  max-width: 16ch; text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700;
  letter-spacing: -0.018em; line-height: 1.12; margin: 0 0 16px;
  max-width: 21ch; text-wrap: balance;
}
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.008em; margin: 0; }

p { margin: 0 0 16px; max-width: 58ch; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--slate); }

.lab {
  display: block; font-family: var(--ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}

/* --- nav ----------------------------------------------------------------- */

.nav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; padding-bottom: 18px;
}
.lockup { display: flex; align-items: center; gap: 11px; }
.lockup svg { width: 27px; height: 27px; color: var(--ink); flex: none; }
.word {
  font-family: var(--ui); font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
  text-transform: uppercase; line-height: 1; color: var(--ink);
}
.word span { font-weight: 400; color: var(--muted); }
.nav-tel {
  font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.nav-tel:hover { color: var(--sky); }

/* --- hero ---------------------------------------------------------------- */
/* Copy on paper, photograph running to the edge of the screen. The page stays
   light; the photograph carries the night. */

.hero { border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; align-items: stretch; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-copy {
  padding: clamp(44px, 6vw, 92px) var(--pad);
  max-width: calc(var(--wrap) / 2 + var(--pad));
  margin-left: auto; width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 22px; align-items: flex-start;
}
.hero-copy p { max-width: 42ch; }
.hero-photo { position: relative; min-height: clamp(300px, 46vw, 640px); background: var(--shade); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.btn {
  font-family: var(--ui); font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  padding: 15px 24px; background: var(--go); color: var(--on-go);
  text-decoration: none; border: 1px solid var(--go);
  font-variant-numeric: tabular-nums;
}
.btn:hover { background: #0C6544; border-color: #0C6544; color: var(--on-go); }
.btn-note { font-size: 14px; color: var(--muted); }

/* --- sections ------------------------------------------------------------ */

section { border-bottom: 1px solid var(--rule); }
section > .wrap { padding-top: var(--gap); padding-bottom: var(--gap); }

.two { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }

/* --- the work ------------------------------------------------------------ */

.does { display: grid; gap: 20px; }
@media (min-width: 760px) { .does { grid-template-columns: repeat(3, 1fr); } }
.does > div {
  background: var(--white); border: 1px solid var(--rule);
  padding: 26px clamp(20px, 2.4vw, 28px) 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.does svg { width: 28px; height: 28px; color: var(--go); flex: none; }
.does p { margin: 0; font-size: 16px; }

/* --- photographs in the flow --------------------------------------------- */

figure { margin: 0; }
.shot { border: 1px solid var(--rule); overflow: hidden; background: var(--shade); }
.shot img { width: 100%; }
figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; max-width: 46ch; }

/* --- shifts -------------------------------------------------------------- */

.shifts { display: grid; gap: 20px; margin-top: 34px; }
@media (min-width: 800px) { .shifts { grid-template-columns: repeat(3, 1fr); } }
.shifts > div {
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--sky);
  padding: 26px clamp(20px, 2.4vw, 28px) 30px;
  display: flex; flex-direction: column; gap: 5px;
}
.shifts h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.shifts .cover {
  font-family: var(--ui); font-size: 13px; font-weight: 600; color: var(--sky);
  letter-spacing: 0.01em; margin-bottom: 8px;
}
.shifts ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.shifts li { font-size: 16px; line-height: 1.45; padding-left: 18px; position: relative; }
.shifts li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--rule-2);
}
.shift-note { margin-top: 26px; font-size: 15px; color: var(--muted); max-width: 60ch; }

.terms { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 700px) { .terms { grid-template-columns: 1fr 1fr; } }
.terms > div { border-left: 3px solid var(--go); padding: 3px 0 3px 20px; }
.terms h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.terms p { margin: 0; font-size: 16px; }

/* --- oversight ----------------------------------------------------------- */

.watch { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.watch li { border-top: 1px solid var(--rule); padding-top: 13px; }
.watch b {
  font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink);
  display: block; margin-bottom: 2px;
}
.watch span { font-size: 16px; }

.alt { background: var(--paper-2); }

/* --- closing ------------------------------------------------------------- */

.close { background: var(--wash); border-bottom: 1px solid var(--wash-line); }
.close .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.close p { color: #33443B; }
.close .lab { color: #456052; }
.tel-big {
  font-family: var(--display); font-size: clamp(34px, 5.6vw, 58px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--go-deep); text-decoration: none;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.tel-big:hover { color: #0A5238; }
.close .btn-note { color: #456052; }

/* --- footer -------------------------------------------------------------- */

footer { background: var(--paper-2); border-top: 1px solid var(--rule); }
footer .wrap { padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
footer p { font-size: 14px; line-height: 1.7; max-width: 74ch; margin: 0; color: var(--muted); }
footer a { color: var(--slate); }

/* --- secondary pages ------------------------------------------------------ */
/* about / privacy / accessibility: one prose column, no photography, so the
   landing page keeps the only images on the site. */

.doc > .wrap { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 10px; max-width: 20ch; }
.doc h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 44px 0 12px; max-width: 30ch; }
.doc h2:first-of-type { margin-top: 36px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.doc li::marker { color: var(--rule-2); }
.doc .stamp { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.doc .callout {
  background: var(--paper-2); border-left: 3px solid var(--sky);
  padding: 18px 22px; margin: 26px 0;
}
.doc .callout p { margin: 0; }
.doc .back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* --- footer nav ----------------------------------------------------------- */

.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot-nav a { font-size: 14px; font-weight: 600; color: var(--slate); text-decoration: none; }
.foot-nav a:hover { color: var(--sky); text-decoration: underline; }

/* The recording notice belongs where the call is actually asked for, but it is
   small print, not a selling point. Its own line, under the button. */
.cta-legal { font-size: 13px; color: var(--muted); margin: 0; }
.close .cta-legal { color: #456052; }
.close .cta-legal a { color: var(--go-deep); }

/* --- questions ------------------------------------------------------------ */
/* One column, opened one at a time by the reader. The plus sign is the only
   ornament; the answer is set like body copy so it reads as the page, not as
   a widget dropped into it. */
.qa { margin-top: 30px; border-top: 1px solid var(--rule); max-width: 780px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  gap: 20px; align-items: baseline; padding: 17px 0;
  font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; font-family: var(--ui); font-weight: 400; color: var(--sky);
  flex: none; font-size: 24px; line-height: 1;
}
.qa details[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--sky); }
.qa details p { margin: 0 0 20px; max-width: 62ch; font-size: 16px; }
