/* chessiemooreweb.com · Emerald step-cut design
   Palette: ivory #f7f8f5 ground, emerald #1f5c46 accent, moss #c5d6c8 support.
   Motif: the step cut. Corners are cut as staircases, dossier rows and the
   timeline sit on a stepped rail. */

:root {
  --ivory: #f7f8f5;
  --ink: #1e2823;
  --ink-soft: #3a463f;
  --emerald: #1f5c46;
  --emerald-deep: #123527;
  --moss: #c5d6c8;
  --moss-soft: #e7eee8;
  --line: #d9e1d9;
  --panel: #ffffff;
  --display: 'Oranienbaum', Georgia, 'Times New Roman', serif;
  --body: 'Varta', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --step-clip: polygon(0 20px, 10px 20px, 10px 10px, 20px 10px, 20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 10px) calc(100% - 20px), calc(100% - 10px) calc(100% - 10px), calc(100% - 20px) calc(100% - 10px), calc(100% - 20px) 100%, 0 100%);
  --step-clip-sm: polygon(0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 0 100%);
  --stair-rail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 1H11M11 0V24' fill='none' stroke='%231f5c46' stroke-width='2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.66;
  font-weight: 400;
}

img { max-width: 100%; }

a { color: var(--emerald); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.14; margin: 0; }

p { margin: 0 0 1rem; }

.shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 26px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------------------------------------------------------------- header ---- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 17px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: 1.42rem;
  letter-spacing: .015em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--emerald);
  clip-path: var(--step-clip-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .855rem;
  letter-spacing: .065em;
  text-transform: uppercase;
  padding: .18rem 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover { color: var(--emerald); border-bottom-color: var(--emerald); }
.main-nav a[aria-current="page"] { color: var(--emerald); border-bottom-color: var(--moss); }

.btn {
  display: inline-flex;
  align-items: center;
  background: var(--emerald);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.2;
  padding: .74rem 1.4rem;
  text-decoration: none;
  border: 0;
  clip-path: var(--step-clip-sm);
  transition: background .18s ease;
}

.btn:hover { background: var(--emerald-deep); color: var(--ivory); }

/* the nav colour rule (0-1-1) outranks .btn (0-1-0): restate both states */
.main-nav a.btn {
  color: var(--ivory);
  border-bottom: 0;
  padding: .6rem 1.15rem;
  font-size: .9rem;
  letter-spacing: .02em;
  text-transform: none;
}
.main-nav a.btn:hover { color: var(--ivory); background: var(--emerald-deep); }

/* ------------------------------------------------------------------ hero ---- */
.hero { padding: 44px 0 52px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.hero-photo { position: relative; grid-column: 1; grid-row: 1; }

.hero-photo .plate {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 58%;
  height: 50%;
  background: var(--moss-soft);
  clip-path: var(--step-clip);
  z-index: 0;
}

.hero-photo .edge {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 54%;
  height: 46%;
  border: 1px solid var(--emerald);
  clip-path: var(--step-clip);
  z-index: 0;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--step-clip);
}

.hero-copy { grid-column: 2; grid-row: 1; }

.kicker {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 .85rem;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.5rem);
  margin: 0 0 .35rem;
}

.hero-copy .tagline {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  color: var(--emerald);
  margin: 0 0 1.05rem;
}

.hero-copy .lead {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 2.2rem;
  margin: 1.7rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li { font-size: .9rem; color: var(--ink-soft); }
.hero-facts .k {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: .12rem;
}

/* -------------------------------------------------------------- sections ---- */
.section { padding: 54px 0; }
.section-tight { padding: 46px 0 50px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: .95rem;
  margin: 0 0 1.4rem;
}

.sec-num {
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .09em;
  color: var(--emerald);
  border-bottom: 2px solid var(--moss);
  padding-bottom: .18rem;
}

.sec-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

.sec-sub {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: .98rem;
  margin: -.7rem 0 1.6rem;
}

/* ------------------------------------------------------------- partners ----- */
.partners { background: var(--moss-soft); padding: 48px 0 52px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  gap: 16px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--step-clip);
  transition: border-color .18s ease;
}

.partner-card:hover { border-color: var(--emerald); }
.partner-card img { width: auto; height: auto; max-width: 188px; max-height: 66px; object-fit: contain; }

/* ------------------------------------------------------ stepped rail lists -- */
.ladder { position: relative; padding-left: 46px; margin: 0; }

.ladder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 24px;
  background-image: var(--stair-rail);
  background-repeat: repeat-y;
  background-size: 24px 24px;
}

.ladder > li, .ladder > .row { position: relative; }

.ladder > li::before, .ladder > .row::before {
  content: "";
  position: absolute;
  left: -34px;
  top: .6em;
  width: 22px;
  height: 22px;
  background: var(--ivory);
}

.ladder > li::after, .ladder > .row::after {
  content: "";
  position: absolute;
  left: -33px;
  top: .82em;
  width: 14px;
  height: 14px;
  background: var(--emerald);
  clip-path: var(--step-clip-sm);
}

.ladder > li:first-child::before, .ladder > .row:first-child::before { top: .62em; }

/* ------------------------------------------------------- dossier / profile -- */
.ladder-table { display: grid; margin: 0; }

.ladder-table .row {
  display: grid;
  grid-template-columns: minmax(140px, 210px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: .82rem 0;
  border-top: 1px solid var(--line);
}

.ladder-table .row:first-child { border-top: 0; padding-top: 0; }
.ladder-table dt { font-family: var(--display); font-size: .98rem; color: var(--emerald); }
.ladder-table dd { margin: 0; font-size: .97rem; color: var(--ink); }

/* ----------------------------------------------------------------- about ---- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 56px;
  align-items: start;
}

.about-photo { position: relative; margin: 0; }
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--step-clip);
  position: relative;
  z-index: 1;
}
.about-photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 46%;
  height: 38%;
  border: 1px solid var(--moss);
  clip-path: var(--step-clip);
  z-index: 0;
}

.about-text p { color: var(--ink-soft); }
.about-text p:last-child { margin-bottom: 0; }

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.45rem 1.6rem;
  clip-path: var(--step-clip);
}

.card .card-num {
  display: block;
  font-family: var(--display);
  font-size: .88rem;
  letter-spacing: .1em;
  color: var(--emerald);
  margin-bottom: .55rem;
}

.card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* -------------------------------------------------------------- timeline ---- */
.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.brief-text p { color: var(--ink-soft); }
.brief-text p:last-child { margin-bottom: 0; }

.ladder-list { list-style: none; margin: 0; padding-left: 46px; }
.ladder-list li { padding-bottom: 1.15rem; }
.ladder-list li:last-child { padding-bottom: 0; }

.ladder-list .when {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--emerald);
  margin-bottom: .16rem;
}

.ladder-list .what { display: block; font-size: .97rem; color: var(--ink); }

/* --------------------------------------------------------------- gallery ---- */
.gallery { background: var(--panel); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--moss-soft);
  clip-path: var(--step-clip);
}

.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.g-tall img { object-position: 50% 18%; }
.g-sq img { object-position: 50% 50%; }

.g-plate, .g-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.g-plate img, .g-wide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.g-plate img { width: 200px; }

/* ---------------------------------------------------------------- social ---- */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 320px));
  gap: 14px;
}

.social-list a {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: 1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--step-clip);
  text-decoration: none;
  color: var(--ink);
}

.social-list a:hover { border-color: var(--emerald); }
.social-list .platform {
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--emerald);
}
.social-list .handle { font-size: .97rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- footer ---- */
.site-footer {
  background: var(--moss-soft);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

.footer-brand { display: grid; gap: .18rem; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.18rem; color: var(--ink); }
.footer-brand .brand-line { font-size: .87rem; color: var(--ink-soft); }

.language-nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.language-nav a {
  font-size: .86rem;
  color: var(--emerald);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.language-nav a:hover { border-bottom-color: var(--emerald); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--moss); }

.footer-legal { margin: 0; font-size: .86rem; color: var(--ink-soft); text-align: right; }

/* -------------------------------------------------------------- subpages ---- */
.page-top { padding: 46px 0 8px; }

.page-top .eyebrow {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 .7rem;
}

.page-top h1 { font-size: clamp(2.05rem, 3.4vw, 2.9rem); margin: 0 0 .85rem; }

.page-top .lead {
  max-width: 68ch;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
}

.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin: 0 0 .9rem; }
.prose p { color: var(--ink-soft); }
.prose-block { padding: 34px 0 6px; }

.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li {
  position: relative;
  padding: 0 0 .8rem 1.6rem;
  font-size: .97rem;
  color: var(--ink-soft);
}
.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--moss);
  clip-path: var(--step-clip-sm);
}

.year-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.year-table li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: .72rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--step-clip);
}
.year-table .y { font-family: var(--display); font-size: 1rem; color: var(--emerald); }
.year-table .n { font-size: .92rem; color: var(--ink-soft); }

.qa-list { display: grid; margin: 0; padding: 0; list-style: none; }
.qa-list .qa { position: relative; padding: 1.5rem 0 1.5rem 1.7rem; border-top: 1px solid var(--line); }
.qa-list .qa:first-child { border-top: 0; padding-top: .3rem; }
.qa-list .qa::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.95rem;
  width: 12px;
  height: 12px;
  background: var(--moss);
  clip-path: var(--step-clip-sm);
}
.qa-list .qa:first-child::before { top: .75rem; }
.qa-list h3 { font-size: 1.16rem; margin: 0 0 .55rem; }
.qa-list p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ------------------------------------------------------------------- 404 ---- */
.notfound { padding: 92px 0 110px; }
.notfound h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); margin: 0 0 1rem; }
.notfound p { max-width: 56ch; color: var(--ink-soft); margin: 0 0 1.8rem; }
.notfound .mark {
  width: 74px;
  height: 74px;
  margin-bottom: 1.8rem;
  background: var(--moss-soft);
  clip-path: var(--step-clip);
}

/* --------------------------------------------------------------- 1100px ---- */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .about-grid { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .brief-grid { gap: 40px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}

@media (max-width: 940px) {
  .header-inner { flex-wrap: wrap; gap: .6rem 1rem; }
  .hero { padding: 34px 0 44px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-photo { grid-column: 1; grid-row: auto; max-width: 440px; }
  .hero-copy { grid-column: 1; grid-row: auto; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-photo { max-width: 360px; }
  .brief-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .card-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gallery-grid { grid-auto-rows: 240px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-legal { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 42px 0; }
  .partners { padding: 40px 0 44px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .ladder { padding-left: 34px; }
  .ladder::before { width: 18px; background-size: 18px 18px; }
  .ladder > li::before, .ladder > .row::before { left: -26px; width: 16px; height: 16px; }
  .ladder > li::after, .ladder > .row::after { left: -23px; width: 11px; height: 11px; }
  .ladder-table .row { grid-template-columns: minmax(0, 1fr); gap: .18rem; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .g-tall img, .g-sq img { height: auto; aspect-ratio: 4 / 5; }
  .g-wide img { width: 100%; }
  .g-plate { padding: 16px; }
  .social-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .page-top { padding: 34px 0 4px; }
  .notfound { padding: 60px 0 76px; }
}
