/* Photo-led sections shared by the home page and inner pages: light, no cards ——
   Sand is the only tint. Each band is a photo that runs to the screen edge beside a short block of text. */
:root {
  --home-sand: #f7f3ec;
}

.pband {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  background: var(--color-white);
}

.pband--sand {
  background: var(--home-sand);
}

.pband__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  max-height: 40rem;
  object-fit: cover;
}

.pband--reverse .pband__img {
  order: 2;
}

.pband__text {
  align-self: center;
  max-width: 34rem;
  padding: var(--space-5) clamp(1.5rem, 5vw, 4.5rem);
}

.pband__text h2,
.team h2,
.facts__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pband__text p {
  margin: 0 0 var(--space-3);
  font-size: 1.125rem;
  line-height: 1.6;
}

.pband__text a:not(.btn) {
  color: var(--color-coastal-text);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.pband__text .pband__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  margin-bottom: 0;
}

.pband__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pband__text .pband__phone {
  margin-bottom: var(--space-3);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pband__text .pband__phone a {
  color: var(--color-black);
  text-decoration: none;
}

.pband__figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
}

.pband__figures div {
  display: flex;
  flex-direction: column;
}

.pband__figures dt {
  order: 2;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.pband__figures dd {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .pband,
  .pband--reverse {
    grid-template-columns: 1fr;
  }

  .pband__img,
  .pband--reverse .pband__img {
    order: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .pband__text {
    max-width: none;
    padding: var(--space-4) var(--space-3);
  }
}

/* Page header: the first band on an inner page sits below the fixed site header and holds the h1 */
.pband--page {
  margin-top: var(--header-h);
}

.pband__text h1 {
  margin: 0 0 var(--space-2);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Plain ruled list: items separated by a line, no boxes */
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list > li {
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(15, 20, 25, 0.16);
}

.plain-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
}

.plain-list p {
  margin: 0;
  line-height: 1.55;
  color: var(--color-muted);
}

.plain-section {
  padding: var(--space-6) 0;
  background: var(--color-white);
}

.plain-section--sand {
  background: var(--home-sand);
}

.plain-section h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plain-section__lead {
  max-width: 40rem;
  margin: 0 0 var(--space-4);
  font-size: 1.125rem;
  line-height: 1.6;
}

.plain-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-5);
}

@media (max-width: 720px) {
  .plain-cols {
    grid-template-columns: 1fr;
  }
}

/* Smaller body text inside a band, matching the list items beside it */
.pband__text p.pband__small {
  font-size: 1rem;
  line-height: 1.6;
}

/* Image centred on the row against taller text */
.pband--center .pband__img {
  align-self: stretch;
  height: auto;
  max-height: none;
  object-fit: cover;
}

/* Breathing room above and below an image-and-text row */
@media (min-width: 901px) {
  .pband--center {
    padding-block: var(--space-3);
  }
}
