:root {
  color-scheme: light;
  --cream: #FDF4D2;
  --light-blue: #B0CDE6;
  --lavender: #A290B7;
  --mauve: #946D6D;
  --ink: color-mix(in srgb, var(--mauve) 42%, black);
  --muted: color-mix(in srgb, var(--mauve) 68%, black);
  --paper: color-mix(in srgb, var(--cream) 72%, white);
  --surface: color-mix(in srgb, var(--cream) 48%, white);
  --line: color-mix(in srgb, var(--mauve) 34%, var(--cream));
  --accent: color-mix(in srgb, var(--mauve) 72%, black);
  --sidebar: color-mix(in srgb, var(--mauve) 68%, black);
  --focus: color-mix(in srgb, var(--lavender) 52%, black);
  --sidebar-width: 17rem;
  --content-width: 78rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sidebar :focus-visible,
.mobile-header :focus-visible {
  outline-color: var(--light-blue);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--cream);
  background: var(--sidebar);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--sidebar-width);
  padding: 2.25rem 1.75rem 1.75rem;
  color: var(--cream);
  background: var(--sidebar);
  flex-direction: column;
}

.brand,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.site-navigation {
  display: grid;
  gap: 0.35rem;
  margin-top: 4.5rem;
}

.site-navigation a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-inline: -0.75rem;
  padding: 0.8rem 0.75rem;
  border-left: 3px solid transparent;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  border-left-color: var(--light-blue);
  color: var(--cream);
  background: color-mix(in srgb, var(--light-blue) 10%, transparent);
}

.nav-number {
  color: var(--cream);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.mobile-header {
  display: none;
}

.main-content {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 6vw, 5.5rem) 5rem;
}

.view {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.view[hidden],
#strata-gate[hidden],
#strata-content[hidden] {
  display: none;
}

.page-heading {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.home-view {
  max-width: 62rem;
}

.home-heading {
  margin-bottom: 2rem;
}

.home-subheading {
  margin: 0.75rem 0 0;
  color: var(--accent);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
}

.home-introduction {
  max-width: 46rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.home-introduction p {
  margin: 0.8rem 0;
}

.home-introduction a,
.contact-role a {
  color: var(--accent);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.location {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.location-heading {
  display: flex;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.location-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.location-heading address {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.location-map {
  display: block;
  width: 100%;
  height: clamp(15rem, 35vw, 22rem);
  border: 1px solid var(--line);
  background: var(--light-blue);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.demo-notice {
  display: flex;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-bottom: 2rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--lavender);
  color: var(--muted);
  background: color-mix(in srgb, var(--light-blue) 32%, var(--paper));
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.demo-notice strong {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--mauve) 8%, transparent);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover {
  box-shadow: 0 14px 32px color-mix(in srgb, var(--mauve) 18%, transparent);
  transform: translateY(-3px);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  background: var(--light-blue);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
}

.status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.32rem 0.58rem;
  color: var(--cream);
  background: var(--sidebar);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-review {
  background: color-mix(in srgb, var(--mauve) 72%, black);
}

.status-progress {
  background: color-mix(in srgb, var(--lavender) 58%, black);
}

.status-complete {
  background: color-mix(in srgb, var(--light-blue) 48%, black);
}

.card-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.card-body h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.18;
}

.card-body p {
  margin: 0.45rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-action {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.back-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.detail-header h1 {
  font-size: clamp(2.45rem, 6vw, 5.1rem);
}

.detail-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.gallery-primary {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--light-blue);
}

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

.gallery-button {
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-button[aria-pressed="true"] {
  border-color: var(--accent);
}

.gallery-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}

.gallery-button:hover img,
.gallery-button[aria-pressed="true"] img {
  opacity: 1;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.detail-copy h2,
.detail-meta h2,
.document-group h2,
.contact-role h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.detail-copy h2,
.detail-meta h2 {
  font-size: 1.55rem;
}

.detail-copy p {
  max-width: 43rem;
  color: var(--muted);
}

.metadata-list {
  margin: 1rem 0 0;
}

.metadata-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.metadata-row dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.metadata-row dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
}

.document-groups {
  border-top: 1px solid var(--ink);
}

.document-group {
  display: grid;
  grid-template-columns: 3rem minmax(12rem, 0.75fr) minmax(15rem, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.group-number {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
}

.document-group h2 {
  font-size: 1.35rem;
}

.document-group > p:not(.group-number) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* The Strata comparison reads its own width, so the shell's sidebar never
   squeezes the four-column price list; narrow widths keep each row's three
   provider values side by side under the row label. */
#strata-content {
  --strata-rule: color-mix(in srgb, var(--line) 55%, var(--surface));
  --strata-included: color-mix(in srgb, var(--light-blue) 45%, white);
  --strata-known: color-mix(in srgb, var(--light-blue) 20%, white);
  --strata-commission: color-mix(in srgb, var(--lavender) 15%, white);
  --strata-notice: color-mix(in srgb, var(--light-blue) 30%, var(--cream));
  --strata-behaviour: color-mix(in srgb, var(--line) 25%, white);
  container: strata / inline-size;
}

#strata-content h2,
#strata-content h3,
#strata-content p {
  text-wrap: pretty;
}

.strata-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.strata-lede {
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.strata-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--lavender);
  background: var(--strata-notice);
  font-size: 0.93rem;
}

.strata-notice strong,
.strata-label,
.strata-section-number,
.strata-cell-provider,
.strata-provider-tag,
.strata-sum-heading,
.strata-usage-group,
.strata-columns-head p,
.strata-document-groups h3 {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strata-notice strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.strata-common {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.strata-common strong {
  color: var(--ink);
}

.strata-status {
  display: inline-block;
  padding: 0.22rem 0.45rem;
  color: var(--cream);
  background: var(--sidebar);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strata-tbc {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px dashed var(--mauve);
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.strata-label {
  margin: 0 0 0.35rem;
}

/* Price list: one comparison surface, never per-provider price cards. */
.strata-price-table {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  background: white;
}

.strata-price-row {
  display: grid;
  grid-template-columns: 15rem repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--strata-rule);
}

.strata-price-row > * {
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0.85rem;
}

.strata-price-row > * + * {
  border-left: 1px solid var(--strata-rule);
}

.strata-price-label {
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 650;
}

.strata-price-label small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.strata-price-head {
  border-top: 0;
  background: var(--surface);
}

.strata-price-head > div {
  padding: 0.85rem;
}

.strata-provider-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  align-items: center;
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
}

.strata-provider-model {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.35;
}

.strata-provider-rates {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.strata-price-known {
  border-top: 2px solid var(--ink);
  background: var(--strata-known);
}

.strata-price-known .strata-price-label {
  background: var(--strata-known);
}

.strata-amount {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.strata-composition {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.strata-basis {
  display: inline-block;
  margin: 0.4rem 0 0;
  padding: 0.08rem 0.4rem;
  border: 1px solid var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.strata-basis-estimate {
  border-style: dashed;
}

.strata-price-group {
  border-top: 2px solid var(--ink);
  background: var(--surface);
}

.strata-price-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
}

.strata-price-group p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 750;
}

.strata-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.strata-key li {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.strata-swatch {
  display: inline-block;
  width: 0.95rem;
  height: 0.75rem;
  border: 1px solid var(--mauve);
  background: white;
}

.strata-swatch.strata-included {
  border-color: var(--strata-included);
}

.strata-swatch.strata-commission {
  border-color: var(--lavender);
}

.strata-swatch.strata-unconfirmed {
  border-style: dashed;
}

.strata-price-cell {
  font-size: 0.86rem;
  line-height: 1.35;
}

.strata-price-cell strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.strata-price-cell small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.strata-included {
  background: var(--strata-included);
}

.strata-commission {
  background: var(--strata-commission);
}

.strata-price-cell.strata-unconfirmed {
  outline: 1px dashed var(--mauve);
  outline-offset: -4px;
}

.strata-provider-tag {
  display: none;
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
}

.strata-price-behaviour {
  border-top: 2px solid var(--ink);
  background: var(--strata-behaviour);
}

.strata-price-behaviour .strata-price-label {
  background: var(--strata-behaviour);
}

.strata-price-note {
  max-width: 62rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.strata-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin-top: 1.75rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.strata-toc a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.strata-toc span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* Numbered sections below the price list. */
.strata-section {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.strata-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
}

.strata-section-number {
  margin: 0;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.strata-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  scroll-margin-top: 1.5rem;
}

.strata-section h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.strata-section-intro {
  max-width: 52rem;
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.strata-models,
.strata-usage,
.strata-exclusions,
.strata-boxes,
.strata-know,
.strata-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.strata-model,
.strata-know-box {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.strata-model p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
}

.strata-model p.strata-label {
  margin: 0;
}

.strata-meaning {
  max-width: 62rem;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  background: white;
}

.strata-meaning p {
  margin: 0;
  font-size: 0.95rem;
}

.strata-meaning p + p {
  margin-top: 0.4rem;
}

/* Row label plus three provider cells; provider names stay in each cell for
   assistive technology and become visible once the columns stack. */
.strata-columns {
  display: grid;
  grid-template-columns: 12rem repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.strata-columns > * {
  min-width: 0;
  margin: 0;
}

.strata-columns-head {
  padding: 0.4rem 0;
  border-top: 0;
}

.strata-cell-provider {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.strata-row-label p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.strata-recurring-cell {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--strata-rule);
  background: white;
}

.strata-recurring-cell > p {
  margin: 0;
}

.strata-recurring-cell > .strata-basis {
  margin-bottom: 0.5rem;
}

.strata-recurring-known {
  background: var(--strata-known);
}

.strata-recurring-possible {
  border: 1px dashed var(--mauve);
  background: transparent;
}

.strata-sum p {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  padding: 0.2rem 0;
  font-size: 0.85rem;
}

.strata-sum p span:last-child {
  flex: 0 0 auto;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.strata-sum .strata-sum-excluding {
  padding-top: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.strata-sum .strata-sum-excluding span:last-child {
  font-weight: 500;
}

.strata-sum .strata-sum-total {
  margin-top: 0.25rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--ink);
  font-weight: 750;
}

.strata-sum .strata-sum-total span:last-child {
  font-weight: 800;
}

.strata-recurring-known .strata-sum-total {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.strata-sum .strata-sum-heading {
  display: block;
  margin-top: 0.5rem;
  padding: 0;
}

.strata-sum .strata-sum-none span:last-child {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}

.strata-recurring-cell > .strata-cell-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.strata-usage {
  align-items: start;
}

.strata-usage-column {
  border: 1px solid var(--line);
  background: white;
}

.strata-usage-column h3 {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.strata-usage-list {
  margin: 0;
  padding: 0.3rem 0.9rem;
  list-style: none;
}

.strata-usage-list li {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--mauve) 50%, white);
  font-size: 0.85rem;
}

.strata-usage-list li:last-child {
  border-bottom: 0;
}

.strata-usage-list strong {
  flex: 0 0 auto;
  max-width: 48%;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.strata-usage-list .strata-usage-group {
  padding-top: 0.6rem;
  border-bottom: 0;
  font-size: 0.68rem;
}

.strata-usage-source {
  margin: 0;
  padding: 0.5rem 0.9rem 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.strata-exclusions {
  margin-top: 1rem;
}

.strata-exclusions > div {
  padding: 0.85rem 0.95rem;
  border: 1px dashed var(--mauve);
}

.strata-exclusions p {
  margin: 0;
  font-size: 0.88rem;
}

.strata-exclusions p.strata-label {
  margin-bottom: 0.3rem;
}

.strata-smg-terms {
  margin-top: 1.5rem;
  padding: 1.1rem clamp(1rem, 2.5cqi, 1.5rem) 0.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.strata-smg-terms-intro {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.strata-smg-terms .strata-columns {
  grid-template-columns: 11rem repeat(3, minmax(0, 1fr));
  padding: 0.7rem 0;
  border-top-color: var(--strata-rule);
}

.strata-smg-terms .strata-columns-head {
  padding-bottom: 0.3rem;
  border-top: 0;
}

.strata-smg-terms .strata-columns p {
  margin: 0;
  font-size: 0.86rem;
}

.strata-source-row {
  font-size: 0.86rem;
}

.strata-row-topic {
  font-weight: 700;
}

.strata-boxes {
  align-items: start;
}

.strata-box {
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  background: white;
}

.strata-box p {
  margin: 0;
  font-size: 0.88rem;
}

.strata-box p + p {
  margin-top: 0.45rem;
}

.strata-box p.strata-label {
  margin: 0 0 0.35rem;
}

.strata-box .strata-credit-amount {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.strata-insurance {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.strata-insurance-intro {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.strata-know-box {
  padding-bottom: 1.15rem;
}

.strata-know-box h3 {
  margin-bottom: 0.7rem;
}

.strata-know-box ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
}

.strata-know-box li {
  font-size: 0.9rem;
}

.strata-know-box li + li {
  margin-top: 0.45rem;
}

.strata-source-row {
  padding: 0.6rem 0;
  border-top-color: var(--strata-rule);
}

.strata-source-row a,
.strata-scheme-facts a,
.strata-document-groups a {
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.strata-source-row small,
.strata-scheme-facts small,
.strata-document-groups small {
  color: var(--muted);
  font-size: 0.76rem;
}

.strata-scheme-facts {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.strata-scheme-facts h3 {
  font-size: 0.86rem;
}

.strata-scheme-facts ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1.5rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.strata-scheme-facts li {
  font-size: 0.85rem;
}

.strata-document-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.strata-document-groups h3 {
  margin: 0 0 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.strata-document-groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strata-document-groups li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--strata-rule);
  overflow-wrap: anywhere;
}

.strata-document-groups a {
  font-size: 0.9rem;
  font-weight: 700;
}

.strata-document-groups small {
  display: block;
}

.strata-details {
  margin-top: 0.9rem;
}

.strata-details details {
  border-top: 1px solid var(--line);
}

.strata-details details:last-child {
  border-bottom: 1px solid var(--line);
}

.strata-details summary {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.55rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.strata-details summary::-webkit-details-marker {
  display: none;
}

.strata-details summary::after {
  color: var(--accent);
  content: "+";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.strata-details details[open] summary::after {
  content: "–";
}

.strata-detail-grid {
  margin-top: 0;
  padding: 0 0 1.1rem;
}

.strata-detail-grid p {
  margin: 0;
  font-size: 0.88rem;
}

.strata-detail-grid p.strata-label {
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .strata-section h2 {
    scroll-margin-top: 5.5rem;
  }
}

@container strata (max-width: 48rem) {
  .strata-price-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strata-price-row > * {
    padding: 0.55rem 0.5rem;
  }

  .strata-price-row > * + * {
    border-left: 0;
  }

  .strata-price-row > .strata-price-label {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--strata-rule);
  }

  .strata-price-row > .strata-price-cell + .strata-price-cell,
  .strata-price-head > div + div {
    border-left: 1px solid var(--strata-rule);
  }

  /* Out of the grid but still the first column header for assistive technology. */
  .strata-price-head > .strata-price-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .strata-price-head > div {
    padding: 0.6rem 0.5rem;
  }

  .strata-provider-name {
    font-size: 0.9rem;
  }

  .strata-provider-model {
    font-size: 0.72rem;
  }

  .strata-provider-rates {
    font-size: 0.66rem;
  }

  .strata-provider-tag {
    display: block;
  }

  .strata-amount {
    font-size: 1.02rem;
  }

  .strata-price-cell {
    font-size: 0.76rem;
  }

  .strata-price-cell strong {
    font-size: 0.84rem;
  }

  .strata-price-cell small {
    font-size: 0.68rem;
  }

  .strata-section h2 {
    font-size: 1.55rem;
  }

  .strata-models,
  .strata-usage,
  .strata-exclusions,
  .strata-boxes,
  .strata-know,
  .strata-detail-grid,
  .strata-document-groups,
  .strata-scheme-facts ul,
  .strata-columns,
  .strata-smg-terms .strata-columns {
    grid-template-columns: 1fr;
  }

  .strata-columns {
    gap: 0.55rem;
  }

  .strata-columns-head {
    display: none;
  }

  .strata-cell-provider {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 0.35rem;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .strata-source-row {
    padding: 0.9rem 0;
  }

  .strata-source-row .strata-cell-provider,
  .strata-smg-terms .strata-cell-provider {
    margin-bottom: 0.15rem;
  }
}

@container strata (max-width: 30rem) {
  .strata-composition {
    display: none;
  }
}

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

.contact-role {
  display: flex;
  min-height: 10rem;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.role-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--cream);
  background: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  place-items: center;
}

.contact-role h2 {
  font-size: 1.35rem;
}

.contact-role p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.contact-role .contact-name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: calc(var(--sidebar-width) + 1rem);
  z-index: 50;
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--cream);
  background: var(--sidebar);
  text-align: center;
}

@media (max-width: 900px) {
  .sidebar {
    top: 4.3rem;
    right: 0;
    bottom: auto;
    width: 100%;
    padding: 0;
    background: var(--sidebar);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--mauve) 22%, transparent);
  }

  .sidebar .brand {
    display: none;
  }

  .site-navigation {
    display: none;
    gap: 0;
    margin: 0;
    padding: 0.6rem 1rem 0.9rem;
  }

  .site-navigation.is-open {
    display: grid;
  }

  .site-navigation a {
    margin: 0;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    height: 4.3rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    color: var(--cream);
    background: var(--sidebar);
  }

  .mobile-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
  }

  .mobile-brand .brand-mark {
    width: 2.3rem;
    height: 2.3rem;
  }

  .menu-button {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--cream) 55%, transparent);
    color: var(--cream);
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 1rem;
    height: 1px;
    background: currentcolor;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -0.3rem;
  }

  .menu-icon::after {
    top: 0.3rem;
  }

  .main-content {
    margin-left: 0;
    padding-top: clamp(2.5rem, 7vw, 4.25rem);
  }

  .noscript-message {
    left: 1rem;
  }
}

@media (max-width: 680px) {
  .project-grid,
  .contact-grid,
  .detail-header,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 1rem;
  }

  .detail-header {
    gap: 1rem;
  }

  .gallery-thumbnails {
    gap: 0.45rem;
  }

  .document-group {
    grid-template-columns: 2rem 1fr;
    gap: 0.45rem 1rem;
  }

  .document-group > p:not(.group-number),
  .document-group .empty-state {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project-card,
  .card-image-wrap img {
    transition: none;
  }
}

.strata-gate {
  max-width: 32rem;
}

.strata-gate label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.strata-gate-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.strata-gate input,
.strata-gate button {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  font: inherit;
}

.strata-gate input {
  min-width: 0;
  width: 12rem;
  max-width: 100%;
}

.strata-gate button {
  background: var(--accent);
  color: white;
  cursor: pointer;
}

#strata-gate-error {
  color: #9b2929;
}

.project-management-provider {
  display: block;
  width: 5rem;
  max-width: 100%;
  margin: 0 0 1.5rem calc((min(100%, 70ch) - 5rem) / 2);
}

.project-management-provider img {
  width: 100%;
  height: auto;
}

.project-management-copy {
  max-width: 70ch;
}

.project-management-copy section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.project-management-copy h2 {
  font-size: 1.35rem;
}

.project-management-copy li + li {
  margin-top: 0.75rem;
}
