/* Estatelio — brand guidelines page, transcribed from
   "Estatelio Brand Guidelines.dc.html". Its own shell (1180px) and
   section rhythm (96px / 56px), per the design. */

.est-bg { --shell: 1180px; --gutter: 56px; background: var(--bone); }
.est-bg .est-shell { max-width: var(--shell); margin: 0 auto; }
.est-bg section { padding: 96px var(--gutter); border-bottom: 1px solid var(--hairline); }
.est-bg section:last-child { border-bottom: 0; }

.est-bg h2 {
  margin: 0 0 20px;
  font-family: 'Newsreader', Georgia, serif; font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18;
}
.est-bg .est-eyebrow { margin: 0 0 16px; font-size: 11.5px; letter-spacing: 0.28em; }
.est-bg p { font-weight: 300; }

/* Repeated pieces */
.est-bg__label {
  margin: 0 0 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone); font-weight: 600;
}
.est-bg__note { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.est-bg__body { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); }
.est-bg__cells {
  display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline);
  align-content: start;
}
.est-bg__cell { background: var(--bone); padding: 28px 30px; }
.est-bg__cell p:last-child { margin: 0; }
.est-bg__cell--text { font-size: 15px; line-height: 1.8; color: var(--ink-body); }

/* --- Cover ------------------------------------------------------- */
.est-bg__cover { background: var(--navy); color: var(--bone); padding: 88px var(--gutter) 80px; border-bottom: 0; }
.est-bg__cover img.est-bg__lockup { height: 44px; width: auto; display: block; margin-bottom: 84px; }
.est-bg__cover .est-eyebrow { margin: 0 0 20px; font-size: 11.5px; letter-spacing: 0.3em; color: var(--clay-light); }
.est-bg__cover h1 {
  margin: 0 0 32px;
  font-family: 'Newsreader', Georgia, serif; font-weight: 400;
  font-size: clamp(44px, 5.4vw, 80px); line-height: 1.1; letter-spacing: -0.005em; max-width: 20ch;
}
.est-bg__cover p { margin: 0; max-width: 58ch; font-size: 17px; line-height: 1.8; color: var(--on-navy-body); }
.est-bg__toc {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 66px; padding-top: 24px;
  border-top: 1px solid rgba(246,242,234,0.22);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.est-bg__toc a { color: var(--on-navy-soft); }
.est-bg__toc a:hover { color: var(--bone); }

/* --- 01 Positioning ---------------------------------------------- */
.est-bg__split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; }
.est-bg__split h2 { margin: 0 0 22px; max-width: 20ch; }
.est-bg__split .est-bg__body { max-width: 48ch; }
.est-bg__oneliner { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 23px; line-height: 1.4; }

/* --- 02 Voice ----------------------------------------------------- */
.est-bg--linen { background: var(--linen); }
.est-bg__voice-intro { margin: 0 0 50px; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); max-width: 62ch; }
.est-bg__voice-intro strong { font-weight: 500; }
.est-bg__do-dont { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.est-bg__box { border: 1px solid var(--rule-soft); padding: 32px 30px; background: var(--bone); }
.est-bg__box-label { margin: 0 0 20px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.est-bg__box-label--do { color: #1F5C3D; }
.est-bg__box-label--dont { color: var(--clay); }
.est-bg__box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 15px; font-size: 15px; line-height: 1.7; font-weight: 300; }
.est-bg__box--do ul { color: var(--navy); }
.est-bg__box--dont ul { color: var(--ink-soft); }
.est-bg__trio { margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.est-bg__trio .est-bg__cell { padding: 24px 26px; }
.est-bg__tagline { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 20px; }
.est-bg__cell-copy { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-body); }

/* --- 03 Logo ------------------------------------------------------ */
.est-bg__lede { margin: 0 0 44px; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); max-width: 60ch; }
.est-bg__logo-pair {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-bottom: 26px;
}
.est-bg__stage { background: #fff; padding: 54px 40px; display: grid; gap: 30px; place-items: center; text-align: center; }
.est-bg__stage--navy { background: var(--navy); }
.est-bg__stage img { width: 100%; max-width: 330px; height: auto; }
.est-bg__caption { margin: 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.est-bg__caption--rev { color: var(--on-navy-soft); }
.est-bg__logo-rules {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--hairline); border: 1px solid var(--hairline);
}
.est-bg__rule-cell { background: #fff; padding: 36px 30px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.est-bg__rule-cell img { width: 170px; height: auto; display: block; }
.est-bg__clearspace { padding: 24px; outline: 1px dashed var(--rule-soft); }
.est-bg__sizes { display: grid; gap: 14px; justify-items: center; }
.est-bg__sizes img:last-child { width: 120px; }
.est-bg__never { margin-top: 26px; border: 1px solid var(--hairline); padding: 32px; background: var(--bone); }
.est-bg__never .est-bg__box-label { margin-bottom: 20px; color: var(--clay); }
.est-bg__never ul {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 13px 32px; font-size: 15px; line-height: 1.7; color: var(--ink-body); font-weight: 300;
}
.est-bg__never li { display: flex; gap: 10px; }
.est-bg__never li::before { content: "\00D7"; color: var(--clay); }

/* --- 04 Monogram -------------------------------------------------- */
.est-bg__mono-intro { margin: 0 0 18px; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); max-width: 62ch; }
.est-bg__mono-note { margin: 0 0 44px; font-size: 15px; line-height: 1.8; color: var(--ink-soft); max-width: 62ch; }
.est-bg__panels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-bottom: 26px;
}
.est-bg__panel { background: #fff; padding: 0; }
.est-bg__panel-head { padding: 14px 26px; border-bottom: 1px solid var(--hairline); }
.est-bg__panel-head .est-bg__label { margin: 0; }
.est-bg__sizetest { padding: 44px 32px; display: flex; gap: 34px; align-items: flex-end; justify-content: center; min-height: 150px; }
.est-bg__sizetest img { width: auto; }
.est-bg__tiles { padding: 38px 32px; display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
.est-bg__tiles img { width: 88px; height: 88px; display: block; }
.est-bg__tiles img.is-bone { border: 1px solid var(--hairline); box-sizing: border-box; }
.est-bg__panel-foot { padding: 0 32px 28px; }
.est-bg__mono-cells { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.est-bg__mono-cells .est-bg__cell { padding: 28px; }
.est-bg__cell-note { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-body); }

/* --- 05 Colour ----------------------------------------------------- */
.est-bg__colour-intro { margin: 0 0 16px; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); max-width: 62ch; }
.est-bg__colour-note { margin: 0 0 42px; font-size: 15px; line-height: 1.8; color: var(--ink-soft); max-width: 62ch; }
.est-bg__swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.est-bg__swatch { border: 1px solid var(--hairline); background: var(--bone); }
.est-bg__chip { height: 140px; }
.est-bg__chip--light { border-bottom: 1px solid var(--hairline); }
.est-bg__swatch-body { padding: 20px 18px; }
.est-bg__swatch-name { margin: 0 0 6px; font-family: 'Newsreader', Georgia, serif; font-size: 19px; }
.est-bg__swatch-meta { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.est-bg__colour-rules { margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.est-bg__colour-rules .est-bg__cell { padding: 24px 26px; }
.est-bg__rule-note { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-body); }

/* --- 06 Type -------------------------------------------------------- */
.est-bg__type-intro { margin: 0 0 42px; font-size: 16.5px; line-height: 1.8; color: var(--ink-body); max-width: 62ch; }
.est-bg__specimens {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-bottom: 34px;
}
.est-bg__specimen { background: var(--bone); padding: 38px 34px; }
.est-bg__specimen .est-bg__label { margin-bottom: 18px; }
.est-bg__spec-lg { margin: 0 0 14px; font-family: 'Newsreader', Georgia, serif; font-size: 62px; line-height: 1.05; }
.est-bg__spec-fig { margin: 0 0 18px; font-family: 'Newsreader', Georgia, serif; font-size: 22px; line-height: 1.4; }
.est-bg__spec-lg--sans { font-family: inherit; font-size: 54px; font-weight: 300; }
.est-bg__spec-fig--sans { font-family: inherit; font-size: 20px; font-weight: 500; }
.est-bg__spec-note { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.est-bg__scale { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.est-bg__scale-row {
  background: var(--bone); padding: 24px 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; align-items: baseline;
}
.est-bg__scale-label { margin: 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.est-bg__scale-sample { margin: 0; grid-column: span 2; }
.est-bg__scale-sample--h1 { font-family: 'Newsreader', Georgia, serif; font-size: 42px; line-height: 1.1; }
.est-bg__scale-sample--h2 { font-family: 'Newsreader', Georgia, serif; font-size: 30px; line-height: 1.16; }
.est-bg__scale-sample--body { font-size: 16px; line-height: 1.85; font-weight: 300; color: var(--ink-body); }
.est-bg__scale-sample--btn { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.est-bg__subs { margin: 20px 0 0; font-size: 14px; line-height: 1.75; color: var(--ink-soft); max-width: 64ch; }

/* --- 07 Elements ---------------------------------------------------- */
.est-bg__elements { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.est-bg__elements .est-bg__cell { padding: 34px 30px; }
.est-bg__elements .est-bg__label { margin-bottom: 20px; }
.est-bg__btns { display: grid; gap: 12px; justify-items: start; }
.est-bg__btn-primary { background: var(--clay); color: var(--bone); padding: 14px 26px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.est-bg__btn-secondary { border: 1px solid var(--navy); color: var(--navy); padding: 14px 26px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.est-bg__btn-link { border-bottom: 1px solid var(--clay); color: var(--navy); padding-bottom: 4px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.est-bg__elements .est-bg__note { margin-top: 20px; }
.est-bg__numerals { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 18px; font-family: 'Newsreader', Georgia, serif; color: var(--clay); line-height: 1; }
.est-bg__numerals .n { font-size: 50px; }
.est-bg__numerals .r { font-size: 32px; }
.est-bg__clayrule { height: 2px; background: var(--clay); width: 120px; margin-bottom: 16px; }
.est-bg__photo { height: 92px; background: linear-gradient(120deg, #C3CBD6, #8B97A6); margin-bottom: 18px; }
.est-bg__grid-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.est-bg__grid-demo div { height: 54px; border: 1px solid var(--rule-soft); }

/* --- 08 Applications ------------------------------------------------ */
.est-bg__apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.est-bg__app { border: 1px solid var(--hairline); background: var(--bone); padding: 32px; }
.est-bg__app > .est-bg__label { margin-bottom: 22px; }
.est-bg__card { display: grid; gap: 14px; }
.est-bg__card-front { background: var(--navy); padding: 30px; display: grid; place-items: center; }
.est-bg__card-front img { height: 26px; width: auto; display: block; }
.est-bg__card-back { background: var(--bone); padding: 26px; border: 1px solid var(--hairline); }
.est-bg__card-name { margin: 0 0 4px; font-family: 'Newsreader', Georgia, serif; font-size: 20px; }
.est-bg__card-role { margin: 0 0 16px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.est-bg__card-contact { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-body); }
.est-bg__sig { background: var(--bone); border: 1px solid var(--hairline); padding: 26px; }
.est-bg__sig-greet { margin: 0 0 14px; font-size: 14.5px; line-height: 1.7; color: var(--ink-body); }
.est-bg__sig-row { display: flex; gap: 16px; align-items: flex-start; }
.est-bg__sig-row img { width: 42px; height: 42px; display: block; flex: none; }
.est-bg__sig-name { margin: 0 0 2px; font-size: 14.5px; font-weight: 500; }
.est-bg__sig-org { margin: 0 0 10px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.est-bg__social { display: flex; gap: 16px; align-items: flex-start; }
.est-bg__social img { width: 76px; height: 76px; display: block; flex: none; }
.est-bg__social-post { flex: 1; background: var(--navy); padding: 24px; min-height: 76px; }
.est-bg__social-eyebrow { margin: 0 0 8px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay-light); font-weight: 600; }
.est-bg__social-line { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 23px; line-height: 1.3; color: var(--bone); }
.est-bg__tab { display: flex; align-items: center; gap: 12px; background: var(--linen); padding: 10px 14px; border: 1px solid var(--hairline); margin-bottom: 22px; }
.est-bg__tab img { width: 16px; height: 16px; display: block; }
.est-bg__tab span { font-size: 12.5px; color: var(--ink-body); font-weight: 300; }
.est-bg__compliance { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink-body); font-weight: 300; }
.est-bg__compliance li { display: flex; gap: 10px; }
.est-bg__compliance li::before { content: "—"; color: var(--clay); }

/* --- 09 Assets ------------------------------------------------------ */
.est-bg__assets { background: var(--navy); color: var(--bone); border-bottom: 0; }
.est-bg__assets h2 { margin: 0 0 38px; max-width: 26ch; }
.est-bg__asset-cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--hairline-rev); border: 1px solid var(--hairline-rev);
}
.est-bg__asset-cell { background: var(--navy); padding: 28px 26px; }
.est-bg__asset-cell .est-bg__label { color: var(--on-navy-soft); margin-bottom: 10px; }
.est-bg__asset-cell p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--on-navy-body); }
.est-bg__asset-cell p.is-tight { line-height: 1.75; }
.est-bg__colophon {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline-rev);
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; align-items: center;
}
.est-bg__colophon p { margin: 0; color: var(--on-navy-soft); }
.est-bg__colophon p:first-child { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.est-bg__colophon p:last-child { font-size: 12.5px; }
.est-bg__colophon a { color: var(--clay-light); }
.est-bg__colophon a:hover { color: var(--bone); }

/* --- Responsive (the guidelines ship desktop-only too) -------------- */
@media (max-width: 860px) {
  .est-bg { --gutter: 28px; }
  .est-bg section { padding: 68px var(--gutter); }
  .est-bg__cover { padding: 60px var(--gutter) 56px; }
  .est-bg__cover img.est-bg__lockup { margin-bottom: 52px; }
  .est-bg__split { gap: 36px; }
  .est-bg__toc { margin-top: 42px; gap: 10px 22px; }
  .est-bg__spec-lg { font-size: 48px; }
  .est-bg__spec-lg--sans { font-size: 42px; }
}

@media (max-width: 560px) {
  .est-bg { --gutter: 20px; }
  .est-bg section { padding: 56px var(--gutter); }
  .est-bg__stage { padding: 36px 24px; }
  .est-bg__app { padding: 24px; }
  .est-bg__sizetest { gap: 20px; padding: 32px 20px; }
  .est-bg__scale-sample--h1 { font-size: 32px; }
}
