/* Editorial navigation and opening. Keep the films prominent and the labels clear. */
.restyle-root { --section-landing-gap:24px; }
.restyle .site-header .site-nav > a::after { display:none; content:none; }
.restyle .site-header .site-nav > .nav-contact .arrow { display:none; }
@media(min-width:901px) {
 .style-journal { --opening-gutter:clamp(24px,2.2vw,48px); --balanced-nav-gap:clamp(30px,3vw,48px); --navigation-gutter:var(--opening-gutter); }
 .restyle .site-header { display:grid; grid-template-columns:52px minmax(0,1fr); gap:10px 20px; padding:12px var(--navigation-gutter); height:auto; align-items:center; }
 .restyle .site-header .theme-switch-desktop { margin:0; justify-self:start; }
 .restyle .site-header .theme-switch button { min-height:34px; }
 .restyle .site-header .site-nav {
  width:100%; height:44px; grid-column:1/-1; display:grid;
  grid-template-columns:.75fr .65fr 1.65fr 1.65fr 1.6fr; gap:0;
  border:1px solid var(--muted); border-radius:0;
  font-size:18px; align-items:stretch;
 }
 .restyle .site-header .site-nav > a {
  border:0; border-left:1px solid var(--line); border-radius:0; margin:0;
  padding:8px 6px!important; min-width:0; min-height:0; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:inherit; font-weight:500; line-height:1.2; text-align:center; white-space:nowrap;
  color:var(--ink); background:var(--paper); transition:background-color .14s,color .14s;
 }
 .restyle .site-header .site-nav > a:first-child { border-left:0; }
 .restyle .site-header .site-nav > .nav-contact { gap:0; background:var(--mode-panel); font-weight:550; }
 .restyle .site-header .site-nav > a:hover { background:var(--mode-panel); color:var(--ink); }
 .restyle .site-header .site-nav > a[aria-current=location] { background:var(--ink); color:var(--paper); }
}
@media(min-width:901px) and (max-width:1099px) {
 .restyle .site-header { width:min(100%,1000px); }
 .restyle .opening-screen { --gutter:var(--navigation-gutter); }
}
@media(min-width:1100px) {
 .style-journal {
  --balanced-nav-media-height:min(calc(100svh - 126px),calc(((min(100vw,1600px) - 2*var(--navigation-gutter) - var(--balanced-nav-gap))*.60 - 7px)*16/17));
  --balanced-nav-media-width:calc(var(--balanced-nav-media-height)*17/16 + 7px);
 }
 .restyle .site-header {
  height:78px; grid-template-columns:52px minmax(0,1fr) var(--balanced-nav-media-width);
  grid-template-rows:1fr; gap:20px; padding-block:14px;
 }
 .restyle .site-header .site-nav { grid-column:3; grid-row:1; }
 .style-journal .opening-screen {
  --gutter:var(--navigation-gutter); --opening-gap:var(--balanced-nav-gap); --journal-h:var(--balanced-nav-media-height);
  row-gap:24px;
 }
 .style-journal .opening-screen .identity-wordmark {
  --editorial-word-width:min(var(--copy-width),470px,calc(var(--balanced-nav-media-width)*.92));
  width:var(--editorial-word-width); font-size:calc(var(--editorial-word-width)/5.3919968844);
 }
 .style-journal .opening-screen .hero-tagline { font-size:18px; line-height:1.4; margin-top:16px; }
 .style-journal .opening-screen .hero-intro { align-self:center; max-width:540px; }
 .style-journal .opening-screen .hero-offer { font-size:clamp(32px,2.8vw,42px); line-height:1.12; margin-bottom:22px; }
 .style-journal .opening-screen .hero-intro > p:not(.hero-offer) { max-width:480px; font-size:17px; line-height:1.65; }
 .style-journal .opening-screen .hero .text-link { font-size:14px; margin-top:22px; }
 .style-journal .opening-screen .featured-caption { border-top:1px solid var(--line); padding-top:18px; gap:16px; }
 .style-journal .opening-screen .featured-caption .featured-title { font-size:29px; line-height:1.15; }
 .style-journal .opening-screen .featured-caption > div > p:last-child { font-size:13px; }
 .style-journal .opening-screen .featured-caption > .text-link { font-size:13px; }
}
@media(min-width:1100px) and (max-height:740px) {
 .restyle .site-header .site-nav { font-size:16px; }
 .style-journal .opening-screen { row-gap:16px; }
 .style-journal .opening-screen .identity-wordmark { --editorial-word-width:min(var(--copy-width),400px,calc(var(--balanced-nav-media-width)*.92)); }
 .style-journal .opening-screen .hero-tagline { font-size:17px; margin-top:12px; }
 .style-journal .opening-screen .hero-offer { font-size:32px; margin-bottom:16px; }
 .style-journal .opening-screen .hero-intro > p:not(.hero-offer) { font-size:16px; line-height:1.55; }
 .style-journal .opening-screen .hero .text-link { margin-top:16px; }
 .style-journal .opening-screen .featured-caption { padding-top:14px; }
 .style-journal .opening-screen .featured-caption .featured-title { font-size:26px; }
}
@media(max-width:900px) {
 .restyle-root { --section-landing-gap:16px; }
 .restyle .site-header .site-nav { gap:8px; }
 .restyle .site-header .site-nav > a {
  border:2px solid var(--ink); border-radius:0; margin:0;
  display:flex; align-items:center; justify-content:flex-start;
  padding:12px 16px!important; font-size:20px; font-weight:550; line-height:1.15;
  min-width:0; min-height:54px; color:var(--ink); background:var(--paper);
 }
 .restyle .site-header .site-nav > a:hover,
 .restyle .site-header .site-nav > a[aria-current=location] { background:var(--ink); color:var(--paper); }
 .restyle .site-header .site-nav > .nav-contact { display:none; }
}
