@layer reset, base, components, themes, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul { margin: 0; }
  body { min-width: 320px; }
  img { display: block; max-width: 100%; }
  button, input { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  a { color: inherit; }
}

@layer base {
  :root {
    --red: #c4243b;
    --red-dark: #941a2c;
    --ink: #171719;
    --muted: #68676a;
    --paper: #f7f5ef;
    --surface: #fff;
    --line: rgba(23, 23, 25, .14);
    --shadow: 0 28px 70px rgba(31, 22, 23, .12);
    --radius: 1.25rem;
    --heading: Georgia, "Times New Roman", serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: light;
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    padding-top: 4.25rem;
  }
  body.production-site { padding-top: 0; }

  h1, h2, h3 { font-family: var(--heading); font-weight: 700; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
  h1 { font-size: clamp(3.6rem, 8vw, 8.25rem); }
  h2 { font-size: clamp(2.6rem, 5vw, 5.3rem); }
  h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
  p { text-wrap: pretty; }
  .lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; }
  .shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
  .section { padding-block: clamp(5rem, 10vw, 9rem); }
  .eyebrow { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.25; text-transform: uppercase; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem; background: #fff; color: #000; transform: translateY(-150%); }
  .skip-link:focus { transform: translateY(0); }
}

@layer components {
  .theme-dock {
    align-items: center;
    background: #111115;
    color: #fff;
    display: flex;
    gap: 1rem;
    height: 4.25rem;
    justify-content: center;
    left: 0;
    padding: .6rem 1rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
  }

  .theme-dock__label { color: #aaaab1; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
  .theme-switcher { display: flex; gap: .35rem; }
  .theme-switcher button { align-items: center; background: transparent; border: 1px solid #3c3c42; border-radius: 999px; color: #d6d6da; cursor: pointer; display: flex; font-size: .78rem; font-weight: 700; gap: .45rem; padding: .55rem .8rem; transition: .2s ease; }
  .theme-switcher button:hover, .theme-switcher button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #111115; }
  .theme-switcher button span { background: #c4243b; border-radius: 50%; display: block; height: .55rem; width: .55rem; }
  .theme-switcher button:nth-child(2) span { background: #b68d45; }
  .theme-switcher button:nth-child(3) span { background: #ff5a5f; }
  .theme-switcher button:nth-child(4) span { background: #151515; border: 1px solid #ddd; }

  .site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
  .site-header__inner { align-items: center; display: flex; justify-content: space-between; min-height: 6rem; }
  .brand { align-items: center; display: inline-flex; gap: .8rem; text-decoration: none; }
  .brand__roundel { display: none; height: 3.7rem; object-fit: contain; width: 3.7rem; }
  .brand__wordmark { height: 4.1rem; object-fit: contain; object-position: left center; width: auto; }
  .brand__wordmark--dark-background { display: none; }
  .site-nav { align-items: center; display: flex; gap: 1.7rem; }
  .site-nav a { font-size: .82rem; font-weight: 750; letter-spacing: .03em; text-decoration: none; }
  .site-nav a:not(.nav-cta) { padding-block: .6rem; position: relative; }
  .site-nav a:not(.nav-cta)::after { background: var(--red); bottom: .25rem; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; width: 100%; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta { border: 1px solid var(--ink); border-radius: 0; padding: .7rem 1rem; }
  .menu-toggle { background: transparent; border: 0; color: inherit; cursor: pointer; display: none; height: 3rem; padding: .7rem; width: 3rem; }
  .menu-toggle > span:not(.sr-only) { background: currentColor; display: block; height: 2px; margin-block: 5px; transition: .2s ease; width: 100%; }

  .hero { min-height: min(780px, calc(100vh - 10rem)); overflow: hidden; position: relative; }
  .hero__image { background: linear-gradient(90deg, rgba(12, 9, 10, .78), rgba(12, 9, 10, .12)), url("/images/the-olive-tree-meeting.jpg") center 43% / cover no-repeat; inset: 0; position: absolute; }
  .hero__image::after { background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 45%); content: ""; inset: 0; position: absolute; }
  .hero__content { align-items: flex-end; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: inherit; padding-bottom: clamp(4rem, 8vw, 7rem); padding-top: 5rem; position: relative; z-index: 2; }
  .hero__copy { max-width: 860px; }
  .hero h1 { margin-block: 1.2rem 1.6rem; }
  .hero h1 em { color: #ffb5bd; font-weight: inherit; }
  .hero__intro { font-size: clamp(1.05rem, 1.7vw, 1.35rem); max-width: 680px; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .button { align-items: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; display: inline-flex; font-size: .84rem; font-weight: 800; gap: .8rem; justify-content: center; letter-spacing: .02em; min-height: 3.2rem; padding: .8rem 1.3rem; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
  .button:hover { transform: translateY(-2px); }
  .button--primary { background: var(--red); color: #fff; }
  .button--primary:hover { background: var(--red-dark); }
  .button--ghost { backdrop-filter: blur(8px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
  .button--ghost:hover { background: #fff; color: #111; }
  .button--full { border: 0; width: 100%; }
  .hero__badge { align-items: center; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: flex; flex-direction: column; height: 9.5rem; justify-content: center; line-height: 1; margin-left: 2rem; text-align: center; }
  .hero__badge strong { font-family: var(--heading); font-size: 2.5rem; }
  .hero__badge small { border-top: 1px solid rgba(255,255,255,.35); font-size: .62rem; margin-top: .65rem; padding-top: .65rem; text-transform: uppercase; }

  .ticker { background: var(--red); color: #fff; overflow: hidden; padding-block: 1.05rem; white-space: nowrap; }
  .ticker div { align-items: center; animation: ticker 28s linear infinite; display: flex; gap: 2rem; justify-content: center; min-width: max-content; }
  .ticker span { font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
  .ticker i { font-family: var(--heading); font-size: 1.25rem; font-style: normal; opacity: .55; }
  @keyframes ticker { to { transform: translateX(-12%); } }

  .intro__grid { display: grid; gap: clamp(2rem, 7vw, 8rem); grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); }
  .intro h2 { margin-top: 1rem; }
  .intro__copy { align-self: end; max-width: 610px; }
  .intro__copy p + p { margin-top: 1rem; }
  .intro__copy .lead { margin-bottom: 1.5rem; }
  .text-link { display: inline-flex; font-size: .82rem; font-weight: 850; gap: .6rem; margin-top: 1.6rem; text-decoration: none; }
  .text-link span { transition: transform .2s ease; }
  .text-link:hover span { transform: translateX(.3rem); }

  .moments { background: var(--ink); color: #fff; }
  .section-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: 3rem; }
  .section-heading h2 { margin-top: .9rem; max-width: 760px; }
  .moment-grid { display: grid; gap: 1rem; grid-template-columns: 1.35fr .82fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); }
  .moment { border-radius: var(--radius); min-height: 300px; overflow: hidden; position: relative; }
  .moment--large { grid-row: span 2; }
  .moment::after { background: linear-gradient(0deg, rgba(9,8,9,.88), transparent 68%); content: ""; inset: 0; position: absolute; }
  .moment img { height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; }
  .moment:hover img { transform: scale(1.03); }
  .moment > div { bottom: 0; display: grid; gap: .3rem 1rem; grid-template-columns: auto 1fr; left: 0; padding: clamp(1.3rem, 3vw, 2.2rem); position: absolute; right: 0; z-index: 1; }
  .moment > div span { color: var(--red); font-size: .68rem; font-weight: 850; grid-row: span 2; letter-spacing: .12em; padding-top: .25rem; }
  .moment h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); }
  .moment p { color: rgba(255,255,255,.75); font-size: .86rem; }

  .value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .value-grid article { border-left: 1px solid var(--line); padding: 1rem clamp(1.5rem, 4vw, 3.5rem); }
  .value-grid article:last-child { border-right: 1px solid var(--line); }
  .value-grid span { color: var(--red); font-family: var(--heading); font-size: 1rem; }
  .value-grid h3 { margin-block: 2.5rem 1rem; }
  .value-grid p { color: var(--muted); }

  .resources { background: var(--surface); border-block: 1px solid var(--line); }
  .resources__heading { align-items: end; display: grid; gap: 2rem; grid-template-columns: 1fr minmax(280px, .65fr); margin-bottom: 3.5rem; }
  .resources__heading h2 { margin-top: .9rem; }
  .resources__heading > p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
  .resource-grid { display: grid; gap: 1rem; grid-template-columns: 1.1fr .9fr; }
  .resource-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); display: grid; gap: 2rem; grid-template-columns: auto 1fr; min-height: 390px; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem); position: relative; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
  .resource-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
  .resource-card--featured { background: var(--ink); color: #fff; }
  .resource-card__number { font-size: .68rem; font-weight: 850; letter-spacing: .12em; opacity: .55; }
  .resource-card__icon { align-items: center; background: var(--red); color: #fff; display: flex; flex-direction: column; height: 6.5rem; justify-content: center; line-height: 1; position: absolute; right: 2rem; top: 2rem; transform: rotate(3deg); width: 5rem; }
  .resource-card__icon::before { border-left: 1.1rem solid transparent; border-top: 1.1rem solid color-mix(in srgb, var(--red) 68%, #000); bottom: -1.1rem; content: ""; left: 0; position: absolute; }
  .resource-card__icon span { font-size: 1.2rem; font-weight: 900; }
  .resource-card__icon i { border-top: 1px solid rgba(255,255,255,.45); font-size: .68rem; font-style: normal; margin-top: .65rem; padding-top: .5rem; }
  .resource-card__copy { align-self: end; grid-column: 1 / -1; max-width: 80%; }
  .resource-card__meta { color: var(--red); display: block; font-size: .68rem; font-weight: 850; letter-spacing: .1em; margin-bottom: 1rem; text-transform: uppercase; }
  .resource-card--featured .resource-card__meta { color: var(--red); }
  .resource-card h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 1rem; }
  .resource-card p { color: var(--muted); }
  .resource-card--featured p { color: rgba(255,255,255,.7); }
  .resource-card__action { align-items: center; display: flex; font-size: .78rem; font-weight: 850; grid-column: 1 / -1; justify-content: space-between; padding-top: .5rem; }
  .resource-card__action i { font-size: 1.2rem; font-style: normal; transition: transform .2s ease; }
  .resource-card:hover .resource-card__action i { transform: translate(.2rem, -.2rem); }

  .apply { background: #e9e4db; }
  .apply__grid { align-items: start; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr); }
  .apply__copy h2 { margin-block: 1rem 1.6rem; }
  .apply__copy > .lead { max-width: 590px; }
  .apply__copy ul { display: grid; gap: 1.2rem; list-style: none; margin-top: 2.5rem; padding: 0; }
  .apply__copy li { border-top: 1px solid var(--line); display: grid; gap: .8rem; grid-template-columns: 9rem 1fr; padding-top: 1.2rem; }
  .apply__copy li strong { font-size: .85rem; }
  .apply__copy li span { color: var(--muted); font-size: .9rem; }
  .contact-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 3rem); }
  .contact-card__heading { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: .5rem; padding-bottom: 1rem; }
  .contact-card__heading span { font-family: var(--heading); font-size: 1.55rem; font-weight: 700; white-space: nowrap; }
  .contact-card__heading small { color: var(--muted); }
  .contact-card label { color: var(--muted); display: grid; font-size: .68rem; font-weight: 800; gap: .42rem; letter-spacing: .08em; text-transform: uppercase; }
  .contact-card input { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); font-size: 1rem; outline: 0; padding: .6rem 0 .8rem; text-transform: none; transition: border-color .2s ease; width: 100%; }
  .contact-card input:focus { border-color: var(--red); }
  .field-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
  .form-status { min-height: 1.5rem; }
  .form-status.is-error { color: #a2182b; }
  .form-status.is-success { color: #147449; }
  .contact-card__terms { color: var(--muted); line-height: 1.4; text-align: center; }
  .website-field { border: 0 !important; clip: rect(0, 0, 0, 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; white-space: nowrap !important; width: 1px !important; }

  .site-footer { background: #111114; color: #fff; padding-block: 4rem 2rem; }
  .site-footer__top { align-items: center; display: grid; gap: 2rem; grid-template-columns: 1fr auto 1fr; }
  .brand--footer .brand__wordmark { height: 4.8rem; }
  .brand--footer .brand__wordmark--light-background { display: none; }
  .brand--footer .brand__wordmark--dark-background { display: block; }
  .site-footer__top > p { color: var(--red); font-family: var(--heading); font-size: 1.2rem; }
  .site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: end; }
  .site-footer nav a { color: #c8c8cc; font-size: .78rem; text-decoration: none; }
  .site-footer nav a:hover { color: #fff; }
  .site-footer .footer-social { gap: .65rem; }
  .footer-social a { align-items: center; border: 1px solid #3b3b38; display: inline-flex; height: 2.8rem; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; width: 2.8rem; }
  .footer-social a:hover { background: #2b2b28; border-color: #5a5a55; }
  .footer-social svg { fill: currentColor; height: 1.2rem; width: 1.2rem; }
  .footer-social__tabler img { height: 1.55rem; object-fit: cover; object-position: right; width: 1.55rem; }
  .site-footer__bottom { border-top: 1px solid #333338; color: #86868e; display: flex; font-size: .72rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; }

  .thanks-dialog { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0,0,0,.3); color: var(--ink); max-width: 520px; padding: 3rem; text-align: center; width: calc(100% - 2rem); }
  .thanks-dialog::backdrop { backdrop-filter: blur(8px); background: rgba(15, 12, 13, .7); }
  .thanks-dialog img { margin: 0 auto 1.5rem; }
  .thanks-dialog h2 { font-size: 2.5rem; margin-block: .7rem 1rem; }
  .thanks-dialog .button { margin-top: 1.5rem; }
  .dialog-close { background: transparent; border: 0; cursor: pointer; font-size: 2rem; line-height: 1; padding: .5rem; position: absolute; right: .6rem; top: .5rem; }
}

@layer themes {
  html[data-theme="heritage"] {
    --ink: #241a1b;
    --muted: #6c6061;
    --paper: #f7f0e6;
    --surface: #fffaf4;
    --line: rgba(52, 28, 31, .15);
    --red: #bd233a;
    --red-dark: #8c1729;
  }
  html[data-theme="heritage"] .hero__image { clip-path: inset(0 0 0 38%); filter: saturate(.8) sepia(.08); }
  html[data-theme="heritage"] .hero { background: #32161c; }
  html[data-theme="heritage"] .hero__content { align-items: center; }
  html[data-theme="heritage"] .hero__copy { max-width: 650px; }
  html[data-theme="heritage"] .hero h1 { font-size: clamp(4rem, 7.3vw, 7.3rem); }
  html[data-theme="heritage"] .hero h1 em { font-style: italic; }
  html[data-theme="heritage"] .hero__badge { margin-bottom: auto; margin-top: 4rem; }

  html[data-theme="rtbi"] {
    --heading: "Open Sans", Arial, Helvetica, sans-serif;
    --body: "Open Sans", Arial, sans-serif;
    --ink: #1d1d1a;
    --muted: #5d5d58;
    --paper: #f4f1e9;
    --surface: #ffffff;
    --line: rgba(29, 29, 26, .18);
    --red: #df0038;
    --red-dark: #a8002a;
    --radius: 0;
    --shadow: 16px 16px 0 #000;
  }
  html[data-theme="rtbi"] h1, html[data-theme="rtbi"] h2, html[data-theme="rtbi"] h3 { font-weight: 800; letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }
  html[data-theme="rtbi"] .eyebrow { color: #8a5700; }
  html[data-theme="rtbi"] .site-header { background: #1d1d1a; border-color: #363631; color: #fff; }
  html[data-theme="rtbi"] .site-header__inner { min-height: 5.7rem; }
  html[data-theme="rtbi"] .brand__roundel { display: none; }
  html[data-theme="rtbi"] .site-header .brand__wordmark--light-background { display: none; }
  html[data-theme="rtbi"] .site-header .brand__wordmark--dark-background { display: block; }
  html[data-theme="rtbi"] .site-nav a:not(.nav-cta)::after { background: #fbaf33; }
  html[data-theme="rtbi"] .nav-cta { background: #fbaf33; border-color: #fbaf33; color: #000; }
  html[data-theme="rtbi"] .hero { background: #000; min-height: min(800px, calc(100vh - 9.9rem)); }
  html[data-theme="rtbi"] .hero__image { background-image: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.1)), url("/images/the-harbour-hotel-meeting.jpg"); background-position: center 48%; filter: saturate(.92) contrast(1.05); }
  html[data-theme="rtbi"] .hero__image::after { background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 50%); }
  html[data-theme="rtbi"] .hero__content { align-items: end; }
  html[data-theme="rtbi"] .hero__copy { max-width: 900px; }
  html[data-theme="rtbi"] .hero h1 { font-size: clamp(4rem, 8vw, 8.2rem); line-height: .88; max-width: 920px; }
  html[data-theme="rtbi"] .hero h1 em { color: #fbaf33; font-style: normal; }
  html[data-theme="rtbi"] .hero__intro { border-left: 6px solid #fbaf33; padding-left: 1.2rem; }
  html[data-theme="rtbi"] .button--primary { color: #fff; }
  html[data-theme="rtbi"] .button--ghost { background: rgba(0,0,0,.3); border-color: #fff; color: #fff; }
  html[data-theme="rtbi"] .button--ghost:hover { background: #fff; color: #000; }
  html[data-theme="rtbi"] .hero__badge { background: #df0038; border: 0; border-radius: 0; color: #fff; transform: rotate(2deg); }
  html[data-theme="rtbi"] .ticker { background: #df0038; color: #fff; }
  html[data-theme="rtbi"] .intro h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
  html[data-theme="rtbi"] .moments { background: #1d1d1a; }
  html[data-theme="rtbi"] .moment { border: 1px solid #3b3b36; }
  html[data-theme="rtbi"] .moment > div span { color: #fbaf33; }
  html[data-theme="rtbi"] .value-grid span { color: #a8002a; }
  html[data-theme="rtbi"] .resources { background: #fff; }
  html[data-theme="rtbi"] .resource-card--featured { background: #1d1d1a; }
  html[data-theme="rtbi"] .resource-card__icon { background: #df0038; color: #fff; }
  html[data-theme="rtbi"] .resource-card__icon::before { border-top-color: #990026; }
  html[data-theme="rtbi"] .resource-card--featured .resource-card__meta { color: #fbaf33; }
  html[data-theme="rtbi"] .apply { background: #f4f1e9; }
  html[data-theme="rtbi"] .apply .eyebrow { color: #a8002a; }
  html[data-theme="rtbi"] .apply__copy li { border-color: rgba(29,29,26,.2); }
  html[data-theme="rtbi"] .apply__copy li span { color: #5d5d58; }
  html[data-theme="rtbi"] .contact-card { border: 3px solid #df0038; box-shadow: 14px 14px 0 #1d1d1a; }
  html[data-theme="rtbi"] .contact-card .button--primary { background: #df0038; color: #fff; }
  html[data-theme="rtbi"] .site-footer { background: #000; }
  html[data-theme="rtbi"] .site-footer__top > p { color: #fbaf33; }

  html[data-theme="city"] {
    --heading: Impact, Haettenschweiler, "Arial Narrow Bold", ui-sans-serif, system-ui, sans-serif;
    --body: Arial, Helvetica, sans-serif;
    --ink: #080d1c;
    --muted: #687086;
    --paper: #eef1f7;
    --surface: #fff;
    --line: rgba(8, 13, 28, .16);
    --red: #ff435b;
    --red-dark: #d61f3a;
    --radius: 0;
  }
  html[data-theme="city"] h1, html[data-theme="city"] h2, html[data-theme="city"] h3 { letter-spacing: -.015em; text-transform: uppercase; }
  html[data-theme="city"] .site-header { background: #080d1c; border-color: #293149; color: #fff; }
  html[data-theme="city"] .brand__wordmark { filter: grayscale(1) brightness(0) invert(1); }
  html[data-theme="city"] .nav-cta { border-color: var(--red); background: var(--red); color: #080d1c; }
  html[data-theme="city"] .hero { background: #080d1c; min-height: min(820px, calc(100vh - 10rem)); }
  html[data-theme="city"] .hero__image { background-image: linear-gradient(90deg, rgba(8,13,28,.2), rgba(8,13,28,.78)), url("/images/portsmeeting.jpg"); clip-path: polygon(43% 0, 100% 0, 100% 100%, 24% 100%); filter: grayscale(.25) contrast(1.1); }
  html[data-theme="city"] .hero__image::after { background: linear-gradient(0deg, #080d1c 0, transparent 35%); }
  html[data-theme="city"] .hero__content { align-items: center; }
  html[data-theme="city"] .hero__copy { max-width: 800px; }
  html[data-theme="city"] .hero h1 { font-size: clamp(4.8rem, 10vw, 10rem); line-height: .78; max-width: 900px; }
  html[data-theme="city"] .hero h1 em { color: var(--red); font-style: normal; }
  html[data-theme="city"] .hero__intro { border-left: 5px solid var(--red); padding-left: 1.2rem; }
  html[data-theme="city"] .hero__badge { background: var(--red); border: 0; border-radius: 0; color: #080d1c; transform: rotate(3deg); }
  html[data-theme="city"] .ticker { background: #d8ff42; color: #080d1c; transform: rotate(-1deg) scale(1.02); }
  html[data-theme="city"] .intro h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
  html[data-theme="city"] .moments { background: #080d1c; }
  html[data-theme="city"] .moment { border: 1px solid #30384f; }
  html[data-theme="city"] .moment > div span { color: #d8ff42; }
  html[data-theme="city"] .value-grid span { background: #d8ff42; color: #080d1c; display: inline-flex; font-family: var(--body); font-weight: 900; padding: .25rem .45rem; }
  html[data-theme="city"] .apply { background: var(--red); }
  html[data-theme="city"] .apply .eyebrow { color: #080d1c; }
  html[data-theme="city"] .apply__copy li { border-color: rgba(8,13,28,.35); }
  html[data-theme="city"] .apply__copy li span { color: #32121a; }
  html[data-theme="city"] .contact-card { border: 4px solid #080d1c; box-shadow: 18px 18px 0 #080d1c; }
  html[data-theme="city"] .contact-card__heading span { font-family: var(--heading); text-transform: uppercase; }
  html[data-theme="city"] .contact-card .button--primary { background: #080d1c; }

  html[data-theme="clean"] {
    --heading: "Arial Black", Arial, Helvetica, sans-serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ink: #151515;
    --muted: #636363;
    --paper: #fff;
    --surface: #fff;
    --line: rgba(21, 21, 21, .16);
    --red: #d91f35;
    --red-dark: #a70e22;
    --radius: .45rem;
    --shadow: 0 18px 60px rgba(0,0,0,.09);
  }
  html[data-theme="clean"] h1, html[data-theme="clean"] h2, html[data-theme="clean"] h3 { letter-spacing: -.06em; }
  html[data-theme="clean"] .site-header { background: rgba(255,255,255,.95); }
  html[data-theme="clean"] .site-header__inner { min-height: 5.2rem; }
  html[data-theme="clean"] .brand__roundel { height: 3rem; width: 3rem; }
  html[data-theme="clean"] .brand__wordmark { height: 2.4rem; }
  html[data-theme="clean"] .hero { background: #fff; min-height: min(760px, calc(100vh - 9.5rem)); }
  html[data-theme="clean"] .hero__image { background-image: url("/images/the-olive-tree-meeting.jpg"); bottom: 5rem; filter: saturate(.8); left: 53%; right: 0; top: 5rem; }
  html[data-theme="clean"] .hero__image::after { background: linear-gradient(90deg, #fff 0, transparent 38%); }
  html[data-theme="clean"] .hero__content { align-items: center; color: var(--ink); }
  html[data-theme="clean"] .hero__copy { max-width: 720px; }
  html[data-theme="clean"] .hero h1 { font-size: clamp(4rem, 8vw, 8.2rem); line-height: .84; }
  html[data-theme="clean"] .hero h1 em { color: var(--red); font-style: normal; }
  html[data-theme="clean"] .hero__intro { max-width: 560px; }
  html[data-theme="clean"] .button--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
  html[data-theme="clean"] .button--ghost:hover { background: var(--ink); color: #fff; }
  html[data-theme="clean"] .hero__badge { background: #fff; border: 2px solid var(--ink); color: var(--ink); }
  html[data-theme="clean"] .hero__badge small { border-color: var(--line); }
  html[data-theme="clean"] .ticker { background: var(--ink); }
  html[data-theme="clean"] .intro__grid { grid-template-columns: .9fr 1fr; }
  html[data-theme="clean"] .intro h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
  html[data-theme="clean"] .moments { background: #f2f2f2; color: var(--ink); }
  html[data-theme="clean"] .moments .eyebrow { color: var(--red); }
  html[data-theme="clean"] .moments .text-link { color: var(--ink); }
  html[data-theme="clean"] .moment { border-radius: .45rem; }
  html[data-theme="clean"] .moment h3 { color: #fff; }
  html[data-theme="clean"] .apply { background: #f2f2f2; }
  html[data-theme="clean"] .contact-card { border: 1px solid var(--line); box-shadow: none; }
}

@layer responsive {
  @media (max-width: 900px) {
    .shell { width: min(100% - 2rem, 720px); }
    .brand__wordmark { width: 13rem; }
    .menu-toggle { display: block; }
    .site-nav { align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(0,0,0,.08); color: var(--ink); display: none; flex-direction: column; gap: .2rem; left: 0; padding: 1rem; position: absolute; right: 0; top: 100%; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .8rem 1rem !important; }
    .site-nav a::after { display: none; }
    .nav-cta { border-radius: 0; margin-top: .4rem; text-align: center; }
    html[data-theme="city"] .site-nav { background: #080d1c; }
    .hero__content { align-items: end; grid-template-columns: 1fr; }
    .hero__badge { display: none; }
    html[data-theme="heritage"] .hero__image { clip-path: none; }
    html[data-theme="heritage"] .hero__image::before { background: rgba(32, 10, 15, .6); content: ""; inset: 0; position: absolute; }
    html[data-theme="city"] .hero__image { clip-path: none; opacity: .7; }
    html[data-theme="clean"] .hero__image { bottom: 0; left: 40%; opacity: .4; top: 0; }
    html[data-theme="clean"] .hero__image::after { background: linear-gradient(90deg, #fff 0, rgba(255,255,255,.82) 35%, rgba(255,255,255,.1)); }
    .intro__grid, html[data-theme="clean"] .intro__grid, .apply__grid { grid-template-columns: 1fr; }
    html[data-theme="rtbi"] .hero__image { opacity: .82; }
    .moment-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 300px; }
    .moment--large { grid-column: span 2; grid-row: auto; }
    .value-grid { gap: 3rem; grid-template-columns: 1fr; }
    .value-grid article, .value-grid article:last-child { border-left: 0; border-right: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
    .value-grid h3 { margin-block: 1rem .6rem; }
    .apply__grid { gap: 4rem; }
    .resources__heading { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr auto; }
    .site-footer__top > p { display: none; }
  }

  @media (max-width: 620px) {
    body { padding-top: 8.4rem; }
    body.production-site { padding-top: 0; }
    .theme-dock { align-items: stretch; flex-direction: column; gap: .35rem; height: 8.4rem; padding: .55rem .75rem; }
    .theme-dock__label { text-align: center; }
    .theme-switcher { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
    .theme-switcher button { font-size: .7rem; justify-content: center; padding: .5rem .35rem; white-space: nowrap; }
    .site-header__inner { min-height: 4.8rem; }
    .brand__roundel { height: 3rem; width: 3rem; }
    .brand__wordmark { height: 3.4rem; width: auto; }
    .brand__wordmark, .brand--footer .brand__wordmark, html[data-theme="rtbi"] .site-header .brand__wordmark { display: none; }
    .brand__roundel, html[data-theme="rtbi"] .brand__roundel { display: block; height: 3.2rem; width: 3.2rem; }
    .hero { min-height: 670px; }
    .hero__content { padding-bottom: 3.5rem; padding-top: 3.5rem; }
    .hero h1, html[data-theme="heritage"] .hero h1, html[data-theme="rtbi"] .hero h1, html[data-theme="city"] .hero h1, html[data-theme="clean"] .hero h1 { font-size: clamp(3.35rem, 14.5vw, 5.2rem); }
    html[data-theme="city"] .hero h1 { line-height: .82; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .ticker div { justify-content: flex-start; }
    .section-heading { align-items: start; flex-direction: column; }
    .moment-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
    .moment, .moment--large { grid-column: auto; min-height: 370px; }
    .field-row { grid-template-columns: 1fr; }
    .resource-card { min-height: 420px; }
    .resource-card__copy { max-width: 100%; }
    .contact-card__heading { align-items: start; flex-direction: column; gap: .3rem; }
    .apply__copy li { gap: .25rem; grid-template-columns: 1fr; }
    .site-footer__top { align-items: start; grid-template-columns: 1fr; }
    .site-footer nav { justify-content: start; }
    .site-footer__bottom { flex-direction: column; gap: .5rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
