/* ==========================================================================
   PEPONI BEACHFRONT DEVELOPMENTS
   Design system
   --------------------------------------------------------------------------
   Palette values follow the written brand brief. The values the reference
   render actually used are noted alongside as commented alternates — swap a
   single custom property to move between them.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surface */
  --ivory:          #F4F0E8;   /* reference render used #F7F4ED */
  --ivory-lift:     #FAF8F2;
  --limestone:      #D8CDBE;
  --limestone-tint: #EDE8DD;

  /* Ink */
  --charcoal:       #202321;
  --charcoal-deep:  #151A18;
  --muted:          #686C67;
  --muted-on-dark:  rgba(244, 240, 232, 0.62);

  /* Brand */
  --green:          #123F3A;   /* reference render used #1E3D37 */
  --green-deep:     #0D2F2B;
  --clay:           #B9785D;
  --clay-soft:      #B8895C;   /* bronze of the logo wave */

  /* Hairlines */
  --rule:           rgba(32, 35, 33, 0.14);
  --rule-strong:    rgba(32, 35, 33, 0.26);
  --rule-on-dark:   rgba(244, 240, 232, 0.18);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --max:      1400px;
  --max-text: 1180px;
  --gutter:   clamp(1.5rem, 5vw, 5rem);

  /* Vertical rhythm — large spacing between sections is a brief requirement */
  --section-y:      clamp(6rem, 12vw, 11.5rem);
  --section-y-tight: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

/* <picture> is only a source selector — let the <img> inherit the layout rules
   written for it, so every `.xxx img` selector keeps working unchanged. */
picture { display: contents; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--clay); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.85rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--text { max-width: var(--max-text); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--flush-top { padding-top: 0; }

/* Surface treatments */
.surface-ivory     { background: var(--ivory);          color: var(--charcoal); }
.surface-limestone { background: var(--limestone-tint); color: var(--charcoal); }
.surface-green     { background: var(--green);          color: var(--ivory); }
.surface-charcoal  { background: var(--charcoal-deep);  color: var(--ivory); }

.surface-green .lede,
.surface-charcoal .lede { color: var(--muted-on-dark); }

.surface-green a:hover,
.surface-charcoal a:hover { color: var(--clay-soft); }

/* Two-column editorial split: label rail on the left, content on the right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.split--even  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--wide  { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split--media { align-items: stretch; }

@media (max-width: 900px) {
  .split, .split--even, .split--wide { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 1.75rem;
  display: block;
}

.eyebrow--clay { color: var(--clay); }
.surface-green .eyebrow,
.surface-charcoal .eyebrow { color: var(--ivory); }
.surface-green .eyebrow--clay,
.surface-charcoal .eyebrow--clay { color: var(--clay-soft); }

/* Headline scale — restrained, never decorative */
.display,
.headline,
.subhead {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}

.display  { font-size: clamp(2.75rem, 6.4vw, 5.25rem); }
.headline { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.subhead  { font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.18; }
.title    { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }

/* The one permitted flourish: a second clause in clay italic */
.accent {
  color: var(--clay);
  font-style: italic;
  display: block;
}

/* Same treatment applied to a single word inside a line */
.accent-word {
  color: var(--clay);
  font-style: italic;
}

.surface-green .accent,
.surface-green .accent-word,
.surface-charcoal .accent,
.surface-charcoal .accent-word { color: var(--clay-soft); }

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
}

.lede--wide { max-width: 62ch; }

.body-copy { max-width: 64ch; }
.body-copy p + p { margin-top: 1.25rem; }
.body-copy p { color: var(--muted); }
.surface-green .body-copy p,
.surface-charcoal .body-copy p { color: var(--muted-on-dark); }

.body-copy strong { color: var(--charcoal); font-weight: 600; }

/* Clause headings in the legal documents need air beneath them */
.body-copy h2.title { margin-bottom: 0.85rem; }
.body-copy h2.title + p { margin-top: 0; }
.surface-green .body-copy strong,
.surface-charcoal .body-copy strong { color: var(--ivory); }

.micro {
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.legal-note {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 68ch;
}
.surface-green .legal-note,
.surface-charcoal .legal-note { color: var(--muted-on-dark); }

/* Section index marker, e.g. "01 / OUR PROPOSITION" */
.section-index {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-index span { color: var(--clay); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.15rem 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: var(--charcoal);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover { background: var(--green); color: var(--ivory); }

.btn--light  { background: var(--ivory); color: var(--charcoal); }
.btn--light:hover { background: var(--clay); color: var(--ivory); }

.btn--outline {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--charcoal);
}
.btn--outline:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }

.surface-green .btn--outline,
.surface-charcoal .btn--outline { border-color: var(--rule-on-dark); color: var(--ivory); }
.surface-green .btn--outline:hover,
.surface-charcoal .btn--outline:hover { background: var(--ivory); color: var(--green); }

/* Quiet underlined link — the second, lower-weight CTA */
.link-underline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-underline:hover { color: var(--clay); border-color: var(--clay); }
.surface-green .link-underline,
.surface-charcoal .link-underline { border-color: var(--rule-on-dark); }

.link-underline .arrow { font-size: 0.85em; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: 2.75rem;
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 96px;
  padding-block: 1.1rem;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(118px, 12vw, 150px); height: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }

.nav a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.35s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--clay); }

.header-cta { display: inline-flex; align-items: center; gap: 0.5rem; }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
}

/* Mobile drawer */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 1080px) { .nav-toggle { display: inline-flex; } }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--green);
  color: var(--ivory);
  padding: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { width: 140px; }

.drawer__close {
  background: none; border: 0; cursor: pointer; color: inherit;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

.drawer nav {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.drawer nav a {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1.3;
}
.drawer nav a:hover { color: var(--clay-soft); }
.drawer__foot { border-top: 1px solid var(--rule-on-dark); padding-top: 1.5rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: min(84vh, 860px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

/* Hero headline sits a step below the global display scale so that the
   headline, lede and both calls to action clear the first viewport. */
.hero__copy .display {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  margin-block: 1rem 2rem;
}

.hero__media { position: relative; overflow: hidden; background: var(--green); }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* subtle, slow image movement only — no carousel, no video */
  animation: driftIn 2.4s var(--ease) both;
}

@keyframes driftIn {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.hero__coords {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 3vw, 2.5rem);
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Fact strip pinned to the base of the hero image */
.hero__facts {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--green);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__facts div {
  padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--rule-on-dark);
}
.hero__facts div:first-child { border-left: 0; }

.hero__facts .figure {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  color: var(--ivory);
  line-height: 1.1;
  display: block;
}

.hero__facts .label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__copy { padding-inline: var(--gutter); padding-block: clamp(3rem, 10vw, 5rem); }
  .hero__media { min-height: 62vh; }
}

/* Compact page hero for interior pages */
.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.page-hero .display { margin-block: 1rem 2rem; }
.page-hero .lede { max-width: 56ch; }

/* --------------------------------------------------------------------------
   8. Data rows — project facts in clean, scannable lines
   -------------------------------------------------------------------------- */

.data-rows { border-top: 1px solid var(--rule); }
.surface-green .data-rows,
.surface-charcoal .data-rows { border-top-color: var(--rule-on-dark); }

.data-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
}
.surface-green .data-rows > div,
.surface-charcoal .data-rows > div { border-bottom-color: var(--rule-on-dark); }

.data-rows dt, .data-rows .k {
  color: var(--muted);
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.surface-green .data-rows dt, .surface-green .data-rows .k,
.surface-charcoal .data-rows dt, .surface-charcoal .data-rows .k { color: var(--muted-on-dark); }

.data-rows dd, .data-rows .v {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. Numbered process list
   -------------------------------------------------------------------------- */

.steps { border-top: 1px solid var(--rule); }
.surface-green .steps { border-top-color: var(--rule-on-dark); }

.steps > li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 2.6vw, 2.1rem);
  border-bottom: 1px solid var(--rule);
}
.surface-green .steps > li { border-bottom-color: var(--rule-on-dark); }

.steps .num {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--clay);
  padding-top: 0.6rem;
}

.steps .title { margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.9375rem; max-width: 54ch; }
.surface-green .steps p { color: var(--muted-on-dark); }

@media (max-width: 560px) {
  .steps > li { grid-template-columns: 2.75rem minmax(0, 1fr); }
}

/* Compact numbered list — investment principles */
.point-list { border-top: 1px solid var(--rule); }
.surface-green .point-list { border-top-color: var(--rule-on-dark); }

.point-list > li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.surface-green .point-list > li { border-bottom-color: var(--rule-on-dark); }
.point-list .num { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; color: var(--clay); }
.surface-green .point-list .num { color: var(--clay-soft); }

/* --------------------------------------------------------------------------
   10. Pillar grid — vertically ruled columns
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillars--two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pillars > * {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.4vw, 2rem);
  border-left: 1px solid var(--rule);
}
.pillars > *:first-child { border-left: 0; padding-left: 0; }

.pillars .eyebrow { color: var(--clay); margin-bottom: 1.1rem; }
.pillars .title { margin-bottom: 0.85rem; }
.pillars p { color: var(--muted); font-size: 0.875rem; }

@media (max-width: 900px) {
  .pillars, .pillars--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars > *:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .pillars, .pillars--three, .pillars--two { grid-template-columns: minmax(0, 1fr); }
  .pillars > * { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .pillars > *:first-child { border-top: 0; }
}

/* --------------------------------------------------------------------------
   11. Featured project block
   -------------------------------------------------------------------------- */

.project-lead__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-on-dark);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.project-lead__head .headline { flex: 1 1 20ch; }

.status-stack { text-align: right; display: flex; flex-direction: column; gap: 0.35rem; }

.project-lead__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 40vw, 520px);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   12. Status labels
   -------------------------------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.surface-green .status, .surface-charcoal .status { color: var(--muted-on-dark); }

.status--evaluation      { color: var(--muted); }
.status--acquisition     { color: var(--clay); }
.status--planning        { color: var(--clay); }
.status--capital         { color: var(--clay); }
.status--development     { color: var(--green); }
.status--available       { color: var(--green); }
.status--completed       { color: var(--muted); }

.surface-green .status--capital,
.surface-green .status--acquisition,
.surface-green .status--planning { color: var(--clay-soft); }
.surface-green .status--development,
.surface-green .status--available { color: var(--ivory); }

/* --------------------------------------------------------------------------
   13. Project portfolio grid
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--rule);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.filter-bar button {
  background: none;
  border: 0;
  padding: 0.3rem 0;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.filter-bar button:hover { color: var(--charcoal); }
.filter-bar button[aria-pressed="true"] { color: var(--charcoal); border-bottom-color: var(--clay); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 800px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

.project-card { display: flex; flex-direction: column; }
.project-card[hidden] { display: none; }

.project-card__media {
  position: relative;
  overflow: hidden;
  background: var(--limestone-tint);
  aspect-ratio: 4 / 3;
  margin-bottom: 1.75rem;
}

.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.035); }

.project-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
}

.project-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.project-card .title { margin-bottom: 0.6rem; }
.project-card p { color: var(--muted); font-size: 0.875rem; max-width: 44ch; }
.project-card .link-underline { margin-top: 1.5rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   14. Full-bleed media band
   -------------------------------------------------------------------------- */

.media-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.media-band--reverse .media-band__media { order: 2; }

.media-band__media { overflow: hidden; }
.media-band__media img {
  width: 100%; height: 100%;
  min-height: clamp(320px, 45vw, 640px);
  object-fit: cover;
}

.media-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
}

.media-band__copy .headline { margin-block: 1rem 1.75rem; }

@media (max-width: 900px) {
  .media-band { grid-template-columns: minmax(0, 1fr); }
  .media-band--reverse .media-band__media { order: 0; }
}

/* Row of tags beneath a media band */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.tag-row span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

/* --------------------------------------------------------------------------
   15. Insights
   -------------------------------------------------------------------------- */

.insight-list { border-top: 1px solid var(--rule); }

.insight-list > li { border-bottom: 1px solid var(--rule); }

.insight-list a {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) 12rem;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  transition: opacity 0.4s var(--ease);
}
.insight-list a:hover { opacity: 0.62; }

.insight-list .date,
.insight-list .kind {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.insight-list .kind { color: var(--clay); text-align: right; }
.insight-list p { color: var(--muted); font-size: 0.875rem; margin-top: 0.5rem; max-width: 60ch; }

@media (max-width: 800px) {
  .insight-list a { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .insight-list .kind { text-align: left; }
}

/* Source attribution — every statistic shows its origin */
.source-note {
  font-size: 0.6875rem;
  color: var(--muted);
  border-left: 2px solid var(--limestone);
  padding-left: 0.9rem;
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */

.enquiry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--rule);
}

.enquiry-nav button {
  background: none; border: 0; cursor: pointer;
  padding: 0.35rem 0;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.enquiry-nav button:hover { color: var(--charcoal); }
.enquiry-nav button[aria-selected="true"] { color: var(--charcoal); border-bottom-color: var(--clay); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 700px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 0.6rem; }

.field label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req { color: var(--clay); }

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.7rem 0;
  font-size: 0.9375rem;
  color: var(--charcoal);
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
}

/* Native arrow replaced with a hairline chevron that matches the ink colour */
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 1.75rem;
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  background-size: 10px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23202321' stroke-width='1.2'/%3E%3C/svg%3E");
}

.field textarea { resize: vertical; min-height: 7rem; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--clay); }

.field input::placeholder, .field textarea::placeholder { color: rgba(32, 35, 33, 0.32); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
}
.consent input { margin-top: 0.28rem; accent-color: var(--clay); flex: 0 0 auto; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--clay);
  background: rgba(185, 120, 93, 0.07);
}
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   17. Team & disclosure
   -------------------------------------------------------------------------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.person__portrait {
  aspect-ratio: 3 / 4;
  background: var(--limestone-tint);
  border: 1px solid var(--rule);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.person .title { margin-bottom: 0.35rem; }
.person .role { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.person p { color: var(--muted); font-size: 0.875rem; margin-top: 1rem; }

/* Controlled-access disclosure schedule */
.disclosure { border-top: 1px solid var(--rule); }
.disclosure > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem 9rem;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
}
.disclosure .stage,
.disclosure .access {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.disclosure .access { text-align: right; color: var(--clay); }

@media (max-width: 760px) {
  .disclosure > li { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .disclosure .access { text-align: left; }
}

/* Placeholder marker for facts awaiting client confirmation */
.tbc {
  background: rgba(185, 120, 93, 0.13);
  border-bottom: 1px dashed var(--clay);
  padding: 0 0.2em;
}

/* --------------------------------------------------------------------------
   18. Closing CTA & footer
   -------------------------------------------------------------------------- */

.closing__rule { border-top: 1px solid var(--rule); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); }

.closing__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer { background: var(--charcoal-deep); color: var(--ivory); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer img { width: 150px; margin-bottom: 1.5rem; }

.site-footer h3 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 1.35rem;
}

.site-footer li + li { margin-top: 0.7rem; }
.site-footer a, .site-footer p { font-size: 0.8125rem; color: var(--muted-on-dark); transition: color 0.35s var(--ease); }
.site-footer a:hover { color: var(--ivory); }

.site-footer__base {
  border-top: 1px solid var(--rule-on-dark);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__base p { font-size: 0.6875rem; line-height: 1.7; max-width: 78ch; }

/* --------------------------------------------------------------------------
   19. Motion — slow fades only, and never against the user's wishes
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .drawer, .nav-toggle, .filter-bar, .enquiry-nav { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
}
