@font-face {
  font-family: Fraunces;
  src: url("fraunces-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("jbmono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0a0e14;
  --paper: #f5f2ed;
  --violet-light: #b8a5ff;
  --violet-dark: #5b3abf;
  --soft-ink: #554e5d;
  --body: "JetBrains Mono", monospace;
  --editorial: Fraunces, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
em { font-variation-settings: "SOFT" 80; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 8vw, 1320px); margin-inline: auto; }

.site-header { border-bottom: 1px solid #282a35; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: clamp(.78rem, 1.55vw, 1.08rem); font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; }
.contact-link, .jump { display: inline-flex; align-items: center; gap: .68rem; min-height: 44px; font-size: .78rem; text-decoration: none; }
.contact-link { padding: .2rem .8rem; border: 1px solid #473d61; }
.contact-link:hover, .jump:hover { color: var(--violet-light); }
.jump { color: var(--violet-light); text-underline-offset: .35em; }
.jump:hover { text-decoration: underline; }

.intro { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); gap: clamp(2rem, 5.3vw, 6rem); padding-block: clamp(3rem, 6vw, 6.4rem); align-items: center; }
.intro-copy h1 { font: 500 clamp(4rem, 7.4vw, 7.85rem)/.94 var(--editorial); letter-spacing: -.049em; word-spacing: .035em; }
.intro-copy h1 em { color: var(--violet-light); }
.intro-copy p { color: #cdc7d6; max-width: 46ch; margin-block: 1.55rem .58rem; font-size: clamp(.84rem, 1.28vw, 1rem); line-height: 1.65; }

.project { display: block; min-width: 0; text-decoration: none; }
.cover { position: relative; display: grid; place-items: center; aspect-ratio: 1.59; overflow: hidden; }
.cover img { width: 89%; height: auto; aspect-ratio: 1160 / 660; object-fit: cover; box-shadow: 0 10px 30px #1e0f2b2e; transition: transform .28s ease-out; }
.project:is(:hover, :focus-visible) .cover img { transform: scale(1.035); }
.cover-culture { background: #c6b3ea; }
.cover-specialty { background: #c9c7a9; }
.cover-brunch { background: #f1ca72; }
.cover-bakery { background: #d9bc9c; }
.project-caption { border-bottom: 1px solid #bfb7b0; display: flex; align-items: flex-end; justify-content: space-between; gap: .45rem; padding-block: .95rem 1.12rem; }
.featured .project-caption { border-color: #383241; }
.project-type { display: block; font-size: .73rem; line-height: 1.4; color: var(--soft-ink); }
.featured .project-type { color: #c6bfcf; }
.project h2, .project h3 { margin-top: .24rem; font: 500 clamp(1.38rem, 2.5vw, 2.1rem)/1.05 var(--editorial); letter-spacing: -.035em; }
.project-action { flex: none; font-size: .74rem; color: var(--violet-dark); padding-block: .18rem; white-space: nowrap; }
.featured .project-action { color: var(--violet-light); }
.project:hover .project-action { text-decoration: underline; text-underline-offset: .25em; }

.work { background: var(--paper); color: var(--ink); padding-block: clamp(3rem, 5.8vw, 5.25rem); }
.work h2 { font: 500 clamp(2.5rem, 5vw, 4.5rem)/.98 var(--editorial); letter-spacing: -.045em; word-spacing: .025em; margin-bottom: clamp(1.4rem, 3vw, 2.25rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.1vw, 2.25rem); }

.contact { background: #ded2f9; color: #190e2c; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.7rem; padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.contact h2 { font: 500 clamp(2.5rem, 5.3vw, 4.85rem)/1 var(--editorial); letter-spacing: -.045em; word-spacing: .025em; }
.contact h2 em { color: #482b98; }
.contact-button { display: inline-flex; justify-content: space-between; align-items: center; gap: .9rem; min-height: 50px; max-width: 100%; padding: .85rem 1.15rem; color: var(--paper); background: #392379; font-size: .79rem; line-height: 1.4; text-decoration: none; }
.contact-button:hover { background: #261650; }
.contact-button:focus-visible { outline-color: #392379; }
.site-footer { padding-block: 1.3rem; font-size: .72rem; }
.site-footer .wrap { display: flex; gap: .4rem 1rem; flex-wrap: wrap; }
.site-footer span { color: #bcb3c9; }

@media (max-width: 850px) {
  .intro { gap: 1.7rem; }
  .intro-copy h1 { font-size: clamp(3.1rem, 8.7vw, 5.3rem); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 62px; }
  .intro { grid-template-columns: 1fr; padding-block: 2.05rem 2.3rem; gap: 1rem; }
  .intro-copy h1 { font-size: clamp(3.4rem, 12.8vw, 5rem); }
  .intro-copy p { margin-block: .85rem .08rem; }
  .project-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
