/* federica-tommasi.com · Headband
   Book cloth rose grey, one wine accent, 1px rules, no cards. */

:root {
  --cloth: #cbb6ab;
  --ink: #241c18;
  --grey: #463a33;
  --wine: #66262b;
  --line: #b9a49a;
  --panel: #d6c3b9;
  --plate: #ece2dc;
  --disp: 'Elsie Swash Caps', Georgia, 'Times New Roman', serif;
  --body: 'Moderustic', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cloth);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-variation-settings: 'wght' 400;
  font-size: 17px;
  line-height: 1.72;
}

h1, h2, h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 18px; }

a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--wine); }

::selection { background: var(--wine); color: var(--cloth); }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }

.mark { display: block; width: 30px; height: 10px; color: var(--ink); }
.mark .w { stroke: var(--wine); }

.kicker {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 18px;
}

.side-label {
  font-size: 7px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 6px;
}

/* header */
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 34px; padding: 20px 0; }
.brand {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--wine); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--wine);
  border: 1px solid var(--wine);
  color: var(--cloth);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cloth); text-decoration: none; }
.main-nav a.btn { color: var(--cloth); padding: 0 18px; min-height: 38px; border: 1px solid var(--wine); }
.main-nav a.btn:hover { color: var(--cloth); background: var(--ink); border-color: var(--ink); }
.btn-lg { min-height: 44px; }

/* hero spread */
.hero { padding-top: 0; }
.spread {
  position: relative;
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  column-gap: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spread::after {
  content: "";
  position: absolute;
  left: 540px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.page-l {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 29px 29px 22px;
  min-height: 760px;
}
.hero-img { display: block; width: 100%; max-width: 460px; height: auto; }
.place {
  margin: 14px 0 0;
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey);
}
.page-r { padding-top: 12px; min-width: 0; }
.hero-mark { margin: 0 0 22px; }
.hero-title { font-size: 64px; line-height: 1.06; margin: 0 0 24px; overflow-wrap: break-word; }
.lead { font-size: 17px; line-height: 1.72; max-width: 32ch; margin: 0 0 36px; }
.hero-cta { margin: 0 0 34px; }
.hero-cta .btn { min-width: 184px; }
.ledger { list-style: none; margin: 0; padding: 0; max-width: 380px; }
.ledger li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}
.ledger li span:first-child {
  font-size: 7px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}
.ledger li span:last-child { font-size: 11px; color: var(--ink); text-align: right; }

/* section shell */
.sec { padding-top: 60px; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 28px;
}
.sec-head h2 { font-size: 30px; line-height: 1.2; font-feature-settings: "swsh" 0, "salt" 0, "calt" 0; }
.sec-note {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}

/* 01 partners */
.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}
.partner a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  height: 88px;
  text-decoration: none;
  color: var(--ink);
}
.plogo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 54px;
  background: var(--plate);
  border: 1px solid #ddcfc6;
}
.plogo img { width: 76px; height: 46px; object-fit: contain; filter: none; mix-blend-mode: normal; }
.pname { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; }
.pnum { font-size: 8px; letter-spacing: .14em; color: var(--grey); justify-self: end; }
.partner.first .pnum { color: var(--wine); }
.partner a:hover .pname { color: var(--wine); }

/* 02 quick profile */
.profile { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); column-gap: 60px; }
.prows { margin: 0; }
.prow {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  height: 46px;
  border-top: 1px solid var(--line);
}
.prows .prow:last-child { border-bottom: 1px solid var(--line); }
.prow dt { font-size: 8px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.plead { height: 1px; background: var(--line); margin: 0 14px; align-self: center; }
.prow dd { margin: 0; font-size: 17px; text-align: right; }
.prow.hot dd { color: var(--wine); }
.pnotes { border-left: 1px solid var(--line); padding-left: 30px; }
.pnotes p { font-size: 10px; line-height: 1.65; color: var(--grey); margin: 0 0 12px; }
.pnotes p:first-child { font-size: 11px; color: var(--ink); }

/* 03 about */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 520px);
  column-gap: 90px;
}
.about::before {
  content: "";
  position: absolute;
  left: 520px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.about-main p { max-width: 48ch; margin: 0 0 18px; }
/* Raised initial disabled: the swash display face put an ornamental
   blob over the first letter and the float collided with the heading. */
.drop::first-letter {
  font-weight: 700;
}
.quote { margin: 26px 0; padding: 0; }
.qmark { margin: 0 0 12px; }
.quote::before, .quote::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background: var(--line);
}
.quote::before { margin: 0 auto 16px; }
.quote::after { margin: 16px auto 0; }
.quote blockquote {
  margin: 0 0 8px;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.3;
}
.quote .qsrc { font-size: 10px; color: var(--grey); margin: 0; }
.quote .trans { font-size: 11px; line-height: 1.6; color: var(--grey); margin: 8px 0 0; max-width: 44ch; }
.fine { font-size: 11px; line-height: 1.62; color: var(--grey); max-width: 52ch; margin: 26px 0 0; }
.about .fine + .fine { margin-top: 10px; }
.books { padding-top: 4px; }
.books dl { margin: 0; }
.brow { padding: 12px 0; border-top: 1px solid var(--line); }
.brow dt { font-size: 7px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.brow dd { margin: 3px 0 0; font-size: 12px; line-height: 1.45; }

/* 04 career bands */
.bands { list-style: none; margin: 0; padding: 0; }
.band {
  display: grid;
  grid-template-columns: 96px 334px minmax(0, 1fr);
  align-items: start;
  min-height: 96px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.bmark { width: 64px; padding-top: 10px; }
.brule { display: block; width: 64px; height: 1px; background: var(--line); }
.byears { font-family: var(--disp); font-weight: 900; font-size: 30px; line-height: 1.15; }
.band.accent .byears { color: var(--wine); }
.bevents p { margin: 0; font-size: 13px; line-height: 1.6; }
.bevents p + p { margin-top: 3px; }

/* 05 gallery */
.gallery { margin-top: 16px; }
.gmark { margin: 0 0 16px; }
.grow { display: flex; align-items: flex-end; gap: 24px; }
.grow + .grow { margin-top: 40px; justify-content: flex-end; padding-right: 80px; }
.plate { position: relative; margin: 0; border: 1px solid var(--line); line-height: 0; flex: 0 0 auto; }
.plate img { display: block; max-width: 100%; height: auto; }
.plate::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -11px;
  width: 1px;
  height: 5px;
  background: var(--wine);
}

/* 06 social */
.social-mark { margin: 0 0 16px; }
.social { display: grid; grid-template-columns: 480px 480px; column-gap: 120px; }
.sname { font-size: 7px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin: 0; }
.shandle {
  display: inline-block;
  font-size: 13px;
  margin: 8px 0 6px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.shandle:hover { border-bottom-color: var(--wine); }
.sstatus { font-size: 11px; color: var(--grey); margin: 0; }
.sec-social { padding-bottom: 8px; }
.sec-social .fine { max-width: 100%; }
.sec-social .fine + .fine { margin-top: 6px; }

/* footer */
.foot { margin-top: 72px; }
.weave { display: flex; justify-content: center; padding: 0 0 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  column-gap: 44px;
  align-items: start;
  padding-top: 16px;
}
.fname { font-family: var(--disp); font-weight: 900; font-size: 20px; line-height: 1.2; margin: 0 0 4px; }
.ftag { font-size: 11px; line-height: 1.6; color: var(--grey); margin: 0; max-width: 30ch; }
.flang { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.flang a { color: var(--grey); text-decoration: none; padding: 0 2px; }
.flang a:hover { color: var(--ink); }
.flang a.on { color: var(--ink); border-bottom: 1px solid var(--wine); }
.fcopy { font-size: 11px; color: var(--grey); margin: 0; text-align: right; padding-top: 3px; }
.fcredits { font-size: 10.5px; line-height: 1.62; color: var(--grey); margin: 14px 0 0; }
.fcredits + .fcredits { margin-top: 4px; }
.foot .fcredits:last-child { padding-bottom: 40px; }

/* subpages */
.sub { padding-top: 44px; }
.sub-head { border-top: 1px solid var(--line); padding-top: 26px; }
.sub-head .kicker { margin-bottom: 14px; }
.sub-head h1 { font-size: 56px; line-height: 1.08; max-width: 24ch; }
.sub-lead { max-width: 46ch; font-size: 19px; line-height: 1.62; color: var(--grey); margin: 20px 0 0; }
.sub-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 80px;
  margin-top: 48px;
}
.rail { border-top: 1px solid var(--ink); padding-top: 14px; align-self: start; }
.rrow { padding: 10px 0; border-top: 1px solid var(--line); }
.rrow:first-of-type { border-top: 0; padding-top: 4px; }
.rrow dt { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.rrow dd { margin: 3px 0 0; font-size: 12px; line-height: 1.5; }
.prose { border-left: 1px solid var(--line); padding-left: 60px; max-width: 720px; }
.prose h2 { font-size: 30px; line-height: 1.22; margin: 38px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 64ch; margin: 0 0 18px; }
.prose .closing {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 60ch;
}

.fgroup { margin-top: 42px; }
.fgroup:first-child { margin-top: 0; }
.fgroup-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.fgroup-head h2 { font-size: 26px; margin: 0; }
.fgnote { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.frow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.fyear { font-size: 12px; color: var(--grey); }
.ftitle { font-size: 15px; line-height: 1.4; }
.fnote { display: block; font-size: 11px; line-height: 1.5; color: var(--grey); margin-top: 2px; }
.frole { font-size: 11px; line-height: 1.4; color: var(--grey); text-align: right; }

.faq { margin-top: 8px; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 { font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.faq-item p { margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.68; color: var(--grey); }

/* 404 */
.e404 { min-height: 62vh; padding: 70px 0 40px; }
.e404-mark { margin-bottom: 22px; }
.e404 h1 { font-size: 84px; line-height: 1.02; margin: 0 0 22px; overflow-wrap: break-word; }
.e404 .lead { max-width: 40ch; }

/* responsive */
@media (max-width: 1024px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 10px; }
  .main-nav { margin-left: 0; width: 100%; gap: 18px; flex-wrap: wrap; }
  .spread { grid-template-columns: 420px minmax(0, 1fr); column-gap: 40px; }
  .spread::after { left: 460px; }
  .page-l { padding: 24px; min-height: 0; }
  .hero-img { max-width: 360px; }
  .hero-title { font-size: 52px; }
  .partners { grid-template-columns: 1fr; column-gap: 0; }
  .partner a { height: 76px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .pnotes {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .pnotes p { margin: 0; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about::before { display: none; }
  .books { margin-top: 34px; max-width: 520px; }
  .band { grid-template-columns: 96px 264px minmax(0, 1fr); }
  .byears { font-size: 25px; }
  .social { grid-template-columns: 1fr; row-gap: 28px; }
  .grow { flex-wrap: wrap; row-gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .fcopy { grid-column: 1 / -1; text-align: left; }
  .sub-grid { grid-template-columns: 220px minmax(0, 1fr); column-gap: 50px; }
  .prose { padding-left: 40px; }
  .sub-head h1 { font-size: 46px; }
}

@media (max-width: 900px) {
  .spread { grid-template-columns: 340px minmax(0, 1fr); column-gap: 40px; }
  .spread::after { left: 380px; }
  .page-l { padding: 18px; }
  .hero-img { max-width: 300px; }
  .hero-title { font-size: 42px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .topbar-inner { flex-wrap: wrap; gap: 0; }
  .brand { font-size: 19px; }
  .main-nav { width: 100%; margin: 14px 0 0; gap: 0 18px; flex-wrap: wrap; justify-content: space-between; }
  .main-nav a { font-size: 10px; padding: 8px 0; }
  .main-nav a.btn { order: 9; width: 100%; margin-top: 12px; padding: 0 18px; }
  .spread { grid-template-columns: 1fr; column-gap: 0; padding: 0 0 32px; border-top: 0; }
  .spread::after { display: none; }
  .page-l { border-left: 0; border-right: 0; border-top: 1px solid var(--line); padding: 20px 20px 16px; }
  .hero-img { max-width: 460px; }
  .page-r { padding-top: 26px; border-top: 1px solid var(--line); }
  .hero-title { font-size: 44px; }
  .lead { max-width: none; }
  .ledger { max-width: 100%; }
  .sec { padding-top: 48px; }
  .sec-head h2 { font-size: 24px; }
  .prow { grid-template-columns: 1fr; height: auto; padding: 10px 0; gap: 2px; }
  .plead { display: none; }
  .prow dd { text-align: left; font-size: 15px; }
  .pnotes { grid-template-columns: 1fr; gap: 10px; }
  .about-main p { max-width: none; }
  .drop::first-letter { font-size: 64px; padding-top: 4px; }
  .quote blockquote { font-size: 21px; }
  .band { grid-template-columns: 1fr; min-height: 0; padding: 16px 0; row-gap: 6px; }
  .bmark { padding-top: 0; }
  .byears { font-size: 24px; }
  .bevents p { font-size: 13.5px; }
  .grow { flex-wrap: wrap; gap: 18px; }
  .grow + .grow { justify-content: flex-start; padding-right: 0; margin-top: 32px; }
  .plate img { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .fcopy { text-align: left; }
  .sub { padding-top: 30px; }
  .sub-head h1 { font-size: 38px; }
  .sub-lead { font-size: 17px; }
  .sub-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .prose { border-left: 0; padding-left: 0; margin-top: 32px; max-width: none; }
  .prose h2 { font-size: 25px; margin-top: 32px; }
  .frow { grid-template-columns: 50px minmax(0, 1fr); }
  .frole { grid-column: 2; text-align: left; margin-top: 2px; }
  .faq-item h2 { font-size: 20px; }
  .e404 h1 { font-size: 52px; }
}

/* 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;
}
