@font-face {
  font-family: "Monteria";
  src:
    url("assets/fonts/Monteria-Regular.otf") format("opentype"),
    local("Monteria"),
    local("Monteria Regular");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper-solid);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 78px,
    rgba(21, 39, 37, 0.03) 78px,
    rgba(21, 39, 37, 0.03) 79px
  );
  opacity: 0.35;
}

.page-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: transparent;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.site-header,
.hero,
.portfolio,
.process,
.enquiry-panel {
  padding-left: clamp(1.25rem, 4vw, 3.25rem);
  padding-right: clamp(1.25rem, 4vw, 3.25rem);
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
}

.crest {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(214, 170, 99, 0.95), rgba(185, 107, 60, 0.98));
  color: #fff9f1;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(-6deg);
}

.brand-block {
  flex: 1;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-block h1 {
  font-family: "Monteria", "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.eyebrow,
.section-kicker,
.status,
.ref,
.signal-strip p,
.stage-label,
.stage-note-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.eyebrow,
.section-kicker,
.ref,
.stage-label,
.stage-note-label {
  color: var(--muted);
}

h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.94;
}

h2 {
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  max-width: 15ch;
  margin-top: 0.45rem;
  text-wrap: balance;
}

h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 0.5rem;
}

h4 {
  font-size: clamp(1.85rem, 2vw, 2.45rem);
}

p,
dd,
li,
a,
dt {
  line-height: 1.6;
}

.header-link {
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(23, 59, 58, 0.06);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.header-link:hover {
  color: var(--brand);
  background: rgba(23, 59, 58, 0.12);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "kicker"
    "headline"
    "stage"
    "copy";
  row-gap: 2.8rem;
  padding-top: 2.8rem;
  padding-bottom: 4.4rem;
  align-items: start;
}

.hero-kicker {
  grid-area: kicker;
  margin: 0;
  padding-bottom: 0.2rem;
}

.hero-headline {
  grid-area: headline;
  max-width: none;
  width: 100%;
  text-wrap: pretty;
  margin: 0;
  line-height: 0.9;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  animation: rise 800ms ease both;
  max-width: 46rem;
  padding-top: 0.75rem;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.85rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.9);
  color: var(--brand-deep);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.375rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: #f7f0e4;
}

.button-primary:hover {
  background: #1d4947;
}

.button-secondary {
  background: rgba(23, 59, 58, 0.08);
  color: var(--ink);
}

.button-secondary:hover {
  background: rgba(23, 59, 58, 0.14);
}

.hero-stage {
  grid-area: stage;
  animation: rise 950ms ease 120ms both;
  align-self: start;
}

.hero-stage-card,
.listing-card,
.process article {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
}

.hero-stage-card {
  padding: 2rem;
  background: rgba(240, 224, 204, 0.82);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  grid-template-areas:
    "intro feature"
    "metrics feature";
  gap: 1.5rem 2rem;
  align-items: start;
}

.hero-stage-card::after {
  content: "";
  position: absolute;
  inset: auto -4% -18% auto;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 170, 99, 0.2);
}

.stage-intro {
  grid-area: intro;
}

.stage-text,
.stage-note-copy {
  color: var(--muted);
}

.stage-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.stage-metrics div {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(21, 39, 37, 0.08);
}

.stage-metrics strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-deep);
}

.stage-metrics span {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.stage-feature {
  grid-area: feature;
  align-self: stretch;
  padding-left: 1.75rem;
  border-left: 1px solid rgba(21, 39, 37, 0.08);
}

.stage-note-name {
  margin: 0.35rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 0.96;
}

.stage-note-copy {
  margin: 0.75rem 0 0;
}

.signal-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 0.5rem;
}

.signal-strip p {
  margin: 0;
  padding: 0.6rem 0;
  color: var(--brand-deep);
  text-align: center;
  background: none;
}

.portfolio {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.portfolio-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.portfolio-preview-text {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.listing-card {
  padding: 1.55rem;
  background: rgba(255, 248, 239, 0.76);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 248, 239, 0.94);
}

.listing-card dl {
  margin: 1.15rem 0 0;
}

.listing-card dl div {
  padding: 0.875rem 0;
  border-top: 1px solid var(--line);
}

.featured {
  background: rgba(16, 44, 43, 0.98);
  color: #f7f0e4;
}

.featured::after {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(214, 170, 99, 0.14);
}

.featured .status,
.featured .ref,
.featured dt,
.featured p,
.featured dd {
  color: rgba(247, 240, 228, 0.8);
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.status {
  color: var(--accent);
  font-weight: 700;
}

dt {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

dd {
  margin: 0;
  font-weight: 600;
}

.process {
  position: relative;
  z-index: 1;
  padding-top: 1.4rem;
  padding-bottom: 1.25rem;
}

.listings-hero {
  position: relative;
  z-index: 1;
  padding: 2.2rem clamp(1.25rem, 4vw, 3.25rem) 0;
}

.listings-hero h2 {
  max-width: none;
  width: 100%;
}

.listings-intro {
  max-width: 44rem;
}

.listings-page {
  padding-top: 1.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.process article {
  padding: 0;
  background: none;
  border-radius: 0;
}

.process span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
}

.enquiry-panel {
  position: relative;
  z-index: 1;
  margin: 0.75rem clamp(1.25rem, 4vw, 3.25rem) 1.75rem;
  padding: 1.4rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  background: none;
  border-top: 1px solid rgba(21, 39, 37, 0.08);
}

.enquiry-panel::after {
  content: none;
}

.enquiry-panel > * {
  position: relative;
  z-index: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero,
  .listing-grid,
  .process-grid,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "kicker"
      "headline"
      "stage"
      "copy";
    row-gap: 1.75rem;
  }

  .enquiry-panel,
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage-metrics {
    grid-template-columns: 1fr;
  }

  .hero-stage-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "metrics"
      "feature";
  }

  .stage-feature {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid rgba(21, 39, 37, 0.08);
  }

  h2 {
    max-width: 16ch;
  }

  .hero-headline {
    width: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), 1200px);
    margin: 0.5rem auto 1rem;
    border-radius: 1.4rem;
  }

  .site-header {
    gap: 0.75rem;
  }

  h2 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .button {
    width: 100%;
  }

  .signal-strip p,
  .hero-stage-card,
  .listing-card {
    border-radius: 1.2rem;
  }
}
