.bespoke-interior { background: var(--paper); color: var(--ink); font: 16px/1.58 var(--sans); }
.bespoke-interior :is(h1, h2, h3) { font-family: var(--serif); font-weight: 400; letter-spacing: -.042em; line-height: 1.04; }
.bespoke-interior .main-nav [aria-current="page"] { color: var(--cream); border-color: #bd987d; }
.main-nav .nav-tour-label > span { white-space: nowrap; }
@media (max-width: 760px) {
  .main-nav .nav-tour-label > span { display: block; }
}
.bespoke-site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 5.5vw, 5.25rem);
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
}
.bespoke-site-footer .brand img { width: clamp(175px, 20vw, 240px); }
.bespoke-site-footer p {
  max-width: 28ch;
  margin-top: 1.1rem;
  color: #d7d3c4;
  font-size: .95rem;
}
.bespoke-site-footer .bespoke-footer-label {
  margin-bottom: .8rem;
  color: #e3b493;
  font: 700 .73rem/1.4 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.bespoke-footer-links { border-bottom: 1px solid #fff9ed35; }
.bespoke-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 45px;
  padding: .55rem .65rem .55rem 0;
  border-top: 1px solid #fff9ed35;
  font-size: .95rem;
  font-weight: 600;
}
.bespoke-footer-links a::after {
  content: "";
  flex: 0 0 auto;
  width: .43rem;
  height: .43rem;
  border: solid #d59c75;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.bespoke-footer-links a:hover, .bespoke-footer-links a:focus-visible {
  background: #fff9ed0d;
  color: #f6d7bd;
}
.bespoke-footer-links a[aria-current="page"] { color: #f6d7bd; }
@media (max-width: 760px) {
  .bespoke-site-footer { grid-template-columns: 1fr; gap: 2.25rem; }
}
.bespoke-work-hero, .bespoke-project-story, .bespoke-article { padding-top: clamp(46px, 7vw, 112px); }
.bespoke-work-hero h1, .bespoke-project-title h1, .bespoke-article h1 { max-width: 17ch; font-size: clamp(3rem, 7vw, 7rem); }
.bespoke-work-hero > p:last-child { max-width: 53ch; margin-top: 1.15rem; color: var(--muted); }
.bespoke-project-index, .bespoke-project-story, .bespoke-article { padding-bottom: clamp(48px, 7vw, 104px); }
.bespoke-project-index { padding-top: clamp(28px, 4vw, 62px); }
.bespoke-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 3.3vw, 3rem); }
.bespoke-project-card { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.bespoke-project-thumb { overflow: hidden; background: var(--linen); aspect-ratio: 1.48; }
.bespoke-project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bespoke-project-link:hover img { transform: scale(1.035); }
.bespoke-project-card-copy { margin-top: .9rem; }
.bespoke-project-card h2 { font-size: clamp(1.55rem, 2.25vw, 2.4rem); }
.bespoke-project-card > p { margin-top: .55rem; color: var(--muted); font-size: .91rem; }
.bespoke-place { margin-bottom: .3rem; color: #75523c; font-size: .72rem; font-weight: 700; letter-spacing: .07em; }
.bespoke-project-index .pagination { margin-top: 2.5rem; }
.bespoke-project-index .nav-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.bespoke-project-index .page-numbers { display: inline-block; border: 1px solid var(--line); padding: .5rem .7rem; }
.bespoke-project-index .page-numbers.current { background: var(--pine); color: var(--cream); }
.bespoke-project-back { margin-bottom: 1.4rem; }
.bespoke-project-title { margin-bottom: clamp(24px, 5vw, 60px); }
.bespoke-project-cover { background: var(--linen); }
.bespoke-project-cover img { width: 100%; max-height: min(72vh, 760px); object-fit: cover; }
.bespoke-rich-text { max-width: 69ch; font-size: 1rem; }
.bespoke-rich-text > * + * { margin-top: 1rem; }
.bespoke-rich-text h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); }
.bespoke-rich-text a { text-decoration: underline; text-underline-offset: .2em; }
.bespoke-project-description { margin-block: clamp(1.7rem, 4vw, 4rem); }
.bespoke-article .bespoke-rich-text { margin-top: 2rem; }
.bespoke-article h1 { margin-top: 1.25rem; font-size: clamp(2.7rem, 6.5vw, 6rem); }
.bespoke-project-video, .bespoke-project-gallery { margin-top: clamp(2rem, 5vw, 5rem); }
.bespoke-project-video h2, .bespoke-project-gallery h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); margin-bottom: .8rem; }
.bespoke-project-video video, .bespoke-project-video iframe { display: block; width: 100%; max-width: 900px; max-height: 70vh; background: #222421; border: 0; aspect-ratio: 16 / 9; }
.bespoke-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1.8rem); }
.bespoke-gallery-link { position: relative; aspect-ratio: 1.48; background: var(--linen); }
.bespoke-gallery-link img { width: 100%; height: 100%; object-fit: cover; }
.bespoke-gallery-link > span { position: absolute; inset: auto .7rem .7rem auto; display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--cream); color: var(--pine-dark); }
.bespoke-photo-dialog { padding: 0; border: 0; width: min(94vw, 1180px); background: #1c261f; color: var(--cream); }
.bespoke-photo-dialog, .bespoke-photo-dialog img, .bespoke-photo-dialog button {
  -webkit-user-select: none;
  user-select: none;
}
.bespoke-photo-dialog::backdrop { background: #152018d9; }
.bespoke-photo-dialog > div { position: relative; }
.bespoke-photo-dialog img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.bespoke-photo-dialog button:not([hidden]) {
  position: absolute; z-index: 1; display: grid; place-items: center;
  width: clamp(3rem, 4.5vw, 3.5rem); height: clamp(3rem, 4.5vw, 3.5rem); padding: 0;
  border: 2px solid var(--cream); border-radius: .65rem;
  background: var(--pine-dark); color: var(--cream); cursor: pointer;
  box-shadow: 0 0 0 2px #14221a, 0 4px 12px #101a14a6;
}
.bespoke-photo-dialog button svg { width: 1.5rem; height: 1.5rem; }
.bespoke-photo-dialog button:focus-visible { outline: 2px solid #f2bb93; outline-offset: -7px; }
@media (hover: hover) {
  .bespoke-photo-dialog button:not([hidden]):hover { background: #344e3e; }
}
.bespoke-photo-close { inset: .6rem .6rem auto auto; }
.bespoke-photo-prev, .bespoke-photo-next { top: 50%; transform: translateY(-50%); }
.bespoke-photo-prev { left: .6rem; }
.bespoke-photo-next { right: .6rem; }
.bespoke-photo-dialog [data-gallery-status] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1040px) { .bespoke-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .bespoke-project-grid { grid-template-columns: 1fr; }
  .bespoke-interior .main-nav { gap: .4rem; }
  .bespoke-gallery-grid { grid-template-columns: 1fr; }
}
.bespoke-home-work-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-bottom: clamp(25px, 3.7vw, 50px);
}
.bespoke-home-work-heading .work-heading { margin-bottom: 0; }
