:root {
  --c-ink: #27231e;
  --c-gold: #82520e;
  --c-light-gold: #edcb80;
  --c-line: #e6d4ae;
  --c-paper: #fbf7ee;
}

.v-header .p-header-cta,
.v-header #site-nav .p-mobile-cta,
.v-footer .v-button {
  background: var(--c-light-gold);
  border-color: #c69743;
  color: #2b2113;
}

.v-header .p-header-cta:hover,
.v-header #site-nav .p-mobile-cta:hover,
.v-footer .v-button:hover {
  background: #f6d995;
  color: #2b2113;
}

.v-header #site-nav a[aria-current],
.v-header #site-nav a:not(.p-mobile-cta):hover {
  background: #f8edd5;
  color: #62400b;
}

.p-footer-cta {
  background: linear-gradient(120deg, #2d2418, #383425);
  border-color: #9c7b43;
}

main .cesaws-home .home-hero .hero-copy h1 em {
  color: var(--c-gold);
}

main .cesaws-home .home-hero .home-cta.home-primary {
  background: var(--c-light-gold);
  color: var(--c-ink);
}

.c-section {
  color: var(--c-ink);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.c-section > .wrap {
  width: min(92%, 1320px);
  max-width: none;
}

main .c-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.14;
  text-wrap: balance;
}

main .c-section h3 {
  font-size: clamp(1.075rem, 1.6vw, 1.28rem);
  line-height: 1.3;
  margin: 0 0 .5rem;
}

.c-section p {
  color: #484038;
  line-height: 1.66;
  margin: 0;
}

.c-section .c-intro {
  margin-bottom: 1.25rem;
  max-width: 74ch;
}

.c-link {
  display: inline-block;
  color: #724507;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: .25em;
}

.c-link:hover,
.c-link:focus-visible {
  color: #4e2f07;
}

.c-link:focus-visible,
.c-table:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
}

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

.c-grid.c-two,
.c-question-grid .c-grid,
.c-choice .c-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-card,
.c-inset {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.c-specs {
  background: var(--c-paper);
  border-block: 1px solid #f1e5ce;
}

.c-specs .c-card {
  border-top: 3px solid #bf8b37;
}

.c-editorial {
  background: #fff;
}

.c-editorial .c-grid + .c-inset {
  margin-top: 1rem;
}

.c-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.c-steps .c-card {
  border-width: 2px 0 0;
  border-radius: 0;
  border-color: #c0944a;
  background: var(--c-paper);
}

.c-question-grid .c-card {
  border-width: 0 0 0 3px;
  border-radius: 0;
  background: #fcfaf5;
}

.c-choice {
  background: #f5f0e5;
}

.c-feature {
  background: linear-gradient(115deg, #f4e8cf, #fcf7ea 52%, #f8ecd3);
  border-block: 1px solid var(--c-line);
}

.c-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.c-feature-row .v-button,
.c-feature-row p + .c-actions,
.c-inset p + a,
.c-inset a + h3 {
  margin-top: .9rem;
}

.c-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.2rem;
  margin-top: 1rem;
}

.c-section .v-button {
  background: var(--c-light-gold);
  color: #2b2113;
  border-color: #b9893b;
  text-align: center;
  white-space: normal;
}

.c-section .v-button:hover {
  background: #f7d996;
  color: #241c10;
}

.c-band {
  background: #2d251a;
  color: #ffe3a4;
}

.c-band p { color: #f5e9d0; }

.c-table {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.c-table table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.c-table caption {
  text-align: left;
  padding: .65rem .85rem;
  background: #fff;
  color: #514233;
}

.c-table th,
.c-table td {
  padding: .72rem .85rem;
  text-align: left;
  border-top: 1px solid #ebdfc8;
}

.c-table thead { background: #f1dfb8; }
.c-table tbody tr:nth-child(even) { background: #fbf7eb; }

@media (max-width: 900px) {
  .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .c-grid,
  .c-grid.c-two,
  .c-question-grid .c-grid,
  .c-choice .c-grid,
  .c-feature-row { grid-template-columns: minmax(0, 1fr); }
  .c-table th,
  .c-table td { padding: .5rem; }
}

main .cesaws-home .home-hero .hero-copy h1 {
  max-width: 21ch;
  font-size: clamp(2.05rem, 3.45vw, 3.35rem);
  line-height: 1.1;
}

main .cesaws-home .home-hero .home-cta.home-primary:hover {
  background: #f6d995;
  color: var(--c-ink);
}

@media (max-width: 700px) {
  main .cesaws-home .home-hero .hero-copy h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.8rem);
  }
}

main .c-band h2 { color: #ffe3a4; }

.market-projects .c-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.market-projects .c-link {
  margin-top: auto;
  padding-top: 1rem;
}

main .cesaws-home .market-explorer {
  color: #fff7e7;
  background: radial-gradient(ellipse at 12% 0, #3d382a, #1d2625 64%);
}
.market-explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.market-explorer-heading .home-kicker {
  color: #f5d28a;
}
main .market-explorer-heading h2 {
  color: #fff7e7;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
.market-explorer-heading > p {
  margin: 0;
  color: #e8e3d2;
  max-width: 37ch;
}
.market-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(.85rem, 2.6vw, 2rem);
}
.market-spotlight {
  display: grid;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  align-content: end;
  isolation: isolate;
  border: 1px solid #a88751;
  border-radius: 14px;
  background: #222a25;
  text-decoration: none;
}
.market-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.market-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, #101817 0%, rgb(16 24 23 / .7) 33%, transparent 77%);
}
.market-spotlight-copy { padding: clamp(1rem, 3vw, 2rem); }
.market-spotlight-copy > span { color: #f5d28a; font-weight: 700; }
main .market-spotlight-copy h3 {
  margin: .3rem 0 .4rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  color: #fff7e7;
}
.market-spotlight-copy p { color: #fff7e7; margin: 0; }
.market-explorer-panels {
  display: grid;
  gap: 1rem;
}
.market-panel {
  border: 1px solid #73664e;
  border-radius: 13px;
  background: #282f2e;
  padding: clamp(.95rem, 2.4vw, 1.45rem);
}
main .market-panel h3 { color: #f5d28a; margin: 0 0 .25rem; }
.market-panel p { color: #f2ecdf; margin: 0 0 .8rem; }
main .market-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 .75rem;
}
.market-panel li a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border: 1px solid #81745d;
  border-radius: 6px;
  color: #fff7e7;
  text-decoration: none;
  font-size: .92rem;
}
.market-panel li a:hover { background: #f5d28a; color: #26201a; }
.market-panel-link { color: #f5d28a; font-weight: 700; }
.market-panel-link:hover { color: #fff7e7; }
.home-market-directory {
  display: inline-flex;
  gap: .5rem;
  margin-top: 1.25rem;
  background: #edcb80;
  color: #282119;
}
.home-market-directory:hover { background: #ffe0a0; color: #282119; }
.market-explorer a:focus-visible { outline: 2px solid #ffe0a0; outline-offset: 3px; }
@media (max-width: 730px) {
  .market-explorer-heading, .market-explorer-layout { grid-template-columns: minmax(0, 1fr); }
  .market-explorer-heading { gap: .55rem; }
  .market-spotlight { min-height: clamp(220px, 61vw, 340px); }
}
