/* EDC-FMA Colorado: instructor-first layout.
   Fonts are the ones already on the site (Libre Baskerville, Montserrat). */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat/montserrat-regular-webfont.woff2") format("woff2"), url("../fonts/montserrat/montserrat-regular-webfont.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat/montserrat-bold-webfont.woff2") format("woff2"), url("../fonts/montserrat/montserrat-bold-webfont.woff") format("woff"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/librebaskerville/librebaskerville-regular-webfont.woff2") format("woff2"), url("../fonts/librebaskerville/librebaskerville-regular-webfont.woff") format("woff"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/librebaskerville/librebaskerville-bold-webfont.woff2") format("woff2"), url("../fonts/librebaskerville/librebaskerville-bold-webfont.woff") format("woff"); }

:root {
  --snow: #f5f3ef;
  --snow-2: #ebe7df;
  --ink: #16181a;
  --muted: #565b60;
  --line: #d9d4ca;
  --black: #0b0b0c;
  --maroon: #8a1c1c;
  --maroon-d: #6f1515;
  --cream: #efe9dc;
  --head-h: 72px;
  --f-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 1.0625rem/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-underline-offset: .2em; }
a:hover { color: var(--maroon-d); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0 0 1.1rem; }
[id] { scroll-margin-top: calc(var(--head-h) + 12px); }
:focus-visible { outline: 3px solid #d9a441; outline-offset: 3px; }

.co-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.co-skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .75rem 1rem; z-index: 100; }
.co-skip:focus { left: 0; }

/* buttons */
.co-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.6rem; border-radius: 3px; border: 2px solid transparent; font: 700 .8rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.co-btn--cream { background: var(--cream); color: var(--black); }
.co-btn--cream:hover { background: #fff; color: var(--black); }
.co-btn--maroon { background: var(--maroon); color: #fff; }
.co-btn--maroon:hover { background: var(--maroon-d); color: #fff; }
.co-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.co-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.co-eyebrow { font: 700 .74rem/1.5 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #d9c8a4; margin: 0 0 .9rem; }
.co-eyebrow--ink { color: var(--maroon); }

/* header */
.co-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--head-h); background: var(--black); border-bottom: 1px solid #25272a; }
.co-header__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.co-brand { color: #fff; text-decoration: none; font: 700 .85rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-right: auto; white-space: nowrap; }
.co-brand { display: inline-flex; align-items: center; gap: .7rem; }
.co-brand__logo { height: 60px; width: auto; display: block; }
.co-brand__name span { color: #d9c8a4; font-weight: 400; }
.co-brand:hover { color: #fff; }
@media (max-width: 479px) { .co-brand__name { line-height: 1.2; } .co-brand__name span { display: block; font-size: .72rem; letter-spacing: .12em; } }
.co-nav { display: none; gap: 1.75rem; }
.co-nav a { color: #e6e1d6; text-decoration: none; font: 700 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: .5rem 0; }
.co-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .45em; }
.co-header__cta { min-height: 2.5rem; padding: .55rem .9rem; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
main { padding-top: var(--head-h); }
@media (min-width: 760px) { .co-nav { display: flex; } .co-brand { font-size: .95rem; } .co-header__cta { min-height: 2.75rem; padding: .65rem 1.4rem; font-size: .72rem; letter-spacing: .14em; } }

/* hero */
.co-hero { background: #000; color: #fff; overflow: hidden; }
.co-hero__in { display: flex; flex-direction: column-reverse; padding-left: 0; padding-right: 0; max-width: none; }
.co-hero__photo { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.co-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 40%; }
.co-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, rgba(0,0,0,0) 35%); }
.co-hero__text { padding: 1.75rem 1.5rem 2.5rem; }
.co-hero h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); color: #fff; margin: 0 0 1.1rem; }
.co-hero__lead { font-size: 1.1rem; line-height: 1.65; color: #e6e1d6; max-width: 34rem; margin-bottom: 1.6rem; }
.co-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.co-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; color: #bdb7aa; font-size: .84rem; }
.co-facts li { position: relative; padding-left: .95rem; }
.co-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #8a1c1c; box-shadow: 0 0 0 1px #b44; }
@media (min-width: 900px) {
  .co-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; min-height: min(720px, calc(100vh - var(--head-h))); }
  .co-hero__text { padding: 4rem 1.5rem 4rem max(1.5rem, calc((100vw - 1120px) / 2 + 1.5rem)); align-self: center; }
  .co-hero__photo { aspect-ratio: auto; height: 100%; }
  .co-hero__photo img { object-position: 24% 40%; }
  .co-hero__photo::after { background: linear-gradient(to right, #000 0%, rgba(0,0,0,0) 28%); }
}

/* generic sections */
.co-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.co-sec h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1.25rem; }

/* about + how to start */
.co-about { background: var(--snow); }
.co-about__grid { display: grid; gap: 2.5rem; }
.co-note { font-size: .95rem; color: var(--muted); }
.co-start { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--maroon); border-radius: 3px; padding: 1.75rem 1.5rem 2rem; align-self: start; }
.co-start h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.co-start__list { list-style: none; counter-reset: step; margin: 0 0 1.5rem; padding: 0; }
.co-start__list li { counter-increment: step; position: relative; padding: 0 0 1.15rem 3rem; font-size: .98rem; line-height: 1.55; }
.co-start__list li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--black); color: #fff; font: 700 .9rem/2.1rem var(--f-body); text-align: center; }
.co-start__list strong { display: block; font-family: var(--f-head); font-size: 1.02rem; margin-bottom: .1rem; }
@media (min-width: 900px) { .co-about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; } }

/* instructor and timeline */
.co-story { background: var(--snow-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-story__head { display: grid; gap: 1.75rem; margin-bottom: 2.5rem; }
.co-story__text { max-width: 46rem; }
.co-story__photo { margin: 0 auto; width: 100%; max-width: 20rem; justify-self: center; border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.co-story__photo img { display: block; width: 100%; height: auto; }
@media (min-width: 800px) { .co-story__head { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; } .co-story__photo { max-width: none; margin: 0; justify-self: stretch; } }
.co-story__lead { font-size: 1.12rem; line-height: 1.75; }
.co-tl { list-style: none; margin: 0 0 2rem; padding: 0; position: relative; max-width: 52rem; }
.co-tl::before { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px; background: #c6bfae; }
.co-tl li { position: relative; padding-left: 2.25rem; }
.co-tl li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--snow-2); border: 3px solid var(--black); }
.co-tl__now::before { background: var(--maroon); border-color: var(--maroon); }
.co-tl details { border-bottom: 1px solid var(--line); }
.co-tl li:last-child details { border-bottom: 0; }
.co-tl summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr; gap: .1rem; padding: 1rem 2.5rem 1rem 0; position: relative; }
.co-tl summary::-webkit-details-marker { display: none; }
.co-tl summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--f-body); color: var(--maroon); }
.co-tl details[open] summary::after { content: "\2212"; }
.co-tl__year { font: 700 .74rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); }
.co-tl__what { font: 700 1.08rem/1.4 var(--f-head); color: var(--ink); }
.co-tl details p { padding: 0 2.5rem 1.25rem 0; color: #33373a; font-size: 1rem; line-height: 1.7; margin: 0; }
.co-story__cta { margin: 0; }
@media (min-width: 700px) {
  .co-tl summary { grid-template-columns: 9.5rem 1fr; align-items: baseline; gap: 1rem; }
  .co-tl details p { padding-left: 10.5rem; }
}

/* photo band */
.co-band { position: relative; background: var(--maroon); color: #fff; overflow: hidden; }
.co-band__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.co-band__text { font: 700 clamp(1.3rem, 3.2vw, 1.9rem)/1.4 var(--f-head); max-width: 34rem; margin: 0; }
@media (min-width: 800px) { .co-band__in { flex-direction: row; align-items: center; justify-content: space-between; } }

/* the art and what we teach */
.co-art { background: var(--snow); }
.co-art__grid { display: grid; gap: 2rem; align-items: center; }
.co-art__photo { margin: 0; border-radius: 3px; overflow: hidden; }
.co-art__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.co-kicker { font: 700 .8rem/1.5 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
@media (min-width: 900px) { .co-art__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }

.co-teach { background: #fff; border-top: 1px solid var(--line); }
.co-teach__head { max-width: 40rem; margin-bottom: 2.25rem; }
.co-teach__lead { font-size: 1.12rem; color: var(--muted); margin: 0; }
.co-choices { display: grid; gap: 1.5rem; }
.co-choice { background: var(--snow); border: 1px solid var(--line); border-top: 4px solid var(--black); border-radius: 3px; padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; }
.co-choice__logo { margin: 0 0 1.25rem; height: 5rem; display: flex; align-items: center; }
.co-choice__logo img { display: block; height: 100%; width: auto; max-width: 100%; }
.co-choice__logo--fs3 img { height: 4.25rem; }
.co-choice h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.co-choice__tag { font: 700 .76rem/1.5 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 1rem; }
.co-choice p:not(.co-choice__tag) { color: #33373a; font-size: 1rem; }
.co-choice .co-btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 820px) { .co-choices { grid-template-columns: 1fr 1fr; gap: 2rem; } .co-choice { padding: 2rem 2rem 2.25rem; } }

/* events (filled by js/events.js) */
.co-events { background: var(--snow-2); border-top: 1px solid var(--line); }
.co-events__list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.event-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--maroon); border-radius: 3px; padding: 1.4rem 1.5rem; }
.event-type { font: 700 .72rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); margin: 0 0 .35rem; }
.event-title { font-size: 1.3rem; margin-bottom: .4rem; }
.event-meta { font-weight: 700; font-size: .95rem; margin-bottom: .6rem; }
.event-desc, .event-note { font-size: .98rem; color: #33373a; }
.event-note { font-style: italic; }
.event-card .button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem 1.3rem; border-radius: 3px; background: var(--maroon); color: #fff; font: 700 .74rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; margin-top: .4rem; }
.event-card .button:hover { background: var(--maroon-d); color: #fff; }

/* contact */
.co-contact { background: var(--black); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.co-contact h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1.1rem; color: #fff; }
.co-contact__text p { color: #e0dacd; font-size: 1.08rem; max-width: 30rem; }
.co-contact__grid { display: grid; gap: 2.25rem; }
.co-field { margin-bottom: 1rem; }
.co-field label { display: block; font: 700 .72rem/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #cfc8b8; margin-bottom: .4rem; }
.co-field input, .co-field textarea { width: 100%; background: #17191c; border: 1px solid #44484d; border-radius: 3px; color: #fff; padding: .85rem 1rem; font: 400 1rem/1.5 var(--f-body); }
.co-field input::placeholder, .co-field textarea::placeholder { color: #8a8f95; }
.co-field input:focus, .co-field textarea:focus { outline: 2px solid var(--cream); outline-offset: 1px; border-color: var(--cream); }
.co-field input.co-bad, .co-field textarea.co-bad { border-color: #e48a8a; }
.co-field textarea { resize: vertical; min-height: 9rem; }
.co-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-submit { width: 100%; margin-top: .25rem; }
.co-status { margin: .9rem 0 0; color: #cfc8b8; font-size: .95rem; }
.co-warn { margin: 1rem 0 0; padding: .85rem 1rem; background: #3a1616; border: 1px solid #8a3a3a; border-radius: 3px; color: #ffd9d9; font-size: .95rem; }
.co-ok { margin: 0; padding: 1.25rem 1.25rem; background: #14261a; border: 1px solid #3f7a52; border-radius: 3px; color: #dff3e6; font-size: 1.02rem; }
[hidden] { display: none !important; }
@media (min-width: 900px) { .co-contact__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4.5rem; align-items: start; } .co-submit { width: auto; min-width: 14rem; } }

/* footer */
.co-footer { background: #000; color: #bdb7aa; padding: 2.5rem 0 5.5rem; border-top: 1px solid #1f2124; }
.co-footer__in { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
.co-footer__logo { display: block; }
.co-footer__logo img { width: 86px; height: auto; display: block; }
.co-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.co-footer__links a { color: #e6e1d6; font: 700 .76rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .5rem 0; }
.co-footer__links a:hover { text-decoration: underline; text-underline-offset: .4em; }
.co-footer__copy { margin: 0; font-size: .8rem; color: #8f8a7f; }
@media (min-width: 900px) { .co-footer { padding-bottom: 2.5rem; } }

/* phone: the message button follows until the form is in view */
.co-sticky { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: center; min-height: 3.25rem; background: var(--maroon); color: #fff; border-radius: 3px; font: 700 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.co-sticky:hover { background: var(--maroon-d); color: #fff; }
@media (min-width: 900px) { .co-sticky { display: none !important; } }

@media (max-width: 359px) {
  .co-header__in { gap: .6rem; }
  .co-brand { gap: .45rem; font-size: .72rem; letter-spacing: .05em; }
  .co-brand__logo { height: 52px; }
  .co-brand__name span { font-size: .62rem; letter-spacing: .08em; }
  .co-header__cta { padding: .55rem .6rem; font-size: .58rem; letter-spacing: .06em; }
}
