:root {
  color-scheme: dark;
  --paper: #0a0a0a;
  --ink: #fff;
  --soft: #c4c1bd;
  --rule: #383633;
  --margin: clamp(1.25rem, 4.7vw, 6rem);
  --serif: "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 Arial, sans-serif; }
main { flex: 1; }
p, h1, h2, figure, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .36em; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid white; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 4; transform: translateY(-140%); padding: .7rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.5rem, 1.5vw, 1rem);
  min-height: 4rem;
  padding-inline: var(--margin);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.wordmark { justify-self: start; font-size: .875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.nav-list { display: flex; align-items: center; gap: clamp(.7rem, 2.15vw, 2.5rem); list-style: none; padding: 0; }
.nav-list > li { display: flex; align-items: center; position: relative; }
.nav-list a, .contact-link { display: flex; align-items: center; min-height: 44px; font-size: .875rem; }
.contact-link { justify-self: end; }
.nav-list a[aria-current="page"], .contact-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .36em; }
.nav-toggle, .sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  background: none;
  border: 0;
}
.nav-toggle { display: none; }
.sub-toggle { width: 32px; margin-right: -8px; }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: #1a1a1a; }
.sub-toggle::after {
  content: "";
  display: block;
  width: .45rem;
  height: .45rem;
  margin-top: -.2rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.sub-toggle[aria-expanded="true"]::after { margin-top: .2rem; transform: rotate(225deg); }
.sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  max-height: calc(100dvh - 5rem);
  overflow: auto;
  padding: .25rem 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  list-style: none;
}
.sub-list a { padding-inline: 1rem; }
.sub-list a:hover { background: #1a1a1a; }
.sub-list a:focus-visible { outline-offset: -3px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-title, .tile-name { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.page-title {
  margin: clamp(1.7rem, 3.2vw, 3rem) var(--margin) 0;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
}
.photo-grid {
  --tiles-per-row: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.55rem, 1.15vw, 1.3rem);
  align-items: start;
  padding: clamp(1rem, 2.5vw, 2.5rem) var(--margin) clamp(2rem, 4vw, 4rem);
}
.home .photo-grid { padding-top: clamp(.65rem, 1.5vw, 1.5rem); }
.tile-cover img, .series-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 4 / 5;
}
.tile { grid-column: span 4; min-width: 0; scroll-margin-top: 5rem; }
.tile:nth-of-type(6n + 1), .tile:nth-of-type(6n + 5) { grid-column: span 5; }
.tile:nth-of-type(6n + 2), .tile:nth-of-type(6n + 4) { grid-column: span 3; }
.tile-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #161616;
}
:is(button, a).tile-cover:hover img { opacity: .84; }
button.tile-cover[aria-expanded="true"] { outline: 1px solid var(--ink); outline-offset: 3px; }
button.tile-cover:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tile-name { padding: .5rem 0 .9rem; font-size: clamp(1.25rem, 2vw, 2rem); }

.series-panel {
  grid-column: 1 / -1;
  padding-block: clamp(.8rem, 2vw, 1.85rem);
  border-block: 1px solid var(--rule);
  scroll-margin-top: 4.75rem;
}
.series-photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.55rem, 1.15vw, 1.3rem);
  align-items: start;
}
.series-photos img { grid-column: span 4; }
.series-photos img:nth-child(6n + 1), .series-photos img:nth-child(6n + 5) { grid-column: span 5; }
.series-photos img:nth-child(6n + 2), .series-photos img:nth-child(6n + 4) { grid-column: span 3; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; border-bottom: 1px solid #777; }
.text-link:hover { border-color: #fff; text-decoration: none; }
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  max-width: 76rem;
  padding: clamp(1rem, 2.5vw, 2.5rem) var(--margin) clamp(2rem, 4vw, 4rem);
}
.info-grid img { display: block; width: 100%; max-width: 32rem; height: auto; }
.prose p { max-width: 52ch; color: var(--soft); }
.prose p + p, .prose .text-link { margin-top: 1rem; }
.profile-details { padding: 1.4rem var(--margin) .75rem; }
.measurements, .profile-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.measurements { list-style: none; margin-top: 1.2rem; padding: 0; font-size: .9rem; }
.contact-content { padding: 1.5rem var(--margin) 3rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1.8rem; }

.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem var(--margin); border-top: 1px solid var(--rule); font-size: .875rem; }
.footer span { color: var(--soft); }

@media (max-width: 850px) {
  .nav-toggle { display: flex; padding: 0 .2rem; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 4rem); overflow: auto; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .site-nav[data-open="true"] { display: block; }
  .nav-list { display: block; padding: .5rem var(--margin) 1rem; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .nav-list > li > a { flex: 1; }
  .sub-toggle { width: 44px; margin-right: 0; }
  .sub-list { position: static; flex-basis: 100%; max-height: none; border: 0; padding: 0 0 .5rem; }
}
@media (max-width: 660px) {
  .photo-grid { --tiles-per-row: 2; }
  .tile:nth-of-type(n), .series-photos img:nth-child(n) { grid-column: span 5; }
  .tile:nth-of-type(4n + 1), .tile:nth-of-type(4n + 4),
  .series-photos img:nth-child(4n + 1), .series-photos img:nth-child(4n + 4) { grid-column: span 7; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: .72rem; letter-spacing: .14em; }
}

.booking-form { display: grid; gap: .55rem; max-width: 32rem; margin-block: 1.5rem .3rem; }
.booking-form input, .booking-form textarea, .booking-form button {
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: .65rem .8rem;
}
.booking-form input, .booking-form textarea { width: 100%; margin-bottom: .55rem; }
.booking-form textarea { resize: vertical; }
.booking-form button { justify-self: start; border-color: var(--soft); }
.booking-form button:hover { background: #1a1a1a; }
