*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --site-gutter: clamp(1.5rem, 6vw, 5rem);
  --site-max: 1180px;
  --site-content-width: min(var(--site-max), calc(100% - 2 * var(--site-gutter)));
  --site-content-offset: max(var(--site-gutter), calc((100% - var(--site-max)) / 2));
}

body {
  font-family: "freight-text-pro", "FreightText Pro", "freight-display-pro", "Freight Display Pro", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Scroll parallax (hero sections only) */

.parallax-img--hero {
  transform: translate(-50%, calc(-50% + var(--parallax-y, 0px))) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .parallax-img--hero {
    transform: translate(-50%, -50%);
  }

  .hero__slides {
    transform: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
  background: rgba(18, 16, 14, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-about .site-header {
  background: rgba(18, 16, 14, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header__logo {
  width: auto;
  max-width: min(42vw, 220px);
  height: auto;
}

.site-header__logo--mobile {
  display: none;
}

.nav-toggle {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  transform: rotate(0deg);
}

.nav-toggle:hover .nav-toggle__icon,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__icon {
    transition: none;
  }
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem;
  background: rgba(18, 16, 14, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-nav--open {
  opacity: 1;
  visibility: visible;
}

.site-nav__list {
  list-style: none;
  text-align: center;
}

.site-nav__list a {
  display: block;
  padding: 0.85rem 0;
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #fff;
  letter-spacing: 0.04em;
}

/* Hero carousel */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #12100e;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero__pan {
  position: absolute;
  inset: -12%;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  animation-duration: 14s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hero__slide:nth-child(1) .hero__pan {
  animation-name: hero-pan-right;
}

.hero__slide:nth-child(2) .hero__pan {
  animation-name: hero-pan-left;
}

.hero__slide:nth-child(3) .hero__pan {
  animation-name: hero-pan-up;
}

.hero__slide:nth-child(4) .hero__pan {
  animation-name: hero-pan-down-right;
}

.hero__slide:nth-child(5) .hero__pan {
  animation-name: hero-pan-up-left;
}

.hero__pan img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

/* Portrait-heavy hero slides — anchor crop toward the top so heads stay in frame */
.hero__slide:nth-child(3) .hero__pan img,
.hero__slide:nth-child(5) .hero__pan img {
  object-position: center top;
}

@keyframes hero-pan-right {
  from {
    transform: scale(1.08) translate3d(-2%, 0, 0);
  }

  to {
    transform: scale(1.14) translate3d(2%, -1.25%, 0);
  }
}

@keyframes hero-pan-left {
  from {
    transform: scale(1.08) translate3d(2%, 0, 0);
  }

  to {
    transform: scale(1.14) translate3d(-2%, -1.25%, 0);
  }
}

@keyframes hero-pan-up {
  from {
    transform: scale(1.05) translate3d(0, 2%, 0);
  }

  to {
    transform: scale(1.08) translate3d(-0.75%, 3.5%, 0);
  }
}

@keyframes hero-pan-down-right {
  from {
    transform: scale(1.08) translate3d(-1.25%, -1.25%, 0);
  }

  to {
    transform: scale(1.14) translate3d(2%, 1.25%, 0);
  }
}

@keyframes hero-pan-up-left {
  from {
    transform: scale(1.05) translate3d(1%, 2%, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1%, 3.5%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__pan {
    transform: none;
    will-change: auto;
    animation: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(10, 8, 6, 0.55) 0%,
    rgba(10, 8, 6, 0.25) 45%,
    rgba(10, 8, 6, 0.1) 100%
  );
}

.hero__copy {
  position: absolute;
  z-index: 3;
  left: var(--site-content-offset);
  bottom: clamp(3rem, 12vh, 6rem);
  width: var(--site-content-width);
  max-width: min(34rem, calc(100vw - 2 * var(--site-gutter)));
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__dots {
  position: absolute;
  z-index: 4;
  left: clamp(1.5rem, 6vw, 5rem);
  bottom: clamp(1.25rem, 4vh, 2rem);
  display: flex;
  gap: 0.55rem;
}

.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__dot--active {
  background: #fff;
  transform: scale(1.15);
}

/* About section */

.about {
  background: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) var(--site-gutter);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  max-width: var(--site-max);
  margin: 0 auto;
  overflow: visible;
}

.about__headline {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.about__block + .about__block {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.about__subhead {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  max-width: 42ch;
  color: #2a2a2a;
}

.about__media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: visible;
  padding-bottom: 1rem;
}

.about__media img {
  width: auto;
  max-width: min(100%, 420px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}

/* Footer */

.site-footer {
  background: #12100e;
  color: #f4f0ea;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem) 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto 2.5rem;
}

.site-footer__brand img {
  width: auto;
  max-width: 180px;
  margin-bottom: 1rem;
}

.site-footer__brand p,
.site-footer__col p,
.site-footer__col a {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(244, 240, 234, 0.82);
}

.site-footer__heading {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}

.site-footer__col ul {
  list-style: none;
}

.site-footer__col li + li {
  margin-top: 0.45rem;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(244, 240, 234, 0.62);
}

.site-footer__credit {
  margin-top: 0.75rem;
}

.site-footer__credit a {
  color: rgba(244, 240, 234, 0.82);
}

.site-footer__credit a:hover {
  color: #fff;
}

.site-footer__locations {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Inner pages */

.page-hero {
  position: relative;
  height: min(72vh, 720px);
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background: #12100e;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-hero__media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

.page-hero--team .page-hero__media img {
  object-position: center 42%;
}

.page-hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #737373;
  color: #fff;
  font-family: "freight-sans-pro", "Freight Sans Pro", system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 8, 6, 0.62) 0%,
    rgba(10, 8, 6, 0.28) 50%,
    rgba(10, 8, 6, 0.18) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: var(--site-content-width);
  max-width: var(--site-max);
  margin-left: var(--site-content-offset);
  margin-right: auto;
  padding: 0 0 clamp(3rem, 8vh, 5rem);
}

.page-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.page-hero__title {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-hero__lede {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.page-section {
  background: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) var(--site-gutter);
}

.page-section--no-hero {
  padding-top: clamp(6.5rem, 14vw, 9rem);
}

.page-section--about.page-section--no-hero {
  padding-top: clamp(7.25rem, 16vw, 9.5rem);
}

.page-section--about .page-section__about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.page-section--about .page-section__intro {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.page-section--about .page-section__media {
  grid-column: 1;
  grid-row: 2;
}

.page-section--about .page-section__body {
  grid-column: 2;
  grid-row: 2;
}

.page-section--about .page-section__media-placeholder {
  margin-left: 0;
  margin-right: auto;
}

.page-section--about .page-section__media--about-photo img {
  max-width: 230px;
  object-position: center 38%;
}

.page-section__inner {
  max-width: var(--site-max);
  margin: 0 auto;
}

.page-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.page-section__grid--image-left {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.page-section__grid--image-left .page-section__media img,
.page-section__grid--image-left .page-section__media-placeholder {
  margin-left: 0;
  margin-right: auto;
}

.page-section__intro {
  color: #1a1a1a;
  padding: 0;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.page-section__intro .page-hero__eyebrow {
  color: #3d3d3d;
  opacity: 1;
}

.page-section__intro .page-hero__title {
  color: #1a1a1a;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  max-width: 14ch;
  text-shadow: none;
}

.page-section__headline {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 22ch;
}

.page-section__subhead {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0.75rem;
}

.page-section__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: #2a2a2a;
  max-width: 48ch;
}

.page-section__text + .page-section__text {
  margin-top: 1.15rem;
}

.page-section__text-link {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.page-section__media img {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-section__media-placeholder {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #737373;
  color: #fff;
  font-family: "freight-sans-pro", "Freight Sans Pro", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.page-card {
  display: block;
  color: inherit;
}

.page-card__image {
  overflow: hidden;
  margin-bottom: 1rem;
  background: #12100e;
}

.page-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.page-card:hover .page-card__image img {
  transform: scale(1.04);
}

.page-card__title {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.page-card__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.team-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.team-card__image {
  width: 50%;
  max-width: 200px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #ece7e0;
}

.team-card__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team-card__image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #737373;
  color: #fff;
  font-family: "freight-sans-pro", "Freight Sans Pro", system-ui, sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.team-card__name {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.team-card__role {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: #555;
}

.team-card__bio {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.team-card__email {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.team-card__email a:hover {
  text-decoration: underline;
}

.services-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.service-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(18, 16, 14, 0.12);
}

.service-item__title {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.service-item__text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2a2a2a;
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2a2a2a;
}

.contact-details a:hover {
  text-decoration: underline;
}

#gph-cognito-form,
#location-enquiry-form {
  width: 100%;
}

.location-enquiry-block #location-enquiry-form {
  grid-column: 1 / 3;
  justify-self: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#gph-cognito-form iframe,
#location-enquiry-form iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 580px;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) {
  display: grid;
  gap: 1rem;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) input,
.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) textarea,
.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18, 16, 14, 0.2);
  background: #fff;
  font: inherit;
  color: #1a1a1a;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) button {
  justify-self: start;
  padding: 0.9rem 1.6rem;
  background: #12100e;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.contact-form:not(#gph-cognito-form):not(#location-enquiry-form) button:hover {
  background: #2a2622;
}

.contact-form--short textarea {
  min-height: 100px;
}

.page-section__grid.page-section__grid--location {
  align-items: stretch;
}

.location-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.location-intro__actions {
  margin: 0;
  margin-top: auto;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.location-enquire-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  background: #12100e;
  border: 1px solid #12100e;
  border-radius: 0.55rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.location-enquire-cta:hover {
  background: #2a2622;
  border-color: #2a2622;
  color: #fff;
}

.page-section__grid--location > .page-section__media {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.page-section__grid--location > .page-section__media img {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.location-enquiry-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(18, 16, 14, 0.1);
  scroll-margin-top: 6rem;
}

.location-enquiry-block .page-section__subhead,
.location-enquiry-block .location-enquiry__intro,
.location-enquiry-block #location-enquiry-form {
  grid-column: 1 / 3;
  justify-self: start;
  width: 100%;
  max-width: 100%;
}

.location-enquiry-block .page-section__subhead {
  margin-top: 0;
}

.location-enquiry__intro {
  margin-bottom: 1.25rem;
  max-width: none;
}

.location-enquiry-block .contact-form--location {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: none;
}

.location-enquiry-block .contact-form--location label:nth-child(3),
.location-enquiry-block .contact-form--location label:nth-child(4),
.location-enquiry-block .contact-form--location button {
  grid-column: 1 / -1;
}

.location-enquiry-block .contact-form--location textarea {
  min-height: 120px;
  resize: vertical;
}

.location-back-wrap {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.page-section__grid > .location-back-wrap {
  grid-column: 1 / -1;
}

.location-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(18, 16, 14, 0.22);
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #12100e;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.location-back:hover {
  background: #12100e;
  border-color: #12100e;
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.work-grid__item {
  overflow: hidden;
  background: #12100e;
  margin: 0;
}

.work-grid__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-grid__item:hover img {
  transform: scale(1.03);
}

.location-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: 1.25rem;
}

.location-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #12100e;
}

.gallery-thumb,
.gallery-thumb-wrap {
  cursor: zoom-in;
}

.gallery-thumb:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Lightbox */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.92);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1200px, 96vw);
  max-height: calc(100vh - 2rem);
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  max-width: 100%;
}

.lightbox__image {
  display: block;
  max-width: min(96vw, 1200px);
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lightbox--enquiry .lightbox__panel {
  flex-direction: row;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: min(1180px, 96vw);
  width: 100%;
  overflow: auto;
  background: #fff;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lightbox--enquiry .lightbox__figure {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #12100e;
}

.lightbox--enquiry .lightbox__image {
  max-width: 100%;
  max-height: min(78vh, 720px);
  width: 100%;
  box-shadow: none;
}

.lightbox--enquiry .lightbox__enquiry {
  flex: 1 1 40%;
  min-width: min(100%, 280px);
  max-width: 420px;
  color: #1a1a1a;
  overflow: auto;
}

.lightbox--enquiry .lightbox__enquiry-title {
  font-family: "freight-display-pro", "Freight Display Pro", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.lightbox--enquiry .lightbox__enquiry-intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2a2a2a;
}

.lightbox--enquiry .lightbox__enquiry-form {
  min-height: 320px;
}

.lightbox--enquiry .lightbox__enquiry-form iframe {
  background: transparent;
}

.lightbox__caption {
  margin-top: 0.85rem;
  color: rgba(244, 240, 234, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.lightbox--enquiry .lightbox__caption {
  color: rgba(244, 240, 234, 0.85);
  padding: 0 0.75rem 0.75rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__close {
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav--prev {
  left: clamp(0.75rem, 3vw, 1.5rem);
}

.lightbox__nav--next {
  right: clamp(0.75rem, 3vw, 1.5rem);
}

.lightbox__nav[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .lightbox--enquiry .lightbox__panel {
    flex-direction: column;
    max-height: calc(100vh - 1.5rem);
  }

  .lightbox--enquiry .lightbox__enquiry {
    max-width: none;
  }

  .lightbox--enquiry .lightbox__image {
    max-height: 42vh;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    justify-content: flex-start;
  }

  .about__media img {
    width: auto;
    max-width: min(100%, 360px);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .location-intro {
    min-height: 0;
  }

  .location-intro__actions {
    margin-top: 1.25rem;
  }

  .page-section__grid--location .page-section__media {
    width: 100%;
  }

  .page-section__grid--location .page-section__media img {
    max-width: 100%;
    margin-left: 0;
    height: auto;
  }

  .location-enquiry-block .contact-form--location {
    grid-template-columns: 1fr;
  }

  .page-section__grid,
  .contact-grid,
  .page-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-section--about .page-section__about {
    grid-template-columns: 1fr;
  }

  .page-section--about .page-section__intro,
  .page-section--about .page-section__media,
  .page-section--about .page-section__body {
    grid-column: 1;
    grid-row: auto;
  }

  .page-section--about {
    padding-left: clamp(1.85rem, 6.5vw, 2.75rem);
    padding-right: clamp(1.85rem, 6.5vw, 2.75rem);
    padding-top: clamp(9rem, 28vw, 11rem);
  }

  .page-section--about .page-section__intro .page-hero__title {
    max-width: 100%;
    font-size: clamp(1.875rem, 7.25vw, 2.65rem);
  }

  .page-section--about .page-section__media--about-photo img {
    max-width: 210px;
    object-position: center 32%;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-enquiry-block .page-section__subhead,
  .location-enquiry-block .location-enquiry__intro,
  .location-enquiry-block #location-enquiry-form {
    grid-column: 1 / -1;
  }

  .page-section__media img,
  .page-section__media-placeholder {
    margin-left: 0;
    max-width: min(100%, 420px);
  }
}

@media (max-width: 1024px) {
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 8, 6, 0.35) 0%,
      rgba(10, 8, 6, 0.2) 45%,
      rgba(10, 8, 6, 0.65) 100%
    );
  }

  .hero__copy {
    left: var(--site-content-offset);
    right: auto;
    width: var(--site-content-width);
    bottom: clamp(4rem, 10vh, 5.5rem);
    max-width: min(34rem, calc(100vw - 2 * var(--site-gutter)));
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  }

  .hero__dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__pan img {
    object-position: 65% center;
  }

  .hero__slide:nth-child(3) .hero__pan img,
  .hero__slide:nth-child(5) .hero__pan img {
    object-position: center top;
  }

  .page-hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 8, 6, 0.35) 0%,
      rgba(10, 8, 6, 0.25) 40%,
      rgba(10, 8, 6, 0.7) 100%
    );
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-header__logo--desktop {
    display: none;
  }

  .site-header__logo--mobile {
    display: block;
    max-width: 72px;
  }

  .hero__pan img {
    object-position: 62% center;
  }

  .hero__slide:nth-child(3) .hero__pan img,
  .hero__slide:nth-child(5) .hero__pan img {
    object-position: center top;
  }

  .hero__copy {
    left: var(--site-content-offset);
    right: auto;
    width: var(--site-content-width);
    bottom: 4.25rem;
    max-width: min(34rem, calc(100vw - 2 * var(--site-gutter)));
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .hero__dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.25rem;
  }

  .page-hero {
    min-height: 380px;
    height: 62vh;
  }

  .page-hero--team .page-hero__media img {
    object-position: center 30%;
  }

  .page-hero__title {
    max-width: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .location-gallery {
    grid-template-columns: 1fr;
  }

  .location-enquiry-block {
    grid-template-columns: 1fr;
  }

  .location-enquiry-block .page-section__subhead,
  .location-enquiry-block .location-enquiry__intro,
  .location-enquiry-block #location-enquiry-form {
    grid-column: 1;
  }

  .team-grid--two {
    grid-template-columns: 1fr;
  }
}
