:root {
  --ink: #282828;
  --paper: #FFFFFF;
  --beige-50: #F8F4F0;
  --beige-100: #F1E9E2;
  --beige-200: #E5D7CC;
  --beige-400: #CDB7A6;
  --display: 'freight-display-pro', 'Freight Display Pro', Georgia, serif;
  --text: 'freight-text-pro', 'Freight Text Pro', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(112px, 11vw, 176px);
  --wide: 1280px;
  --measure: 32em;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 20px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
cite { font-style: normal; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
::selection { background: var(--beige-200); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 15px;
}
.skip:focus { top: 16px; }

/* Magazine style: menu, buttons, facts, names */

.header-menu, .menu-sheet-links, .menu-sheet-foot, .button, .fact, .link, cite, .footer-links {
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.header { position: sticky; top: 0; z-index: 20; background: var(--paper); }

.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 80px; padding: 0 clamp(20px, 3vw, 44px);
}
.header-logo img, img.header-logo { width: 272px; height: auto; }
.header-logo { justify-self: center; }
.header-actions { justify-self: end; display: flex; gap: 16px; }

.header-menu { display: flex; justify-content: center; gap: 56px; padding: 0 0 22px; }
.header-menu a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.header-menu a:hover, .header-menu a[aria-current="page"] { background-size: 100% 1px; }

.icon { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 -8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.icon svg, .menu-sheet-foot svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.header-menu-button { display: none; }

/* Menu sheet (phone) */

.menu-sheet {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 40px;
  border: 0; background: var(--paper); color: var(--ink);
  flex-direction: column;
}
.menu-sheet[open] { display: flex; }
.menu-sheet::backdrop { background: var(--paper); }
.menu-sheet .header-bar { padding: 0 20px; }
.menu-sheet-links { display: flex; flex-direction: column; align-items: center; gap: 32px; margin: auto 0; font-size: 14px; }
.menu-sheet-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.6em; }
.menu-sheet-foot { display: flex; justify-content: center; gap: 40px; }
.menu-sheet-foot a { display: flex; align-items: center; gap: 10px; }

/* Type */

.display {
  font: 500 clamp(46px, 5.6vw, 84px)/1.02 var(--display);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display span, .title span { display: block; }

.title {
  font: 500 clamp(38px, 4vw, 60px)/1.06 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.standfirst { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.5; text-wrap: balance; }
.body { max-width: var(--measure); text-wrap: pretty; }

.quote {
  font: italic 500 clamp(32px, 3.3vw, 50px)/1.16 var(--display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
blockquote footer { margin-top: 28px; }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.6em;
  text-decoration-color: var(--beige-400);
  transition: text-decoration-color 0.3s;
}
.link:hover { text-decoration-color: currentColor; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 40px;
  background: var(--ink); color: var(--paper);
  transition: background-color 0.3s;
}
.button:hover { background: #000; }

/* Page head */

.page-head-text {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(72px, 7vw, 112px) var(--gutter) clamp(72px, 7vw, 104px);
  text-align: center;
}
.page-head .display { font-size: clamp(46px, 5vw, 76px); max-width: 13em; }
.page-head .standfirst { max-width: 30em; margin-top: 32px; }
.actions { display: flex; align-items: center; gap: 40px; margin-top: 44px; }

.page-head-photo img {
  width: 100%; aspect-ratio: 21 / 9; max-height: 78vh;
  object-fit: cover; object-position: 50% 22%;
}

/* How I can support your business */

.support {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro core" "photo more";
  gap: 0 clamp(48px, 7vw, 120px);
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.support-intro { grid-area: intro; }
.support-intro .body { margin-top: 28px; font-size: 22px; line-height: 1.5; }
.offer-core { grid-area: core; }
.support-photo { grid-area: photo; }
.offer-more { grid-area: more; }
.support-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.offer li {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px;
  padding: 28px 0 36px; border-top: 1px solid var(--beige-400);
}
.offer-core li:first-child { padding-top: 22px; }
.offer-name { font: 500 clamp(26px, 2.2vw, 32px)/1.12 var(--display); letter-spacing: -0.005em; text-wrap: balance; }
.offer p { font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* Her focus */

.focus {
  display: flex; justify-content: center;
  padding: var(--section) var(--gutter);
  background: var(--beige-100); text-align: center;
}
.focus .pull { display: flex; flex-direction: column; align-items: center; }
.focus .quote { max-width: 21em; }

/* Background */

.background {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  padding-block: var(--section);
  background: var(--ink); color: var(--paper);
}
.background-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.background-text { padding: 0 var(--gutter); }
.background-text > * { max-width: 36rem; margin-inline: auto; }
.background .body { margin-top: 28px; }

.record { margin-top: 48px; font: 500 clamp(22px, 1.8vw, 26px)/1.25 var(--display); }
.record li { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 0.2); }
.record li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.2); }

.standing { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; color: var(--beige-200); }

/* How I work */

.approach {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.approach-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: end; }
.approach-head .body { font-size: 22px; line-height: 1.5; max-width: 30em; }
.approach-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "steps photo";
  gap: clamp(48px, 7vw, 120px); align-items: center;
  margin-top: clamp(64px, 6vw, 96px);
}
.approach-photo { grid-area: photo; }
.approach-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 50%; }

.steps { grid-area: steps; }
.steps li { padding: 28px 0 36px; border-top: 1px solid var(--beige-400); }
.steps li:first-child { padding-top: 22px; }
.step-name { font: 500 clamp(26px, 2.2vw, 32px)/1.12 var(--display); letter-spacing: -0.005em; }
.steps p { margin-top: 12px; font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* Closing */

.closing {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--section) var(--gutter);
  background: var(--beige-50); text-align: center;
}
.closing .display { max-width: 12em; }
.closing .body { margin-top: 32px; }
.closing .button { margin-top: 48px; }
.closing .link { margin-top: 28px; }

/* Footer */

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 88px var(--gutter) 40px;
  text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; }
.footer-links a:hover, .footer-email:hover { text-decoration: underline; text-decoration-color: var(--beige-400); text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.footer-email { font-size: 20px; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--beige-100);
  font-size: 15px; line-height: 1;
}
.footer-base img { width: 141px; height: auto; }

/* Reveal */

.js .reveal { opacity: 0; transition: opacity 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; }

/* Tablet and phone */

@media (max-width: 1100px) {
  .header-menu { gap: 36px; }
}

@media (max-width: 900px) {
  .header-menu, .icon-desktop { display: none; }
  .header-menu-button { display: grid; justify-self: start; }
  .header-bar { height: 64px; padding: 0 20px; }
  .header-logo img, img.header-logo { width: 198px; }
  .header { border-bottom: 1px solid var(--beige-100); }

  .support, .approach-head, .approach-body { grid-template-columns: 1fr; }
  .support { grid-template-areas: "intro" "core" "photo" "more"; gap: 56px; }
  .background { grid-template-columns: 1fr; row-gap: 72px; padding-top: 0; }
  .background-photo img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
  .approach-head { gap: 28px; }
  .approach-body { grid-template-areas: "photo" "steps"; gap: 48px; margin-top: 56px; }
}

@media (max-width: 640px) {
  :root { --section: 96px; }
  body { font-size: 18px; }
  .display, .page-head .display { font-size: 44px; }
  .title { font-size: 36px; }
  .quote { font-size: 30px; }
  .page-head-text { padding-top: 56px; }
  .page-head .standfirst { margin-top: 24px; }
  .actions { flex-direction: column; align-self: stretch; gap: 28px; margin-top: 40px; }
  .button { align-self: stretch; }
  .page-head-photo img { aspect-ratio: 4 / 5; max-height: none; object-position: 72% 50%; }
  .support-intro .body, .approach-head .body { font-size: 20px; }
  .offer li { grid-template-columns: 1fr; gap: 12px; }
  .footer { padding-top: 80px; }
  .footer-links { flex-direction: column; gap: 18px; }
  .footer-base { flex-direction: column; gap: 16px; margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transition: none; }
  .header-menu a, .button, .link { transition: none; }
}

.background .standing-line { margin-top: 16px; color: var(--beige-200); }
.background .body + .body { margin-top: 20px; }
.bio-more { margin-top: 24px; }
.bio-more summary { display: inline-block; cursor: pointer; list-style: none; color: inherit; }
.bio-more summary::-webkit-details-marker { display: none; }
.bio-more[open] summary { display: none; }
.bio-more .body { margin-top: 20px; }
.closing .body { max-width: 34em; margin: 28px auto 0; }
.closing-signoff { margin-top: 40px; font: 500 clamp(24px, 2vw, 30px)/1.2 var(--display); }
