

@property --f17 { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --u17 { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --c17: #F1EADD;          
  --cl17: #4B1720;         
  --cd17: #3A1018;         
  --g17: #142A23;          
  --gt17: #142A23;         
  --card17: #F8F3E8;       
}


.svc8 .svc-t { color: var(--gt17); }
.svc8 .sv-t,
.svc8 .sv-n,
.svc8 .sv-com .sv-l:hover .sv-n,
.svc8 .sv-res .sv-l:hover .sv-n { color: var(--cl17); }
.svc8 .sv-l { isolation: isolate; padding-right: 20px; transition: color .3s ease; }
.svc8 .sv-l::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cl17); opacity: 0; transform: scaleY(.94);
  transform-origin: 50% 100%; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.svc8 .sv-l .sv-n, .svc8 .sv-l .sv-d { transition: color .3s ease; }
.svc8 .sv-l:hover::after, .svc8 .sv-l:focus-visible::after { opacity: 1; transform: none; }
.svc8 .sv-l:hover .sv-n, .svc8 .sv-l:focus-visible .sv-n,
.svc8 .sv-com .sv-l:hover .sv-n, .svc8 .sv-res .sv-l:hover .sv-n,
.svc8 .sv-l:hover .sv-d, .svc8 .sv-l:focus-visible .sv-d { color: var(--c17); }
.svc8 .sv-l:hover::before, .svc8 .sv-l:focus-visible::before { opacity: 0; }
.svc8 .sv-l:focus-visible { outline: 2px solid var(--cl17); outline-offset: 3px; }
.svc8 .sv-eye span { color: var(--cl17); }


.sh .sh-t { color: var(--gt17); }
.sh .sh-pics figure:not(.sh-wide) { position: relative; isolation: isolate; }
.sh .sh-pics figure:not(.sh-wide) figcaption { position: relative; z-index: 0; margin-top: 12px; padding: 12px 16px 13px; background: var(--card17);
  border: 1px solid rgba(75, 23, 32, .32); transition: color .3s ease, border-color .3s ease; }
.sh .sh-pics figure:not(.sh-wide) figcaption::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--cl17); opacity: 0;
  transition: opacity .3s ease; }
.sh .sh-pics figure:not(.sh-wide):hover figcaption::before,
.sh .sh-pics figure:not(.sh-wide):focus-visible figcaption::before { opacity: 1; }
.sh .sh-pics figure:not(.sh-wide) figcaption .cap-t,
.sh .sh-pics figure:not(.sh-wide) figcaption .cap-c { transition: color .3s ease; }
.sh .sh-pics figure:not(.sh-wide) figcaption .cap-t { color: var(--cl17); }
.sh .sh-pics figure:not(.sh-wide) figcaption .cap-c { color: rgba(32, 37, 31, .78); }
.sh .sh-pics figure:not(.sh-wide):hover figcaption .cap-t, .sh .sh-pics figure:not(.sh-wide):focus-visible figcaption .cap-t,
.sh .sh-pics figure:not(.sh-wide):hover figcaption .cap-c, .sh .sh-pics figure:not(.sh-wide):focus-visible figcaption .cap-c { color: var(--c17); }
.sh .sh-pics figure:focus-visible { outline: 2px solid var(--cl17); outline-offset: 4px; }
.sh .sh-hist-t { color: var(--g17); }


html[data-sh17="split"] .sh { position: relative; isolation: isolate; background: var(--c17); }
html[data-sh17="split"] .sh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cl17);
  clip-path: polygon(0 66%, 100% 19%, 100% 100%, 0 100%); pointer-events: none; }
html[data-sh17="split"] .sh .sh-hist { background: var(--c17); padding: 16px 20px 18px 22px; }
html[data-sh17="split"] .sh .sh-hist-t, html[data-sh17="split"] .sh .sh-t { color: var(--cl17); }


.lounge { background: #2B1219; }


.proc7 .p7-t { color: var(--gt17); }
.proc7 .p7-st h3 { color: var(--gt17); }


.mat7 { background: var(--c17); color: var(--g17); }
.mat7 .tunnel__stage { background: var(--cl17); }
.tunnel__stage::before { content: ""; position: absolute; z-index: -100001; left: -90%; width: 280%; top: 0; height: 260%; background: var(--c17);
  rotate: -8deg; translate: 0 112vh; pointer-events: none; }
.tunnel__tile img { filter: drop-shadow(0 22px 26px rgba(35, 8, 16, .38)); }
.tunnel__h2 { color: color-mix(in srgb, var(--paper, #F2EBDF) calc((1 - var(--f17)) * 100%), var(--cl17)); }
.tunnel__word { color: inherit; }
.tunnel__word.it { color: color-mix(in srgb, #E9C9A0 calc((1 - var(--u17)) * 100%), var(--cl17)); }
.tunnel__logo { color: color-mix(in srgb, #E9C9A0 calc((1 - var(--u17)) * 100%), var(--cl17)); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tunnel__section { view-timeline: --tn17 block; animation: tn17-vars linear both; animation-timeline: --tn17; animation-range: cover 35% cover 66%; }
    .tunnel__stage::before { animation: tn17-ground linear both; animation-timeline: --tn17; animation-range: cover 35% cover 66%; }
  }
}

@keyframes tn17-ground { from { translate: 0 112vh; } to { translate: 0 -24vh; } }
@keyframes tn17-vars { 0%, 40% { --f17: 0; --u17: 0; } 43%, 100% { --f17: 1; --u17: 1; } }

@media (prefers-reduced-motion: reduce) {
  .tunnel__stage::before { translate: 0 112vh; }
}


.mat7 .m7-eye { color: rgba(32, 37, 31, .72); }
.mat7 .m-lede { color: rgba(32, 37, 31, .88); }
.mat7 .hint { color: var(--cl17); }
.mat7 .o p { border-top-color: rgba(75, 23, 32, .45); }
.mat7 .o p .label:first-child { color: var(--cl17); }
.mat7 .o p .label:last-child { color: rgba(32, 37, 31, .78); }
.mat7 .strip:focus-visible { outline-color: var(--cl17); }


.end16 { background: var(--g17); }
.ct16 { background: var(--c17); isolation: isolate; }
.ct16-scene { display: none; }
.ct16::before { content: ""; position: absolute; z-index: -1; left: -90%; width: 280%; top: -30%; height: 240%; background: var(--g17);
  rotate: -8deg; translate: 0 0; pointer-events: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ct16 { view-timeline: --ct17 block; }
    .ct16::before { animation: ct17-wipe linear both; animation-timeline: --ct17; animation-range: entry 0% entry 100%; }
    .ct16-in { animation: ct17-in linear both; animation-timeline: --ct17; animation-range: entry 40% entry 100%; }
  }
}

@keyframes ct17-wipe { from { translate: 0 60%; } to { translate: 0 0; } }
@keyframes ct17-in { from { opacity: 0; } to { opacity: 1; } }
.ft16 .ft16-word .w2, .ft16-word .w2 { color: var(--g17); }
.ft16 .ft16-word { color: var(--g17); }


.ft16, .ft16 .foot-mark, .ft16-col a, .ft16-up, .ft16 .ft16-sub { color: var(--g17); }


html.hdr17.tn17-dark .hdr-cta { background: var(--c17) !important; color: var(--cl17) !important; }
