:root {
  --bg: #202327;
  --bg-deep: #17191c;
  --panel: #353a42;
  --panel-soft: #2b3138;
  --panel-deep: #242a30;
  --ink: #eceae2;
  --muted: #a6acb8;
  --gold: #c9a44e;
  --gold-bright: #d8b765;
  --gold-ink: #17120a;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(201, 164, 78, 0.34);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --serif: "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --content: 1180px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(201, 164, 78, 0.055), transparent 26rem),
    var(--bg);
  color: var(--ink);
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

::selection {
  color: var(--gold-ink);
  background: var(--gold);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wrap,
.shell {
  width: min(100% - 40px, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 0;
}

main {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* Shared header */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-gold);
  background: rgba(23, 25, 28, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.site-nav::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 78, 0.78), transparent);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-nav .name {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  text-decoration: none;
}

.site-nav .name img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201, 164, 78, 0.28));
}

.site-nav .links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
}

.site-nav .links > a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav .links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav .links > a:hover,
.site-nav .links > a[aria-current="page"] {
  color: var(--ink);
}

.site-nav .links > a:hover::after,
.site-nav .links > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .links > .nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav .links > .nav-cta:hover {
  background: var(--gold);
  color: var(--gold-ink);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-soft);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: auto;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(0) rotate(-45deg);
}

/* Shared content rhythm */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(201, 164, 78, 0.13), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -11rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(201, 164, 78, 0.075);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero h1 {
  max-width: 15ch;
}

.eyebrow,
.sec-head,
.lede,
.kick,
.t-role {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta,
.button-primary,
.button-secondary,
.tier-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.cta,
.button-primary {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 12px 32px rgba(201, 164, 78, 0.14);
}

.button-secondary {
  border: 1px solid var(--line-gold);
  background: transparent;
  color: var(--gold);
}

.cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.status-pill,
.meta-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--gold);
  background: rgba(201, 164, 78, 0.06);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

section {
  scroll-margin-top: 90px;
}

/* Home */
.home-hero {
  padding: clamp(78px, 11vw, 138px) 0 clamp(64px, 9vw, 104px);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.home-hero-copy h1 {
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: clamp(52px, 8.5vw, 92px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.home-hero-copy h1 em {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 500;
}

.home-hero-copy > p {
  max-width: 61ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a {
  padding: 13px 20px;
}

.home-mark-panel {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: 50% 50% 20px 20px;
  background:
    radial-gradient(circle at center, rgba(201, 164, 78, 0.12), transparent 50%),
    linear-gradient(160deg, var(--panel), var(--panel-deep));
  box-shadow: var(--shadow);
}

.home-mark-panel::before,
.home-mark-panel::after {
  position: absolute;
  width: 74%;
  height: 74%;
  border: 1px solid rgba(201, 164, 78, 0.14);
  border-radius: 50%;
  content: "";
}

.home-mark-panel::after {
  width: 48%;
  height: 48%;
}

.home-mark-panel img {
  position: relative;
  z-index: 1;
  width: min(48%, 190px);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.3));
}

.principles {
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  min-height: 155px;
  padding: 30px clamp(22px, 3.5vw, 42px);
  border-right: 1px solid var(--line);
}

.principle:first-child {
  border-left: 1px solid var(--line);
}

.principle .number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
}

.principle h2 {
  margin: 6px 0 5px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.principle p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-section {
  padding: clamp(70px, 9vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.65fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.editorial-card {
  position: relative;
  display: grid;
  min-height: 450px;
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-deep);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  text-decoration: none;
}

.editorial-card.wide {
  grid-column: span 7;
}

.editorial-card.narrow {
  grid-column: span 5;
}

.editorial-card img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  background: var(--panel-soft);
  transition: transform 300ms ease;
}

.editorial-card.media-contain img {
  object-fit: contain;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 164, 78, 0.08), transparent 55%),
    var(--panel-soft);
}

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

.editorial-card:hover {
  border-color: rgba(201, 164, 78, 0.48);
}

.editorial-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 30px;
}

.editorial-body h3 {
  margin: 11px 0 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}

.editorial-body p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.editorial-body .go {
  margin-top: auto;
  padding-top: 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-tile {
  display: grid;
  min-height: 120px;
  grid-template-columns: 46px 1fr auto;
  gap: 17px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(53, 58, 66, 0.58);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.category-tile:hover {
  border-color: var(--line-gold);
  background: var(--panel);
  transform: translateY(-2px);
}

.category-tile img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.category-tile strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.category-tile span {
  color: var(--muted);
  font-size: 13px;
}

.category-tile .arrow {
  color: var(--gold);
  font-size: 19px;
}

.model-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(201, 164, 78, 0.08), transparent 42%),
    var(--panel-deep);
  box-shadow: var(--shadow);
}

.model-panel h2 {
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 53px);
  font-weight: 500;
  line-height: 1.05;
}

.model-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.model-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.model-list div {
  padding: 22px 24px;
  background: var(--panel-soft);
}

.model-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.model-list span {
  color: var(--muted);
  font-size: 14px;
}

/* Discovery/index */
.discovery-hero {
  padding: clamp(64px, 9vw, 100px) 0 42px;
}

.discovery-hero h1 {
  margin: 13px 0 14px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.discovery-hero p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
}

.discovery-panel {
  padding: 34px 0 84px;
}

.discovery-tools {
  position: sticky;
  top: 74px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(36, 42, 48, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px 10px 44px;
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 15px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--gold-ink);
}

.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.discovery-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-soft), var(--panel-deep));
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.discovery-card:hover {
  border-color: rgba(201, 164, 78, 0.48);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.discovery-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: var(--bg-deep);
}

.discovery-card.book img,
.discovery-card.contain img {
  object-fit: contain;
  padding: 22px;
}

.discovery-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.discovery-card h2 {
  margin: 9px 0 7px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.08;
}

.discovery-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.discovery-card .owner {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.discovery-card .owner strong {
  color: var(--ink);
  font-weight: 650;
}

.empty-results {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  padding: 48px 26px;
  color: var(--muted);
  text-align: center;
}

/* Property pages */
.property-hero {
  padding: clamp(58px, 9vw, 102px) 0 clamp(48px, 7vw, 76px);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.breadcrumb::before {
  content: "←";
  font-size: 15px;
}

.property-hero h1 {
  max-width: 15ch;
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: clamp(45px, 7.5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.property-tagline {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(20px, 3.2vw, 29px);
  font-style: italic;
}

.property-main {
  padding: clamp(48px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(38px, 7vw, 82px);
  align-items: start;
}

.property-media {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 164, 78, 0.09), transparent 55%),
    var(--panel-deep);
  box-shadow: var(--shadow);
}

.property-media.flush {
  padding: 0;
}

.property-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 12px;
  object-fit: contain;
}

.property-media.flush img {
  min-height: 360px;
  border-radius: 0;
  object-fit: cover;
}

.property-copy {
  max-width: 670px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.property-copy h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.property-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.property-actions a,
.property-actions span {
  padding: 13px 18px;
}

.property-endorsement {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.related-section {
  padding: clamp(62px, 8vw, 92px) 0;
}

.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.related-heading h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 500;
}

.related-heading a {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-deep);
  color: var(--ink);
  text-decoration: none;
}

.related-card:hover {
  border-color: var(--line-gold);
}

.related-card img {
  width: 120px;
  height: 100%;
  object-fit: cover;
  background: var(--panel-soft);
}

.related-card > div {
  padding: 20px;
}

.related-card h3 {
  margin: 7px 0 5px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.related-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Collaboration onboarding enhancements */
.collab-intro {
  padding: clamp(52px, 8vw, 84px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.collab-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.collab-intro h2 {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 500;
  line-height: 1.05;
}

.collab-intro-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.onboarding-steps {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.onboarding-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--panel-deep);
}

.onboarding-step .step-no {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
}

.onboarding-step strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.onboarding-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

#take-part .tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#take-part .tier {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel-deep));
}

#take-part .tier:hover {
  border-color: var(--line-gold);
}

#take-part .tier h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

#take-part .tier > p,
#take-part .tier-detail p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

#take-part .tier-detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

#take-part .tier-detail .k {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#take-part .tier-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
}

#take-part .tier-toggle,
#take-part .tier-cta {
  min-height: 42px;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  padding: 9px 12px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* Existing cards and forms */
.listing,
.feature,
.bookcard,
.card,
.tier,
.code,
.modal-card {
  border-color: var(--line) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.listing:hover,
.feature:hover,
.bookcard:hover,
.card:hover {
  border-color: var(--line-gold) !important;
}

input,
select,
textarea {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 16px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

label {
  color: var(--ink);
}

/* Shared footer */
.site-footer {
  padding: 64px 0 30px;
  border-top: 1px solid var(--line-gold);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(120px, 0.6fr));
  gap: 42px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}

.footer-group h2 {
  margin-bottom: 13px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .home-hero-grid,
  .model-panel,
  .property-layout,
  .collab-intro-grid {
    grid-template-columns: 1fr;
  }

  .home-mark-panel {
    min-height: 320px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .discovery-tools {
    position: static;
    grid-template-columns: 1fr;
  }

  .discovery-grid,
  .category-grid,
  #take-part .tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-media {
    position: static;
    max-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }

  .footer-group:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .wrap,
  .shell,
  .nav-shell {
    width: min(100% - 30px, var(--content));
  }

  .nav-shell {
    min-height: 66px;
    gap: 18px;
  }

  .nav-toggle {
    display: grid;
    flex: none;
    place-items: center;
  }

  .site-nav .links {
    position: absolute;
    top: calc(100% + 1px);
    right: 15px;
    left: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line-gold);
    border-radius: 0 0 14px 14px;
    padding: 8px;
    background: rgba(23, 25, 28, 0.985);
    box-shadow: var(--shadow);
  }

  .site-nav .links.open {
    display: flex;
  }

  .site-nav .links > a {
    min-height: 46px;
    padding: 15px 13px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .links > a:last-child {
    border-bottom: 0;
  }

  .site-nav .links > a::after {
    display: none;
  }

  .site-nav .links > .nav-cta {
    margin-top: 7px;
    text-align: center;
  }

  .home-hero-grid {
    gap: 42px;
  }

  .home-hero-copy h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .home-mark-panel {
    min-height: 280px;
  }

  .principle-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle:first-child {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .editorial-card,
  .editorial-card.wide,
  .editorial-card.narrow {
    min-height: 0;
    grid-column: 1 / -1;
  }

  .discovery-grid,
  .category-grid,
  #take-part .tiers {
    grid-template-columns: 1fr;
  }

  .discovery-card {
    min-height: 0;
  }

  .property-media.flush img {
    min-height: 250px;
  }

  .related-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-group:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .home-hero {
    padding-top: 62px;
  }

  .home-mark-panel {
    min-height: 240px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions a,
  .property-actions a,
  .property-actions span {
    width: 100%;
  }

  .editorial-card img {
    height: 220px;
  }

  .category-tile {
    grid-template-columns: 42px 1fr auto;
  }

  .related-card {
    grid-template-columns: 92px 1fr;
  }

  .related-card img {
    width: 92px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-group:last-child {
    grid-column: auto;
  }
}

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

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

@media (forced-colors: active) {
  .site-nav,
  .editorial-card,
  .discovery-card,
  .category-tile,
  .model-panel,
  .property-media {
    border: 1px solid CanvasText;
  }
}


/* 2026-10-21 canon pass: mobile overflow fixes */
.cta, .button-primary, .button-secondary, .tier-cta { box-sizing: border-box; max-width: 100%; }
.home-hero-copy, .home-hero-grid > * { min-width: 0; }
img { max-width: 100%; }
@media (max-width: 980px) { .home-hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .hero-actions { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) { .residents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .residents-grid .related-card { grid-template-columns: 1fr; } .residents-grid .related-card img { width: 100%; height: 160px; object-fit: cover; } }

/* Publishing */
.publishing-overview {
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 164, 78, 0.11), transparent 34%),
    var(--bg-deep);
}

.publication-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 1fr);
  gap: 16px;
}

.publication-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
  background: var(--panel-deep);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.publication-card.imprint-card {
  border-color: var(--line-gold);
  background:
    linear-gradient(135deg, rgba(201, 164, 78, 0.14), transparent 54%),
    var(--panel);
}

.publication-card.status-card {
  background:
    linear-gradient(165deg, rgba(236, 234, 226, 0.035), transparent 52%),
    var(--panel-deep);
}

.publication-card h3 {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.08;
}

.publication-card p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.text-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--ink);
}

.publishing-hero {
  padding: clamp(84px, 11vw, 136px) 0 clamp(68px, 9vw, 104px);
}

.publishing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(38px, 8vw, 100px);
  align-items: center;
}

.publishing-hero h1 {
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.publishing-hero h1 em {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 500;
}

.publishing-hero p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.imprint-mark {
  display: grid;
  min-height: 330px;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 164, 78, 0.19), transparent 19%),
    radial-gradient(circle at 50% 42%, transparent 0 39%, rgba(201, 164, 78, 0.16) 39.4% 39.9%, transparent 40.3%),
    var(--panel-deep);
  box-shadow: var(--shadow);
}

.imprint-mark img {
  width: min(34%, 128px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.36));
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.boundary-card {
  min-height: 230px;
  padding: 30px;
  background: var(--panel-deep);
}

.boundary-card h3 {
  margin: 10px 0 9px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.boundary-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(110deg, rgba(201, 164, 78, 0.1), transparent 52%), var(--panel);
}

.contact-strip h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
}

.contact-strip p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.contact-strip a {
  color: var(--gold);
}

@media (max-width: 980px) {
  .publication-grid,
  .publishing-hero-grid,
  .boundary-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .publication-card,
  .boundary-card {
    min-height: 0;
  }

  .imprint-mark {
    min-height: 250px;
  }
}
