@font-face {
  font-family: Bricolage;
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf6e9;
  --blue: #193b65;
  --muted: #4c6076;
  --butter: #f5d67a;
  --line: #d6d6ca;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--blue);
  background: var(--paper);
  font: 400 16px/1.5 Bricolage, Georgia, serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
::selection { background: var(--butter); color: var(--blue); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; -webkit-tap-highlight-color: #f5d67a66; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.page { width: calc(100% - 40px); max-width: 580px; margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 18px; background: var(--butter); z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.personal-mark { display: inline-flex; align-items: center; min-height: 44px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.site-header > span { color: var(--muted); font-size: 12px; }
.intro { display: grid; gap: 28px; padding: 28px 0 32px; }
h1 { font-size: clamp(30px, 8.8vw, 42px); font-weight: 700; margin-bottom: 20px; }
.intro-copy > p { max-width: 52ch; color: var(--muted); }
.intro-copy > .hello { color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.intro-copy > .context { margin-bottom: 12px; }
.actions { margin-top: 20px; }
.book-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; color: var(--blue); background: var(--butter); border: 1px solid var(--blue); border-radius: 8px; font-weight: 700; text-decoration: none; }
.book-button svg { flex-shrink: 0; }
.booking-note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.message-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; margin-top: 14px; font-size: 14px; }
.message-links > span { grid-column: 1 / -1; color: var(--muted); }
.message-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 80px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.message-links img { display: block; width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.founders-photo { margin: 0; }
.founders-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
figcaption { padding-top: 10px; color: var(--muted); font-size: 13px; }
.about { padding: 28px 0 32px; border-top: 1px solid var(--line); }
h2 { font-size: 26px; margin-bottom: 22px; }
.founders { display: grid; gap: 24px; }
h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 8px; }
h3 img { object-fit: contain; }
.founders p { max-width: 52ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.founders .work-link { margin-top: 12px; }
.work-link a { color: var(--blue); }
footer { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 13px; }
footer a { display: inline-flex; align-items: center; min-height: 48px; }
.residency { display: flex; align-items: flex-start; flex-direction: column; gap: 0; }
.ef-link img { display: block; width: 174px; height: auto; }

@media (hover: hover) {
  a:hover { text-decoration-thickness: 2px; }
  .book-button:hover { background: #edc65d; }
  .message-links a:hover { border-color: var(--blue); }
}
@media (min-width: 820px) {
  body { font-size: 17px; line-height: 1.6; }
  .page { width: calc(100% - 80px); max-width: 1080px; }
  .site-header { padding: 20px 0; }
  .personal-mark { font-size: 23px; }
  .site-header > span { font-size: 14px; }
  .intro { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; padding: 48px 0; }
  h1 { font-size: clamp(40px, 4.25vw, 56px); margin-bottom: 24px; }
  .actions { max-width: 390px; margin-top: 24px; }
  .founders-photo { margin-top: 8px; }
  .about { padding: 32px 0 38px; }
  .founders { grid-template-columns: 1fr 1fr; gap: 56px; }
  footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .residency { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
}
