@font-face {
  font-family: "Studio Light";
  src: url("fonts/open-sans-light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
:root { color-scheme: light; --paper: #fbfaf6; --ink: #292a29; --muted: #62635f; --line: #deded9; --studio-heading-font: "Helvetica Neue", "Studio Light", Helvetica, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
header, main, footer { width: min(1120px, 88%); margin-inline: auto; }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; }
header a, footer a { text-decoration: none; }
header a:hover, footer a:hover { text-decoration: underline; }
nav { display: flex; gap: .6rem 1.5rem; flex-wrap: wrap; font-size: .88rem; }
.brand { font-size: .95rem; letter-spacing: .035em; }
footer { border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.hero { padding-block: clamp(4rem, 11vw, 9rem); }
h1, h2, h3 { line-height: 1.13; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); max-width: 15ch; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.hero p:last-child { margin-top: 1.6rem; max-width: 48ch; color: var(--muted); }
.label { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
section { border-top: 1px solid var(--line); padding-block: clamp(2.8rem, 6vw, 5rem); }
section > h2 { margin-bottom: 2rem; }
.feature { background: #f3f2ef; padding: clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.feature h3 { font-size: clamp(1.85rem, 4vw, 3.4rem); }
.feature p + a { display: inline-block; margin-top: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 3rem; padding-block: 1.65rem; border-bottom: 1px solid var(--line); }
.row p, .body-copy p { color: var(--muted); }
.row .meta { margin-top: .5rem; font-size: .84rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.body-copy { max-width: 62ch; }
.body-copy p + p { margin-top: 1rem; }
.case section { max-width: 75ch; }
.case h1 { max-width: none; }
.case section h2 { margin-bottom: 1rem; }
details { margin-top: 1.2rem; }
summary { cursor: pointer; }
details p { margin-top: .6rem; }
@media (max-width: 620px) { .feature, .row, .split { grid-template-columns: 1fr; } }

/* Gallery and project rooms */
.studio-interior {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.studio-interior > header, .studio-interior > main, .studio-interior > footer {
  width: min(760px, calc(100% - clamp(3rem, 12vw, 8rem)));
  margin-inline: auto;
  text-align: left;
}
.studio-interior > header { justify-content: flex-start; padding-block: 2.25rem 1.25rem; }
.studio-interior .brand {
  display: block;
  position: relative;
  width: min(290px, 100%);
  height: 32px;
  overflow: hidden;
}
.studio-interior .brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 186%;
  height: auto;
  transform: translate(-51.8%, -48.4%);
}
.studio-interior .brand:hover { opacity: .65; }
.studio-interior > footer {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.project-gallery, .project-room {
  padding: clamp(3.75rem, 10vh, 7.5rem) 0 4rem;
}
.project-gallery {
  padding-top: clamp(6.75rem, 16vh, 11rem);
}
.project-gallery h1, .project-room h1, .studio-about h1 {
  max-width: none;
  color: var(--ink);
  font: 300 clamp(1.55rem, 4vw, 2.05rem)/1.25 var(--studio-heading-font);
  letter-spacing: .025em;
}
.project-gallery h1 {
  position: relative;
  width: min(420px, 100%);
  margin-bottom: 2.35rem;
  font-size: clamp(1.5rem, 3.6vw, 1.85rem);
}
.project-gallery h1::after {
  content: "";
  position: absolute;
  inset: auto 0 -.9rem;
  height: 1px;
  background: #a7b5bf;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(420px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-grid a {
  display: flex;
  align-items: center;
  min-height: 65px;
  height: 100%;
  padding: .8rem clamp(.65rem, 2.6vw, 1.15rem);
  border: 1px solid #252525;
  background: #181818;
  color: #fff;
  text-decoration: none;
  font: 300 .875rem/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .045em;
  transition: background-color .2s ease;
}
.gallery-grid a:hover { background: #383837; }
.gallery-about {
  width: min(420px, 100%);
  margin-top: clamp(4.75rem, 10vh, 7rem);
  padding: 1.35rem 0 0;
  border-top: 0;
}
.gallery-about h2 {
  margin: 0;
  font: 300 1.15rem/1.35 var(--studio-heading-font);
  letter-spacing: .01em;
}
.gallery-about h2 a { text-decoration: none; }
.gallery-about h2 a:hover { opacity: .65; }
.gallery-about h2 span { margin-inline-start: .3rem; color: #465e70; }
.gallery-about p {
  margin-top: .65rem;
  color: var(--muted);
  font: 300 .9rem/1.6 var(--studio-heading-font);
  letter-spacing: .015em;
}

.project-note { max-width: 48ch; margin: 1.65rem 0 0; color: var(--muted); }
.project-note summary { width: fit-content; }
.studio-about { padding-block: 2rem 3rem; }
.studio-about section { padding-block: 2rem; }
.studio-about #studio { border-top: 0; }
.studio-about h2 { font: 300 1.55rem/1.3 var(--studio-heading-font); letter-spacing: .015em; }
.studio-about h3 { font: 300 1rem/1.35 var(--studio-heading-font); letter-spacing: .015em; }
.studio-about p, .studio-about details { font-size: .95rem; }
.studio-about .label { margin-bottom: .55rem; }

.studio-about-page .about-intro {
  padding-block: clamp(2rem, 7vw, 3.75rem) clamp(3rem, 8vw, 5rem);
}
.about-intro h1 { margin-bottom: 1rem; }
.studio-about-links { display: flex; flex-wrap: wrap; column-gap: 1.65rem; }
.studio-portrait { display: block; width: min(100%, 17rem); height: auto; justify-self: start; align-self: start; }
.studio-about-page .about-work {
  padding-block: clamp(1.75rem, 5vw, 2.75rem) 2rem;
}
.about-work > h2 { margin-bottom: 1.5rem; }
.about-work .row {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: .45rem clamp(1rem, 4vw, 2rem);
  padding-block: 1rem;
}
.about-work details { margin-top: 1.1rem; }
@media (max-width: 620px) {
  .about-work .row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gallery-grid a { transition: none; } }

@font-face {
  font-family: "Stablewife Playfair";
  src: url("assets/stablewife-playfair-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.fit-mark { display: inline-flex; align-items: flex-start; gap: .22em; }
.fit-mark img { display: block; width: 5.5rem; height: auto; }
.gallery-grid .fit-mark img { filter: invert(1); }
.fit-mark sup { font: 400 .64em/1 Arial, sans-serif; letter-spacing: 0; }
.stablewife-mark { font: 400 1em/1.2 "Stablewife Playfair", Georgia, serif; letter-spacing: 0; }
.stablewife-dot { color: #d88069; }
.stablewife-journal { font-size: .65em; }
.project-room .fit-mark img { width: 9rem; }

.project-status {
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .8rem;
}
.project-room .project-summary {
  max-width: 52ch;
  margin-top: 1rem;
  color: var(--muted);
}
.project-back, .project-outbound {
  display: inline-block;
  color: #465e70;
  font-size: .875rem;
}
.project-back { margin-bottom: 2.3rem; text-decoration: none; }
.project-back:hover { text-decoration: underline; }
.cafe-mark {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.cafe-mark img { flex: none; width: clamp(2.4rem, 7vw, 3.5rem); height: auto; }
.cafe-layout {
  display: grid;
  grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: 2.5rem;
  align-items: start;
}
.cafe-navigation {
  display: grid;
  gap: .65rem;
  position: sticky;
  top: 1rem;
  font-size: .9rem;
}
.cafe-navigation a { color: var(--muted); text-decoration: none; }
.cafe-navigation a:hover, .cafe-navigation a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .25em;
}
.cafe-chapter { border-top: 1px solid var(--line); padding: 1.2rem 0 2.8rem; }
.cafe-chapter h2 { margin: .25rem 0 .6rem; font: 300 clamp(1.3rem, 3vw, 1.75rem)/1.35 var(--studio-heading-font); }
.cafe-chapter p { max-width: 60ch; color: var(--muted); }
.cafe-countdown-film { margin: 1.15rem 0 0; }
.cafe-reel-trigger {
  position: relative;
  display: block;
  background: #eeede8;
  color: #24211e;
}
.cafe-reel-trigger img { display: block; width: 100%; height: auto; }
.cafe-reel-trigger > span {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, #eeede8 65%);
}
.cafe-reel-trigger > span span { margin-inline-end: .4rem; font-size: .75em; }
.cafe-reel[open] {
  --reel-rail: clamp(33px, 7.4vw, 68px);
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(760px, calc(100vw - 2rem), 118dvh);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 960 / 648;
  margin: auto;
  padding: clamp(13px, 2.4vw, 23px) var(--reel-rail);
  overflow: hidden;
  border: 2px solid;
  border-color: #9a7954 #4c3626 #765438 #604932;
  border-radius: 23px 17px 21px 16px / 18px 24px 17px 22px;
  background:
    radial-gradient(ellipse at 5% 7%, rgb(224 170 104 / .28), transparent 23%),
    radial-gradient(ellipse at 96% 92%, rgb(191 130 67 / .25), transparent 25%),
    repeating-linear-gradient(103deg, rgb(208 178 139 / .085) 0 1px, transparent 1px 5px),
    url("assets/cake-shop-reel-parchment.webp") center / 380px auto,
    linear-gradient(112deg, #3a2e23, #18130f 28%, #241a13 73%, #392d21);
  background-blend-mode: screen, screen, soft-light, multiply, normal;
  color: #24211e;
  color-scheme: light;
  box-shadow: inset 0 0 0 1px #0b0b0a, 0 20px 75px rgb(0 0 0 / .44);
}
html:has(.cafe-reel[open]) { overflow: hidden; }
.cafe-reel::backdrop { background: rgb(7 7 7 / .94); }
.cafe-reel[open]::before,
.cafe-reel[open]::after {
  content: "";
  position: absolute;
  inset-block: 2px 3px;
  width: calc(var(--reel-rail) - 5px);
  background: url("assets/cake-shop-reel-film-stock.webp") center var(--cafe-film-offset, 0px) / 100% 340px repeat-y;
  filter: grayscale(.68) brightness(1.52) contrast(1.14);
  box-shadow: inset 3px 0 5px rgb(13 6 2 / .48), inset -2px 0 3px rgb(218 151 79 / .21);
  clip-path: polygon(6% 0, 95% 0, 99% 12%, 94% 25%, 98% 36%, 93% 47%, 100% 57%, 96% 67%, 99% 79%, 94% 91%, 98% 100%, 4% 100%, 7% 90%, 2% 79%, 6% 68%, 1% 56%, 5% 43%, 0 31%, 7% 21%, 3% 10%);
  pointer-events: none;
}
.cafe-reel[open]::before { left: 2px; transform: rotate(-.45deg); }
.cafe-reel[open]::after {
  right: 2px;
  transform: rotate(.38deg) scaleX(-1);
  background-position-y: calc(var(--cafe-film-offset, 0px) + 77px);
}
@media (prefers-reduced-motion: no-preference) {
  .cafe-reel[open] video:not([hidden]) {
    animation: cafe-projector-weave 1.63s steps(1, end) 2s infinite;
  }
  .cafe-reel[open]:has(.cafe-reel-enter[hidden]) .cafe-reel-stage::before {
    background-image:
      linear-gradient(to right, transparent 35%, rgb(255 240 203 / .53) 47%, rgb(84 50 21 / .26) 57%, transparent 65%),
      var(--cafe-film-wear);
    background-repeat: no-repeat;
    background-size: 5px 100%, auto;
    animation: cafe-film-scratch 2.21s steps(1, end) 2s infinite;
  }
}
@keyframes cafe-projector-weave {
  0%, 76%, 100% { transform: none; }
  7% { transform: translate(-.4%, .55%) rotate(-.22deg); }
  20% { transform: translate(.25%, -.3%); }
  36% { transform: translate(.45%, .25%) rotate(.24deg); }
  49% { transform: translate(-.3%, -.18%); }
  60% { transform: translate(.15%, -.85%) rotate(-.18deg); }
  65% { transform: translate(-.28%, .65%) rotate(.18deg); }
  88% { transform: translate(.2%, -.36%); }
}
@keyframes cafe-film-scratch {
  0%, 27%, 58%, 89%, 100% { background-position: -8px 0, center; }
  18% { background-position: 13% 0, center; }
  23% { background-position: 14% 0, center; }
  49% { background-position: 81% 0, center; }
  53% { background-position: 80% 0, center; }
  82% { background-position: 28% 0, center; }
}
.cafe-reel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 13px 10px 14px 9px / 10px 14px 9px 13px;
  outline: 2px solid #090705;
  height: 100%;
  display: grid;
  place-items: center;
  container-type: size;
  background:
    linear-gradient(180deg, transparent 12%, rgb(46 43 38 / .12) 100%),
    url("assets/cake-shop-reel-parchment.webp") center / cover;
}
.cafe-reel-skip {
  display: flex;
  gap: .5rem;
  position: absolute;
  z-index: 5;
  top: .65rem;
  right: .65rem;
  margin: 0;
}
.cafe-reel-skip button {
  min-height: 32px;
  padding: .2rem .55rem;
  white-space: nowrap;
  border: 1px solid #a48e70;
  border-radius: 4px;
  background: #211d19;
  color: #fff8ec;
  font: 600 .72rem/1.2 "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 1px 4px rgb(0 0 0 / .28);
  cursor: pointer;
}
.cafe-reel-skip .cafe-reel-sound { background: #f0dcba; color: #241c14; border-color: #f0dcba; }
.cafe-reel-skip .cafe-reel-sound:hover { background: #fff0d5; }
.cafe-reel-skip button[type="submit"]:hover { background: #3f3328; }
.cafe-reel-skip button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.cafe-reel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  --cafe-film-wear:
    radial-gradient(ellipse at 48% 44%, transparent 39%, rgb(33 26 19 / .27) 100%),
    radial-gradient(circle at 13% 21%, rgb(82 50 26 / .55) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 16%, rgb(255 232 184 / .75) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 78%, rgb(76 45 26 / .51) 0 1px, transparent 2px),
    radial-gradient(circle at 31% 85%, rgb(255 236 195 / .65) 0 1px, transparent 2px),
    radial-gradient(ellipse at 6% 64%, rgb(142 74 24 / .29), transparent 16%),
    radial-gradient(ellipse at 96% 20%, rgb(122 66 28 / .24), transparent 17%);
  background-image: var(--cafe-film-wear);
  box-shadow: inset 0 0 13px 3px rgb(30 24 19 / .31);
  pointer-events: none;
}
.cafe-reel-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: var(--cafe-reel-fade, 0);
  pointer-events: none;
}
.cafe-reel-actions { display: flex; align-items: center; gap: .55rem; }
.cafe-reel-replay { opacity: .72; }
.cafe-reel-enter:not([hidden]) {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  text-align: center;
  background: #000;
  color: #f7f5f0;
  color-scheme: dark;
}
.cafe-reel-enter h2 {
  margin: 0;
  width: min(64cqw, 67cqh, 360px);
}
.cafe-reel-enter h2 img { display: block; width: 100%; height: auto; }
.cafe-reel-enter button {
  min-height: 44px;
  padding: .3rem 1.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: .05em;
  cursor: pointer;
}
.cafe-reel-enter button:hover { text-decoration: underline; text-underline-offset: .25em; }
.cafe-reel video:not([hidden]) {
  display: block;
  width: min(100cqw, 148.148cqh);
  height: auto;
  aspect-ratio: 960 / 648;
  filter: sepia(.13) saturate(.90) contrast(1.12) brightness(1.09);
  mask-image:
    linear-gradient(to right, transparent, rgb(0 0 0 / .2) 3%, rgb(0 0 0 / .8) 9%, #000 14%, #000 86%, rgb(0 0 0 / .8) 91%, rgb(0 0 0 / .2) 97%, transparent),
    linear-gradient(to bottom, transparent, rgb(0 0 0 / .2) 4%, rgb(0 0 0 / .8) 11%, #000 16%, #000 84%, rgb(0 0 0 / .8) 89%, rgb(0 0 0 / .2) 96%, transparent);
  mask-composite: intersect;
}
.cafe-reel video:focus { outline: none; }
.cafe-countdown-film figcaption { margin-top: .45rem; color: var(--muted); font-size: .8rem; }
.cafe-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.15rem; }
.cafe-photo-grid-single { grid-template-columns: minmax(0, 1fr); }
.cafe-gallery-photos { margin-top: 0; }
.cafe-photo-grid figure { margin: 0; min-width: 0; }
.cafe-photo-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.cafe-photo-grid figcaption { margin-top: .45rem; color: var(--muted); font-size: .8rem; }
.cafe-gallery-link { display: inline-block; margin-top: 1rem; font-size: .875rem; }
@media (max-width: 640px) {
  .cafe-layout { grid-template-columns: minmax(0, 1fr); }
  .cafe-navigation { display: flex; flex-wrap: wrap; position: static; gap: .55rem 1rem; }
}
@media (max-width: 420px) {
  .cafe-photo-grid { grid-template-columns: minmax(0, 1fr); }
}
.project-preview { margin: 2rem 0 0; }
.project-preview-image {
  border: 1px solid var(--line);
  overflow: hidden;
}
.project-preview-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(48vw, 380px);
  object-fit: cover;
  object-position: top;
}
.project-design-gallery {
  margin-top: 2.5rem;
  padding-block: 1.15rem 0;
}
.project-design-gallery h2 {
  margin: 0 0 1rem;
  font: 300 1.15rem/1.35 var(--studio-heading-font);
  letter-spacing: .015em;
}
.project-design-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1rem;
}
.project-design-views figure { margin: 0; }
.project-design-views figure:first-child { grid-column: 1 / -1; }
.project-design-views figure > a {
  display: block;
  border: 1px solid var(--line);
  background: #fff;
}
.project-design-views img { display: block; width: 100%; height: auto; }
.fit-build-gallery { grid-template-columns: minmax(0, 1fr); }
.cafe-award-logos { display: flex; gap: 1rem; margin-block: .75rem 1.5rem; }
.cafe-award-logos img { width: min(34%, 8rem); height: auto; align-self: start; }
.project-design-views figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .8rem;
}
.stablewife-gallery-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1rem;
}
.stablewife-gallery-caption a { color: var(--muted); text-underline-offset: .2em; }
@media (max-width: 560px) {
  .project-design-views { grid-template-columns: minmax(0, 1fr); }
}
.project-preview figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .8rem;
}
.project-details {
  max-width: 52ch;
  margin-top: 2rem;
  padding: 1.2rem 0 0;
  border-top-color: #a7b5bf;
}
.project-details h2 {
  margin: 0 0 .65rem;
  font: 300 1.15rem/1.35 var(--studio-heading-font);
  letter-spacing: .015em;
}
.project-details p { color: var(--muted); }
.project-details p + p { margin-top: .7rem; }
.project-outbound { margin-top: 1.35rem; }

.studio-resume-link {
  display: inline-block;
  margin-top: 1rem;
  color: #465e70;
  font-size: .9rem;
}
.studio-resume .project-back { margin-bottom: 1.65rem; }
.studio-resume h1,
.studio-resume h2,
.studio-resume h3,
.career-archive dt {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
}
.studio-resume h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 5vw, 3.15rem); }
.studio-resume h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 1.15rem; }
.studio-resume h3, .career-archive dt { font-size: 1.1rem; line-height: 1.4; }
.studio-resume p, .studio-resume dd { line-height: 1.7; }
.studio-resume section { border-top-color: var(--line); }
.studio-resume .row:last-child { padding-bottom: 0; border-bottom: 0; }

.career-archive dl { margin: 0; }
.career-archive [data-career-record]:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: .4rem clamp(1rem, 5vw, 2.5rem);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.career-archive [data-career-record]:last-child { border-bottom: 0; padding-bottom: 0; }
.career-archive dd { margin: 0; color: var(--muted); font-size: .925rem; }
.career-archive .project-summary { max-width: 55ch; margin-bottom: 1.75rem; }
@media (max-width: 620px) {
  .career-archive [data-career-record]:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
}

.resume-affiliations {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .95rem;
}
.resume-affiliations li + li { margin-top: .35rem; }

.career-filters:not([hidden]), .career-search:not([hidden]) { display: grid; gap: .35rem; }
.career-search { margin-bottom: 1.65rem; max-width: 27rem; }
.career-search label, #career-filter-label {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .055em;
}
.career-search input {
  width: 100%;
  min-height: 44px;
  padding: .4rem 0;
  border: 0;
  border-bottom: 1px solid #a7b5bf;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.career-filter-options { display: flex; flex-wrap: wrap; column-gap: 1.15rem; }
.career-filters button {
  min-height: 44px;
  padding: .3rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
  text-underline-offset: .35em;
}
.career-filters button[aria-pressed="true"], .career-filters button:hover { color: #273d4d; text-decoration: underline; }
.career-filters button:focus-visible { outline: 2px solid #465e70; outline-offset: 2px; }
.career-count { min-height: 1.6rem; margin: .55rem 0 .8rem; color: var(--muted); }
.career-sources { margin-block: 1rem 2rem; }
.career-evidence-status {
  display: block;
  color: #465e70;
  font-size: .78rem;
}
.career-evidence-links { display: grid; gap: .35rem; margin-top: .6rem; font-size: .82rem; }
.career-source-label { color: var(--muted); }
.career-source-excerpt { margin: 0; }
.career-source-excerpt summary { color: #465e70; }
.career-source-excerpt figure { margin: .9rem 0 .25rem; padding-inline-start: 1rem; border-inline-start: 1px solid var(--line); }
.career-source-excerpt blockquote { margin: 0; color: var(--ink); }
.career-source-excerpt blockquote p { margin: 0 0 .65rem; }
.career-source-excerpt figcaption { color: var(--muted); font-size: .8rem; }
.career-profiles ul { margin: 0; padding: 0; list-style: none; }
.career-profiles li + li { margin-top: .6rem; }


@media (prefers-reduced-motion: no-preference) {
  .cafe-reel-enter:not([hidden]) h2,
  .cafe-reel-enter:not([hidden]) .cafe-reel-actions {
    animation: cafe-logo-arrival .65s ease-out both;
  }
  @keyframes cafe-logo-arrival {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

.work-index{padding-bottom:3rem}.work-index h1,.work-index h2{font-family:Georgia,serif;letter-spacing:-.045em}.work-intro,.work-feature>a,.work-grid,.work-note{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,4vw,4rem);align-items:center}.work-intro{padding:3rem 0}.work-intro h1{font-size:clamp(3.3rem,7vw,6.5rem)}.work-index a{text-decoration:none}.work-index a:hover h2,.work-note a:hover{text-decoration:underline}.work-feature{background:#272c26;color:#fcfaf5}.work-feature>a{gap:0}.work-feature img,.work-grid img{display:block;width:100%;object-fit:cover}.work-feature img{height:100%;min-height:320px;max-height:440px}.work-feature a>div{padding:clamp(1.5rem,4vw,4rem)}.work-feature .label{color:#e5ded1}.work-feature p:not(.label),.work-grid p{margin-top:.8rem}.work-feature span{display:inline-block;margin-top:1rem;text-decoration:underline}.work-grid{align-items:start;margin:3rem 0}.work-grid img{aspect-ratio:16/9;object-position:top;margin-bottom:1rem}.work-note{border-block:1px solid var(--line);padding:2rem 0}.work-index footer{width:100%;border:0}.resume-intro{max-width:55ch}@media(max-width:700px){.work-intro,.work-feature>a,.work-grid,.work-note{grid-template-columns:1fr}.work-feature img{min-height:0;height:240px}.work-grid{gap:2rem}}

.studio-contact { max-width: 40rem; }
.studio-contact h1 { margin: 1.5rem 0; }
.studio-contact form { display: grid; gap: 1rem; }
.studio-contact label { display: grid; gap: .35rem; }
.studio-contact input, .studio-contact textarea, .studio-contact button {
  font: inherit;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  background: white;
  color: inherit;
}
.studio-contact button { justify-self: start; cursor: pointer; }
.studio-contact article { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.inquiry-message { white-space: pre-wrap; overflow-wrap: anywhere; }

.studio-owner-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
  margin-inline-start: auto;
  font-size: .75rem;
}
.studio-owner-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: .2rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  line-height: 1.25;
}
.studio-owner-nav a:hover {
  background: #eeede8;
  text-decoration: none;
}
.studio-consulting section { margin-block: 1.5rem; }
.studio-consulting input[readonly] { width: 100%; }

.studio-consulting .consultation-booking {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
}
.consultation-booking form { margin-top: 1.25rem; }

.studio-resume:not(.career-archive) :is(h1, h2, h3) {
  font-family: var(--studio-heading-font);
  font-weight: 300;
  letter-spacing: 0;
}

.gallery-project-mark { display: inline-flex; align-items: center; gap: .45rem; }
.gallery-project-mark :is(img, svg) { flex: none; }

#project-access {
  width: min(29rem, calc(100% - 2rem));
  padding: clamp(1.25rem, 5vw, 2.25rem);
  border: 1px solid #d7d5cd;
  background: var(--paper);
  color: var(--ink);
  max-height: calc(100dvh - 2rem);
}
#project-access::backdrop { background: rgb(32 33 31 / .38); }
#project-access form[method="dialog"] { text-align: right; }
#project-access form[method="dialog"] button { background: none; color: inherit; border: 0; }
#project-access h2 { font: 300 clamp(1.45rem, 4vw, 1.85rem)/1.25 var(--studio-heading-font); }
#project-access > p { color: var(--muted); margin: .7rem 0 1.3rem; }
#project-access form[action] { display: grid; gap: .95rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
#project-access label { display: grid; gap: .2rem; }
#project-access input, #project-access textarea, #project-access button { font: inherit; padding: .45rem; }
#project-access input, #project-access textarea { border: 1px solid #aaa99f; background: transparent; }
#project-access form[action] button { justify-self: start; padding: .55rem .95rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }

/* Studio office */
.studio-office .intro { color: var(--muted); margin-bottom: 1.75rem; }
.studio-office .filters { gap: .4rem 1.25rem; margin-bottom: 1rem; }
.studio-office .filters button, .studio-office .office-row, .studio-office-card .quiet {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.studio-office .filters button { padding: .3rem 0; border-bottom: 1px solid transparent; }
.studio-office .filters [aria-pressed="true"] { border-color: var(--ink); }
.studio-office .list { border-top: 1px solid var(--line); }
.studio-office .office-row {
  display: grid;
  width: 100%;
  grid-template-columns: 1.05fr 1.6fr .65fr 1fr 1rem;
  gap: .65rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1rem .25rem;
  text-align: left;
  text-decoration: none;
}
.studio-office .office-row:hover { background: #f3f2ef; }
.studio-office .labels { font-size: .72rem; color: var(--muted); }
.studio-office :is(.status, .arrow) { font-size: .82rem; color: var(--muted); }
.studio-office .dot { margin-right: .3rem; }
.studio-office .empty { padding-block: 1rem; color: var(--muted); }
.studio-office-card > p:first-child { margin-bottom: 1.5rem; }
.studio-office-card h1 { margin-bottom: .5rem; }
.studio-office-card h3 { margin-block: .35rem .6rem; }
.studio-office-card .rule { padding-block: 1.15rem; margin-top: 1rem; }
.studio-office-card .action { font: inherit; cursor: pointer; padding: .45rem .75rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); margin-top: .75rem; }
.studio-office-card .secondary { margin-left: .5rem; color: var(--ink); background: transparent; }
.studio-office-card textarea { display: block; width: 100%; min-height: 5rem; background: var(--paper); border: 1px solid var(--line); font: inherit; }
@media (max-width: 620px) {
  .studio-office .office-row { grid-template-columns: minmax(0, 1fr) auto 1rem; }
  .studio-office .project { grid-row: 2; }
  .studio-office .status { grid-column: 2; grid-row: 1 / span 2; }
  .studio-office .arrow { grid-column: 3; grid-row: 1 / span 2; }
  .studio-office :is(.date, .labels) { display: none; }
}

.office-follow-up { display: block; color: #77542f; }

.project-inquiry-page { padding-top: clamp(2.75rem, 8vh, 5rem); }
.project-inquiry-page h1 { margin-block: .85rem .65rem; }
.project-inquiry-page .project-inquiry-intro { color: var(--muted); margin-bottom: 1.85rem; max-width: 48ch; }
.studio-contact .project-inquiry-form { gap: 1rem; font: .94rem/1.5 "Helvetica Neue", Arial, sans-serif; }
.project-inquiry-form label { gap: .2rem; }
.project-inquiry-form .inquiry-name { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.project-inquiry-form :is(input:not([type="checkbox"]), textarea, select) {
  width: 100%;
  min-width: 0;
  min-height: 2rem;
  padding: .25rem .2rem;
  border: 0;
  border-bottom: 1px solid #a49c8e;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.project-inquiry-form textarea { resize: vertical; }
.project-inquiry-form :is(input, textarea, select, button):focus-visible { outline: 2px solid #465e70; outline-offset: 3px; }
.project-inquiry-form .inquiry-contact { display: grid; gap: .85rem; }
.project-inquiry-form .inquiry-services { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.project-inquiry-form .inquiry-services p { flex-basis: 100%; }
.project-inquiry-form .inquiry-services label { display: flex; align-items: center; min-height: 2rem; gap: .55rem; cursor: pointer; }
.project-inquiry-form .inquiry-services input { width: auto; margin: 0; accent-color: var(--ink); }
.project-inquiry-form small { color: var(--muted); font-size: .83rem; }
.project-inquiry-form > button {
  padding: .3rem .75rem;
  border: 1px solid #a49c8e;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.project-inquiry-form > button:hover { background: #f1eee6; }
.project-inquiry-footer { border-top: 1px solid var(--line); margin-top: 2.25rem; }
@media (max-width: 420px) { .project-inquiry-form .inquiry-name { grid-template-columns: 1fr; } }
@media (hover: none) { .project-inquiry-form :is(input:not([type="checkbox"]), textarea, select) { font-size: 1rem; } }

.studio-footer-links { gap: .35rem 1rem; font-size: .8rem; }
.studio-policy { padding-block: clamp(3rem, 8vh, 5.5rem); }
.studio-policy p { max-width: 68ch; color: var(--muted); }
.studio-policy .policy-date { font-size: .8rem; margin: .5rem 0 1.5rem; }
.studio-policy h2 { font-size: 1.15rem; margin: 1.65rem 0 .45rem; }

.inquiry-selection { display: flex; flex-wrap: wrap; gap: .35rem; margin-block: .6rem; }
.inquiry-selection span { padding: .15rem .5rem; border: 1px solid var(--line); font-size: .8rem; }

.studio-services section { padding-block: 1.6rem; }
.studio-services section > h2 { margin-bottom: .7rem; }
.studio-services li + li, .studio-services p + p { margin-top: .55rem; }
.studio-services .service-note { color: var(--muted); }
