@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --sheet: #f6f5f3;
  --line: #e9e6e2;
  --ink: #141212;
  --muted: #6f6a66;
  --wine: #2e080b;
  --accent: #6e2228;
  --pink: #f3b8bd;
  --green: #4cc35a;
  --red: #e8412c;
  --gutter: clamp(20px, 4.4vw, 64px);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem / 1.58 var(--sans);
}
::selection { background: var(--pink); color: var(--ink); }
[hidden] { display: none !important; }
h1, h2, h3, p, dd, dl { margin: 0; }
h1, h2 { font: 400 1rem / .91 var(--serif); }
h2 { font-size: clamp(4.1rem, 8.8vw, 9rem); }
h2 em { color: var(--accent); }
a { color: inherit; text-underline-offset: .2em; }
button { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; }
svg { display: block; width: 1.25rem; height: 1.25rem; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.gutter { padding-inline: var(--gutter); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  top: .65rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--paper);
}

.masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding: .65rem var(--gutter);
  border-bottom: 1px solid transparent;
  background: #fffffff5;
  backdrop-filter: blur(12px);
}
.masthead.is-scrolled { border-bottom-color: var(--line); }
.identity, .navigation, .nav-actions, .language { display: flex; align-items: center; }
.identity {
  justify-self: start;
  gap: .58rem;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.identity img { width: 1.75rem; height: 1.75rem; border-radius: .42rem; }
.navigation { gap: clamp(1rem, 3vw, 2.8rem); }
.navigation a, .language a { text-decoration: none; font-size: .86rem; }
.navigation a:hover, .language a:hover { text-decoration: underline; }
.nav-actions { justify-self: end; gap: clamp(.45rem, 1.8vw, 1.6rem); }
.nav-actions .pill { white-space: nowrap; }
.language { gap: .26rem; padding: .18rem; border: 1px solid var(--line); border-radius: 99px; }
.language a {
  display: grid;
  min-width: 2.06rem;
  min-height: 2rem;
  place-items: center;
  border-radius: 99px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
}
.language [aria-current] { background: var(--sheet); color: var(--ink); }
.pill {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .52rem .95rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}
.pill.dark { border-color: var(--ink); background: var(--ink); color: white; }
.pill.dark:hover { border-color: var(--accent); background: var(--accent); }
.booking-phone { width: 1rem; height: 1rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(0, 1fr);
  grid-template-areas: "heading call" "copy call";
  align-content: center;
  align-items: center;
  column-gap: clamp(1.5rem, 5vw, 6rem);
  row-gap: clamp(1.7rem, 3vw, 3rem);
  padding-block: clamp(3rem, 6.5vw, 7rem);
}
.hero-heading { grid-area: heading; }
.hero-role, .eyebrow, .domain-label {
  color: var(--muted);
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: .13em;
  font-size: clamp(3.65rem, 7.8vw, 9rem);
  line-height: .87;
  letter-spacing: -.041em;
}
.hero h1 em {
  display: block;
  margin-top: .08em;
  color: var(--accent);
  font-weight: 400;
}
.hero-copy { grid-area: copy; max-width: 58ch; }
.hero-copy p { font-size: clamp(.98rem, 1.35vw, 1.23rem); text-wrap: pretty; }
.hero-primary { margin-top: 1.05rem; border-color: var(--accent); background: var(--accent); color: white; }
.hero-primary:hover { border-color: var(--wine); background: var(--wine); }

.call-card {
  grid-area: call;
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 26rem);
  min-height: 16.5rem;
  display: grid;
  align-content: center;
  padding: clamp(1rem, 2.25vw, 2rem);
  border: 1px solid #966267;
  border-radius: 3rem;
  background: linear-gradient(156deg, #fff2 0%, transparent 44%), linear-gradient(113deg, #2e080b, #511117 58%, #7d343a);
  box-shadow: 0 1.15rem 2.4rem #3a080b28, inset 0 1px 0 #fff4;
  color: white;
}
.call-card[data-state="incoming"]::before, .call-card[data-state="incoming"]::after {
  position: absolute;
  z-index: -1;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.call-card[data-state="incoming"]::before {
  inset: -.48rem auto auto -.5rem;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-7deg);
}
.call-card[data-state="incoming"]::after {
  inset: auto -.5rem -.48rem auto;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-7deg);
}
.call-main { display: grid; justify-items: center; gap: .85rem; text-align: center; }
.avatar { border-radius: 24%; }
.avatar { flex: none; width: clamp(2.65rem, 5.15vw, 4rem); height: auto; aspect-ratio: 1; }
.call-name { font: 400 clamp(1.7rem, 2.8vw, 2.85rem) / .94 var(--serif); }
.call-phrase { display: block; margin-top: .18em; color: var(--pink); font-size: .8em; }
.call-offer { margin-top: .45rem; color: var(--pink); font-size: .8rem; font-weight: 700; line-height: 1.25; }
.call-status { margin-top: .26rem; color: #f5d9dc; font-size: .75rem; }
.call-timer { margin-top: .08rem; color: #f5d9dc; font-size: .76rem; font-variant-numeric: tabular-nums; }
.call-buttons { display: flex; justify-content: center; align-items: center; gap: clamp(.65rem, 1.45vw, 1.35rem); }
.call-buttons a { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 650; }
.call-control {
  display: grid;
  min-width: 2.88rem;
  min-height: 3.44rem;
  justify-items: center;
  align-content: center;
  gap: .26rem;
  padding: 0;
  border: 0;
  background: none;
  color: white;
  font-size: .66rem;
  font-weight: 650;
  white-space: nowrap;
}
.call-control svg { width: 2.75rem; height: 2.75rem; padding: .66rem; border-radius: 50%; }
.call-control.accept svg { background: var(--green); color: #092d13; }
.call-control.decline svg { background: var(--red); color: #250704; transform: rotate(135deg); }
.call-control:hover svg { filter: brightness(1.13); }
.call-card :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: #fff1c9; }
.call-card .callback { color: var(--wine); }
.call-card[data-state="live"] { background: var(--wine); }
.call-card[data-state="live"] .avatar { box-shadow: 0 0 0 3px var(--green); }
.call-caption { display: flex; gap: .62rem; align-items: center; min-height: 3rem; padding-top: .7rem; font-size: .78rem; }
.wave { color: var(--green); letter-spacing: .08em; white-space: nowrap; }

.ribbons {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(7.8rem, 11.6vw, 12.5rem);
  overflow: clip;
  margin-top: -1rem;
}
.ribbon {
  position: absolute;
  left: -3%;
  top: 24%;
  width: 106%;
  overflow: hidden;
  transform: rotate(-2.2deg);
  background: var(--accent);
  color: white;
  font: 400 clamp(1.45rem, 3.25vw, 3.5rem) / 1.15 var(--serif);
}
.ribbon + .ribbon { top: 55%; transform: rotate(1.8deg); background: var(--ink); }
.ribbon-track { display: flex; width: max-content; padding-block: .21em .24em; }
.ribbon-unit { flex: none; white-space: pre; }
.ribbon b { padding-inline: .25em; color: var(--pink); font-weight: 400; }
.ribbon + .ribbon b { color: #a6eca9; }

.work { padding-top: clamp(2.75rem, 6.1vw, 6.7rem); padding-bottom: clamp(4rem, 9vw, 9.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: clamp(1.5rem, 3vw, 2.4rem); }
.filters button {
  min-height: 2.7rem;
  padding: .48rem .88rem;
  border: 1px solid #b9aeb0;
  border-radius: 99px;
  background: white;
  font-size: .84rem;
  font-weight: 550;
}
.filters button[aria-pressed="true"], .filters button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.7vw, 2.8rem); row-gap: clamp(2rem, 4.7vw, 4.9rem); margin-top: 1.5rem; }
.project { min-width: 0; }
.cover-wrap { position: relative; perspective: 800px; }
.cover {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
  aspect-ratio: 4 / 3;
  padding: 1rem clamp(.92rem, 2.1vw, 2rem) clamp(.9rem, 2.1vw, 1.8rem);
  border-radius: clamp(.8rem, 1.5vw, 1.35rem);
  background-color: var(--cover);
  color: var(--cover-text, white);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms var(--ease);
}
.cover::before, .cover::after { position: absolute; inset: 0; pointer-events: none; content: ""; }
.cover::before { opacity: .19; }
.cover::after { background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), #ffffff50, transparent 53%); opacity: var(--glare, 0); transition: opacity 250ms; }
.cover.wine { --cover: #6e2228; }
.cover.navy { --cover: #26375e; }
.cover.gold { --cover: #f0cb75; --cover-text: #332213; }
.cover.green { --cover: #254b3a; }
.cover.pink { --cover: #eed4dc; --cover-text: #561830; }
.cover.blue { --cover: #dbdfeb; --cover-text: #242d4a; }
.cover.rust { --cover: #9a402b; }
.cover.plum { --cover: #4a233f; }
.cover.lines::before { background: repeating-linear-gradient(145deg, transparent 0 16px, currentColor 17px 18px, transparent 19px 35px); mask-image: linear-gradient(125deg, transparent 36%, black); }
.cover.dots::before { background: radial-gradient(circle, currentColor 1px, transparent 2px) 0 0 / 1rem 1rem; mask-image: linear-gradient(130deg, transparent 21%, black); }
.cover.grid::before { background: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(140deg, transparent 26%, black); }
.cover.circles::before { background: repeating-radial-gradient(circle at 100% 20%, transparent 0 19px, currentColor 20px 21px, transparent 22px 38px); }
.cover-title { position: relative; z-index: 1; font: 400 clamp(2.15rem, 4.75vw, 5.4rem) / .85 var(--serif); letter-spacing: -.019em; }
.project-sector { margin-block: .9rem .15rem; color: var(--muted); font-size: .75rem; font-weight: 550; }
.project h3 { font-size: clamp(1.08rem, 1.6vw, 1.5rem); line-height: 1.23; letter-spacing: -.038em; }
.project-description { margin-top: .42rem; font-size: .92rem; }
.project-contribution { margin-top: .4rem; color: var(--muted); font-size: .85rem; }
.paper-link {
  display: inline-block;
  min-height: 2.1rem;
  padding-block: .25rem;
  margin-top: .36rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 650;
}

.about {
  padding-top: clamp(2.5rem, 7.8vw, 8rem);
  padding-bottom: clamp(4.25rem, 8vw, 8.5rem);
  border-radius: clamp(1.5rem, 4.2vw, 4.5rem) clamp(1.5rem, 4.2vw, 4.5rem) 0 0;
  background: var(--sheet);
}
.about-layout, .broker { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 6vw, 7rem); align-items: start; }
.about h2 { margin-block: .55rem 1.1rem; }
.bio, .broker > div > p:not(.domain-label) { max-width: 55ch; }
.domains dt { font-weight: 650; }
.domains dd { color: var(--muted); font-size: .89rem; }
.booking-note {
  justify-self: end;
  overflow: hidden;
  width: min(100%, 31rem);
  border: 1px solid #d4ccc6;
  border-radius: clamp(1.2rem, 2.6vw, 2.3rem);
  background: white;
  box-shadow: 0 1rem 2rem #2e080b0e;
}
.booking-note-header { display: flex; align-items: center; gap: .66rem; border-bottom: 1px solid var(--line); }
.booking-note-header, .booking-note-body { padding: clamp(.8rem, 2vw, 1.35rem); }
.booking-note-header img { border-radius: 24%; }
.booking-note-header h3 { color: var(--muted); font-size: .8rem; font-weight: 400; }
.booking-note-body p {
  max-width: 40ch;
  padding: .65rem .82rem;
  border-radius: .8rem .8rem .8rem .22rem;
  margin-bottom: .9rem;
  background: var(--sheet);
  font-size: .88rem;
}
.broker { padding-block: clamp(3rem, 7vw, 7rem) clamp(2.8rem, 5.4vw, 5.6rem); border-bottom: 1px solid var(--line); }
.broker h2 { margin-bottom: 1.1rem; font-size: clamp(3.4rem, 6.5vw, 6.65rem); }
.broker-steps { margin-top: .25rem; border-top: 1px solid #d4ccc6; }
.broker-steps > div { padding-block: .85rem; }
.domain-label { margin-block: .48rem .55rem; }

.contact {
  display: grid;
  justify-items: center;
  padding-top: clamp(2.75rem, 6.7vw, 6.6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  border-radius: clamp(1.5rem, 4.2vw, 4.5rem) clamp(1.5rem, 4.2vw, 4.5rem) 0 0;
  margin-top: -1.35rem;
  background: radial-gradient(ellipse at bottom, #481e22 0%, #390d13 42%, #1b0709 100%);
  color: white;
  text-align: center;
}
.contact h2 { font-size: clamp(3.85rem, 10vw, 10rem); }
.contact h2 em { color: var(--pink); }
.contact-intro { max-width: 58ch; margin-top: 1.25rem; color: #f7e4e4; }
.calendar-panel {
  overflow: hidden;
  width: min(100%, 65rem);
  margin-top: clamp(1.6rem, 4vw, 3.1rem);
  border: 1px solid #a47980;
  border-radius: clamp(.85rem, 1.8vw, 1.5rem);
  background: white;
  color: var(--ink);
}
.calendar-frame { display: block; width: 100%; height: 45rem; border: 0; }
.calendar-frame:focus-visible { outline-offset: -4px; outline-color: var(--accent); }
.calendar-message { padding: 1rem; }
.contact-email { max-width: 100%; margin-top: .7rem; color: #f7e4e4; font-size: .86rem; }
.contact-email summary { display: flex; width: fit-content; min-height: 2.75rem; align-items: center; gap: .45rem; margin-inline: auto; cursor: pointer; list-style: none; }
.contact-email summary::-webkit-details-marker { display: none; }
.contact-email summary span { text-decoration: underline; text-underline-offset: .24em; }
.contact-email svg { width: 1rem; height: 1rem; }
.contact-email summary:hover, .email-actions a:hover { color: var(--pink); }
.contact-email :focus-visible { outline-color: var(--pink); }
.email-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem 1rem; }
.email-actions a { overflow-wrap: anywhere; }
.email-actions button { min-height: 2.75rem; padding: .36rem .8rem; border: 1px solid #a47980; border-radius: 99px; background: transparent; }
.email-actions button:hover { background: #fff1; }
.email-status:not(:empty) { margin-top: .35rem; color: var(--pink); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: .65rem; background: #1b0709; color: #f7e4e4; font-size: .77rem; }
.footer-social { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .4rem; }
.footer-social svg { width: 1.55rem; height: 1.55rem; }
.footer-social:hover { background: #fff1; color: var(--pink); }

@media (prefers-reduced-motion: no-preference) {
  .call-card.is-ready[data-state="incoming"]::before, .call-card.is-ready[data-state="incoming"]::after { animation: ring 2.6s ease-out 2; }
  .call-card.is-ready[data-state="incoming"] .accept svg { animation: answer 2.6s ease-out 2; }
  .ribbon-track { animation: marquee 36s linear infinite; }
  .ribbon + .ribbon .ribbon-track { animation-direction: reverse; animation-duration: 46s; }
}
@keyframes ring { 50%, 100% { opacity: .12; scale: 1.3; } }
@keyframes answer { 20% { box-shadow: 0 0 0 .45rem #4cc35a46; } 42% { box-shadow: 0 0 0 .65rem #4cc35a00; } }
@keyframes marquee { to { transform: translateX(calc(-100% / 6)); } }

@media (min-width: 1700px) {
  .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cover-title { font-size: clamp(3.3rem, 4vw, 5.75rem); }
}
@media (max-width: 1060px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-title { font-size: clamp(2.5rem, 6.5vw, 5rem); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 7.1rem; }
  .masthead { grid-template-columns: 1fr auto; gap: .2rem .45rem; padding-block: .5rem .15rem; }
  .navigation { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); }
  .navigation a { display: grid; min-height: 2.5rem; flex: 1; place-items: center; }
  .nav-actions .pill { padding-inline: .64rem; }
  .hero, .about-layout, .broker { grid-template-columns: 1fr; }
  .hero { grid-template-areas: "heading" "copy" "call"; padding-top: 2.6rem; }
  .hero h1 { font-size: clamp(3.2rem, 12.5vw, 6.2rem); }
  .call-card { width: min(100%, 31rem); min-height: 0; justify-self: start; }
  .call-main { display: flex; gap: .65rem; text-align: start; }
  .call-person { flex: 1; min-width: 0; }
  .booking-note { justify-self: start; }
  .calendar-frame { height: 70rem; }
}
@media (max-width: 550px) {
  .project-grid { grid-template-columns: 1fr; }
  .cover-title { font-size: clamp(3.15rem, 11.8vw, 4.9rem); }
  .hero-role { font-size: .64rem; letter-spacing: .075em; }
  .identity { font-size: .86rem; gap: .34rem; }
  .identity img { width: 1.4rem; height: 1.4rem; }
  .nav-actions .pill { font-size: .72rem; }
  .language a { min-width: 1.57rem; font-size: .66rem; }
  .call-card { border-radius: 1.62rem; }
  .call-buttons { gap: .4rem; }
  .call-buttons a { font-size: .67rem; }
  .call-control { min-width: 2.36rem; font-size: .62rem; }
  .call-control svg { width: 2.24rem; height: 2.24rem; }
}
@media (max-width: 360px) {
  .identity span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero h1 { font-size: 2.95rem; }
  .call-main { flex-wrap: wrap; }
}

