@font-face {
  font-family:'display';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('assets/fonts/display-400.woff2') format('woff2')
}

@font-face {
  font-family:'body';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('assets/fonts/body-400.woff2') format('woff2')
}

@font-face {
  font-family:'body';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('assets/fonts/body-700.woff2') format('woff2')
}

:root {
  --ink:#163567;
  --paper:#f4f7fd;
  --accent:#2555c7;
  --soft:#dce7fa
}

/* Shared accessibility and intrinsic sizing only. Brand composition follows. */
:root {
  --g:clamp(20px,4vw,64px);
  --ink:#17232a;
  --paper:#f6f4ec;
  --accent:#2854a0;
  --soft:#e7e9e0
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 1.125rem/1.65 'body',sans-serif
}

h1,h2,h3,p,figure {
  margin:0
}

h1,h2,h3 {
  font-family:'display',sans-serif;
  font-weight:400;
  line-height:1.12;
  text-wrap:balance
}

h1 {
  font-size:clamp(2.6rem,5.6vw,5.4rem);
  letter-spacing:-.035em
}

h2 {
  font-size:clamp(1.8rem,3vw,2.8rem);
  letter-spacing:-.018em
}

h3 {
  font-size:1.4rem
}

p+p {
  margin-top:1.1em
}

p {
  overflow-wrap:break-word
}

a {
  color:inherit;
  text-decoration:none;
  transition:color .18s,background-color .18s
}

button,summary {
  font:700 1rem/1.35 'body',sans-serif
}

button,a,summary {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer;
  color:inherit
}

button,a,summary:focus-visible {
  outline-offset:5px
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent)
}

a:hover {
  color:var(--accent)
}

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

figure {
  min-width:0
}

.photo img {
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover
}

.skip {
  position:absolute;
  left:16px;
  top:-120px;
  z-index:50;
  background:var(--paper);
  padding:16px
}

.skip:focus {
  top:12px
}

.wordmark {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  font:400 1.65rem/1.1 'display',sans-serif;
  letter-spacing:-.025em
}

.wordmark img {
  width:42px;
  height:42px;
  flex:none
}

.wordmark bdi {
  min-width:0;
  overflow-wrap:normal
}

.desktop-navigation {
  display:flex;
  gap:clamp(18px,2.5vw,36px);
  flex-wrap:wrap;
  align-items:center;
  font-size:16px;
  font-weight:700
}

.desktop-navigation a,.desk-link {
  padding-block:10px
}

.desk-link {
  font-size:15px;
  font-weight:700
}

.desktop-navigation [aria-current=page] {
  color:var(--accent)
}

.mast {
  position:relative;
  z-index:5
}

.mobile-menu {
  display:none
}

.opening {
  padding-block:42px
}

.opening p {
  margin-top:24px
}

.opening .eyebrow {
  font:700 .8rem/1.4 'body',sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 18px
}

.opening .read {
  margin-top:22px
}

.read {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  font-weight:700;
  min-height:46px;
  padding:12px 22px;
  background:var(--ink);
  color:var(--paper);
  line-height:1.35
}

.read:hover {
  background:var(--accent);
  color:var(--paper)
}

main {
  min-width:0
}

main>section,main>.opening,main>.document,main>figure {
  width:min(calc(100% - var(--g)*2),1180px);
  margin-inline:auto
}

main>section {
  padding-block:34px
}

.copy {
  min-width:0
}

.copy h2 {
  margin-bottom:22px
}

.copy .read {
  margin-top:22px
}

.copy details {
  margin-top:24px;
  padding:20px;
  background:var(--soft)
}

summary {
  cursor:pointer;
  list-style:none;
  min-height:44px;
  display:flex;
  align-items:center
}

summary::-webkit-details-marker {
  display:none
}

details[open]>summary {
  margin-bottom:18px
}

.document-opening,.document {
  max-width:900px
}

.document {
  padding-bottom:32px
}

.document>section {
  padding-block:24px
}

.document>section h2 {
  font-size:clamp(1.55rem,2.5vw,2rem);
  margin-bottom:18px
}

.document-opening h1 {
  font-size:clamp(2.4rem,4.4vw,4rem)
}

main:not(.route-home)>.opening {
  max-width:1050px
}

main:not(.route-home)>section {
  max-width:1060px
}

.footer {
  padding:40px var(--g);
  margin-top:36px;
  background:var(--soft)
}

.footer-extra {
  width:min(100%,1240px);
  margin-inline:auto
}

.footer-extra:empty {
  display:none
}

.footer-extra:not(:empty) {
  margin-bottom:30px
}

.footer>div:not(.footer-extra) {
  max-width:1280px;
  margin-inline:auto
}

.footer p {
  font-size:1rem;
  line-height:1.6
}

.footer h2 {
  font:700 1.25rem/1.3 'body',sans-serif
}

.footer nav {
  font-size:.9375rem;
  font-weight:700
}

.footer nav a,.cookie-settings {
  display:inline-block;
  padding:7px 0
}

.footer nav {
  gap:8px 22px
}

.footer small {
  display:block;
  font-size:.8125rem;
  line-height:1.5
}

.footer .wordmark {
  font-size:1.8rem
}

.footer .wordmark+p {
  margin-top:18px
}

.cookie-settings {
  border:0;
  background:none;
  text-align:left;
  font:700 15px/1.5 'body',sans-serif;
  cursor:pointer
}

.cookie-settings:hover {
  color:var(--accent)
}

.lv-contact-list:empty {
  display:none
}

.lv-contact-list {
  margin:20px 0 0;
  font-size:15px;
  display:grid;
  gap:12px
}

.lv-contact-row {
  min-width:0
}

.lv-contact-row dt {
  font-weight:700
}

.lv-contact-row dd {
  margin:0;
  overflow-wrap:anywhere
}

.cookie-panel {
  position:fixed;
  z-index:20;
  max-height:calc(100dvh - 32px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:24px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 14px 60px #0002;
  font-size:15px;
  line-height:1.55
}

.cookie-panel[hidden],[hidden] {
  display:none!important
}

.cookie-panel strong {
  display:block;
  font:700 1.05rem/1.4 'body',sans-serif
}

.cookie-panel p {
  margin-top:10px
}

.cookie-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:18px
}

.cookie-actions button {
  padding:11px 15px;
  min-height:44px;
  border:0;
  background:var(--ink);
  color:var(--paper);
  font-size:14px
}

.cookie-actions [data-cookie=close] {
  background:var(--soft);
  color:var(--ink)
}

.cookie-actions a {
  font-size:14px;
  font-weight:700;
  padding:10px
}

.cookie-panel [role=status]:empty {
  display:none
}

.photo {
  overflow:clip
}

.in-view .photo img {
  animation:photo-settle .6s both
}

@keyframes photo-settle {
  from {
    opacity:.75;
    transform:scale(1.015)
  }
  to {
    opacity:1;
    transform:none
  }
}

@media(min-width:1100px) {
  main>section.has-photo {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
    gap:clamp(30px,5vw,70px);
    align-items:start
  }
}

@media(max-width:899px) {
  .desktop-navigation,.desk-link {
    display:none!important
  }
  .mobile-menu {
    display:block;
    width:100%
  }
  .mobile-menu summary {
    justify-content:space-between;
    padding:14px 0
  }
  .mobile-menu summary:after {
    content:'+';
    font-size:1.5rem
  }
  .mobile-menu[open] summary:after {
    content:'−'
  }
  .mobile-menu nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:16px;
    background:var(--soft);
    max-height:65dvh;
    overflow:auto;
    overscroll-behavior:contain
  }
  .mobile-menu nav a {
    font-size:17px;
    padding:12px;
    line-height:1.35;
    min-width:0;
    overflow-wrap:break-word
  }
  .has-photo>.photo {
    margin-top:24px
  }
  main>section,main>.opening {
    padding-block:28px
  }
  .photo img {
    aspect-ratio:3/2
  }
  .mast {
    padding-inline:var(--g)
  }
  .footer {
    padding-block:30px
  }
  .footer>div:not(.footer-extra) {
    display:flex!important;
    flex-direction:column;
    gap:24px!important
  }
  .footer nav {
    display:flex!important;
    flex-wrap:wrap
  }
  .footer nav>div {
    display:flex;
    flex-wrap:wrap;
    gap:8px 20px
  }
  .footer .wordmark {
    font-size:1.5rem
  }
  .cookie-panel {
    max-width:calc(100% - 32px)!important;
    left:16px!important;
    right:16px!important;
    bottom:16px!important;
    top:auto!important;
    transform:none!important;
    width:auto!important;
    padding:20px
  }
  .cookie-panel p {
    font-size:14px
  }
  .cookie-actions {
    gap:8px
  }
  .cookie-actions button {
    flex:1;
    min-width:130px
  }
}

@media(max-width:480px) {
  body {
    font-size:1rem;
    line-height:1.7
  }
  .wordmark {
    font-size:1.4rem
  }
  .wordmark img {
    width:36px;
    height:36px
  }
  .mobile-menu nav {
    grid-template-columns:minmax(0,1fr)
  }
  h1 {
    font-size:clamp(2.3rem,10vw,3rem)
  }
  h2 {
    font-size:1.8rem
  }
  .cookie-panel {
    padding:16px
  }
  .cookie-actions button {
    font-size:13px;
    min-width:115px
  }
  .cookie-actions a {
    padding:7px
  }
  .footer {
    margin-top:24px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}

@media(max-width:899px) {
  .wordmark {
    flex-wrap:wrap;
    max-width:100%
  }
  .wordmark bdi {
    overflow-wrap:anywhere;
    max-width:100%
  }
}

code {
  font-size:.875em;
  overflow-wrap:anywhere
}

h1,h2,h3,summary {
  overflow-wrap:anywhere
}

.read {
  max-width:100%;
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere
}

.footer nav a,.footer .cookie-settings {
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  white-space:normal
}

@media(max-width:480px) {
  .footer .orbit-links,.footer .board-directory,.footer .almanac-back nav {
    grid-template-columns:minmax(0,1fr)!important
  }
}

main>section.reading-continuation {
  row-gap:24px
}

.reading-continuation>.continuation {
  grid-column:1/-1;
  grid-row:auto;
  min-width:0
}

@media(max-width:1099px) {
  .reading-continuation>.continuation {
    margin-top:24px
  }
}

@media(min-width:900px) and (max-width:1099px) {
  .news-lead,.editorial-notes,.notebook-cover,.immersion,.lens-note,.couch-essay,.board-opening,.soup-story,.folio-cover,.threshold-essay,.almanac-cover,.river-reading,.exhibition-cover,.music-cover {
    display:block!important;
  }
  .news-opening,.folio-opening {
    display:block!important
  }
  .news-opening p:not(.eyebrow),.folio-opening p:not(.eyebrow) {
    margin-top:24px
  }
  .has-photo>.photo {
    margin-top:26px
  }
  .notebook-cover>section,.immersion>section,.lens-note>section,.couch-essay>section,.board-opening>section,.soup-story>section,.folio-cover>section,.threshold-essay>section,.almanac-cover>section,.river-reading>section,.exhibition-cover>section,.music-cover>section {
    margin-top:26px
  }
  .news-lead>section+section {
    margin-top:26px
  }
  .editorial-notes>.photo {
    margin-top:26px
  }
  .notebook-cover .photo img,.immersion .photo img,.lens-note .photo img,.couch-essay .photo img,.board-opening .photo img,.soup-story .photo img,.folio-cover .photo img,.threshold-essay .photo img,.almanac-cover .photo img,.river-reading .photo img,.exhibition-cover .photo img,.music-cover .photo img {
    aspect-ratio:3/2!important
  }
}

main p > a {
  color:var(--accent);
  font-weight:700
}

main p > a:hover {
  color:var(--ink);
  background:var(--soft)
}

.cookie-panel .cookie-actions [data-cookie=remember]:hover {
  background:var(--accent)
}

.cookie-panel .cookie-actions [data-cookie=close]:hover {
  background:var(--ink);
  color:var(--paper)
}

:root {
  --ink:#163567;
  --paper:#f4f7fd;
  --accent:#2555c7;
  --soft:#dce7fa
}

.mast-notebook {
  padding:28px var(--g);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px
}

.mast-notebook .wordmark {
  font-size:2rem
}

.notebook-opening {
  max-width:1040px!important
}

.notebook-opening h1 {
  max-width:750px;
  font-size:clamp(3.2rem,6.7vw,6rem);
  line-height:1
}

.notebook-opening p:not(.eyebrow) {
  max-width:800px
}

.notebook-cover {
  max-width:1180px;
  width:calc(100% - var(--g)*2);
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:38px;
  align-items:start
}

.notebook-cover>section {
  padding-top:20px
}

.notebook-cover h2 {
  margin-bottom:20px
}

.notebook-cover img {
  aspect-ratio:1/1;
  object-fit:cover
}

.route-home>.has-photo {
  grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr)
}

.route-home .path-study>.photo {
  order:-1
}

.field-pair {
  max-width:1100px;
  width:calc(100% - var(--g)*2);
  margin:24px auto;
  padding:34px;
  background:var(--soft);
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:38px
}

.field-pair h2 {
  margin-bottom:20px
}

.field-pair img {
  aspect-ratio:1/1
}

.return-page {
  background:var(--soft);
  padding:34px!important
}

.read {
  border-radius:4px 4px 18px 4px
}

.footer {
  background:var(--ink);
  color:var(--paper)
}

.footer-notebook {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:28px 48px
}

.footer-chapters {
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:12px 32px!important
}

.footer-note h2 {
  font:400 2rem/1.1 'display';
  margin-bottom:18px
}

.footer-index {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start
}

.footer-index .cookie-settings {
  color:var(--paper)
}

.footer-note .lv-contact-list {
  display:flex;
  flex-wrap:wrap;
  gap:28px
}

.footer-notebook small {
  grid-column:1/-1
}

.cookie-panel {
  left:24px;
  bottom:24px;
  width:420px;
  border-radius:4px 4px 24px 4px
}

.cookie-panel strong {
  font-family:'display';
  font-size:1.55rem;
  font-weight:400
}

.route-services>section.has-photo {
  grid-template-columns:minmax(0,1.45fr) minmax(0,.7fr)
}

.route-guide>section:nth-of-type(2n) {
  background:var(--soft);
  padding:30px
}

.route-planning .photo img {
  aspect-ratio:4/3
}

@media(min-width:1250px) {
  body {
    padding-left:220px
  }
  .mast-notebook {
    position:fixed;
    left:0;
    top:0;
    width:220px;
    height:100dvh;
    overflow:auto;
    background:var(--soft);
    display:flex;
    flex-direction:column;
    align-items:start;
    justify-content:flex-start;
    padding:36px 24px
  }
  .admin-bar .mast-notebook {
    top:32px;
    height:calc(100dvh - 32px)
  }
  .mast-notebook .wordmark {
    flex-direction:column;
    align-items:start;
    font-size:1.7rem
  }
  .mast-notebook .desktop-navigation {
    display:grid;
    gap:20px;
    margin-top:36px
  }
  .mast-notebook .desk-link {
    margin-top:auto
  }
  .cookie-panel {
    left:244px
  }
}

@media(max-width:899px) {
  .mast-notebook {
    display:block
  }
  .notebook-cover,.field-pair {
    display:block
  }
  .notebook-cover>section {
    padding-top:26px
  }
  .notebook-cover img {
    aspect-ratio:3/2
  }
  .field-pair {
    padding:24px
  }
  .field-pair>.photo {
    margin-top:24px
  }
  .field-pair img {
    aspect-ratio:3/2
  }
  .footer {
    background:var(--ink)
  }
  .footer a:hover {
    color:#c8d8ff
  }
  .mobile-menu nav {
    background:var(--soft);
    border-radius:0 0 20px 0
  }
  .notebook-opening h1 {
    font-size:clamp(3rem,10vw,4.5rem)
  }
}

.footer a:hover,.footer .cookie-settings:hover {
  color:#c8d8ff
}

.mast-notebook .mobile-menu nav {
  --accent:#173775
}

.in-view .photo img {
  animation:none
}

.read {
  transition:background-color .18s,color .18s,transform .18s
}

.read:hover {
  transform:translateY(-2px)
}

@media(min-width:900px) {
  .notebook-cover img {
    aspect-ratio:3/2
  }
}

@media(min-width:1100px) {
  .route-home>.path-study {
    grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)
  }
  .route-home>.path-study .photo img {
    aspect-ratio:4/3
  }
}

/* REVISION_20261118 */

/* Revision: independently composed editorial chapters, not interchangeable split rows. */
.route-context {
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:20px;
  font-family:'body',sans-serif;
  font-weight:700
}

.chapter {
  min-width:0;
  isolation:isolate
}

.chapter>.copy {
  min-width:0
}

.chapter:after {
  content:"";
  display:table;
  clear:both
}

.chapter h2 {
  margin-bottom:22px
}

.chapter>.continuation {
  clear:both;
  grid-column:1/-1
}

.chapter>.photo {
  min-width:0;
  margin-top:0
}

.chapter>.photo img {
  width:100%;
  height:auto;
  object-fit:cover
}

.chapter a {
  overflow-wrap:anywhere
}

.document-chapter p {
  max-width:none
}

.revision-policy-depth,.revision-topic-context,.revision-english-scope {
  width:min(calc(100% - var(--g)*2),1060px);
  margin-inline:auto;
  padding-block:32px
}

.document-chapter h2 {
  margin-bottom:18px;
  font-size:clamp(1.5rem,2.4vw,2rem)
}

@media(max-width:1099px) {
  main .chapter {
    display:block!important;
    columns:auto!important
  }
  main .chapter>.photo {
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 24px!important;
    position:static!important
  }
  main .chapter>.photo img {
    aspect-ratio:3/2!important;
    border-radius:inherit
  }
  main .chapter>.copy {
    display:block!important;
    margin:0!important;
    padding:0!important;
    width:auto!important
  }
  main .chapter>h2 {
    margin-top:24px
  }
  main .chapter>.continuation {
    margin-top:22px
  }
  main .chapter .copy>p {
    columns:auto!important
  }
  main .chapter-position-1 .photo {
    transform:none!important
  }
}

.mast-notebook {
  background:#163663;
  color:#f4f7ff
}

.mast-notebook .wordmark img {
  filter:brightness(0) invert(1)
}

.mast-notebook a:hover,.mast-notebook [aria-current=page] {
  color:#d7e7ff
}

.chapter-suertevaro {
  display:block!important;
  padding:30px 34px!important;
  background:#fff;
  border-radius:0 32px 0 0;
  margin-block:24px!important
}

.chapter-suertevaro>.photo {
  float:right;
  width:38%;
  margin:0 0 20px 34px
}

.chapter-suertevaro>.copy {
  display:contents!important
}

.chapter-suertevaro .continuation {
  padding-top:16px
}

.chapter-suertevaro.chapter-position-1 {
  background:#dfeafa
}

.chapter-suertevaro.chapter-position-2>.photo {
  float:left;
  margin:0 34px 20px 0
}

.chapter-suertevaro h2 {
  max-width:none!important
}

.footer-notebook {
  display:block!important
}

.footer-notebook .footer-chapters {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  font-size:clamp(1.3rem,2.8vw,2.4rem)!important;
  font-family:'display';
  font-weight:400!important;
  margin-bottom:32px
}

.footer-notebook .footer-index {
  display:flex;
  flex-wrap:wrap;
  margin-top:26px
}

.footer-notebook small {
  margin-top:24px
}

.footer-notebook .footer-note {
  max-width:1000px
}

.footer-notebook .lv-contact-list {
  display:flex;
  flex-wrap:wrap;
  gap:20px 40px
}

@media(max-width:899px) {
  .mast-notebook {
    padding:22px var(--g)
  }
  .mast-notebook .mobile-menu nav {
    display:flex;
    flex-wrap:wrap;
    background:#dce8fa;
    color:#163663
  }
  .mast-notebook .mobile-menu nav a {
    flex:1 1 130px
  }
  .chapter-suertevaro {
    padding:24px!important
  }
}

/* REVISION_CONTRAST */
.mast-notebook .mobile-menu nav a,.mast-notebook .mobile-menu nav [aria-current=page] {
  color:#163663
}

.mast-notebook .mobile-menu nav a:hover {
  background:#163663;
  color:#f4f7ff
}

/* REVISION_TRACKS */
main .chapter:not(.chapter-illustrated) {
  display:block!important
}

main .chapter:not(.chapter-illustrated)>.copy {
  display:block!important;
  width:auto!important;
  max-width:none!important
}

.chapter-azarvento:after,.chapter-menanglivo:after {
  display:none
}

.reading-inset {
  max-width:1000px!important
}

.reading-inset h2 {
  font-size:clamp(1.6rem,2.7vw,2.4rem)
}

/* Responsive chrome contract: explicit collapse, intrinsic height, native disclosure. */
.identity-juegalumo .mast {
  --nav-bg:#e7e0cd;
  --nav-ink:#18222c;
  --nav-link:#f4f2e9;
  --nav-hover:#18222c;
  --nav-hover-ink:#f4f2e9
}

.identity-suertevaro .mast {
  --nav-bg:#dce8fa;
  --nav-ink:#163663;
  --nav-link:transparent;
  --nav-hover:#163663;
  --nav-hover-ink:#f4f7ff
}

.identity-giravexa .mast {
  --nav-bg:#e9e2f4;
  --nav-ink:#20172b;
  --nav-link:transparent;
  --nav-hover:#50276a;
  --nav-hover-ink:#fff
}

.identity-premialuz .mast {
  --nav-bg:#fff3e2;
  --nav-ink:#302219;
  --nav-link:transparent;
  --nav-hover:#302219;
  --nav-hover-ink:#fff3e2
}

.identity-azarvento .mast {
  --nav-bg:#143d31;
  --nav-ink:#143d31;
  --nav-link:#fff7e5;
  --nav-hover:#28553e;
  --nav-hover-ink:#fff
}

.identity-mercavela .mast {
  --nav-bg:#fff5dc;
  --nav-ink:#39271c;
  --nav-link:transparent;
  --nav-hover:#39271c;
  --nav-hover-ink:#fff5dc
}

.identity-comercialvexa .mast {
  --nav-bg:#e1dfd3;
  --nav-ink:#23281f;
  --nav-link:transparent;
  --nav-hover:#23281f;
  --nav-hover-ink:#f8f6ed
}

.identity-mainvoria .mast {
  --nav-bg:#714247;
  --nav-ink:#fff6e5;
  --nav-link:transparent;
  --nav-hover:#fff6e5;
  --nav-hover-ink:#714247
}

.identity-tuahvexa .mast {
  --nav-bg:#e7ddc2;
  --nav-ink:#163b38;
  --nav-link:transparent;
  --nav-hover:#163b38;
  --nav-hover-ink:#e7ddc2
}

.identity-menanglivo .mast {
  --nav-bg:#2549b4;
  --nav-ink:#2549b4;
  --nav-link:#f8faf8;
  --nav-hover:#152333;
  --nav-hover-ink:#fff
}

.identity-kedaimora_my_click .mast {
  --nav-bg:#15142a;
  --nav-ink:#f3eadb;
  --nav-link:#34334f;
  --nav-hover:#f3eadb;
  --nav-hover-ink:#15142a
}

@media (max-width:1099px) {
  body .mast.mast {
    position:relative;
    display:block;
    inset:auto;
    width:100%;
    max-width:none;
    height:auto;
    min-height:80px;
    margin:0;
    padding:18px var(--g);
    overflow:visible;
    gap:0;
    text-align:left;
    border-radius:0
  }
  body .mast .desktop-navigation,body .mast .desk-link,body .mast .orbit-navigation {
    display:none!important
  }
  body .mast .mast-edition,body .mast .living-brand,body .mast .almanac-brand,body .mast .score-brand,body .mast .score-index {
    display:block;
    margin:0;
    padding:0;
    min-width:0
  }
  body .mast.mast .wordmark {
    width:fit-content;
    max-width:calc(100% - 62px);
    min-height:44px;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-start;
    font-size:clamp(1.25rem,3.6vw,1.7rem);
    line-height:1.15;
    gap:10px
  }
  body .mast.mast .wordmark img {
    width:34px;
    height:34px;
    flex:0 0 34px
  }
  body .mast.mast .wordmark bdi {
    overflow-wrap:anywhere;
    min-width:0
  }
  body .mast.mast .mobile-menu {
    display:block;
    position:static;
    width:auto;
    margin:0;
    padding:0
  }
  body .mast.mast .mobile-menu>summary {
    position:absolute;
    inset:18px var(--g) auto auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    margin:0;
    padding:0;
    font-size:0;
    border:0;
    background:transparent;
    border-radius:8px;
    line-height:1
  }
  body .mast.mast .mobile-menu>summary:after {
    content:'';
    display:block;
    width:22px;
    height:16px;
    font-size:0;
    background:linear-gradient(currentColor 0 2px,transparent 2px 7px,currentColor 7px 9px,transparent 9px 14px,currentColor 14px);
    transform:none
  }
  body .mast.mast .mobile-menu[open]>summary:after {
    width:22px;
    height:22px;
    background:linear-gradient(45deg,transparent 46%,currentColor 47% 53%,transparent 54%),linear-gradient(-45deg,transparent 46%,currentColor 47% 53%,transparent 54%)
  }
  body .mast.mast .mobile-menu>nav {
    position:absolute;
    z-index:6;
    inset:100% var(--g) auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:auto;
    max-width:none;
    max-height:min(65dvh,520px);
    margin:0;
    padding:14px;
    gap:6px;
    overflow:auto;
    overscroll-behavior:contain;
    box-shadow:0 16px 30px #0002;
    background:var(--nav-bg)
  }
  body .mast.mast .mobile-menu>nav a {
    display:flex;
    align-items:center;
    min-width:0;
    min-height:48px;
    margin:0;
    padding:12px 14px;
    font-size:1rem;
    line-height:1.4;
    flex:initial;
    overflow-wrap:anywhere;
    white-space:normal;
    color:var(--nav-ink);
    background:var(--nav-link)
  }
  body .mast.mast .mobile-menu>nav a:hover,body .mast.mast .mobile-menu>nav a:focus-visible {
    color:var(--nav-hover-ink);
    background:var(--nav-hover)
  }
  body .footer>div:not(.footer-extra) {
    display:flex!important;
    flex-direction:column;
    gap:24px!important;
    min-height:0
  }
  body .footer>div:not(.footer-extra)>* {
    flex:0 1 auto!important;
    min-width:0;
    min-height:0;
    max-width:100%;
    width:auto;
    grid-column:auto;
    grid-row:auto;
    align-self:stretch;
    margin-block:0
  }
  body .footer .lv-contact-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 24px;
    align-items:start
  }
  body .footer .lv-contact-row:last-child {
    grid-column:1/-1
  }
  body .footer .wordmark {
    max-width:100%;
    flex-wrap:nowrap;
    gap:10px;
    font-size:clamp(1.5rem,4vw,2rem)
  }
  body .footer .wordmark bdi {
    overflow-wrap:anywhere;
    min-width:0
  }
  body .footer nav {
    display:flex!important;
    flex-wrap:wrap;
    justify-content:flex-start;
    max-width:100%;
    gap:6px 20px;
    align-content:start
  }
  body .footer nav a,body .footer nav .cookie-settings {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    line-height:1.45;
    padding-block:9px;
    margin:0
  }
  body .footer .orbit-links,body .footer .board-directory,body .footer .gallery-exit,body .footer .footer-index,body .footer .almanac-back nav,body .footer .library-record nav {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px 20px;
    flex:initial
  }
  body .footer .footer-bottom,body .footer .food-legal,body .footer .score-fine,body .footer .library-record {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
    min-height:0
  }
  body .footer .library-colophon {
    display:block
  }
  body .footer .library-colophon>* {
    flex:initial;
    min-height:0
  }
  body .footer .library-colophon small {
    margin-top:20px
  }
  body .footer .orbit-colophon small {
    margin-top:20px
  }
  body .footer .footer-table {
    align-self:stretch
  }
  body .footer .footer-chapters {
    gap:6px 20px!important;
    margin-bottom:0
  }
  body .footer .footer-notebook .footer-index,body .footer .footer-notebook small {
    margin-top:22px
  }
}

@media(max-width:480px) {
  body .mast.mast .mobile-menu>nav {
    grid-template-columns:minmax(0,1fr)
  }
  body .footer .lv-contact-list {
    grid-template-columns:minmax(0,1fr)
  }
  body .footer .lv-contact-row:last-child {
    grid-column:auto
  }
  body .footer.footer nav {
    display:flex!important;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:6px 20px
  }
  body .footer.footer nav>* {
    flex:0 1 auto;
    max-width:100%
  }
  body .footer .gallery-rooms {
    justify-content:flex-start
  }
}

@media(max-width:1099px) {
  body .mast.mast .mobile-menu>summary:focus-visible {
    outline:3px solid currentColor;
    outline-offset:3px
  }
}

/* Temporarily avoid competing overlays without changing the cookie choice. */
body:has(.mast .mobile-menu[open]) .cookie-panel {
  visibility:hidden;
  pointer-events:none
}
