:root {
  --ink: #172b35;
  --paper: #ede2d0;
  --paper-deep: #d8c7ae;
  --ocean: #0b5c68;
  --ocean-dark: #064550;
  --slate: #53656b;
  --white: #fffdf8;
  --content-max: 90rem;
  --reading-max: 46rem;
  --display: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", Tahoma, Arial, sans-serif;
  --radius: 0.45rem;
  --focus: #f4b942;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

p,
li {
  max-width: var(--reading-max);
}

a {
  color: var(--ocean-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #06353d;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
  box-shadow: 0 0 0 0.35rem var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1050;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ocean-dark);
  transform: translateY(-180%);
}

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

.container {
  width: min(100% - 2rem, var(--content-max));
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--ink);
  border-bottom: 0.35rem solid var(--ocean);
}

.site-header .container {
  position: relative;
}

.site-brand {
  display: inline-block;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-brand:hover {
  color: var(--paper);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  clear: both;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.15rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  text-decoration: underline;
}

.site-header .btn-outline-light {
  color: var(--white);
  border-color: var(--paper);
}

.site-header .btn-outline-light:hover,
.site-header .btn-outline-light:active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
}

.btn-primary {
  color: var(--white);
  background: var(--ocean-dark);
  border-color: var(--ocean-dark);
}

.btn-primary:hover,
.btn-primary:active {
  color: var(--white);
  background: #06353d;
  border-color: #06353d;
}

.btn-xl {
  padding: 0.85rem 1.35rem;
  font-size: 1.05rem;
}

main {
  overflow: hidden;
}

.editorial-hero,
.editorial-section {
  padding: clamp(4rem, 9vw, 8.5rem) 0;
}

.editorial-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-deep);
}

.editorial-hero .container {
  display: grid;
  gap: 1.25rem;
}

.editorial-hero h1,
.editorial-hero p,
.editorial-hero a {
  max-width: 58rem;
}

.section-kicker {
  margin-bottom: 0;
  color: var(--ocean-dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.editorial-section:nth-of-type(even) {
  background: var(--white);
}

.editorial-section:nth-of-type(3n) {
  background: #dce9e7;
}

.editorial-section:nth-of-type(5n) {
  background: var(--paper);
}

.editorial-section > .container > h2 {
  margin-bottom: 1rem;
}

.editorial-section > .container > h2 + p {
  margin-bottom: 2.25rem;
  font-size: 1.08rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.story-card {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid #b9c7c5;
  border-radius: var(--radius);
}

.story-card h3 {
  margin-top: 0;
}

.story-card a {
  font-weight: 700;
}

.section-layout--editorial-feature .story-card {
  border-top: 0.4rem solid var(--ocean);
}

.section-layout--services-cards .story-card {
  background: var(--paper);
  border-left: 0.4rem solid var(--ocean);
}

.section-layout--showcase-mosaic .story-card {
  border-radius: 0;
  box-shadow: 0 0.5rem 0 var(--paper-deep);
}

.section-layout--gallery-featured .editorial-grid {
  grid-template-columns: 1fr;
}

.story-art {
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
}

.story-art img,
.portrait-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-layout--gallery-featured .story-art:first-child {
  border: 0.35rem solid var(--ocean);
}

.section-layout--gallery-featured .story-art span {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
}

.portrait-art {
  max-width: 24rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
}

.section-layout--team-profiles .story-card {
  background: var(--paper);
}

.section-layout--contact-focused {
  background: var(--white);
}

.section-layout--contact-focused > .container {
  max-width: 40rem;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 0.35rem solid var(--ocean);
  border-radius: var(--radius);
}

.section-layout--contact-focused h2,
.section-layout--contact-focused > .container > p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-layout--contact-focused form {
  display: grid;
  gap: 0.45rem;
}

.section-layout--contact-focused label {
  margin-top: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

.section-layout--contact-focused input:not([type="checkbox"]),
.section-layout--contact-focused select,
.section-layout--contact-focused textarea {
  width: 100%;
  min-height: 3rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--slate);
  border-radius: var(--radius);
}

.section-layout--contact-focused textarea {
  min-height: 9rem;
}

.section-layout--contact-focused .form-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.section-layout--contact-focused .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.35rem;
}

.section-layout--contact-focused .form-check-label {
  margin: 0;
  font-weight: 400;
}

.section-layout--contact-focused button[type="submit"] {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
}

.cookie-banner {
  position: fixed;
  z-index: 1040;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 1rem;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 0.5rem 1.5rem rgba(23, 43, 53, 0.35);
}

.cookie-banner p {
  flex: 1 1 100%;
  margin: 0;
}

.cookie-banner [data-cookie-action] {
  padding: 0.45rem 0.7rem;
  color: var(--white);
  background: var(--ocean-dark);
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  font-weight: 700;
}

.site-footer {
  padding: 3rem 1rem;
  color: var(--white);
  background: var(--ink);
}

.site-footer address,
.site-footer .container,
.site-footer p {
  width: min(100%, var(--content-max));
  margin-right: auto;
  margin-left: auto;
}

.site-footer address {
  margin-bottom: 2rem;
  font-style: normal;
}

.site-footer a {
  color: var(--paper);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
}

.site-footer p {
  margin-top: 2rem;
  color: var(--paper);
}

.policy-page {
  min-height: 100vh;
  background: var(--paper);
}

.policy-page__main {
  padding: clamp(3rem, 8vw, 7rem) 1rem;
}

.policy-document {
  width: min(100%, var(--reading-max));
  margin: 0 auto;
}

.policy-document__header {
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ocean);
}

.policy-document__header h1 {
  margin-bottom: 0.75rem;
}

.policy-document__content {
  padding-top: 2rem;
}

.policy-document__content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.policy-document__content h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.policy-document__content p,
.policy-document__content li {
  max-width: none;
}

@media (min-width: 576px) {
  .container {
    width: min(100% - 3rem, var(--content-max));
  }

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

  .section-layout--showcase-mosaic .editorial-grid,
  .section-layout--gallery-featured .editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-layout--showcase-mosaic .story-card:first-child,
  .section-layout--gallery-featured .story-art:first-child {
    grid-column: span 2;
  }

  .cookie-banner p {
    flex: 1 1 20rem;
  }
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 4rem, var(--content-max));
  }

  .site-header--inline .site-nav,
  .site-header--centered-brand .site-nav {
    clear: none;
    float: right;
    margin-top: 0 !important;
  }

  .site-header--inline .site-brand {
    margin-top: 0.35rem;
  }

  .site-header--stacked-brand .site-brand {
    display: block;
    margin-bottom: 1rem;
  }

  .site-header--wrapped-nav .site-nav {
    max-width: 48rem;
  }

  .site-header--centered-brand .site-brand {
    display: block;
    width: fit-content;
    margin: 0 auto 0.75rem;
  }

  .site-header--centered-brand .site-nav {
    float: none;
    justify-content: center;
  }

  .section-layout--hero-editorial .container {
    min-height: 38rem;
    align-content: end;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .section-layout--hero-overlay .container {
    padding: 5rem;
  }

  .section-layout--hero-overlay .container > * {
    width: min(100%, 42rem);
    padding: 1rem 1.5rem;
    background: rgba(255, 253, 248, 0.96);
  }

  .section-layout--hero-image-top .container {
    display: flex;
    flex-direction: column;
  }

  .section-layout--hero-image-top .container > img,
  .section-layout--hero-image-top .container > .story-art {
    order: -1;
  }

  .section-layout--editorial-feature .editorial-grid {
    grid-template-columns: 1.25fr repeat(2, 1fr);
    align-items: start;
  }

  .section-layout--services-cards > .container > .story-card {
    max-width: 52rem;
  }

  .section-layout--team-profiles > .container > .story-card {
    display: grid;
    grid-template-columns: minmax(12rem, 24rem) 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .section-layout--team-profiles .portrait-art {
    grid-row: span 4;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .section-layout--showcase-mosaic .editorial-grid {
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
  }

  .section-layout--showcase-mosaic .story-card:first-child {
    grid-column: auto;
    grid-row: span 2;
  }

  .section-layout--gallery-featured .editorial-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    align-items: end;
  }

  .section-layout--gallery-featured .story-art:first-child {
    grid-column: auto;
    transform: translateY(-1.5rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Application-owned visual variation tokens v4. */
:root {
  --site-foreground: #24352B;
  --site-background: #F4EEE4;
  --site-accent: #8F3B24;
  --site-surface: #E8DED0;
  --site-muted: #56635A;
  --site-link: #8F3B24;
  --site-text-muted: #56635A;
}

body,
body * {
  font-family: Trebuchet MS, Arial, sans-serif !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: Trebuchet MS, Arial, sans-serif !important;
}

body .site-header {
  width: 100%;
  overflow: visible !important;
}

body .site-header .navbar {
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 4rem);
}

body .site-header .navbar > .container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

body .site-header .navbar-brand {
  min-width: 0;
  max-width: 38%;
  overflow-wrap: anywhere;
}

body .site-header .navbar-collapse {
  min-width: 0;
}

body .site-header .navbar-nav {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body .site-header .nav-link,
body .site-header .navbar-nav .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

@media (min-width: 992px) {
  body .site-header--stacked-brand .navbar > .container,
  body .site-header--centered-brand .navbar > .container {
    align-items: center;
  }

  body .site-header--stacked-brand .navbar > .container {
    flex-direction: column;
  }

  body .site-header--stacked-brand .navbar-brand,
  body .site-header--centered-brand .navbar-brand {
    max-width: 100%;
    margin-inline: auto;
  }

  body .site-header--stacked-brand .navbar-collapse,
  body .site-header--centered-brand .navbar-collapse {
    width: 100%;
    flex-grow: 0;
  }

  body .site-header--stacked-brand .navbar-nav,
  body .site-header--centered-brand .navbar-nav {
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  body .site-header .navbar-collapse.show {
    flex-basis: 100%;
  }

  body .site-header .navbar-nav {
    align-items: stretch;
  }
}

body .btn,
body button[type="submit"] {
  background-color: var(--site-accent) !important;
  border-color: var(--site-accent) !important;
  color: var(--site-background) !important;
}


section.section-layout--hero-split .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  align-items: center;
}

section.section-layout--hero-split .row > [class*="col-"] {
  max-width: none !important;
  width: auto !important;
}

section.section-layout--hero-stacked .row {
  display: block !important;
  max-width: 66rem;
  margin-inline: auto;
}

section.section-layout--hero-editorial .row {
  display: block !important;
  width: 100%;
  max-width: none !important;
  margin-inline: 0;
}

section.section-layout--hero-editorial .row > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0;
}

section.section-layout--hero-editorial .row > [class*="col-"] + [class*="col-"] {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

section.section-layout--hero-editorial img {
  display: block;
  width: 100%;
  max-height: 42rem;
  object-fit: cover;
}

section.section-layout--hero-overlay .row > [class*="col-"]:first-child {
  padding: clamp(1.5rem, 5vw, 5rem);
  margin: clamp(1rem, 3vw, 3rem);
  max-width: min(52rem, calc(100% - 2rem)) !important;
}

section.section-layout--hero-overlay h1 {
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

section.section-layout--hero-overlay p {
  margin-bottom: 1.25rem;
}

section.section-layout--hero-image-top > .container,
section.section-layout--hero-image-top > .container-fluid {
  width: min(calc(100% - 2rem), 90rem) !important;
  max-width: 90rem !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

section.section-layout--hero-image-top > .container > .row:first-child,
section.section-layout--hero-image-top > .container-fluid > .row:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

section.section-layout--hero-image-top > .container > .row:first-child > [class*="col-"],
section.section-layout--hero-image-top > .container-fluid > .row:first-child > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  padding-inline: 0 !important;
}

section.section-layout--hero-image-top > .container > .row:first-child > [class*="col-"]:has(img),
section.section-layout--hero-image-top > .container-fluid > .row:first-child > [class*="col-"]:has(img) {
  order: -1;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

section.section-layout--hero-image-top h1,
section.section-layout--hero-image-top .display-1,
section.section-layout--hero-image-top .display-2,
section.section-layout--hero-image-top .display-3 {
  max-width: 64rem !important;
}

section.section-layout--hero-image-top img {
  display: block;
  width: 100%;
  max-height: 42rem;
  object-fit: cover;
}

section.section-layout--hero-overlay {
  position: relative;
  isolation: isolate;
}

section.section-layout--hero-overlay .row {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: center;
}

section.section-layout--hero-overlay .row > [class*="col-"] {
  grid-area: 1 / 1;
  max-width: none !important;
  width: auto !important;
}

section.section-layout--hero-overlay .row > [class*="col-"]:first-child {
  position: relative;
  z-index: 2;
  max-width: 42rem !important;
}

section.section-layout--hero-overlay .row > [class*="col-"]:last-child {
  z-index: 1;
}

@media (max-width: 767.98px) {
  section.section-layout--hero-split .row {
    display: block !important;
  }
}

/* Application-owned accessibility and viewport safeguards. */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
}

pre, code, kbd, samp {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

.container, .container-fluid {
  min-width: 0;
}

main, section, header, footer {
  min-width: 0;
  max-width: 100%;
}

/* Application-owned fluid homepage container safeguards v1. */
body main > section .container,
body main > section .container-fluid {
  width: min(calc(100% - clamp(2rem, 6vw, 6rem)), 90rem) !important;
  max-width: 90rem !important;
  margin-inline: auto !important;
}

.skip-link:not(:focus) {
  position: fixed !important;
  top: 0;
  left: 50% !important;
  transform: translate(-50%, -160%);
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

@media (max-width: 575.98px) {
  .container > .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

/* Application-owned focused contact layout v1. */
section.section-layout--contact-focused > .container > .row,
section.section-layout--contact-focused > .container-fluid > .row {
  display: block !important;
  width: min(100%, 44rem) !important;
  margin-inline: auto !important;
}

section.section-layout--contact-focused > .container > .row > [class*="col-"],
section.section-layout--contact-focused > .container-fluid > .row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

section.section-layout--contact-focused :where(h2, h3, .lead) {
  text-align: center;
}

section.section-layout--contact-focused form[data-qa-contact-form] {
  width: min(100%, 40rem);
  margin: 1.75rem auto 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--site-accent, currentColor);
  border-radius: 0.5rem;
}

section.section-layout--contact-focused form[data-qa-contact-form] :where(input:not([type="hidden"]), select, textarea) {
  width: 100%;
}

section.section-layout--contact-focused form[data-qa-contact-form] label {
  display: block;
  margin-bottom: 0.45rem;
}

section.section-layout--contact-focused form[data-qa-contact-form] > .row,
section.section-layout--contact-focused form[data-qa-contact-form] .form-row {
  display: block !important;
}

section.section-layout--contact-focused form[data-qa-contact-form] > .row > [class*="col-"],
section.section-layout--contact-focused form[data-qa-contact-form] .form-row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

section.section-layout--contact-focused form[data-qa-contact-form] :where(button[type="submit"], input[type="submit"]) {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.75rem;
}

@media (max-width: 575.98px) {
  section.section-layout--contact-focused form[data-qa-contact-form] {
    padding: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .container > .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}
/* QA accessibility and interaction fixes. */
.editorial-hero { background: #15202b !important; color: #fff !important; }
.editorial-hero h1,
.editorial-hero p,
.editorial-hero .section-kicker { color: #fff !important; }
.section-layout--gallery-grid { background: #15202b !important; }
.section-layout--gallery-grid h2,
.section-layout--gallery-grid > .container > p { color: #fff !important; }
.story-art span { background: #15202b !important; color: #fff !important; }
[id="contact"] { background: #15202b !important; color: #fff !important; }
[id="contact"] h2,
[id="contact"] > .container > p { color: #fff !important; }
[id="contact"] form { background: #fff !important; color: #15202b !important; }
[id="contact"] form label { color: #15202b !important; }
[id="contact"] form a { color: #075985 !important; }
body.policy-page a,
.policy-document a,
.policy-page__main a { color: #075985 !important; }
.cookie-banner { color: #15202b !important; }
.cookie-banner h2,
.cookie-banner p { color: #15202b !important; }
.cookie-banner[hidden] { display: none !important; }
.site-nav[hidden] { display: none !important; }
@media (min-width: 769px) {
  .site-header [data-nav-toggle] { display: none !important; }
  .site-nav { display: flex !important; visibility: visible !important; }
}
@media (max-width: 768px) {
  .site-header [data-nav-toggle] { display: inline-block !important; }
}
.editorial-related-reading {
  max-width: 72rem;
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--wash, #f7f7f7);
  border-top: .3rem solid var(--accent, #0d6efd);
  border-radius: 1rem;
}
.editorial-related-reading h2 { margin-top: 0; margin-bottom: .75rem; }
.editorial-related-reading > p { max-width: 42rem; margin-bottom: 1.5rem; }
.editorial-related-reading ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.editorial-related-reading li { min-width: 0; }
.editorial-related-reading li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 100%; padding: 1rem 1.25rem; border: 1px solid rgba(0, 0, 0, .14); border-radius: .75rem; background: var(--paper, #fff); color: inherit; font-weight: 700; line-height: 1.35; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.editorial-related-reading li a::after { content: '→'; flex: 0 0 auto; color: var(--accent, #0d6efd); font-size: 1.25rem; }
.editorial-related-reading li a:hover, .editorial-related-reading li a:focus-visible { border-color: var(--accent, #0d6efd); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1); transform: translateY(-.15rem); }
@media (max-width: 640px) { .editorial-related-reading ul { grid-template-columns: 1fr; } }
.editorial-related-reading li a::after { content: '\2192'; }

/* The Graded Gallery Birmingham: dark museum gallery */
:root { --ink: #f4ead7; --paper: #2c2925; --wash: #3a352f; --accent: #c9a45d; --deep: #1f1d1a; }
body { background: #211f1c; color: var(--ink); font-family: "Arial Narrow", Arial, sans-serif; }
.site-header { background: #1f1d1a; border-bottom: 1px solid var(--accent); }
.site-header .container { max-width: 82rem; }
.site-brand { color: #f4ead7; font-family: Georgia, serif; font-size: 1.25rem; letter-spacing: .22em; text-transform: uppercase; }
.site-nav a { color: #f4ead7; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.editorial-hero { min-height: 32rem; margin: 2.5rem; padding: 3rem; place-items: end start; text-align: left; color: #f4ead7; background: linear-gradient(120deg, rgba(31, 29, 26, .94), rgba(31, 29, 26, .32)), linear-gradient(135deg, #51483e, #171615); border: 1px solid var(--accent); outline: 1px solid rgba(201, 164, 93, .45); outline-offset: .6rem; }
.editorial-section { padding: 5rem 0; background: #f4ead7; color: #2c2925; }
.editorial-section:nth-child(even) { background: #3a352f; color: #f4ead7; }
.editorial-section:nth-child(odd) { background: #f4ead7; color: #2c2925; }
.story-card { background: #2c2925; color: #f4ead7; border: 1px solid var(--accent); border-radius: 0; box-shadow: none; }
.editorial-section:nth-child(odd) .story-card { background: #fff7e9; color: #2c2925; }
.story-card h3 { font-family: Georgia, serif; font-weight: 400; }
.story-card a { color: var(--accent); }
.story-art, .portrait-art { min-height: 15rem; border: 1px solid var(--accent); background: linear-gradient(135deg, #665849, #252321); filter: saturate(.65); }
.article-page, .article-shell { max-width: 82rem; margin: 0 auto; padding: 5rem 2rem; }
.article-body { max-width: 54rem; margin-inline: auto; color: #f4ead7; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.85; }
.article-page .article-header, .article-page figure { max-width: 62rem; margin-inline: auto; }
.editorial-related-reading { background: #3a352f; border: 1px solid var(--accent); border-top: .35rem solid var(--accent); border-radius: 0; box-shadow: .7rem .7rem 0 rgba(0, 0, 0, .28); }
.editorial-related-reading li a { background: #211f1c; border-color: var(--accent); border-radius: 0; color: #f4ead7; }
.site-footer { background: #1f1d1a; color: #f4ead7; border-top: 1px solid var(--accent); }
@media (max-width: 640px) { .editorial-hero { margin: 1rem; outline-offset: .3rem; } }
.editorial-publication-date { display: flex; align-items: baseline; gap: .75rem; width: fit-content; margin: 1rem 0 2rem; padding: .65rem .9rem; border-left: .35rem solid var(--accent); background: rgba(31, 29, 26, .08); color: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.editorial-publication-date .publication-label { color: var(--accent); }
/* Contrast and About page: exhibition catalogue */
.editorial-section:nth-child(even) h1, .editorial-section:nth-child(even) h2, .editorial-section:nth-child(even) h3 { color: #f4ead7; }
.editorial-section:nth-child(even) p, .editorial-section:nth-child(even) li { color: #f4ead7; }
.editorial-section:nth-child(odd) h1, .editorial-section:nth-child(odd) h2, .editorial-section:nth-child(odd) h3 { color: #2c2925; }
.editorial-section:nth-child(odd) p, .editorial-section:nth-child(odd) li { color: #2c2925; }
body:not(.about-page) .editorial-section:nth-child(even) h1, body:not(.about-page) .editorial-section:nth-child(even) h2, body:not(.about-page) .editorial-section:nth-child(even) h3, body:not(.about-page) .editorial-section:nth-child(even) .section-kicker { color: #f4ead7 !important; }
body:not(.about-page) .editorial-section:nth-child(even) p, body:not(.about-page) .editorial-section:nth-child(even) li { color: #f4ead7 !important; }
body:not(.about-page) .editorial-section:nth-child(odd) h1, body:not(.about-page) .editorial-section:nth-child(odd) h2, body:not(.about-page) .editorial-section:nth-child(odd) h3, body:not(.about-page) .editorial-section:nth-child(odd) .section-kicker { color: #2c2925 !important; }
body:not(.about-page) .editorial-section:nth-child(odd) p, body:not(.about-page) .editorial-section:nth-child(odd) li { color: #2c2925 !important; }
body.about-page { background: #211f1c; color: #f4ead7; }
body.about-page #main { max-width: 82rem; margin: 0 auto; padding: 4rem 2rem 6rem; }
body.about-page #main > h1 { margin: 0 0 1rem; padding: 1.5rem; color: #f4ead7; font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 400; border: 1px solid var(--accent); outline: 1px solid rgba(201, 164, 93, .4); outline-offset: .45rem; }
body.about-page #main > h1 + p { max-width: 48rem; margin: 3rem 0; color: #f4ead7; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.8; }
body.about-page [data-editorial-transparency], body.about-page [data-editorial-about-links] { margin: 2rem 0; padding: 2rem; background: #3a352f; border: 1px solid var(--accent); }
body.about-page h2 { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
body.about-page p, body.about-page li { color: #f4ead7; line-height: 1.8; }
body.about-page [data-editorial-about-links] ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; }
body.about-page [data-editorial-about-links] li a { display: block; height: 100%; padding: 1rem; border: 1px solid var(--accent); color: #f4ead7; text-decoration: none; }
@media (max-width: 700px) { body.about-page [data-editorial-about-links] ul { grid-template-columns: 1fr; } }
/* Final contrast pass: gallery footer, consent, contact and policy links */
.cookie-banner { background: #fff7e9 !important; color: #2c2925 !important; border-color: #c9a45d !important; }
.cookie-banner h2, .cookie-banner p { color: #2c2925 !important; }
.cookie-banner [data-cookie-action] { display: inline-flex !important; background: #2c2925 !important; color: #f4ead7 !important; border-color: #c9a45d !important; }
.site-footer, .site-footer address, .site-footer p { color: #f4ead7 !important; }
.site-footer a { color: #f4ead7 !important; }
.site-footer a:hover, .site-footer a:focus-visible { color: #f2c878 !important; }
body:not(.about-page) [id="contact"] { background: #2c2925 !important; color: #f4ead7 !important; }
body:not(.about-page) [id="contact"] h2, body:not(.about-page) [id="contact"] > .container > p { color: #f4ead7 !important; }
body:not(.about-page) [id="contact"] form { background: #fff7e9 !important; color: #2c2925 !important; }
body:not(.about-page) [id="contact"] form label { color: #2c2925 !important; }
form[data-qa-contact-form] .form-check { display: flex !important; align-items: flex-start; gap: .6rem; }
form[data-qa-contact-form] .form-check-input[type="checkbox"] { width: 1rem !important; min-width: 1rem; height: 1rem; margin: .25rem 0 0; flex: 0 0 1rem; }

/* Restore readable pairings for the gallery utility sections and forms. */
body:not(.about-page) .bg-ink { background: #2c2925 !important; color: #f4ead7 !important; }
body:not(.about-page) .bg-ink h1,
body:not(.about-page) .bg-ink h2,
body:not(.about-page) .bg-ink h3,
body:not(.about-page) .bg-ink p,
body:not(.about-page) .bg-ink li { color: #f4ead7 !important; }
body:not(.about-page) .bg-ink a { color: #f2c878 !important; }
body:not(.about-page) .bg-warm { background: #f4ead7 !important; color: #2c2925 !important; }
body:not(.about-page) .bg-warm h1,
body:not(.about-page) .bg-warm h2,
body:not(.about-page) .bg-warm h3,
body:not(.about-page) .bg-warm p,
body:not(.about-page) .bg-warm li { color: #2c2925 !important; }
body:not(.about-page) .bg-light,
body:not(.about-page) #approach { background: #f4ead7 !important; color: #2c2925 !important; }
body:not(.about-page) .bg-light h1,
body:not(.about-page) .bg-light h2,
body:not(.about-page) .bg-light h3,
body:not(.about-page) .bg-light p,
body:not(.about-page) .bg-light li,
body:not(.about-page) #approach h1,
body:not(.about-page) #approach h2,
body:not(.about-page) #approach h3,
body:not(.about-page) #approach p,
body:not(.about-page) #approach li { color: #2c2925 !important; }
.section-layout--contact-focused form :where(input, select, textarea) {
  background: #fff7e9 !important;
  color: #2c2925 !important;
  border-color: #8d7464 !important;
}
.section-layout--contact-focused form option { color: #2c2925 !important; }

/* Exhibition partnerships page: a quiet museum catalogue treatment. */
body.exhibition-page { background: #f4ead7 !important; color: #2c2925 !important; }
body.exhibition-page .exhibition-hero { display: grid; grid-template-columns: 1.3fr .7fr; min-height: 620px; background: #2c2925; color: #f4ead7; }
body.exhibition-page .exhibition-hero__copy { padding: 8rem clamp(2rem, 8vw, 8rem); align-self: center; }
body.exhibition-page .exhibition-label { color: #f2c878 !important; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
body.exhibition-page .exhibition-hero h1 { max-width: 760px; margin: 1.2rem 0; color: #fff7e9 !important; font-family: Georgia, serif; font-size: clamp(3.2rem, 7vw, 7.5rem); line-height: .92; }
body.exhibition-page .exhibition-hero p:not(.exhibition-label) { max-width: 560px; color: #e7d9c1 !important; font-size: 1.2rem; line-height: 1.7; }
body.exhibition-page .exhibition-button { display: inline-block; margin-top: 1rem; padding: .8rem 1.2rem; background: #f2c878; color: #2c2925 !important; font-weight: 800; text-decoration: none; }
body.exhibition-page .exhibition-hero__index { display: flex; flex-direction: column; justify-content: end; padding: 3rem; border-left: 1px solid #7d6b55; background: #3b3630; }
body.exhibition-page .exhibition-hero__index span { color: #f2c878; font-size: 5rem; font-family: Georgia, serif; }
body.exhibition-page .exhibition-hero__index p, body.exhibition-page .exhibition-hero__index strong { color: #f4ead7 !important; }
body.exhibition-page .exhibition-hero__index strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1.05; }
body.exhibition-page .exhibition-principles { padding: 6rem 7vw; background: #f4ead7; }
body.exhibition-page .exhibition-section-title { display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; border-bottom: 1px solid #bda98a; padding-bottom: 2rem; }
body.exhibition-page .exhibition-section-title h2 { color: #2c2925 !important; font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; margin: 0; }
body.exhibition-page .exhibition-principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
body.exhibition-page .exhibition-principle-grid article { padding: 2rem; border: 1px solid #bda98a; background: #fff7e9; }
body.exhibition-page .exhibition-principle-grid span { color: #a14a2a; font-size: 2rem; font-family: Georgia, serif; }
body.exhibition-page .exhibition-principle-grid h3, body.exhibition-page .exhibition-principle-grid p { color: #2c2925 !important; }
body.exhibition-page .exhibition-principle-grid h3 { font-family: Georgia, serif; font-size: 1.8rem; }
body.exhibition-page .exhibition-principle-grid p { line-height: 1.7; }
body.exhibition-page .exhibition-formats { padding: 6rem 7vw; background: #fff7e9; }
body.exhibition-page .exhibition-format-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 2rem 0 5rem; border-top: 1px solid #bda98a; }
body.exhibition-page .exhibition-format-row > div { padding: 2rem 1rem 2rem 0; border-bottom: 1px solid #bda98a; }
body.exhibition-page .exhibition-format-row strong, body.exhibition-page .exhibition-format-row p { color: #2c2925 !important; }
body.exhibition-page .exhibition-format-row strong { font-family: Georgia, serif; font-size: 1.3rem; }
body.exhibition-page .exhibition-format-row p { line-height: 1.6; }
body.exhibition-page .exhibition-footer-note { max-width: 800px; padding: 2.5rem; background: #2c2925; }
body.exhibition-page .exhibition-footer-note h2, body.exhibition-page .exhibition-footer-note p { color: #fff7e9 !important; font-family: Georgia, serif; }
body.exhibition-page .exhibition-footer-note a { color: #f2c878 !important; }
@media (max-width: 760px) { body.exhibition-page .exhibition-hero, body.exhibition-page .exhibition-section-title, body.exhibition-page .exhibition-principle-grid, body.exhibition-page .exhibition-format-row { grid-template-columns: 1fr; } }
form[data-qa-contact-form] .form-check-label { display: block !important; flex: 1 1 auto; min-width: 0; }
body.policy-page section#contact { padding: 1.5rem; background: #2c2925; color: #f4ead7; }
body.policy-page section#contact h2, body.policy-page section#contact p { color: #f4ead7 !important; }
body.policy-page section#contact a { color: #f2c878 !important; }
body:not(.about-page) .keyword-context { max-width: 58rem; padding: 1rem 1.25rem; border-left: 4px solid #a14a2a; background: #fff7e9; color: #2c2925 !important; line-height: 1.7; }
