/* Fonts (self-hosted, SIL Open Font License) */
@font-face { font-family: "Familjen Grotesk"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/familjen-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/familjen-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }

:root {
  --paper: #F4F4F6;
  --tint: #ECEDF2;
  --surface: #FFFFFF;
  --ink: #141C30;
  --steel: #556075;
  --line: #D5D8E0;
  --lilac: #BDAEE8;
  --periwinkle: #BCCBF2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --edge: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h3, h4 { font-family: var(--sans); font-weight: 600; }

a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.cta a:focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: var(--pad); top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 20;
}
.skip:focus { top: .75rem; }

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2B3552; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--tint); }

/* Header */
.top {
  position: relative;
  z-index: 5;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 1.25rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; margin-right: auto;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
}
.mark { display: block; height: 3rem; width: auto; }
.top nav { display: flex; gap: 2rem; font-size: 1rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4.5rem) var(--edge);
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 4.7vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lead { margin-top: 1.5rem; max-width: 26rem; font-size: 1.2rem; line-height: 1.5; }
.hero-actions { margin-top: 2rem; }

.hero-visual { position: relative; min-width: 0; }
.orb { position: absolute; border-radius: 50%; }
.orb-a {
  width: 84%; aspect-ratio: 1; left: -8%; top: -8%;
  background: linear-gradient(135deg, var(--periwinkle), var(--lilac));
  opacity: .55;
}
.orb-b {
  width: 46%; aspect-ratio: 1; left: -16%; bottom: -26%;
  background: linear-gradient(135deg, var(--lilac), var(--periwinkle));
  opacity: .5;
}
.hero-photo {
  position: relative;
  height: clamp(20rem, 36vw, 33rem);
  border-radius: 999px 0 0 999px;
  overflow: hidden;
}
.hero-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 40%;
}

/* Ways to work */
.offer { background: var(--tint); padding: clamp(2.5rem, 5vw, 4rem) var(--pad); }
.offer-head { max-width: var(--max); margin: 0 auto 2.25rem; text-align: center; }
.offer-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.offer-head p { margin-top: .75rem; color: var(--steel); }
.offer-row {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-row li { padding: .25rem clamp(1.25rem, 3vw, 2.5rem); text-align: center; }
.offer-row li + li { border-left: 1px solid var(--line); }
.icon { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.offer-row h3 { margin-top: 1rem; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; }
.offer-row p { margin-top: .6rem; font-size: .98rem; line-height: 1.55; color: var(--steel); }

/* Sections */
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.band-tint {
  max-width: none;
  background: var(--tint);
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.band h2 { font-size: clamp(1.9rem, 3.1vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
.band-head > * + * { margin-top: 1.1rem; }
.band-head .intro { font-size: 1.2rem; line-height: 1.5; }
.band-head p:not(.intro):not(.note) { color: var(--steel); }
.note { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--steel); }

/* Focus */
.focus-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.focus-list li { padding: 1.25rem 0 1.35rem; border-top: 1px solid var(--line); }
.focus-list h3 { font-size: 1.1rem; line-height: 1.3; }
.focus-list p { margin-top: .35rem; font-size: .98rem; line-height: 1.5; color: var(--steel); }

/* Process: a real sequence, so it is numbered */
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.25rem 0 1.4rem;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  grid-row: 1 / span 3;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.05;
}
.steps h3 { font-size: 1.15rem; line-height: 1.3; }
.steps p { margin-top: .3rem; color: var(--steel); font-size: 1rem; }
.options { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.options > div { background: var(--surface); border-radius: 12px; padding: 1.1rem 1.2rem 1.2rem; }
.options h4 { font-size: 1.02rem; line-height: 1.3; }
.options p { margin-top: .35rem; font-size: .96rem; }

/* Clients */
.clients { max-width: 62rem; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--pad); text-align: center; }
.clients h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.15; }
.clients > p:first-of-type { margin-top: .75rem; color: var(--steel); }
.clients ul { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.75rem; }
.clients li { font-weight: 600; font-size: 1.2rem; }
.among { margin-top: 1.75rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--steel); }

/* Call to action */
.cta {
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  width: calc(100% - 2 * var(--pad));
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: clamp(2.25rem, 5vw, 4rem);
}
.cta-orb {
  position: absolute; right: -8%; top: -40%; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--periwinkle), var(--lilac));
  opacity: .42;
}
.cta-copy { position: relative; max-width: 30rem; }
.cta h2 { font-size: clamp(1.9rem, 3.1vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
.cta-copy p { margin-top: 1rem; color: #D8DCEA; }
.cta-copy p:last-child { margin-top: 1.75rem; }

/* Footer */
.foot {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: .95rem;
}
.foot .wordmark { font-size: 1.35rem; }
.foot .mark { height: 2.4rem; }
.foot nav { display: flex; gap: 1.75rem; flex-wrap: wrap; margin: 0 auto; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.copy { color: var(--steel); }

/* Small screens */
@media (max-width: 62rem) {
  .top nav { display: none; }
}
@media (max-width: 70rem) {
  .offer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-row li { padding: 1.75rem clamp(1rem, 3vw, 2rem); }
  .offer-row li + li { border-left: 0; }
  .offer-row li:nth-child(even) { border-left: 1px solid var(--line); }
  .offer-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 56rem) {
  .offer-row { grid-template-columns: 1fr; }
  .offer-row li:nth-child(even) { border-left: 0; }
  .offer-row li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding: 1rem 0 2.5rem; gap: 2rem; }
  .hero-copy { padding: 0 var(--pad); }
  .hero-photo { height: clamp(16rem, 62vw, 26rem); border-radius: 999px 0 0 999px; margin-left: var(--pad); }
  .hero-visual { margin-top: .5rem; }
  .offer-row li { padding: 1.5rem 0; }
  .band { grid-template-columns: 1fr; }
  .focus-list { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .foot nav { margin: 0; }
}
@media (max-width: 30rem) {
  .top .pill { padding: .65rem 1.1rem; font-size: .92rem; }
  .pill { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
