:root {
  --paper: #ebecec;
  --ink: #131517;
  --text: #3a3e42;
  --muted: #777c81;
  --line: #d2d4d5;
  --accent: #2a49d8;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, .display {
  font-family: var(--display); font-weight: 300; letter-spacing: -.025em; text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
em { font-style: italic; }

/* Quiet arrow link: the only call to action */
.go {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  font-weight: 500; transition: color .25s, gap .25s;
}
.go:hover { color: var(--accent); gap: 16px; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand em { color: var(--muted); font-weight: 300; }
.links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); font-size: 15px; }
.links a { color: var(--muted); transition: color .2s; white-space: nowrap; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .brand em { display: none; } .links .opt { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  position: relative; min-height: calc(100svh - 72px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-top: 48px; padding-bottom: 96px;
}
.hero h1 { font-size: clamp(50px, 6vw + 22px, 112px); line-height: .98; max-width: 11ch; position: relative; z-index: 1; }
.hero h1 em { color: var(--accent); }
.hero p {
  position: relative; z-index: 1;
  max-width: min(28em, 42vw); margin: 36px 0 36px; font-size: clamp(17px, 1.5vw, 20px); color: var(--text);
}
.hero .go { position: relative; z-index: 1; }
#ridge { position: absolute; right: -8%; bottom: 0; width: 62%; height: 92%; }
@media (max-width: 900px) {
  .hero .wrap { justify-content: flex-start; padding-bottom: 46svh; }
  .hero p { max-width: 28em; }
  #ridge { right: -10%; width: 120%; height: 48svh; }
}

/* Sections */
section { border-top: 1px solid var(--line); }
section > .wrap { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.split { display: grid; grid-template-columns: 1fr 3fr; gap: 32px clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Ideas */
.ideas { display: grid; gap: clamp(48px, 6vw, 80px); }
.idea h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.idea p { max-width: 34em; margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); color: var(--text); }

/* Services */
.services { list-style: none; padding: 0; }
.services li {
  display: grid; grid-template-columns: 3.5rem 1fr 1.4fr; gap: 12px 32px; align-items: baseline;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.services li:first-child { border-top: 0; padding-top: 0; }
.services .n { font-family: var(--display); font-style: italic; font-weight: 300; color: var(--accent); font-size: 19px; }
.services h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; }
.services p { color: var(--text); }
.services .talk {
  display: block; margin-top: 12px; color: var(--ink);
  font-family: var(--display); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.25;
  text-decoration: none; transition: color .2s;
}
.services .talk:hover { color: var(--accent); }
@media (max-width: 760px) { .services li { grid-template-columns: 2.2rem 1fr; } .services p { grid-column: 2; } }

/* About page */
.about-top { position: relative; overflow: hidden; }
.about-top .wrap {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end;
  padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(72px, 10vw, 140px);
}
.about-top h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1.04; margin-top: 28px; }
.about-top h1 em { color: var(--accent); }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
/* Crop of the 2000x1334 studio shot: head to waist, subject centred */
.portrait img {
  position: absolute; top: 0; left: -81.25%; width: 277.8%; max-width: none; height: auto;
}
.portrait canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 26%; }
.bio p { max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); color: var(--text); }
.bio p + p { margin-top: 22px; }
@media (max-width: 760px) { .about-top .wrap { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }

/* Press */
.press { list-style: none; padding: 0; }
.press li { border-top: 1px solid var(--line); }
.press li:first-child { border-top: 0; }
.press .row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 22px 0; }
.press li:first-child .row { padding-top: 0; }
.press .t { font-family: var(--display); font-weight: 300; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.2; transition: color .2s; }
.press a:hover .t { color: var(--accent); }
.press .m { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .press .row { grid-template-columns: 1fr; } .press .m { white-space: normal; } }

/* Footer: a blue sun behind an archipelago of lines */
footer { border-top: 1px solid var(--line); overflow: hidden; }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 8vw, 128px);
  padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(72px, 10vw, 140px);
}
.contact h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; margin-top: 24px; max-width: 11ch; }
.contact .or { margin-top: 28px; color: var(--muted); font-size: 15px; }
.contact .or .go { font-weight: 400; }
.contact address { margin-top: clamp(48px, 7vw, 96px); font-style: normal; font-size: 15px; color: var(--text); }
.contact address .label { display: block; margin-bottom: 8px; }
.contact .or .go { color: var(--ink); margin-left: 4px; }
.contact .or .go:hover { color: var(--accent); }
.form { display: grid; gap: 22px; align-content: start; justify-items: start; }
.form label { display: grid; gap: 4px; width: 100%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: none; color: var(--ink); font: 400 18px/1.5 var(--sans); letter-spacing: 0; text-transform: none;
  resize: vertical; transition: border-color .2s;
}
.form input:hover, .form textarea:hover { border-color: var(--muted); }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--accent); }
.form button { margin-top: 6px; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); font: 500 17px/1.6 var(--sans); cursor: pointer; padding: 0 0 4px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.foot-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px 40px;
  padding-top: clamp(48px, 6vw, 80px);
}
.foot-top p { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.015em; }
.foot-top .go { font-size: 15px; margin-left: 14px; font-family: var(--sans); font-style: normal; letter-spacing: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.foot-nav a:hover { color: var(--ink); }
.horizon { display: block; width: 100%; height: clamp(260px, 40vw, 520px); margin-top: clamp(16px, 3vw, 40px); }
.foot-bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: var(--muted);
}

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}
