@font-face {
  font-family: "Literata";
  src: url("fonts/literata-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --deep: #0e3b49;
  --deep-soft: #c6dbe0;
  --mist: #e7f3fa;
  --sun: #f7c244;
  --sun-strong: #f2b325;
  --paper: #ffffff;
  --ink-soft: #47666f;
  --content-max: 96rem;
  --gutter: max(clamp(1.25rem, 5.5vw, 5.5rem), calc((100vw - var(--content-max)) / 2));
  --section-space: clamp(4.5rem, 11vw, 10rem);
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --label: "Manrope", var(--sans);
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--deep);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p,
figure,
address {
  margin: 0;
  font-style: normal;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.nowrap {
  white-space: nowrap;
}

.amp {
  color: var(--sun-strong);
}

.icon-sprite {
  display: none;
}

.icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.marker {
  background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 84% / 100% 0.13em;
}

/* Header */

.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4.5vh, 3rem) var(--gutter) 1.75rem;
  background: var(--mist);
}

.logo {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-head nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-head nav a {
  text-decoration: none;
}

.site-head nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Hero */

.stage {
  overflow: hidden;
  background: var(--mist);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(17rem, 29rem);
  align-items: end;
  justify-content: space-between;
  gap: clamp(1.25rem, 3.5vh, 2.5rem) clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 8vh, 5.5rem) var(--gutter) 0;
}

.hero h1 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.claim,
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.claim {
  font-size: clamp(3rem, 7.6vw, 7.5rem);
}

.claim > .nowrap {
  display: block;
}

.hero-side {
  padding-bottom: 0.6rem;
}

.hero-lead {
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.4;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 1.2em;
  border: 2px solid var(--deep);
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: var(--deep);
  color: var(--paper);
}

.button-primary {
  border-color: var(--sun);
  background: var(--sun);
  font-weight: 600;
}

.button-primary:hover {
  border-color: var(--sun-strong);
  background: var(--sun-strong);
  color: var(--deep);
}

/* Photo */

.photo {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * clamp(1rem, 3.5vw, 4.5rem));
}

.photo img {
  width: 100%;
  height: auto;
}

.photo figcaption {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 0.75rem;
  color: #fff;
  font-size: 0.875rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.9), 0 0 12px rgb(0 0 0 / 0.6);
}

/* Sections */

section > h2,
.contact-text > h2 {
  font-family: var(--label);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
  column-gap: 2rem;
  padding: var(--section-space) var(--gutter);
  background: var(--deep);
  color: var(--paper);
}

.services > h2 {
  padding-top: 0.75em;
  color: var(--sun);
}

.services-text {
  max-width: 23em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.services-text strong {
  color: var(--sun);
  font-weight: inherit;
}

.services-more {
  grid-column: 2;
  max-width: 40em;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--deep-soft);
  text-wrap: pretty;
}

.firm {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
  column-gap: 2rem;
  padding: var(--section-space) var(--gutter);
}

.firm > h2 {
  padding-top: 0.75em;
}

.partners {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.partner-name {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.partner-title {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.big-amp {
  color: var(--sun-strong);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 1;
}

.firm-lead {
  grid-column: 2;
  max-width: 34em;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.3;
  text-wrap: balance;
}

.firm-text {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem clamp(2rem, 4vw, 4rem);
  max-width: 60rem;
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
  column-gap: 2rem;
  padding: var(--section-space) var(--gutter);
  background: var(--mist);
}

.faq > h2 {
  padding-top: 1.15rem;
}

.faq details {
  border-top: 1px solid rgb(14 59 73 / 0.28);
}

.faq details:last-child {
  border-bottom: 1px solid rgb(14 59 73 / 0.28);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq summary:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.faq summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.faq h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  font-weight: 400;
  line-height: 1.3;
}

.faq details p {
  max-width: 40em;
  padding-bottom: 1.5rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  background: var(--sun);
}

.contact-text {
  padding: var(--section-space) clamp(2rem, 5vw, 5rem) var(--section-space) var(--gutter);
}

.contact-lead {
  max-width: 15em;
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.contact-phone {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  font-size: clamp(2rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-phone a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.contact-phone a:hover {
  text-decoration-thickness: 4px;
}

.contact-phone .icon {
  width: 0.75em;
  height: 0.75em;
}

.contact-phone .icon-link {
  gap: 0.3em;
}

.contact-mail {
  margin-top: 1rem;
  font-size: 1.375rem;
}

.contact-mail .icon-link,
.contact-links .icon-link,
.contact address {
  gap: 0.75rem;
}

.contact-mail .icon,
.contact-links .icon,
.contact address .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact address {
  display: flex;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-top: 1.25rem;
}

.map {
  position: relative;
  min-height: 100%;
}

.map a:has(img) {
  display: block;
  height: 100%;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.25rem 0.75rem;
  background: var(--deep);
  color: var(--deep-soft);
  font-size: 0.8125rem;
}

/* Footer */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2.5rem;
  padding: 2rem var(--gutter);
  background: var(--deep);
  color: var(--deep-soft);
  font-size: 0.9375rem;
}

.site-foot nav {
  display: flex;
  gap: 1.5rem;
}

.site-foot address + p {
  margin-top: 0.15rem;
}

/* Legal pages */

.legal {
  max-width: calc(40em + var(--gutter) * 2);
  padding: clamp(1.5rem, 5vh, 3.5rem) var(--gutter) var(--section-space);
}

.legal h1 {
  margin-bottom: 2.25rem;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.legal h2 {
  margin: 2.25rem 0 0.4rem;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.3;
}

.legal p + p {
  margin-top: 0.75rem;
}

.todo {
  padding: 0.05em 0.3em;
  background: var(--sun);
  color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .services-text strong {
      animation: keyword-in linear both;
      animation-timeline: view();
      animation-range: entry 50% entry 100%;
    }
  }
}

@keyframes keyword-in {
  from {
    color: var(--paper);
  }
}

/* Small screens */

@media (max-width: 64em) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .claim {
    font-size: min(12.6vw, 6.5rem);
  }

  .photo {
    margin-top: 0;
  }

  .photo img {
    height: clamp(20rem, 70vw, 34rem);
    object-fit: cover;
    object-position: 25% 0;
  }

  .hero-side {
    max-width: 30rem;
    padding-bottom: 0;
  }

  .partners {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .partner-name {
    font-size: clamp(2.25rem, 7vw, 3.5rem);
  }

  .big-amp {
    margin-block: 0.02em 0.06em;
    font-size: clamp(3.75rem, 11vw, 5.5rem);
  }
}

@media (max-width: 55.99em) {
  .services,
  .firm,
  .faq {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.25rem;
  }

  .services > h2,
  .firm > h2,
  .faq > h2 {
    padding-top: 0;
  }

  .services-more,
  .firm-lead,
  .firm-text {
    grid-column: 1;
  }

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

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

  .contact-text {
    padding-right: var(--gutter);
  }

  .map img {
    aspect-ratio: 1 / 1;
    max-height: 34rem;
  }
}

@media (max-width: 40em) {
  .site-head {
    padding-block: 1.25rem;
  }

  .nav-optional {
    display: none;
  }

  .photo figcaption {
    right: auto;
    left: var(--gutter);
  }
}
