@charset "UTF-8";

:root {
  color-scheme: light;
  --forest: #173d33;
  --forest-deep: #102d27;
  --sage: #dce4da;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --rust: #b45f42;
  --ink: #25332d;
  --muted: #72786f;
  --line: #d8d9d0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body:not(.home-page) { min-width: 320px; background: var(--cream) !important; color: var(--ink); }
body:not(.home-page)[background], body:not(.home-page)[bgcolor] { background: var(--cream) !important; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #cf7957; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .75rem 1rem; background: white; color: var(--forest); }
.skip-link:focus { top: 1rem; }

/* New homepage */
.home-page { min-width: 320px; }
.site-header { position: relative; z-index: 5; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.25rem, 5vw, 5.5rem); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-family: var(--serif); font-size: .9rem; letter-spacing: -.08em; }
.brand-copy { display: grid; gap: .08rem; }
.brand-copy strong { color: var(--forest); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.brand-copy small { color: var(--muted); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 2.2vw, 2rem); }
.primary-nav a, .header-contact { color: #46534d; font-size: .76rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .header-contact:hover { color: var(--rust); }
.header-contact { padding: .72rem 1rem; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap; }
.header-contact span { margin-left: .55rem; color: var(--rust); }

.hero { position: relative; display: flex; min-height: clamp(500px, 56vw, 690px); align-items: center; overflow: hidden; background: var(--forest) url("../images/kenstaff-hero.png") 55% 47% / cover no-repeat; color: #fff; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 43, 36, .94) 0%, rgba(17, 48, 39, .8) 34%, rgba(17, 48, 39, .28) 63%, rgba(17, 48, 39, .02) 100%), linear-gradient(0deg, rgba(15, 43, 36, .3), transparent 27%); }
.hero-content { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 5rem clamp(1.5rem, 8vw, 7rem) 6rem; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: .7rem; margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: #e3cbb7; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: #c57a58; }
.eyebrow-dot { color: #c57a58; }
.hero h1 { max-width: 690px; margin: 1.45rem 0 1.25rem; font-family: var(--serif); font-size: clamp(3.45rem, 7.2vw, 6.7rem); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.hero h1 em, .intro-section h2 em, .closing-section h2 em { color: #d7b49c; font-weight: 400; }
.hero-intro { max-width: 450px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(.96rem, 1.25vw, 1.08rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 1.5rem; padding: .8rem 1.2rem; border: 1px solid transparent; border-radius: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #f5f0e8; color: var(--forest); }
.button-light:hover { background: #fff; }
.button-quiet { border-color: rgba(255,255,255,.45); color: white; }
.button-quiet:hover { border-color: white; }
.image-caption { position: absolute; right: clamp(1.2rem, 4vw, 3.5rem); bottom: 1.25rem; z-index: 1; margin: 0; color: rgba(255,255,255,.68); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-index { position: absolute; right: clamp(1.2rem, 4vw, 3.5rem); bottom: 3.1rem; display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.8); font-size: .58rem; letter-spacing: .13em; }
.hero-index span:first-child { color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.hero-index i { width: 46px; height: 1px; background: #cc8767; }

.heritage-bar { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1.5fr; align-items: center; gap: 1.6rem; padding: 2.15rem clamp(1.5rem, 8vw, 7rem); background: var(--cream); }
.heritage-bar > div:not(.heritage-note) { display: flex; align-items: center; gap: .8rem; }
.heritage-number { color: var(--forest); font-family: var(--serif); font-size: 1.55rem; white-space: nowrap; }
.heritage-label { color: var(--muted); font-size: .64rem; line-height: 1.45; }
.heritage-note { padding-left: 1.7rem; border-left: 1px solid #c9c4b8; color: var(--forest); font-family: var(--serif); font-size: .96rem; font-style: italic; line-height: 1.5; }

.section-wrap { width: min(1180px, 100%); margin: 0 auto; padding-right: clamp(1.5rem, 7vw, 6rem); padding-left: clamp(1.5rem, 7vw, 6rem); }
.intro-section { padding-top: 7rem; padding-bottom: 7rem; }
.section-kicker { color: #77786d; font-size: .62rem; letter-spacing: .15em; }
.section-kicker span { color: var(--rust); font-family: var(--serif); font-size: .94rem; letter-spacing: 0; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 5vw; margin-top: 2rem; }
.intro-section h2, .section-heading h2, .closing-section h2 { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(2.6rem, 4.7vw, 4.5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.intro-section h2 em, .closing-section h2 em { color: var(--rust); }
.intro-copy { max-width: 475px; padding-top: .25rem; }
.intro-copy p { margin: 0 0 1rem; color: #5c655e; font-size: .91rem; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 1.1rem; margin-top: .6rem; padding-bottom: .35rem; border-bottom: 1px solid #bd785c; color: var(--forest); font-size: .74rem; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--rust); }

.discover-section { padding: 6rem 0 7rem; background: #eceee7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.7rem; }
.section-heading h2 { margin-top: 1.25rem; font-size: clamp(2.6rem, 4.2vw, 4rem); }
.section-heading > p { max-width: 310px; margin: 0 0 .4rem; color: #646d64; font-size: .86rem; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { position: relative; display: flex; min-height: 250px; flex-direction: column; overflow: hidden; padding: 1.45rem; color: var(--forest); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(30,48,39,.12); }
.feature-index { color: rgba(33,54,45,.68); font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.feature-icon { position: absolute; top: 1rem; right: 1.25rem; color: rgba(28,61,51,.28); font-family: var(--serif); font-size: 2rem; }
.feature-card h3 { margin: auto 0 1.5rem; font-family: var(--serif); font-size: clamp(1.55rem, 2.1vw, 2rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
.feature-link { display: flex; align-items: center; justify-content: space-between; padding-top: .85rem; border-top: 1px solid rgba(28,61,51,.2); font-size: .67rem; font-weight: 700; }
.feature-link b { color: var(--rust); font-size: .9rem; }
.feature-card-dark { background: var(--forest); color: white; }
.feature-card-dark .feature-index { color: rgba(255,255,255,.62); }
.feature-card-dark .feature-icon { color: rgba(255,255,255,.28); }
.feature-card-dark .feature-link { border-color: rgba(255,255,255,.3); }
.feature-card-sage { background: #d4ded3; }
.feature-card-cream { background: #f7f4ed; }
.feature-card-rust { background: #c88968; color: #fffaf3; }
.feature-card-rust .feature-index, .feature-card-rust .feature-icon { color: rgba(255,255,255,.67); }
.feature-card-rust .feature-link { border-color: rgba(255,255,255,.4); }
.feature-card-photo { background: linear-gradient(0deg, rgba(18,47,39,.9), rgba(18,47,39,.26)), url("../images/kenstaff-hero.png") 70% 52% / cover; color: #fff; }
.feature-card-photo .feature-index, .feature-card-photo .feature-icon { color: rgba(255,255,255,.72); }
.feature-card-photo .feature-link { border-color: rgba(255,255,255,.42); }
.feature-card-outline { border: 1px solid #c9cdc4; background: rgba(255,255,255,.3); }

.archive-index { padding-top: 5.5rem; padding-bottom: 7rem; }
.archive-index > h1 { margin: 1.6rem 0 1rem; color: var(--forest); font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 5.8rem); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.archive-index > h1 em { color: var(--rust); font-weight: 400; }
.archive-intro { max-width: 620px; margin: 0 0 3rem; color: #5c655e; font-size: .95rem; line-height: 1.8; }
.archive-index-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.45rem; border: 1px solid #e3e4dc; background: #fff; }
.archive-index-card > h2 { margin: 1.2rem 0 1rem; color: var(--forest); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.archive-index-card > a { width: 100%; padding: .58rem 0; border-top: 1px solid #ecece6; color: #52635a; font-size: .72rem; line-height: 1.45; text-decoration: none; }
.archive-index-card > a:hover { color: var(--rust); }
.archive-index-card-green { background: #e6ebe2; }
.archive-index-card-rust { background: #c88968; }
.archive-index-card-rust > .feature-index, .archive-index-card-rust > h2 { color: #fffaf3; }
.archive-index-card-rust > a { border-color: rgba(255,255,255,.34); color: #fffaf3; }
.archive-index-card-rust > a:hover { color: #fff; }
.archive-index-card-cream { background: #f5f1e8; }
.archive-index-card-photo { background: #dce4da; }
.archive-index-card-outline { background: #f9f9f5; }
.archive-all { margin-top: 2.5rem; border-top: 1px solid #d8d9d0; border-bottom: 1px solid #d8d9d0; }
.archive-all > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; color: var(--forest); cursor: pointer; font-family: var(--serif); font-size: 1.45rem; list-style: none; }
.archive-all > summary::-webkit-details-marker { display: none; }
.archive-all > summary span { color: var(--rust); font-family: var(--sans); font-size: 1.1rem; }
.archive-all[open] > summary span { transform: rotate(45deg); }
.archive-all-groups { padding: .5rem 0 2rem; }
.archive-all-group { padding: 1rem 1.15rem; border: 1px solid #e3e4dc; background: rgba(255,255,255,.58); }
.archive-all-group h2 { margin: 0 0 .8rem; color: var(--rust); font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.archive-all-group ul { margin: 0; padding: 0; list-style: none; }
.archive-all-group li + li { border-top: 1px solid #ecece6; }
.archive-all-group a { display: block; padding: .52rem 0; color: #52635a; font-size: .72rem; line-height: 1.45; text-decoration: none; }
.archive-all-group a:hover { color: var(--rust); }

.closing-section { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-top: 6rem; padding-bottom: 6rem; }
.closing-mark { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid #b9c2b8; border-radius: 50%; color: var(--forest); font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.09em; }
.closing-section h2 { margin-top: 1rem; font-size: clamp(2rem, 3.2vw, 3.25rem); }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-deep); }
.site-footer { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; align-items: center; gap: 2rem; padding: 2.2rem clamp(1.5rem, 7vw, 6rem); background: var(--forest-deep); color: #f4f0e8; }
.footer-brand { display: grid; gap: .35rem; color: white; font-family: var(--serif); font-size: 1rem; text-decoration: none; }
.footer-brand span { color: rgba(255,255,255,.58); font-family: var(--sans); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; color: rgba(255,255,255,.64); font-size: .72rem; line-height: 1.65; }
.site-footer > a:nth-of-type(2) { justify-self: end; color: white; font-size: .72rem; text-decoration: none; }
.site-footer > a:nth-of-type(2) span { color: #d39373; }
.site-footer small { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.47); font-size: .6rem; letter-spacing: .05em; }
.article-view { padding: 2rem 0 1rem; }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.article-toolbar .text-link { margin-top: 0; }
.article-toolbar .section-kicker { margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: #77786d; font-size: .74rem; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .55rem; color: #bd785c; }
.breadcrumbs a { color: var(--forest); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: .18em; }
.breadcrumbs [aria-current="page"] { color: #77786d; }
.article-view .legacy-main { margin-top: 1.25rem; }
.article-end { display: flex; justify-content: flex-end; padding-top: 1rem; padding-bottom: 3rem; }

/* Shared frame for the preserved archive pages */
.legacy-site-header { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .7rem clamp(1rem, 4vw, 3.5rem); background: var(--forest); color: white; font-family: var(--sans); }
.legacy-brand { color: white; font-family: var(--serif); font-size: 1.07rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.legacy-brand small { display: block; margin-top: .18rem; color: rgba(255,255,255,.58); font-family: var(--sans); font-size: .55rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.legacy-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .25rem .9rem; }
.legacy-nav a { padding: .35rem 0; color: rgba(255,255,255,.82); font-family: var(--sans); font-size: .67rem; text-decoration: none; }
.legacy-nav a:hover { color: #e1b797; }
.legacy-main { width: min(1160px, calc(100% - 2rem)); min-height: 50vh; margin: 1.5rem auto 2.5rem; padding: clamp(1rem, 3vw, 2.6rem); overflow: hidden; border: 1px solid #e9e7df; border-radius: 3px; background: #fff; box-shadow: 0 9px 30px rgba(34,47,38,.045); color: #34423a; font-family: var(--sans); font-size: 1rem; line-height: 1.72; }
.legacy-main, .legacy-main * { max-width: 100% !important; }
.legacy-main * { box-sizing: border-box; }
.legacy-main body, .legacy-main font, .legacy-main span { font-family: var(--sans) !important; }
.legacy-main font[color], .legacy-main [color] { color: inherit !important; }
.legacy-main [bgcolor], .legacy-main [background] { background-color: transparent !important; background-image: none !important; }
.legacy-main table { width: 100% !important; height: auto !important; margin: 1rem auto; border-collapse: collapse; border-color: #e4e5df; background: transparent !important; }
.legacy-main tr, .legacy-main td, .legacy-main th { height: auto !important; vertical-align: top; }
.legacy-main td, .legacy-main th { padding: .3rem .45rem; }
.legacy-main img { max-width: 100% !important; height: auto; }
.legacy-main p { margin-top: .7em; margin-bottom: .9em; }
.legacy-main h1, .legacy-main h2, .legacy-main h3, .legacy-main h4 { color: var(--forest) !important; font-family: var(--serif) !important; font-weight: 500; line-height: 1.2; }
.legacy-main font[size="7"] { font-size: clamp(2rem, 4vw, 3.2rem) !important; line-height: 1.1; }
.legacy-main font[size="6"] { font-size: clamp(1.75rem, 3.1vw, 2.5rem) !important; line-height: 1.15; }
.legacy-main font[size="5"] { font-size: 1.45rem !important; }
.legacy-main font[size="4"] { font-size: 1.08rem !important; }
.legacy-main a { color: #486b57; text-underline-offset: .16em; }
.legacy-main a:hover { color: var(--rust); }
.legacy-main hr { border: 0; border-top: 1px solid var(--line); }
.archive-image-missing { display: inline-block; max-width: 100%; margin: .2rem; padding: .35rem .55rem; border: 1px dashed #c9cdc4; border-radius: 2px; background: #f5f4ef; color: #70786f; font-family: var(--sans); font-size: .65rem; font-weight: 500; line-height: 1.4; vertical-align: middle; }
.legacy-site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: 1.1rem clamp(1rem, 4vw, 3.5rem); background: #e8ece5; color: #657067; font-family: var(--sans); font-size: .65rem; }
.legacy-site-footer a { color: var(--forest); font-weight: 700; text-decoration: none; }

@media (max-width: 880px) {
  .site-header { flex-wrap: wrap; gap: .7rem 1rem; padding-top: .7rem; padding-bottom: .7rem; }
  .primary-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding: .3rem 0 .2rem; }
  .primary-nav a { flex: 0 0 auto; }
  .header-contact { margin-left: auto; }
  .heritage-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heritage-note { padding-left: 0; border-left: 0; }
  .intro-grid { gap: 2rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-section { grid-template-columns: auto 1fr; }
  .closing-section .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 600px) {
  .site-header { min-height: auto; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: .95rem; }
  .brand-copy small { font-size: .52rem; }
  .primary-nav { gap: 1.1rem; }
  .primary-nav a { font-size: .7rem; }
  .header-contact { padding: .55rem .65rem; font-size: .68rem; }
  .hero { min-height: 650px; align-items: end; background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(15,43,36,.97) 0%, rgba(15,43,36,.82) 48%, rgba(15,43,36,.1) 100%); }
  .hero-content { padding: 3rem 1.5rem 6.3rem; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.7rem); }
  .hero-intro { max-width: 390px; font-size: .91rem; }
  .hero-index { bottom: 1.05rem; left: 1.5rem; right: auto; }
  .image-caption { bottom: 1.2rem; right: 1.4rem; font-size: .53rem; }
  .heritage-bar { gap: 1.4rem .8rem; padding: 1.5rem; }
  .heritage-bar > div:not(.heritage-note) { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .heritage-number { font-size: 1.28rem; }
  .heritage-label { font-size: .61rem; }
  .heritage-note { grid-column: 1 / -1; padding-top: .8rem; border-top: 1px solid #c9c4b8; font-size: .87rem; }
  .intro-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.5rem; }
  .intro-section h2, .section-heading h2 { font-size: 2.75rem; }
  .discover-section { padding: 4.5rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.7rem; }
  .section-heading h2 { margin-top: 1rem; }
  .feature-grid { grid-template-columns: 1fr; gap: .7rem; }
  .archive-index { padding-top: 4rem; padding-bottom: 4.5rem; }
  .archive-index > h1 { font-size: 3.45rem; }
  .archive-intro { margin-bottom: 2rem; }
  .article-toolbar { align-items: flex-start; flex-direction: column; }
  .article-view { padding-top: 1rem; }
  .feature-card { min-height: 210px; }
  .closing-section { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 4rem; padding-bottom: 4rem; }
  .closing-mark { width: 56px; height: 56px; font-size: 1.15rem; }
  .closing-section h2 { font-size: 2.4rem; }
  .closing-section .button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding-top: 2rem; padding-bottom: 1.3rem; }
  .site-footer > a:nth-of-type(2) { justify-self: start; }
  .site-footer small { grid-column: 1; }
  .legacy-site-header { align-items: flex-start; flex-direction: column; gap: .45rem; padding: .8rem 1rem; }
  .legacy-nav { justify-content: flex-start; gap: .25rem .75rem; }
  .legacy-nav a { font-size: .62rem; }
  .legacy-main { width: calc(100% - 1rem); margin: .5rem auto 1rem; padding: .8rem; font-size: .93rem; }
  .legacy-main table, .legacy-main tbody { display: block; width: 100%; }
  .legacy-main tr { display: block; width: 100%; }
  .legacy-main td, .legacy-main th { display: block; width: 100% !important; padding: .3rem 0; }
  .legacy-main td:empty, .legacy-main th:empty { display: none; }
  .legacy-site-footer { padding: .9rem 1rem; }
}

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