/* Public homepage. The forms use the shared authentication stylesheet. */
:root {
  --ink: #182f39;
  --muted: #3a4d52;
  --accent: #793822;
  --paper: #faf8f2;
  --rule: #c8c7bd;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: light;
  scroll-padding-top: 1rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { border: 0; color: inherit; }
figure, h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em; }
.wrap, .home-login .site-container { width: min(1184px, calc(100% - clamp(36px, 9vw, 160px))); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 4px white; }
.skip-link { position: absolute; left: 1rem; top: 0; transform: translateY(-150%); z-index: 5; padding: .7rem 1rem; background: white; }
.skip-link:focus { transform: translateY(0); }
.mast { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--rule); }
.mast nav, .wordmark, .foot, .foot nav, .actions { display: flex; align-items: center; }
.foot { justify-content: space-between; gap: 1rem; }
.mast-inner {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center;
  gap: clamp(24px,4vw,64px); padding-block: 12px 5px;
}
.mast-inner > .wordmark { align-self: start; justify-self: start; margin-top: 18px; }
.wordmark { gap: 11px; text-decoration: none; font: 600 33px/1 var(--serif); letter-spacing: -.065em; }
.br { color: var(--accent); }
.brand-seal { display: grid; place-items: center; width: 36px; height: 41px; border: 1px solid var(--ink); border-radius: 2px 2px 45% 45%; outline: 1px solid var(--ink); outline-offset: -4px; font: italic 24px/1 var(--serif); }
.mast-links { background: #efeee7; border-top: 1px solid var(--rule); }
.mast nav { justify-content: flex-end; gap: clamp(18px, 2.6vw, 38px); }
.mast nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .94rem; font-weight: 600; }
.mast nav a:hover, .foot nav a:hover { text-decoration: underline; }
.overline, .folio-bar, .folio-label, .branches > div > span, .product-step, .profession-purpose {
  color: var(--accent); font-size: .75rem; line-height: 1.5; letter-spacing: .11em; font-weight: 700; text-transform: uppercase;
}
.ruled { display: flex; align-items: center; gap: 12px; }
.ruled::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 7vw, 112px); align-items: center; padding-block: clamp(42px, 5.4vw, 82px); }
.hero-copy { max-width: 560px; }
h1 { margin: .23em 0 .26em; font-size: clamp(3.8rem, 6.2vw, 6rem); line-height: .99; letter-spacing: -.058em; }
h1 em { font-weight: 400; color: var(--accent); }
.lead { max-width: 43ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.19rem); line-height: 1.55; }
.actions { flex-wrap: wrap; gap: 12px 23px; margin-top: 25px; }
.btn, .editorial .auth-submit { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 47px; padding: 9px 19px; border: 0; border-radius: 3px; font: 600 .96rem/1.4 "Segoe UI", sans-serif; text-decoration: none; }
.primary, .editorial .auth-submit { background: var(--ink); color: white; }
.primary:hover, .editorial .auth-submit:hover { background: #2f4954; }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: underline; }
.folio { min-width: 0; position: relative; margin: 0 6px 6px 0; color: var(--ink); background: #fffdf8; border: 1px solid #909995; box-shadow: 5px 5px 0 -1px #ece7db, 5px 5px 0 #adaea5; }
.folio-bar { background: var(--ink); color: white; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 15px clamp(14px, 2.5vw, 34px); font-size: .71rem; }
.folio-bar span:last-child { font: italic .9rem var(--serif); letter-spacing: 0; text-transform: none; }
.folio-sheet { text-align: center; padding: clamp(24px, 3.5vw, 52px) clamp(12px, 2.8vw, 40px) 24px; }
.folio-sheet h2 { margin-top: 5px; font-size: clamp(1.85rem, 3.05vw, 3rem); }
.estate { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; margin: 11px 0 0; color: var(--muted); font-size: .88rem; }
.estate strong { color: var(--ink); }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); position: relative; padding-top: 42px; }
.branches::before { content: ""; position: absolute; height: 22px; top: 0; left: 50%; border-left: 1px solid #976f5a; }
.branches::after { content: ""; position: absolute; height: 16px; top: 22px; inset-inline: 25%; border: 1px solid #976f5a; border-bottom: 0; }
.branches > div { padding: 4px 2px; }
.branches h3 { margin: 3px 0 6px; font-size: clamp(1.15rem, 1.8vw, 1.58rem); line-height: 1.15; }
.branches p { font-size: .88rem; }
.branches b { font: 1.85rem/1 var(--serif); color: var(--accent); vertical-align: -.08em; }
.branches strong { display: block; margin-top: 6px; font-size: .92rem; font-variant-numeric: tabular-nums; }
.folio figcaption { padding: 12px 18px; border-top: 1px solid var(--rule); background: #f2efe5; text-align: center; font: italic .94rem/1.4 var(--serif); }
.section { padding-block: clamp(46px, 5.8vw, 86px); }
.section-head { margin-bottom: 29px; }
.section-head h2, .faq-layout h2 { margin: 9px 0; }
.section-head > p:last-child:not(.overline) { color: var(--muted); }
.editorial .home-login { background: #efeee7; border-bottom: 1px solid var(--rule); padding: 12px 0 5px; margin: 0; }
.editorial .login-layout { display: grid; grid-template-columns: minmax(165px,.58fr) minmax(0,2.4fr); align-items: start; gap: clamp(20px,4vw,62px); }
.editorial .mast .home-login { min-width: 0; background: transparent; border: 0; padding: 0; margin: 0; }
.editorial .mast .login-layout { display: block; width: 100%; margin: 0; }
.editorial .login-intro { display: block; }
.editorial .home-login h2 { font: 400 1.55rem/1.2 var(--serif); letter-spacing: -.04em; white-space: normal; }
.editorial .home-login p, .editorial .home-login .auth-form label { font-size: .91rem; color: var(--ink); }
.editorial .home-login .auth-help, .editorial .home-login .auth-link, .editorial .home-login .auth-toggle { font-size: .86rem!important; color: var(--ink); }
.editorial .auth-help { margin-top: 6px!important; }
.editorial .auth-link, .editorial .auth-remember { min-height: 44px; display: inline-flex; align-items: center; }
.editorial .auth-options, .editorial .auth-support { gap: 0 20px; justify-content: flex-start; }
.editorial .auth-form { gap: 0; }
.editorial .auth-support { border-top: 1px solid var(--rule); }
.editorial .home-login .auth-fields input:not([type=checkbox]) { border-color: #69777a; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--rule); }
.product-tabs button, .profession-tabs button { min-height: 48px; padding: 10px 18px; background: transparent; font-weight: 600; text-align: left; }
.product-tabs button[aria-selected=true] { color: var(--accent); box-shadow: inset 0 -3px var(--accent); }
.product-tabs button:hover, .profession-tabs button:hover { background: #e6e6dc; }
.product-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,5vw,74px); align-items: center; margin-top: 29px; }
.product-copy h3, .profession-panel h3, .library h3 { font-size: clamp(1.55rem,2.55vw,2.6rem); line-height: 1.15; letter-spacing: -.035em; }
.product-copy h3, .profession-panel h3 { margin: 10px 0 14px; }
.product-copy ul, .profession-panel ul { padding-inline-start: 1.25em; margin: 15px 0; }
li + li { margin-top: 5px; }
li::marker { color: var(--accent); }
.screen-expand { display: block; position: relative; width: 100%; padding: 0; background: white; border: 1px solid var(--rule); cursor: zoom-in; }
.screen-expand img { display: block; width: 100%; height: auto; }
.screen-expand > span { position: absolute; right: 8px; bottom: 8px; color: white; background: var(--ink); font-size: .86rem; padding: 6px 11px; border-radius: 2px; }
.product-screen figcaption { margin-top: 7px; color: var(--muted); font: italic .9rem/1.5 var(--serif); }
.profiles { background: #e9ede8; border-block: 1px solid var(--rule); }
.profession-layout { display: grid; grid-template-columns: minmax(200px,.7fr) 1.5fr; gap: clamp(25px,6vw,95px); }
.profession-tabs { display: grid; border-top: 1px solid #a7b4ae; }
.profession-tabs button { border-bottom: 1px solid #a7b4ae; }
.profession-tabs button[aria-selected=true] { background: var(--ink); color: white; box-shadow: inset 4px 0 #e1b597; }
.profession-panel { align-self: center; max-width: 65ch; }
.library, .faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 95px); }
.library-rows a { align-items: center; display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; border-block-start: 1px solid var(--rule); text-decoration: none; }
.library-rows a:last-child { border-block-end: 1px solid var(--rule); }
.library-rows a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.library-rows p { margin-top: 8px; color: var(--muted); }
.library-rows a > span { font-size: 1.4rem; color: var(--accent); }
.faq-area { border-top: 1px solid var(--rule); }
.access-faq details { border-bottom: 1px solid var(--rule); }
.access-faq summary { padding: 15px 3px; font-weight: 600; }
.access-faq details > p { padding-bottom: 15px; }
.access-faq details > a { display: inline-block; margin-bottom: 15px; }
footer { background: var(--ink); color: white; }
.foot { padding-block: 32px; flex-wrap: wrap; }
.foot .wordmark { display: inline; font-size: 1.8rem; }
.foot .br { color: #edc2aa; }
.foot p { margin-top: 7px; font-size: .93rem; }
.foot nav { flex-wrap: wrap; gap: 0 22px; }
.image-dialog { max-width: min(96vw, 1440px); max-height: 94vh; padding: 8px; border: 1px solid var(--ink); background: white; }
.image-dialog::backdrop { background: rgb(18 32 38 / .84); }
.image-dialog img { display: block; max-width: 100%; height: auto; }
.dialog-close { display: block; position: sticky; top: 0; margin: 0 0 8px auto; min-height: 44px; padding: 8px 16px; background: var(--ink); color: white; }
@media (max-width: 820px) {
  .mast-inner { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .mast-inner > .wordmark { margin-top: 0; }
  .hero { gap: 27px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(3.3rem, 7.1vw, 4.6rem); }
  .editorial .login-layout { grid-template-columns: 1fr; gap: 3px; }
  .product-layout, .library, .faq-layout { grid-template-columns: 1fr; }
  .library .section-head { margin: 0; }
}
@media (max-width: 660px) {
  .wordmark { gap: 6px; font-size: 1.55rem; }
  .brand-seal { width: 24px; height: 30px; font-size: 17px; }
  .mast nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 6px; }
  .mast-inner { padding-block: 6px; }
  .mast .wordmark { font-size: 1.4rem; }
  .actions { gap: 6px 14px; }
  .actions .btn { gap: 9px; padding-inline: 14px; }
  .mast nav a { justify-content: center; text-align: center; font-size: .86rem; line-height: 1.25; }
  .hero, .profession-layout, .editorial .auth-fields, .editorial .auth-panel .auth-set-fields, .editorial .auth-panel .auth-reset-fields { grid-template-columns: 1fr; }
  .hero { gap: 30px; padding-block: 34px; }
  h1 { font-size: clamp(3.5rem, 12vw, 4.8rem); }

  .folio { margin-right: 5px; }
  .folio-bar { flex-wrap: wrap; }
  .section { padding-block: 42px; }
  .profession-panel { border-top: 1px solid var(--rule); padding-top: 18px; }
  .editorial .auth-fields { gap: 12px; }
}
@media (max-width: 380px) {
  .brand-seal { display: none; }
  .product-tabs button { padding-inline: 12px; }
}
@media (forced-colors: active) {
  [role=tab][aria-selected=true] { outline: 2px solid Highlight; outline-offset: -3px; }
}
.legacy-access summary { width: fit-content; padding: 10px 0; font-size: .9rem; } .legacy-access p { max-width: 66ch; }

.brand-seal { position: relative; }
.brand-seal::before { content: ""; width: 1px; height: 27%; position: absolute; top: 22%; background: currentColor; }
.brand-seal::after { content: ""; position: absolute; top: 47%; width: 44%; height: 21%; border: 1px solid currentColor; border-bottom: 0; }

.sr-only, .editorial .auth-feedback:empty, .editorial .mast .login-intro { position:absolute; width:1px; height:1px; padding:0; border:0; margin:-1px!important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.editorial .login-intro { padding-top: 23px; }
.editorial .home-login h2 { margin: 0; }
.editorial .auth-field { display:grid; gap:6px; min-width:0; }
.editorial .auth-form input:not([type=checkbox]) { min-height:46px; height:auto; border-color:#626f74; font-size:1rem; }
.editorial .auth-password { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; gap:2px; }
.editorial .auth-password input { padding-right:10px!important; }
.editorial .home-login .auth-toggle { position:static; height:auto; min-width:44px; min-height:44px; padding-inline:8px; background:transparent; border:1px solid #626f74; text-decoration:underline; text-underline-offset:.2em; }
.editorial .auth-form .auth-remember { font-size:.86rem; }
.editorial .auth-submit[aria-busy=true] { cursor:wait; }
.editorial .auth-form [aria-invalid=true] { border:2px solid #793822; }
.editorial .auth-options { align-items:start; gap:0 18px; }
.editorial .auth-feedback:not(:empty) { font-size:1rem!important; }
.editorial .legacy-access { min-width:0; }
.editorial .legacy-access summary, .screen-description summary { min-height:44px; padding:10px 0; }
.editorial .legacy-access[open] { flex-basis:100%; }
.editorial .legacy-access .auth-link { margin-right:16px; }
.editorial .legacy-access p, .editorial details p, .editorial .auth-panel > p, #zoomDescription { max-width:65ch; line-height:1.6; }
.editorial details p + p { margin-block-start:1.5em; }
.editorial .wordmark, .editorial .access-faq details > a { display:inline-flex; align-items:center; min-height:44px; }
.foot .wordmark { gap:0; }
.screen-description summary { width:fit-content; }
.image-dialog > p { padding:8px; }
.editorial .auth-set-fields, .editorial .auth-reset-fields { min-width:0; }
@media(max-width:820px){.editorial .login-intro { padding-top:0; }}
@media(max-width:660px){
 .editorial .home-login { padding:10px 0 5px; }
 .editorial .home-login h2 { font-size:1.25rem; }
 .editorial .auth-fields { gap:6px; }
 .editorial .auth-options { gap:0 12px; }
}
@media(forced-colors:active){
 .editorial :focus-visible { outline:3px solid Highlight; }
 .editorial [role=tab][aria-selected=true] { border:2px solid ButtonText; }
 .editorial button, .editorial .btn { border:1px solid ButtonText; }
}

.hero-copy { min-width:0; }
.hero h1 { overflow-wrap:anywhere; hyphens:auto; }
@media(max-width:380px){h1 { font-size:clamp(2.75rem,13vw,3.5rem); }}
@media(forced-colors:active){
 .editorial .wordmark, .editorial .wordmark .br { color:LinkText; background-color:Canvas; }
}

@media(max-width:660px){
 .editorial .auth-fields { grid-template-columns:minmax(0,1fr) auto; }
 .editorial .auth-fields > label:first-child { grid-column:1 / -1; }
}
@media(max-width:350px){.editorial .auth-fields { grid-template-columns:1fr; }}

.editorial { overflow-wrap:anywhere; }
.skip-link { max-width:calc(100% - 2rem); }
.reading-controls { display:flex; align-items:end; flex-wrap:wrap; gap:12px; padding-bottom:16px; }
.reading-controls label { display:grid; }
.reading-controls input, .reading-controls button { min-height:44px; min-width:48px; }
.reading-controls button { padding-inline:12px; background:var(--ink); color:white; }
.personal-reading :is(main,.home-login,dialog) :is(p,li),
.personal-reading :is(main,.home-login,dialog) :is(p,li) :is(strong,span,b) { color:var(--reading-ink); background-color:var(--reading-paper); }
