header .nav-actions {
  display: none;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--text, #4A3E37);
  background: var(--silk, #F8F1EA);
  color: var(--text, #4A3E37);
  font: 300 12px/1.2 "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.body-link {
  color: inherit;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-underline-offset: 0.16em;
}

.body-link:hover,
.body-link:focus-visible {
  color: var(--text, #4A3E37);
  border-bottom-color: var(--text, #4A3E37);
}

header .nav-item {
  position: relative;
}

header nav:not(.mobile-nav-panel) > ul {
  margin: 0;
  padding: 0;
}

header nav:not(.mobile-nav-panel) > ul > li:last-child {
  margin-left: clamp(0px, 0.5vw, 8px);
  padding-left: clamp(14px, 1.4vw, 22px);
  border-left: 0.5px solid var(--strong-line, rgba(74, 62, 55, 0.22));
}

header.nav-menu-active {
  border-bottom: 0.5px solid var(--line, #D9C9B9);
  background: rgba(248, 241, 234, 0.98);
  mix-blend-mode: normal;
}

header .nav-item--has-menu::before {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 260px;
  height: 18px;
  content: "";
  transform: translateX(-50%);
}

header .nav-parent[data-active="true"]::after {
  transform: scaleX(1);
}

header .nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: flex !important;
  min-width: 224px;
  flex-direction: column;
  gap: 0 !important;
  padding: 14px 0;
  margin: 0;
  border-top: 0.5px solid var(--line, #D9C9B9);
  border-bottom: 0.5px solid var(--line, #D9C9B9);
  background: rgba(248, 241, 234, 0.98);
  box-shadow: 0 24px 40px rgba(74, 62, 55, 0.08);
  color: var(--text, #4A3E37);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -6px, 0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
  visibility: hidden;
}

header .nav-item--has-menu:hover .nav-submenu,
header .nav-item--has-menu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
  visibility: visible;
}

header .nav-submenu a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
}

header .nav-submenu a::after {
  right: 18px;
  bottom: 6px;
  left: 18px;
}

header .mobile-menu-toggle {
  display: none;
  width: 32px;
  min-width: 32px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

header .mobile-menu-toggle::before {
  content: none;
}

header .mobile-menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  margin-left: -9px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

header .mobile-menu-toggle span:first-child {
  transform: translateY(calc(-50% - 4px));
}

header .mobile-menu-toggle span:last-child {
  transform: translateY(calc(-50% + 4px));
}

header.nav-open .mobile-menu-toggle span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

header.nav-open .mobile-menu-toggle span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

header nav a[aria-current="page"]::after,
header .mobile-inquire[aria-current="page"]::after {
  transform: scaleX(1);
}

header .mobile-nav-panel {
  display: none;
}

.footer-social__text {
  display: inline-block;
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  header.site-header,
  header[aria-label="Site header"] {
    gap: 18px;
    padding: 22px 26px;
  }

  header nav:not(.mobile-nav-panel) {
    display: none !important;
  }

  header .nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
  }

  header .mobile-inquire {
    display: none !important;
  }

  header .mobile-menu-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    margin: -14px 0;
  }

  header.site-header .logo,
  header[aria-label="Site header"] .logo {
    font-size: 24px !important;
    letter-spacing: 0.2em !important;
    line-height: 1 !important;
  }

  header .mobile-nav-panel {
    position: fixed;
    inset: 0;
    display: none !important;
    width: 100vw !important;
    max-height: none;
    min-height: 100vh;
    min-height: 100svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 60px 26px 44px;
    border: 0;
    background: var(--silk, #F8F1EA);
    box-shadow: none;
    color: var(--text, #4A3E37);
    font-family: "Inter", sans-serif;
    -webkit-overflow-scrolling: touch;
    mix-blend-mode: normal;
  }

  header.nav-open .mobile-nav-panel {
    display: block !important;
  }

  header.nav-open {
    border-bottom: 0;
    background: transparent;
    mix-blend-mode: normal;
  }

  header.nav-open .logo {
    opacity: 0;
    pointer-events: none;
  }

  header.nav-open .mobile-menu-toggle {
    z-index: 1;
  }

  header .mobile-nav-panel ul {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  header .mobile-nav-panel li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header .mobile-nav-panel > ul > li > a {
    position: relative;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    color: var(--text, #4A3E37) !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: clamp(22px, 6vw, 26px) !important;
    font-style: normal !important;
    font-weight: 300 !important;
    letter-spacing: 0px !important;
    line-height: 1.14 !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  header .mobile-nav-panel > ul > li:not(.nav-item--has-menu) {
    margin-top: 30px !important;
  }

  header .mobile-nav-panel .mobile-nav-heading {
    position: relative;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    color: var(--text, #4A3E37) !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: clamp(22px, 6vw, 26px) !important;
    font-style: normal !important;
    font-weight: 300 !important;
    letter-spacing: 0px !important;
    line-height: 1.14 !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  header .mobile-nav-panel .nav-item--has-menu {
    position: static;
  }

  header .mobile-nav-panel .nav-parent {
    justify-content: flex-start;
  }

  header .mobile-nav-panel .nav-submenu {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    margin: 28px 0 8px 14px !important;
    border: 0 !important;
    border-left: 0.5px solid var(--line, rgba(74, 62, 55, 0.12)) !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    visibility: visible !important;
  }

  header .mobile-nav-panel .nav-submenu a {
    min-height: auto !important;
    padding: 0 !important;
    color: var(--accent, #6B584E) !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: clamp(16px, 4.4vw, 18px) !important;
    font-style: italic !important;
    font-weight: 300 !important;
    letter-spacing: 0px !important;
    line-height: 1.42 !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  header .mobile-nav-panel .nav-submenu li + li {
    margin-top: 22px !important;
  }

  header .mobile-nav-panel a::after {
    display: none !important;
  }

  body:has(header.nav-open) {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  body.has-scrolled header.site-header:not(.nav-open),
  body.has-scrolled header[aria-label="Site header"]:not(.nav-open) {
    border-bottom: 0.5px solid var(--line, rgba(74, 62, 55, 0.12)) !important;
    background: var(--silk, #F8F1EA) !important;
    mix-blend-mode: normal !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .sticky-progress {
    display: none !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .bg-text,
  .outline-circle {
    display: none !important;
  }

  .cta-ring {
    width: min(72vw, 320px) !important;
    height: min(72vw, 320px) !important;
  }
}

footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.7vw, 24px);
  text-align: left;
}

footer.footer-has-links {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(22px, 2vw, 30px);
  padding-bottom: clamp(22px, 2vw, 30px);
  text-align: left;
}


footer.footer-has-links .footer-social {
  justify-content: flex-end;
  text-align: right;
}

footer.footer-has-links .footer-links,
footer.footer-has-links .footer-social {
  flex: 1 1 0;
}

footer .footer-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

footer .footer-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s ease;
}

footer .footer-links a:hover::after,
footer .footer-links a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 1180px) {
  footer.footer-has-links {
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 48px 24px;
    text-align: center;
  }

  footer.footer-has-links .footer-links,
  footer.footer-has-links .footer-social {
    flex: none;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  footer.footer-has-links {
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 48px 24px;
    text-align: center;
  }


  footer.footer-has-links .footer-links {
    order: 1;
    justify-content: center;
    text-align: center;
  }

  footer.footer-has-links .footer-social {
    order: 2;
    justify-content: center;
    text-align: center;
  }

  footer .footer-links {
    width: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
  }

  footer .footer-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
  }
}

.timeline-container {
  display: flex;
  width: 100%;
  max-width: none;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

body.blog-page main.timeline-container {
  padding-top: 0 !important;
}

.timeline-container > .path-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: var(--app-vh, 100dvh);
  flex-direction: column;
  justify-content: center;
  background: var(--bg, #EAD7C3);
}

.timeline-container > .path-hero .hero-copy {
  width: min(100%, 960px);
  max-width: 960px;
}

.timeline-container > .path-hero .path-hero-label {
  margin-bottom: 32px;
  color: #6B584E;
}

.timeline-container > .path-hero h1 {
  max-width: 960px;
  margin: 0 !important;
  color: var(--text, #4A3E37) !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.timeline-container > .path-hero .hero-copy p {
  width: min(100%, 720px);
  max-width: none;
  margin: 42px 0 0 !important;
  color: rgba(74, 62, 55, 0.82) !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  font-weight: 300 !important;
  line-height: 1.42 !important;
  opacity: 1 !important;
}

.timeline-container > .path-hero .hero-copy p + p {
  margin-top: 18px !important;
}

.timeline-container > .path-hero .scroll-cue {
  position: absolute;
  bottom: 50px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .timeline-container > .path-hero .hero-copy {
    width: calc(100vw - 48px) !important;
    min-width: 0;
    max-width: calc(100vw - 48px) !important;
  }

  .timeline-container > .path-hero h1 {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    font-size: clamp(42px, 13vw, 58px) !important;
  }

  .timeline-container > .path-hero .hero-copy p {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-top: 34px !important;
    font-size: 18px !important;
    line-height: 1.58 !important;
  }

  .timeline-container > .path-hero .path-hero-label {
    margin-bottom: 32px;
  }

  .timeline-container > .path-hero .scroll-cue {
    bottom: 34px !important;
  }
}

@media (max-width: 520px) {
  .timeline-container > .path-hero h1 {
    max-width: 100% !important;
    font-size: 40px !important;
    line-height: 1.04 !important;
    text-wrap: normal;
  }

  .timeline-container > .path-hero[aria-labelledby="faq-title"] h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 360px) {
  .timeline-container > .path-hero h1 {
    font-size: 36px !important;
  }

  .timeline-container > .path-hero[aria-labelledby="faq-title"] h1 {
    font-size: 32px !important;
  }
}

@media (max-width: 900px) {
  main > .film-hero,
  main.content > .hero,
  .timeline-container > .path-hero,
  .page-shell .panel-section:first-child,
  main:not(.content) > .hero,
  main > .faq-hero,
  main > .direct-hero,
  body.blog-page .blog-hero,
  .blog-detail-page .blog-hero {
    min-height: 100vh !important;
    min-height: var(--app-vh, 100dvh) !important;
  }

  main.inquiry-main > .hero {
    min-height: auto !important;
  }
}

@media (max-width: 900px) and (max-height: 760px), (max-width: 360px) {
  main.content > .hero {
    padding-top: 104px !important;
    padding-bottom: 56px !important;
  }

  main.content > .hero h1 {
    margin-bottom: 24px !important;
    font-size: clamp(31px, 10vw, 42px) !important;
    line-height: 0.98 !important;
  }

  main.content > .hero h1 span {
    margin-top: 4px !important;
  }

  main.content > .hero .section-copy {
    font-size: 16px !important;
    line-height: 1.38 !important;
  }

  main:not(.content) > .hero {
    padding-bottom: 56px !important;
  }

  main:not(.content) > .hero h1 {
    margin-bottom: 20px !important;
    font-size: clamp(32px, 10.4vw, 42px) !important;
    line-height: 1.02 !important;
  }

  main:not(.content) > .hero .hero-copy {
    font-size: 16px !important;
    line-height: 1.38 !important;
  }

  main:not(.content) > .hero .hero-copy + .hero-copy {
    margin-top: 14px !important;
  }

  .blog-detail-page .blog-hero .section-kicker {
    margin-bottom: 10px !important;
  }

  .blog-detail-page .blog-hero h1 {
    margin-bottom: 16px !important;
    font-size: clamp(32px, 9.2vw, 40px) !important;
    line-height: 1.04 !important;
  }

  .blog-detail-page .blog-hero .hero-copy {
    font-size: 16px !important;
    line-height: 1.34 !important;
  }

  .blog-detail-page .blog-hero .hero-copy + .hero-copy {
    margin-top: 12px !important;
  }

  .blog-detail-page .article-byline {
    margin-top: 12px !important;
  }
}

@media (min-width: 901px) {
  main > .faq-hero,
  main > .direct-hero {
    min-height: clamp(480px, 50vh, 600px) !important;
  }

  main > .faq-hero + .page-rule,
  main > .direct-hero + .page-rule {
    margin-top: clamp(52px, 5vh, 64px) !important;
  }
}

/* Scroll cue animation: subtle segment travelling down the line */
.scroll-cue-line {
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42%;
  background: var(--text, #4A3E37);
  opacity: 0.55;
  animation: seraScrollCue 2.6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}

@keyframes seraScrollCue {
  0% { transform: translateY(-100%); opacity: 0; }
  20% { opacity: 0.55; }
  75% { opacity: 0.55; }
  100% { transform: translateY(240%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line::after {
    animation: none;
    opacity: 0;
  }
}
