/* fayereaganweb.com
   Comb: three cells, two capped, one open.
   Palette: graphite, bone, grey, sage, hairline, panel. */

:root {
  --bg: #1b1d1e;
  --ink: #e8e6e1;
  --gray: #9b9d99;
  --accent: #93a487;
  --line: #2b2e2f;
  --panel: #232627;
  --display: 'Lexend Exa', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Anonymous Pro', 'Courier New', monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15.5px;
  line-height: 1.76;
  font-weight: 400;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

::selection { background: var(--accent); color: var(--bg); }

p { margin: 0; }

.container {
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
}

/* marks */

.mark { display: block; width: 26px; height: 26px; color: var(--gray); }
.mark .hex { stroke: currentColor; stroke-width: 1; fill: none; }
.mark .cap { stroke: var(--accent); stroke-width: 1; fill: none; }

/* top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
}

.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 9.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
  padding: 3px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--gray);
}

.main-nav a.is-here {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.btn,
.main-nav a.btn {
  display: inline-block;
  background: var(--accent);
  color: #1b1d1e;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  padding: 11px 16px;
  border: 1px solid var(--accent);
}

.main-nav a.btn {
  color: #1b1d1e;
  border-bottom: 1px solid var(--accent);
}

.btn:hover,
.main-nav a.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #1b1d1e;
}

/* hero */

.hero { padding: 24px 0 0; }

.plate {
  font-family: var(--display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.masthead {
  position: relative;
  height: 1px;
  margin-top: 14px;
  background: var(--line);
}

.masthead .mark {
  position: absolute;
  right: 0;
  top: -26px;
}

.hero-figure {
  width: 500px;
  max-width: 100%;
  margin: 20px auto 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 10%;
  background: var(--panel);
}

.hero-foot {
  position: relative;
  width: 500px;
  max-width: 100%;
  height: 1px;
  margin: 0 auto;
  background: var(--line);
}

.hero-foot .mark {
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -13px;
}

.meta-band {
  width: 100%;
  max-width: 1040px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
}

.meta-cell {
  padding: 13px 12px 12px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.meta-cell:first-child { border-left: 0; }

.meta-v {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
}

.meta-k {
  margin-top: 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gray);
}

.lead {
  max-width: 40ch;
  margin: 18px auto 0;
  text-align: center;
}

.lead .hl { color: var(--accent); }

.hero-cta { text-align: center; margin-top: 14px; }

/* section furniture */

.section { margin-top: 48px; }

.sec-head { display: flex; align-items: baseline; gap: 14px; }

.sec-no {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gray);
  min-width: 22px;
}

.sec-no.hi { color: var(--accent); }

.sec-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0;
}

.sec-note {
  margin-top: 9px;
  margin-left: 36px;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--gray);
}

/* 01 partners */

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  margin-top: 18px;
}

.p-row {
  display: grid;
  grid-template-columns: 40px 1fr 84px;
  align-items: center;
  column-gap: 16px;
  height: 76px;
  text-decoration: none;
}

.p-no {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--gray);
}

.p-name {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}

.p-logo {
  width: 84px;
  height: 50px;
  object-fit: contain;
  background: var(--ink);
  padding: 5px;
  filter: none;
}

/* 02 quick profile */

.profile {
  width: 100%;
  max-width: 960px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 40px;
}

.pf {
  border-top: 1px solid var(--line);
  padding: 9px 0 17px;
  min-height: 60px;
}

.pf-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.pf-v { margin-top: 5px; font-size: 16px; line-height: 1.35; }

/* 03 about */

.about {
  display: grid;
  grid-template-columns: 360px 1fr;
  column-gap: 80px;
  margin-top: 24px;
}

.about-fig { position: relative; }

.about-fig img {
  width: 360px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--panel);
}

.about-fig .mark {
  position: absolute;
  left: -16px;
  top: -16px;
}

.about-txt { max-width: 58ch; }

.about-txt p + p { margin-top: 18px; }

.arch { margin-top: 26px; border-top: 1px solid var(--line); }

.arch-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.arch-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 3px;
}

.notes {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray);
}

.notes p + p { margin-top: 4px; }

/* 04 career ledger */

.ledger-block { width: 100%; max-width: 1000px; }

.ledger-head {
  position: relative;
  height: 2px;
  margin-top: 24px;
  background: var(--gray);
}

.ledger-head .mark {
  position: absolute;
  right: 0;
  top: -26px;
}

.ledger-th,
.ledger-row {
  display: grid;
  grid-template-columns: 80px 90px 1fr;
  column-gap: 16px;
  align-items: center;
}

.ledger-th {
  padding: 9px 0 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.ledger-th .r { text-align: right; }

.ledger-row {
  height: 42px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.ledger-row:last-child { border-bottom: 1px solid var(--line); }

.ledger-row .yr { font-size: 14px; font-weight: 700; }

.ledger-row .cnt { font-size: 14px; text-align: right; padding-right: 12px; }

.ledger-row .ev { font-size: 13px; }

.acc { color: var(--accent); }

.cnt-inline { display: none; }

/* 05 gallery */

.gallery { margin-top: 26px; }

.strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 1234px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.frame {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}

.frame::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -6px;
  width: 1px;
  height: 5px;
  background: var(--gray);
}

.frame img { height: 330px; width: 100%; object-fit: cover; }

.frame:nth-child(1) { width: 250px; margin-top: 0; }
.frame:nth-child(2) { width: 230px; margin-top: 12px; }
.frame:nth-child(3) { width: 210px; margin-top: 0; }
.frame:nth-child(4) { width: 230px; margin-top: 12px; }
.frame:nth-child(5) { width: 250px; margin-top: 0; }

.frame:nth-child(5) .mark {
  position: absolute;
  right: -8px;
  bottom: -8px;
}

/* 06 record */

.record { width: 100%; max-width: 800px; margin: 22px auto 0; }

.record-row {
  display: grid;
  grid-template-columns: 150px 1fr 110px;
  column-gap: 16px;
  align-items: center;
  height: 56px;
  border-top: 1px solid var(--line);
}

.record-row:last-child { border-bottom: 1px solid var(--line); }

.record-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.record-v { font-size: 12px; line-height: 1.4; }

.record-st { font-size: 11px; color: var(--gray); text-align: right; }

.record-notes {
  margin-top: 12px;
  max-width: 800px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--gray);
}

.record-notes p + p { margin-top: 5px; }

/* subpages */

.page-head { padding: 54px 0 0; }

.eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 12px 0 0;
}

.page-lead {
  max-width: 52ch;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
}

.sheet {
  display: grid;
  grid-template-columns: minmax(0, 640px) 300px;
  column-gap: 100px;
  margin-top: 46px;
}

.blk { margin-bottom: 42px; }

.blk h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.blk h2 .n {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--gray);
  margin-right: 12px;
  vertical-align: 2px;
}

.blk p { margin-top: 13px; max-width: 58ch; }

.blk blockquote {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  max-width: 52ch;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.blk blockquote .src {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .06em;
}

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
}

.spread .blk { margin-bottom: 34px; }

.tables { margin-top: 26px; }

.tbl-h {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 38px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.studios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin-top: 8px;
}

.studio {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 7px 0;
  font-size: 12px;
}

.studio span:last-child { color: var(--gray); }

.table-note { margin-top: 10px; font-size: 11px; color: var(--gray); max-width: 70ch; }

.qa-list { max-width: 900px; margin-top: 46px; }

.ledger {
  position: sticky;
  top: 90px;
  align-self: start;
}

.ledger-row {
  border-top: 1px solid var(--line);
  padding: 9px 0 14px;
}

.ledger-row:last-child { border-bottom: 1px solid var(--line); }

.ledger-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.ledger-v { margin-top: 5px; font-size: 12.5px; line-height: 1.45; }

.wide { width: 100%; max-width: 1000px; }

/* data tables */

.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 20px;
}

.data caption {
  caption-side: top;
  text-align: left;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  padding-bottom: 10px;
}

.data th {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: left;
  padding: 0 0 9px;
  border-bottom: 2px solid var(--gray);
}

.data td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data .yr { font-weight: 700; width: 90px; font-size: 14px; }

.data .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  width: 90px;
  font-size: 14px;
}

.data .pct { text-align: right; width: 80px; color: var(--gray); }

.data .sm { font-size: 12px; color: var(--gray); }

/* FAQ */

.qa {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 20px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.qa:last-child { border-bottom: 1px solid var(--line); }

.qa-n {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gray);
  padding-top: 6px;
}

.qa-q { font-size: 17px; line-height: 1.45; margin: 0; font-weight: 400; }

.qa-a { margin-top: 9px; max-width: 62ch; font-size: 14.5px; }

/* footer */

.foot { margin-top: 88px; padding-bottom: 40px; }

.foot-top {
  position: relative;
  padding-left: 30px;
}

.foot-top::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.foot-top .mark {
  position: absolute;
  left: -13px;
  top: 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  column-gap: 44px;
  align-items: start;
}

.foot-brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.foot-line { margin-top: 8px; font-size: 11px; color: var(--gray); max-width: 34ch; }

.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11px;
  color: var(--gray);
  padding-top: 2px;
}

.lang a { text-decoration: none; color: var(--gray); }

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

.lang a[aria-current="page"] { color: var(--ink); }

.lang .slash { color: var(--line); }

.foot-copy {
  font-size: 11px;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
  padding-top: 2px;
}

.credits {
  margin: 16px 0 0 30px;
  max-width: 990px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--gray);
}

.credits p + p { margin-top: 5px; }

/* 404 */

.err {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 0;
}

.err-code {
  font-family: var(--display);
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: .12em;
}

.err-line { width: 220px; height: 1px; background: var(--line); margin: 26px 0; }

.err h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
}

.err p { max-width: 44ch; margin: 14px 0 26px; color: var(--gray); }

/* breakpoints */

@media (max-width: 1100px) {
  .sheet { grid-template-columns: 1fr; row-gap: 36px; }
  .ledger { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (max-width: 1024px) {
  .plate, .page-head h1 { font-size: 44px; }
  .spread { grid-template-columns: 1fr; }
  .studios { grid-template-columns: 1fr; }
  .hero-figure, .hero-foot { width: 460px; }
  .meta-band { grid-template-columns: 1fr; }
  .meta-cell { border-left: 0; border-top: 1px solid var(--line); text-align: left; padding: 12px 16px; }
  .meta-cell:first-child { border-top: 0; }
  .partners-grid { grid-template-columns: 1fr; max-width: 560px; }
  .strip { width: 100%; transform: none; margin-left: 0; flex-wrap: wrap; }
  .frame { width: calc((100% - 32px) / 3) !important; margin-top: 0 !important; }
  .frame img { height: auto; }
  .frame:nth-child(5) .mark { display: none; }
  .about { grid-template-columns: 1fr; row-gap: 30px; }
  .about-fig img { width: 100%; max-width: 360px; }
  .ledger-row .cnt, .data .num { display: none; }
  .cnt-inline { display: inline; }
  .ledger-th, .ledger-row { grid-template-columns: 70px 1fr; }
  .ledger-row { height: auto; min-height: 42px; padding: 9px 0; }
  .ledger-th .r { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .foot-copy { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .topbar-in { flex-wrap: wrap; padding: 12px 0; min-height: 0; row-gap: 10px; }
  .main-nav { justify-content: flex-start; gap: 13px; }
  .main-nav a { font-size: 9px; }
  .plate, .page-head h1 { font-size: 29px; letter-spacing: .12em; }
  .hero { padding-top: 28px; }
  .hero-figure, .hero-foot { width: 100%; max-width: 560px; }
  .lead { max-width: none; font-size: 14.5px; }
  .section { margin-top: 56px; }
  .sec-title { font-size: 16px; }
  .p-row { grid-template-columns: 34px 1fr 84px; height: 68px; }
  .profile { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; max-width: none; }
  .about-txt { max-width: none; }
  .arch-row { grid-template-columns: 104px 1fr; }
  .ledger-th, .ledger-row { grid-template-columns: 56px 1fr; column-gap: 12px; }
  .ledger-row .ev { font-size: 12.5px; }
  .ledger-block, .wide, .record, .social-notes { max-width: none; }
  .strip { display: block; }
  .frame { width: 100% !important; margin-bottom: 14px; }
  .frame img { height: auto; }
  .frame:nth-child(5) .mark { display: none; }
  .record-row { grid-template-columns: 84px 1fr; height: auto; padding: 12px 0; row-gap: 2px; }
  .record-st { grid-column: 2; text-align: left; }
  .page-head { padding-top: 34px; }
  .page-lead { max-width: none; font-size: 15px; }
  .sheet { margin-top: 34px; }
  .qa { grid-template-columns: 30px 1fr; column-gap: 12px; }
  .qa-q { font-size: 15.5px; }
  .data th, .data td { font-size: 12px; }
  .data .yr { width: 62px; }
  .data .pct { display: none; }
  .foot { margin-top: 60px; }
  .foot-top { padding-left: 18px; }
  .foot-top .mark { left: -13px; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 16px; }
  .credits { margin-left: 0; }
  .err-code { font-size: 64px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  filter: none;
  opacity: 1;
}
