/* LYNK Circle
   Layout: black ground, one sans-serif family, photography at full width and a regular grid.
   Everything is set in white and greys; the only "colour" comes from the photographs. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Colour */
  --bg: #0b0b0b;
  --bg-2: #121212;
  --ink: #f2f1ee;
  --muted: #8f8c86;
  --line: #262626;
  --line-2: #3a3a39;
  --error: #e8907f;

  /* Type */
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --t-label: 0.72rem;
  --t-small: 0.875rem;
  --t-body: 1rem;
  --t-lead: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  --t-h3: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --t-statement: clamp(1.6rem, 1.1rem + 2.2vw, 2.85rem);
  --t-h2: clamp(2rem, 1.3rem + 3.2vw, 3.9rem);
  --t-hero: clamp(3.4rem, 1.2rem + 9.4vw, 9.6rem);

  /* Space and motion */
  --maxw: 1360px;
  --side: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (min-width: 768px) { :root { --side: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
section[id] { scroll-margin-top: var(--header-h); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Labels, buttons, links */
.eyebrow {
  font-size: var(--t-label);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.95em) / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% calc(50% + 0.95em); }

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark b { font-weight: 650; }
.wordmark span { font-weight: 400; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-solid { background: rgba(11, 11, 11, 0.92); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(11, 11, 11, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.nav { display: none; }
.nav a, .header-cta {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a { color: rgba(242, 241, 238, 0.72); transition: color 0.3s; }
.nav a:hover { color: var(--ink); }
.header-cta { font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; }
@media (min-width: 960px) {
  .nav { display: flex; gap: 40px; margin-left: auto; margin-right: 40px; }
}
.label-short { display: none; }
@media (max-width: 420px) {
  .label-long { display: none; }
  .label-short { display: inline; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: max(100svh, 620px);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(36px, 6vw, 72px);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 50% 45%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.6) 0%, rgba(11, 11, 11, 0) 24%, rgba(11, 11, 11, 0.1) 52%, rgba(11, 11, 11, 0.94) 100%);
}
.hero-content { display: grid; gap: 22px; }
.hero-title { font-size: var(--t-hero); line-height: 0.9; letter-spacing: -0.045em; margin-left: -0.04em; }
.hero-lead { max-width: 33rem; font-size: var(--t-lead); line-height: 1.6; color: rgba(242, 241, 238, 0.8); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 6px; }
.hero-bottom { display: grid; gap: 22px; }
.hero-note {
  display: none;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 241, 238, 0.6);
}
@media (min-width: 960px) {
  .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .hero-note { display: block; text-align: right; }
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-media img { animation: fade 1.6s ease both; }
.hero-content > .eyebrow { animation: rise 0.9s var(--ease) 0.2s both; }
.hero-title { animation: rise 1s var(--ease) 0.3s both; }
.hero-bottom { animation: rise 1s var(--ease) 0.45s both; }

/* Statement */
.statement { padding-block: clamp(96px, 13vw, 200px); }
.statement-text {
  max-width: 34ch;
  font-size: var(--t-statement);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--muted);
}
.statement-text strong { color: var(--ink); font-weight: 500; }

/* Section heads */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-title { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.035em; }
.section-intro { max-width: 30rem; color: var(--muted); font-size: var(--t-lead); }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
}

/* Experiences */
.experiences { padding-bottom: clamp(96px, 12vw, 180px); }
.tiles { display: grid; gap: 48px 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 16px; } }
.tile { min-width: 0; }
.tile-media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; background: var(--bg-2); }
.tile-media picture, .tile-media img { width: 100%; height: 100%; }
.tile-media img { object-fit: cover; transition: transform 1.4s var(--ease), opacity 0.6s; }
.tile:hover .tile-media img { transform: scale(1.035); }
.tile h3 {
  margin-bottom: 8px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tile p { max-width: 34ch; padding-right: 12px; color: var(--muted); font-size: var(--t-small); line-height: 1.6; }
.tile--ask .tile-ask {
  aspect-ratio: 4 / 5;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 28px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
}
.tile--ask h3 { margin-bottom: 0; }
.tile--ask .tile-ask p { padding-right: 0; color: var(--ink); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; }
.tile--ask .text-link { justify-self: start; }

/* Method */
.method { padding-block: clamp(88px, 10vw, 150px) clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); }
.steps { display: grid; gap: 40px; }
.step { padding-top: 22px; border-top: 1px solid var(--line-2); }
.step-num { display: block; margin-bottom: 36px; font-size: var(--t-label); font-weight: 600; letter-spacing: 0.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 10px; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.015em; }
.step p { max-width: 30ch; color: var(--muted); font-size: var(--t-small); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Principles */
.principles { padding-block: clamp(96px, 11vw, 170px); background: var(--bg-2); }
.principles-grid { display: grid; gap: 40px; }
.principles-grid .section-head { margin-bottom: 8px; }
.principle { padding-top: 22px; border-top: 1px solid var(--line-2); }
.principle h3 { margin-bottom: 10px; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.015em; }
.principle p { color: var(--muted); font-size: var(--t-small); }
@media (min-width: 1100px) {
  .principles-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
  .principles-grid .section-head { margin-bottom: 0; }
}

/* Request */
.request { padding-block: clamp(96px, 12vw, 180px); }
.request-grid { display: grid; gap: 48px; }
.request-aside { display: grid; gap: 22px; align-content: start; }
.request-text { max-width: 30rem; color: var(--muted); font-size: var(--t-lead); }
.request-mail { color: var(--muted); font-size: var(--t-small); }
.request-mail a { color: var(--ink); }
.request-card { min-width: 0; padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line-2); }
@media (min-width: 1100px) {
  .request-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .request-aside { position: sticky; top: calc(var(--header-h) + 48px); }
}

.request-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step + .form-step { margin-top: 56px; }
.step-title { display: block; width: 100%; margin-bottom: 28px; padding: 0; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.015em; }
.step-title:focus { outline: none; }
.step-body { display: grid; gap: 30px; }

.form-progress { display: none; }
.js .form-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-progress li { display: inline-flex; align-items: baseline; gap: 10px; opacity: 0.5; transition: opacity 0.3s, color 0.3s; }
.progress-num { font-variant-numeric: tabular-nums; }
.form-progress li.is-current { opacity: 1; color: var(--ink); }
.form-progress li.is-done { opacity: 0.8; }
@media (max-width: 560px) {
  .js .form-progress { gap: 10px 18px; }
  .form-progress li:not(.is-current) .progress-label { display: none; }
}
.js .form-step { display: none; }
.js .form-step.is-current { display: block; animation: fade 0.5s ease both; }
.js .form-step + .form-step { margin-top: 0; }

.field { display: grid; gap: 10px; align-content: start; min-width: 0; }
.field-row { display: grid; gap: 30px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.label { font-size: var(--t-label); font-weight: 600; line-height: 1.3; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.optional { margin-left: 0.5em; font-weight: 400; letter-spacing: 0.04em; text-transform: none; }

.input, .select, .textarea {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.45;
  border-radius: 0;
  transition: border-color 0.3s;
}
.input, .select {
  -webkit-appearance: none;
  appearance: none;
  padding: 8px 0 12px;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
}
.select {
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23f2f1ee' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.select option { background: var(--bg-2); color: var(--ink); }
.textarea { min-height: 150px; padding: 14px 16px; resize: vertical; background: transparent; border: 1px solid var(--line-2); }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 0.8; }
.input:focus, .select:focus { outline: none; border-bottom-color: var(--ink); }
.textarea:focus { outline: none; border-color: var(--ink); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-bottom-color: var(--error); }
.textarea[aria-invalid="true"] { border-color: var(--error); }
.hint { color: var(--muted); font-size: var(--t-small); }
.field-error { color: var(--error); font-size: var(--t-small); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  font-size: var(--t-small);
  color: var(--ink);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: var(--t-small);
  color: var(--muted);
  cursor: pointer;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: translateY(-1px) rotate(-45deg);
}
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a { color: var(--ink); }

.form-error { padding: 14px 16px; border: 1px solid rgba(232, 144, 127, 0.45); color: var(--error); font-size: var(--t-small); }
.form-error a { color: var(--ink); }
.form-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding-top: 6px; }
.form-nav [data-prev], .form-nav [data-next] { display: none; }
.js .form-nav [data-prev], .js .form-nav [data-next] { display: inline-flex; }
.js .form-nav:has([data-prev]) { justify-content: space-between; }

.form-success { display: grid; justify-items: start; gap: 16px; padding-block: 24px; }
.form-success h3 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.035em; }
.form-success h3:focus { outline: none; }
.form-success p { max-width: 30rem; color: var(--muted); }
.form-success strong { color: var(--ink); font-weight: 500; }
.hp-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); overflow: hidden; }
.footer-mark {
  display: block;
  font-size: clamp(2.6rem, 11.2vw, 11.5rem);
  font-weight: 650;
  line-height: 0.85;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #1b1b1b;
  user-select: none;
}
.footer-grid { display: grid; gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: var(--t-small); }
.footer-col .eyebrow { margin-bottom: 4px; }
.footer-col p { color: var(--muted); }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer-legal {
  display: grid;
  gap: 6px;
  margin-top: 48px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-legal p { max-width: 62rem; }

/* Scroll reveal (added by script to content below the first screen) */
.reveal { opacity: 0; transition: opacity 1s ease; }
.reveal.is-in { opacity: 1; }

/* Simple pages: legal, thank you, 404 */
.page { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(80px, 10vw, 140px); }
.page-title { margin: 18px 0 28px; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.035em; }
.prose { max-width: 46rem; }
.prose h2 { margin: 56px 0 14px; font-size: var(--t-h3); letter-spacing: -0.015em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose a { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .meta { font-size: var(--t-small); }
.notice { display: grid; justify-items: start; gap: 22px; max-width: 40rem; }
.notice p { color: var(--muted); font-size: var(--t-lead); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; }
}

/* WordPress toolbar, shown only to a logged-in administrator */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
