/* Shared layouts for the separate Studio First version. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

body::selection {
  background: var(--paper);
  color: var(--ink);
}

.hero-title-negative {
  user-select: none;
}

.hero-kicker {
  max-width: 100%;
  text-wrap: balance;
}

.hero-location.hero-offer {
  max-width: 100%;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .025em;
  text-transform: none;
  text-wrap: balance;
}

.hero-offer strong {
  font-weight: 700;
}

.hero-offer > span {
  margin-inline: .25em;
}

.hero-footnote {
  position: absolute;
  bottom: 28px;
  left: var(--pad);
  z-index: 4;
  margin: 0;
  font-size: 11px;
  color: var(--paper-soft);
}

.hero-actions .btn.primary {
  border-color: var(--paper);
}

.hero-actions .btn.primary:hover {
  border-color: var(--orange);
}

/* On desktop, the booking path is always visible. Mobile keeps the paper menu. */
@media (min-width: 901px) {
  .site-header {
    background: rgba(5,5,5,.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 82px;
    padding-block: 8px;
  }
  .brand-logo {
    width: 170px;
  }
  .nav-toggle {
    display: none;
  }
  .nav-links, .nav-links.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 0;
    max-height: none;
    padding: 0;
    background: none;
    color: var(--paper);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    overflow: visible;
    transition: none;
  }
  .nav-links::before, .nav-links::after, .nav-links .nav-link::before {
    display: none;
  }
  .nav-links .nav-link {
    padding: 8px 0;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--paper);
    text-transform: none;
    transform: none;
  }
  .nav-links .nav-link:hover {
    color: var(--orange);
    transform: none;
  }
  .nav-links .nav-link::after {
    height: 1px;
    bottom: 2px;
  }
  .nav-links .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }
  .nav-links .nav-cta {
    margin: 0;
    min-height: 44px;
    padding: 14px 18px;
    font-size: 11px;
    gap: 20px;
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
    box-shadow: none;
  }
  .nav-links .nav-cta:hover {
    background: var(--orange);
    border-color: var(--orange);
  }
}

.home-gallery-intro {
  padding-block: 70px 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 30px;
}

.home-gallery-intro .eyebrow {
  margin-bottom: 20px;
}

.home-gallery-intro h2, .contact-compact h2, .projects-section h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(52px, 7vw, 110px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.home-gallery-intro > div:last-child {
  justify-self: end;
  padding-bottom: 4px;
}

.home-gallery-intro p:not(.eyebrow) {
  margin: 0;
  font-size: 15px;
  color: var(--paper-soft);
}

.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
  padding-block: 10px;
  font-size: 12px;
  border-bottom: 1px solid currentColor;
}

.subtle-link:hover {
  color: var(--orange);
}

.curated-gallery {
  column-count: 4;
}

.curated-gallery figure:nth-child(n) {
  transform: none;
}

.studio-film-section {
  padding-top: 70px;
}

.studio-film-section .studio-video {
  min-height: 0;
  height: clamp(300px, 37vw, 520px);
}

.studio-film-section .studio-video video {
  filter: brightness(.94) contrast(1.03);
}

.studio-film-section .studio-video::after {
  background: linear-gradient(transparent 55%, rgba(0,0,0,.6));
  pointer-events: none;
}

.film-label {
  position: absolute;
  left: 24px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #f4efe6;
}

.film-label > span:last-child {
  font: 9px var(--font-hand);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.session-booking {
  padding-top: 40px;
  text-align: center;
}

/* One correctly oriented tear at each paper section's top edge. The alpha
   mask uses the original texture, tinted to the exact paper background. */
.torn-sheet {
  background: transparent;
  box-shadow: none;
}

.torn-sheet::before,
.torn-black::before {
  display: none;
}

.torn-paper {
  --paper-edge-height: clamp(34px, 4.2vw, 66px);
  margin-top: 0;
  padding-top: clamp(44px, 6vw, 85px);
}

.torn-paper::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(1px - var(--paper-edge-height));
  height: var(--paper-edge-height);
  background: var(--paper);
  -webkit-mask: url("../images/textures/torn-paper-top.png") center / 100% 100% no-repeat;
  mask: url("../images/textures/torn-paper-top.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.site-footer {
  --paper-edge-height: clamp(24px, 3.3vw, 48px);
  clip-path: none;
  overflow: visible;
}

.session-booking .btn {
  gap: 24px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: none;
}

.session-booking .btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.session-booking > p {
  margin: 17px 0 0;
  font-size: 12px;
  color: #554d42;
}

.session-booking > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  padding-block: 85px 100px;
}

.contact-compact .eyebrow {
  margin-bottom: 20px;
}

.contact-compact h2 {
  font-size: clamp(48px, 6vw, 90px);
}

.contact-compact p:not(.eyebrow) {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--paper-soft);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-direct > a {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
}

.contact-direct > a + a {
  font-size: 13px;
}

.contact-direct > a:hover {
  color: var(--orange);
}

.contact-direct > p {
  max-width: 34ch;
  font-size: 11px !important;
  margin-top: 5px !important;
  color: var(--muted) !important;
}

/* The other pages share the same typography and photographic language. */
.inner-page .portfolio-introduction {
  padding-top: 145px;
  padding-bottom: 40px;
}

.portfolio-introduction h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(65px, 17vw, 230px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-filters button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
}

.portfolio-filters button:hover {
  color: var(--orange);
}

.portfolio-filters button.is-active {
  color: var(--ink);
  background: var(--paper);
}

[data-gallery-count] {
  font: 10px var(--font-hand);
  color: var(--muted);
  white-space: nowrap;
}

.projects-section {
  padding-block: 100px;
}

.projects-section .eyebrow {
  margin-bottom: 22px;
}

.projects-section h2 {
  font-size: clamp(48px, 6vw, 90px);
}

.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 45px;
}

.project-link {
  display: block;
}

.project-link > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: filter .4s ease;
}

.project-link:hover > img {
  filter: invert(1) grayscale(1);
}

.project-link > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.project-link h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -.03em;
}

.project-link > div > span {
  font-size: 25px;
}

.project-link p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.page-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 70px;
}

.page-next > span {
  color: var(--muted);
  font-size: 13px;
}

.page-next > a {
  border-bottom: 1px solid var(--paper);
  font-size: 17px;
}

.about-page .about-editorial {
  padding-top: 100px;
  padding-bottom: 0;
}

.about-page .about-copy-band {
  padding-bottom: 80px;
}

.booking-page-intro {
  padding-block: 150px 70px;
}

.booking-page-intro > .eyebrow {
  margin-bottom: 28px;
}

.booking-page-intro h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.booking-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 45px;
  max-width: 950px;
}

.booking-intro-row p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-soft);
}

.booking-intro-row strong {
  color: var(--paper);
  font-size: 22px;
  font-weight: 500;
}

.booking-intro-row p > span {
  font-size: 12px;
}

.reservation-section {
  background: var(--paper);
  color: var(--ink);
  padding-block: 70px 80px;
}

.reservation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.reservation-heading .eyebrow {
  color: #635b50;
  margin-bottom: 20px;
}

.reservation-heading h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(50px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.reservation-heading .subtle-link {
  font-size: 11px;
}

.reservation-calendar {
  background: #fff;
  border: 1px solid #15161440;
}

.reservation-calendar iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 760px;
}

.booking-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-top: 30px;
}

.booking-notes p {
  margin: 0;
  color: #554d42;
  font-size: 12px;
  line-height: 1.7;
}

.booking-notes a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep the request form visible when the calendar is currently empty. */
.booking-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.booking-options button {
  padding: 13px 18px;
  min-height: 44px;
  border: 1px solid #15161440;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.booking-options button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.booking-panel-copy {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: #554d42;
}

.reservation-form {
  background: #fff;
  border: 1px solid #15161430;
}

.reservation-form iframe {
  display: block;
  width: 100%;
  height: 1500px;
  border: 0;
}

.calendar-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 25px;
  margin-bottom: 25px;
  padding: 20px;
  border: 1px solid #15161440;
}

.calendar-fallback p {
  margin: 0;
  width: 100%;
  font-size: 14px;
}

.calendar-fallback button {
  border: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
}

.calendar-fallback a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.calendar-fallback button:hover {
  background: #3b3b32;
}

/* The two project websites get a visible home beyond the booking content. */
.endeavours-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 100px;
}

.endeavours-section .eyebrow {
  margin-bottom: 20px;
}

.endeavours-section h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(43px, 5.6vw, 85px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}

.endeavour-links > a {
  display: grid;
  grid-template-columns: 25px 1fr 25px;
  align-items: center;
  gap: 18px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.endeavour-links > a:last-child {
  border-bottom: 1px solid var(--line);
}

.endeavour-number {
  font: 10px var(--font-hand);
  color: var(--orange);
}

.endeavour-links strong {
  display: block;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -.035em;
}

.endeavour-links small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}

.endeavour-links > a > span:last-child {
  font-size: 25px;
}

.endeavour-links > a:hover strong, .endeavour-links > a:hover > span:last-child {
  color: var(--orange);
}

@media (max-width: 740px) {
  .endeavours-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 70px;
  }
  .endeavour-links strong {
    font-size: 24px;
  }
  .booking-options {
    gap: 8px;
    margin-bottom: 30px;
  }
  .booking-options button {
    font-size: 11px;
    padding-inline: 12px;
  }
  .booking-panel-copy {
    font-size: 14px;
  }
  .reservation-form iframe {
    height: 1700px;
  }
}

.footer-layout {
  display: grid;
  gap: 32px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-name {
  font-family: "Anton", Impact, sans-serif;
  font-size: 29px;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 25px;
  font-size: 12px;
}

.footer-projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 25px;
  padding-block: 22px;
  border-block: 1px solid #15161430;
  font-size: 12px;
}

.footer-projects > span {
  color: #635b50;
  font: 10px var(--font-hand);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: #635b50;
  font-size: 10px;
}

.footer-layout a:hover {
  color: #a73d20;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    transition-duration: 420ms;
    filter: blur(1px);
  }
  .motion-ready .reveal.is-visible {
    filter: none;
  }
}

@media (max-width: 1100px) {
  .curated-gallery {
    column-count: 2;
  }
}

@media (max-width: 900px) {
  .inner-page .site-header {
    background: rgba(5,5,5,.88);
  }
  .inner-page .nav-shell {
    min-height: 90px;
  }
  .nav-link[aria-current="page"] {
    color: var(--orange);
  }
  .nav-links .nav-cta {
    margin-top: 25px;
    background: var(--ink);
    color: var(--paper);
  }
  .nav-link {
    font-size: clamp(3.4rem, 12vw, 6.5rem);
  }
}

@media (max-width: 600px) {
  .hero-footnote {
    inset: auto 18px 66px;
    text-align: center;
    font-size: 10px;
  }
  .hero-location.hero-offer {
    font-size: 14px;
    letter-spacing: 0;
  }
  .hero-actions .btn {
    font-size: 11px;
  }
  .home-gallery-intro {
    grid-template-columns: 1fr;
    padding-block: 55px 30px;
    gap: 24px;
  }
  .home-gallery-intro > div:last-child {
    justify-self: start;
  }
  .home-gallery-intro p:not(.eyebrow) {
    font-size: 14px;
  }
  .studio-film-section {
    padding-top: 45px;
  }
  .studio-film-section .studio-video {
    height: 360px;
  }
  .film-label {
    left: 18px;
    bottom: 24px;
  }
  .contact-compact {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 65px 75px;
  }
  .contact-direct > a {
    font-size: 17px;
  }
  .inner-page .portfolio-introduction {
    padding-top: 135px;
  }
  .portfolio-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .portfolio-filters {
    gap: 4px;
  }
  .portfolio-filters button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .projects-section {
    padding-block: 70px;
  }
  .project-pair {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  .about-page .about-editorial {
    padding-top: 95px;
  }
  .booking-page-intro {
    padding-block: 140px 55px;
  }
  .booking-intro-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .booking-intro-row p {
    font-size: 15px;
  }
  .reservation-section {
    padding-block: 55px;
  }
  .reservation-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .reservation-calendar iframe {
    height: 850px;
  }
  .booking-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-main nav {
    gap: 12px 22px;
    font-size: 11px;
  }
  .footer-projects {
    gap: 12px 20px;
    font-size: 11px;
  }
  .footer-projects > span {
    width: 100%;
  }
  .footer-bottom {
    align-items: flex-start;
    font-size: 9px;
  }
}
