/* Home page (front-page.php). Ink and bone bands, mono spec type, coloured chips, motion on scroll. */
.hm, .hm-ticker {
	--hm-bone: #efebe3; --hm-bone-2: #e4dfd4; --hm-paper: #17181a; --hm-paper-2: #4a4b4e;
	--hm-amber: #e0a43a; --hm-ember: #f0845c; --hm-verde: #1d6b27;
	--hm-mono: "DM Mono", ui-monospace, monospace;
	--hm-ease: cubic-bezier(.2, .7, .1, 1);
}
.hm { background: var(--dt-black); color: var(--hm-bone); overflow-x: clip; }
.hm img { display: block; max-width: 100%; }
body.dt .hm h1, body.dt .hm h2, body.dt .hm h3 { color: inherit; margin: 0; }
.hm-disp { font-family: var(--dt-display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: -.015em; text-wrap: balance; }
.hm-mono { font-family: var(--hm-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.hm-cap { font-family: var(--dt-cond); font-weight: 500; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dt-muted); }
.hm-idx { display: block; margin-bottom: 1rem; font-family: var(--hm-mono); font-size: .72rem; letter-spacing: .1em; color: var(--dt-rosso-hi); }

/* Chips */
.hm-chip { display: inline-flex; align-items: center; gap: .45em; padding: .4em .7em; border: 1px solid currentColor; font-family: var(--hm-mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.hm-chip--red, .hm-chip--a-road { background: var(--dt-rosso); border-color: var(--dt-rosso); color: #fff; }
.hm-chip--a-road { background: #c81a1a; border-color: #c81a1a; }
.hm-chip--tour { background: var(--hm-ember); border-color: var(--hm-ember); color: var(--dt-black); }
.hm-chip--green { background: var(--hm-verde); border-color: var(--hm-verde); color: #fff; }
.hm-chip--blue, .hm-chip--trip { background: var(--dt-gt); border-color: var(--dt-gt); color: var(--dt-black); }
.hm-chip--amber { background: var(--hm-amber); border-color: var(--hm-amber); color: var(--dt-black); }
.hm-chip--line { color: var(--dt-silver); }
.hm-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: hm-blink 1.6s infinite; }
@keyframes hm-blink { 50% { opacity: .2; } }

/* Buttons and links */
.hm .hm-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 1.6rem; background: var(--dt-rosso); color: #fff; font-family: var(--dt-cond); font-weight: 600; font-size: .86rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.hm .hm-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hm-bone); transform: translateX(-115%) skewX(-18deg); transform-origin: left; transition: transform .45s var(--hm-ease); }
.hm .hm-btn:hover, .hm .hm-btn:focus-visible { color: var(--dt-black); }
.hm .hm-btn:hover::before, .hm .hm-btn:focus-visible::before { transform: none; }
.hm .hm-btn svg { width: 16px; transition: transform .3s var(--hm-ease); }
.hm .hm-btn:hover svg { transform: translateX(4px); }
.hm .hm-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(239,235,227,.4); }
.hm .hm-btn--ink { background: var(--dt-black); }
.hm .hm-ulink { align-self: flex-start; padding-bottom: .35rem; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; font-family: var(--dt-cond); font-weight: 600; font-size: .84rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; transition: background-size .4s var(--hm-ease); }
.hm .hm-ulink:hover, .hm a:hover .hm-ulink { background-size: 0 1px; background-position: right bottom; }

/* Ticker, above the header */
.hm-ticker { position: relative; z-index: 60; height: 34px; display: flex; align-items: center; overflow: hidden; background: var(--dt-rosso); color: #fff; }
.hm-ticker__track { display: flex; flex-shrink: 0; white-space: nowrap; animation: hm-slide 48s linear infinite; }
.hm-ticker:hover .hm-ticker__track { animation-play-state: paused; }
.hm-ticker span { display: inline-flex; align-items: center; gap: 1.6rem; padding: 0 1.6rem; font-family: var(--hm-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.hm-ticker span::after { content: ""; width: 5px; height: 5px; background: #fff; transform: rotate(45deg); opacity: .6; }
@keyframes hm-slide { to { transform: translateX(-50%); } }
.hm-ticker ~ .dt-header--over { top: 34px; }

/* Hero */
.hm-hero { position: relative; height: calc(100svh - 34px); min-height: 640px; max-height: 1100px; overflow: hidden; display: grid; align-items: end; background: #0d0d0d; }
.hm-hero__img { position: absolute; inset: -6% 0 0; will-change: transform; }
.hm-hero__img img { width: 100%; height: 112%; object-fit: cover; object-position: 40% 55%; animation: hm-kenburns 22s ease-out both; }
@keyframes hm-kenburns { from { transform: scale(1.14); } to { transform: none; } }
.hm-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.15) 55%, rgba(10,10,11,.92) 100%), linear-gradient(90deg, rgba(10,10,11,.6), rgba(10,10,11,0) 60%); }
.hm-hero__c { position: relative; z-index: 2; padding-bottom: clamp(7rem, 15vh, 10rem); }
.hm-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.hm-hero h1 { font-size: clamp(3.6rem, 11.7vw, 11.7rem); text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hm-line { display: block; overflow: hidden; padding-right: .12em; }
.hm-line > span { display: inline-block; }
.hm-line + .hm-line > span { color: var(--dt-rosso); }
.dt-js .hm-line > span { transform: translateY(105%); animation: hm-rise 1.1s var(--hm-ease) .1s forwards; }
.dt-js .hm-line + .hm-line > span { animation-delay: .24s; }
@keyframes hm-rise { to { transform: none; } }
.hm-hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; margin-top: 2rem; }
.hm-hero__sub { max-width: 34rem; margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; color: rgba(239,235,227,.82); }
.hm-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.dt-js .hm-hero__sub, .dt-js .hm-ctas { opacity: 0; animation: hm-fade 1s .6s forwards; }
.dt-js .hm-ctas { animation-delay: .8s; }
@keyframes hm-fade { to { opacity: 1; } }

/* Live numbers along the bottom of the hero */
.hm-tele { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(239,235,227,.14); background: rgba(10,10,11,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hm-tele__in { display: grid; grid-template-columns: repeat(4, 1fr) auto; }
.hm-tele__cell { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; border-right: 1px solid rgba(239,235,227,.1); }
.hm-tele__cell:first-child { padding-left: 0; }
.hm-tele__cell b { font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-tele__cell b small { margin-left: .15em; font-size: .55em; color: var(--dt-muted); }
.hm-tele__scroll { display: flex; align-items: center; gap: .8rem; padding-left: 1.2rem; }
.hm-tele__scroll i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(239,235,227,.2); }
.hm-tele__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--hm-bone); animation: hm-drip 1.8s var(--hm-ease) infinite; }
@keyframes hm-drip { to { top: 100%; } }

/* Road names */
.hm-roads { padding: 2.2rem 0; overflow: hidden; border-bottom: 1px solid var(--dt-line); }
.hm-roads__row { display: flex; gap: 2.4rem; white-space: nowrap; will-change: transform; }
.hm-roads__row + .hm-roads__row { margin-top: .6rem; }
.hm-roads__row span { font-family: var(--dt-display); font-style: italic; font-weight: 900; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(239,235,227,.22); }
.hm-roads__row span.is-solid { color: var(--hm-bone); -webkit-text-stroke: 0; }

/* Section heading */
.hm-sh { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hm-sh h2 { font-size: clamp(2.8rem, 6.5vw, 6rem); }
.hm-sh p { max-width: 30rem; margin: 0 0 1.2rem; line-height: 1.65; color: rgba(239,235,227,.7); }

/* Featured road */
.hm-feat { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--hm-bone); color: var(--hm-paper); }
.hm-feat__img { position: relative; min-height: 560px; overflow: hidden; }
.hm-feat__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hm-feat__img .hm-chip { position: absolute; z-index: 2; top: 1.4rem; left: 1.4rem; }
.hm-feat__sheet { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(2.5rem, 5vw, 5rem); }
.hm-feat__sheet h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.hm-feat__from { margin: -.6rem 0 0; font-family: var(--hm-mono); font-size: .8rem; letter-spacing: .03em; color: #5b5d61; }
.hm-feat__lede { max-width: 32rem; margin: 0; font-size: 1.05rem; line-height: 1.7; color: #3a3b3e; }
.hm-spec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(23,24,26,.18); border-bottom: 1px solid rgba(23,24,26,.18); }
.hm-spec > div { padding: 1rem 0 1rem 1rem; border-right: 1px solid rgba(23,24,26,.12); }
.hm-spec > div:first-child { padding-left: 0; }
.hm-spec > div:last-child { border-right: 0; }
.hm-spec > div > span { display: block; margin-bottom: .35rem; font-family: var(--hm-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: #6d6f73; }
.hm-spec strong { font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-spec strong small { margin-left: .1em; font-size: .5em; }
.hm-elev { display: block; width: 100%; height: 92px; overflow: visible; }
.hm-elev__area { fill: rgba(176,19,19,.08); }
.hm-elev__ln { fill: none; stroke: var(--dt-rosso); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hm-elev__top { stroke: var(--hm-paper); stroke-dasharray: 3 3; opacity: .4; vector-effect: non-scaling-stroke; }
.hm-elev__k { display: flex; justify-content: space-between; gap: 1rem; margin-top: -.6rem; font-family: var(--hm-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: #6d6f73; }
.dt-js .hm-elev__ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--hm-ease) .3s; }
.dt-js .hm-elev__area { opacity: 0; transition: opacity 1s 1.4s; }
.dt-js .is-in .hm-elev__ln { stroke-dashoffset: 0; }
.dt-js .is-in .hm-elev__area { opacity: 1; }

/* The collection */
.hm-coll { padding-block: clamp(5rem, 10vw, 9rem); overflow: hidden; }
.hm-slider { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--dt-gutter); padding-inline: max(var(--dt-gutter), env(safe-area-inset-left, 0px)); scrollbar-width: none; cursor: grab; }
.hm-slider::-webkit-scrollbar { display: none; }
.hm-slider.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hm-slider.is-drag a { pointer-events: none; }
.hm .hm-rc { flex: 0 0 clamp(270px, 30vw, 430px); scroll-snap-align: start; user-select: none; text-decoration: none; color: var(--hm-bone); }
.hm-rc__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--dt-dark-2); }
.hm-rc__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(.85); transition: transform 1.1s var(--hm-ease), filter .6s; -webkit-user-drag: none; }
.hm-rc:hover .hm-rc__ph img { transform: scale(1.12); filter: saturate(1.05); }
.hm-rc__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,.75)); }
.hm-rc__chips { position: absolute; z-index: 2; top: 1rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.hm-rc__num { position: absolute; z-index: 2; left: 1rem; bottom: .9rem; font-family: var(--dt-display); font-style: italic; font-weight: 900; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(239,235,227,.7); transition: color .4s; }
.hm-rc:hover .hm-rc__num { color: var(--hm-bone); }
.hm-rc__go { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hm-bone); color: var(--dt-black); transform: scale(0) rotate(-45deg); transition: transform .45s var(--hm-ease); }
.hm-rc:hover .hm-rc__go { transform: none; }
.hm-rc__go svg { width: 18px; }
body.dt .hm-rc h3 { margin: 1.1rem 0 .55rem; font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.hm-rc p { margin: 0; font-family: var(--hm-mono); font-size: .74rem; letter-spacing: .02em; color: var(--dt-muted); }
.hm-coll__bar { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.hm-coll__prog { position: relative; flex: 1; height: 2px; background: var(--dt-line); }
.hm-coll__prog i { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--hm-bone); transition: width .15s linear; }
.hm-coll__arrows { display: flex; gap: .5rem; }
body.dt .hm-coll__arrows button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--dt-line); border-radius: 0; background: none; color: var(--hm-bone); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
body.dt .hm-coll__arrows button:hover, body.dt .hm-coll__arrows button:focus-visible { background: var(--hm-bone); border-color: var(--hm-bone); color: var(--dt-black); }
.hm-coll__arrows svg { width: 18px; }

/* Kinds of drive */
.hm-moods { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dt-line); }
.hm-moods--2 { grid-template-columns: repeat(2, 1fr); }
.hm .hm-mood { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; height: clamp(420px, 62vh, 640px); padding: 1.6rem; overflow: hidden; border-right: 1px solid var(--dt-line); color: var(--hm-bone); text-decoration: none; }
.hm-mood:last-child { border-right: 0; }
.hm-mood img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .18; transform: scale(1.12); transition: opacity .6s, transform 1.4s var(--hm-ease); }
.hm-mood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.2), rgba(10,10,11,.85)); }
.hm-mood:hover img, .hm-mood:focus-visible img { opacity: 1; transform: none; }
.hm-mood__top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
body.dt .hm-mood h3 { font-family: var(--dt-display); font-style: italic; font-weight: 900; font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: .86; text-transform: uppercase; transition: transform .6s var(--hm-ease); }
.hm-mood:hover h3 { transform: translateY(-8px); }
.hm-mood__list { max-height: 0; margin: 1rem 0 0; overflow: hidden; font-family: var(--hm-mono); font-size: .74rem; line-height: 1.9; color: rgba(239,235,227,.7); transition: max-height .6s var(--hm-ease); }
.hm-mood:hover .hm-mood__list, .hm-mood:focus-visible .hm-mood__list { max-height: 8rem; }

/* Films, stays, members */
.hm-ed { padding-block: clamp(5rem, 10vw, 9rem); background: var(--hm-bone); color: var(--hm-paper); }
.hm-ed .hm-sh p { color: var(--hm-paper-2); }
.hm-ed__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.hm .hm-ed__item { display: flex; flex-direction: column; color: var(--hm-paper); text-decoration: none; }
.hm-ed__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--hm-bone-2); }
.hm-ed__item:first-child .hm-ed__ph { flex: 1; aspect-ratio: auto; min-height: 420px; }
.hm-ed__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--hm-ease); }
.hm-ed__item:first-child .hm-ed__ph img { position: absolute; inset: 0; }
.hm-ed__item:hover .hm-ed__ph img { transform: scale(1.06); }
.hm-play { position: absolute; inset: 0; display: grid; place-items: center; width: 76px; height: 76px; margin: auto; border-radius: 50%; background: rgba(239,235,227,.92); transition: transform .4s var(--hm-ease); }
.hm-play::before { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(239,235,227,.6); border-radius: 50%; animation: hm-ring 2s var(--hm-ease) infinite; }
@keyframes hm-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.hm-ed__item:hover .hm-play { transform: scale(1.08); }
.hm-play svg { width: 22px; margin-left: 4px; fill: var(--dt-black); }
.hm-ed__body { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding-top: 1.2rem; }
body.dt .hm-ed__body h3 { font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.hm-ed__body p { max-width: 28rem; margin: 0; font-size: .96rem; line-height: 1.65; color: var(--hm-paper-2); }

/* Every road on one map */
.hm-mapb { padding-block: clamp(5rem, 10vw, 8rem); background: var(--dt-dark); }
.hm-mapb__in { display: block; }
.hm-mapb__t { max-width: 46rem; margin-bottom: 2.5rem; }
.hm-mapb__live { position: relative; min-height: 640px; }
.hm-mapb__live .hm-mapb__svg { max-width: 760px; margin-inline: auto; }
.hm-mapb__live > .pinscribe-root { position: absolute; inset: 0; margin-inline: inherit; visibility: hidden; }
.hm-mapb__live.is-live > .pinscribe-root { visibility: visible; position: relative; inset: auto; }
.hm-mapb__live.is-live .hm-mapb__svg { display: none; }
.hm-mapb h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.hm-mapb p { max-width: 28rem; margin: 1.2rem 0 2rem; line-height: 1.7; color: rgba(239,235,227,.72); }
.hm-mapb__key { display: flex; gap: 1.4rem; margin-top: 2rem; font-family: var(--hm-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dt-muted); }
.hm-mapb__key span { display: inline-flex; align-items: center; gap: .5rem; }
.hm-mapb__key i { width: 18px; height: 3px; }
.hm-mapb__svg { display: block; }
.hm-mapb__svg svg { display: block; width: 100%; height: auto; max-height: 80vh; overflow: visible; }
.hm-rd { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: stroke-width .3s, opacity .3s; }
.hm-rd--a-road { stroke: #c81a1a; }
.hm-rd--tour { stroke: var(--hm-ember); }
.hm-rd.is-hot { stroke: var(--hm-bone); stroke-width: 3; opacity: 1; }
.hm-mapb__svg:hover .hm-rd { stroke-width: 2.2; opacity: 1; }
.hm-pin { fill: var(--hm-bone); }
.hm-pulse { fill: none; stroke: var(--hm-bone); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }
.hm-mapb__svg text { font-family: var(--hm-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; fill: rgba(239,235,227,.7); }
.dt-js .hm-rd { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dt-js .is-in .hm-rd { animation: hm-draw 1.8s var(--hm-ease) calc(var(--i, 0) * 50ms) forwards; }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
.dt-js .hm-mapb__svg .hm-pin, .dt-js .hm-mapb__svg text, .dt-js .hm-mapb__svg .hm-pulse { opacity: 0; transition: opacity .6s 2s; }
.dt-js .hm-mapb__svg.is-in .hm-pin, .dt-js .hm-mapb__svg.is-in text { opacity: 1; }
.dt-js .hm-mapb__svg.is-in .hm-pulse { opacity: 1; }

/* Join */
.hm-join { padding-block: clamp(4rem, 8vw, 7rem); background: var(--dt-rosso); color: #fff; }
.hm-join__in { display: grid; grid-template-columns: 1.2fr auto; gap: 2rem 4rem; align-items: end; }
.hm-join h2 { font-size: clamp(2.8rem, 6.5vw, 6rem); }
.hm-join p { max-width: 32rem; margin: 1rem 0 0; line-height: 1.65; color: rgba(255,255,255,.88); }
.hm-join .hm-btn { justify-self: start; }

/* Reveals (only when scripts run) */
.dt-js .hm-rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--hm-ease), transform .9s var(--hm-ease); }
.dt-js .hm-rv.is-in { opacity: 1; transform: none; }
.dt-js .hm-d1 { transition-delay: .1s; }
.dt-js .hm-d2 { transition-delay: .2s; }
.hm-mask { overflow: hidden; padding-bottom: .06em; }
.hm-mask > span { display: inline-block; }
.dt-js .hm-mask > span { transform: translateY(102%); transition: transform 1s var(--hm-ease); }
.dt-js .hm-mask.is-in > span { transform: none; }

/* The site footer's parked car sits right under the join band */
.hm + .dt-footer, .hm ~ #site-footer { margin-top: clamp(56px, 5.5vw, 84px); }

@media (max-width: 1000px) {
	.hm-feat, .hm-join__in { grid-template-columns: 1fr; }
	.hm-feat__img { min-height: 380px; }
	.hm-moods, .hm-moods--2 { grid-template-columns: 1fr; }
	.hm .hm-mood { height: 320px; border-right: 0; border-bottom: 1px solid var(--dt-line); }
	.hm-mood img { opacity: .5; transform: none; }
	.hm-mood__list { max-height: none; }
	.hm-ed__grid { grid-template-columns: 1fr; }
	.hm-ed__ph, .hm-ed__item:first-child .hm-ed__ph { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
	.hm-ed__item:first-child .hm-ed__ph img { position: static; }
}
@media (max-width: 700px) {
	.hm-tele__in { grid-template-columns: repeat(2, 1fr); }
	.hm-tele__cell { padding: .7rem .8rem; border-bottom: 1px solid rgba(239,235,227,.1); }
	.hm-tele__cell:nth-child(2n) { border-right: 0; }
	.hm-tele__cell:nth-child(3) { padding-left: 0; }
	.hm-tele__cell b { font-size: 1.3rem; }
	.hm-tele__scroll { display: none; }
	.hm-hero__c { padding-bottom: 10.5rem; }
	.hm-mapb__svg text { display: none; }
	.hm-hero__row { gap: 1.3rem; margin-top: 1.3rem; }
	.hm-spec { grid-template-columns: repeat(2, 1fr); }
	.hm-spec > div:nth-child(2) { border-right: 0; }
	.hm-spec > div:nth-child(3) { padding-left: 0; }
	.hm-spec > div:nth-child(-n+2) { border-bottom: 1px solid rgba(23,24,26,.12); }
}
@media (prefers-reduced-motion: reduce) {
	.hm *, .hm *::before, .hm *::after, .hm-ticker * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.dt-js .hm-rv, .dt-js .hm-mask > span, .dt-js .hm-line > span { opacity: 1; transform: none; }
}

/* The Logbook band */
.hm-log { padding-block: clamp(4rem, 8vw, 6rem); background: var(--dt-dark); border-top: 1px solid rgba(239,235,227,.12); }
.hm-log__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.6rem; margin-bottom: 1.6rem; }
.hm .hm-log__card { display: block; color: var(--hm-bone); text-decoration: none; }
.hm-log__card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: .9rem; }
.hm-log__card strong { font-family: var(--dt-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.hm .hm-log__all { color: var(--hm-bone); }

/* Featured roads slider */
.hm-fs { background: var(--hm-bone); color: var(--hm-paper); }
.hm-fs__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm-fs__track::-webkit-scrollbar { display: none; }
.hm-fs__track:focus-visible { outline: 2px solid var(--dt-rosso); outline-offset: -2px; }
.hm-fs__track > .hm-feat { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.hm-fs .hm-feat__img img { inset: 0; height: 100%; }
.hm-fs__bar { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.2rem 1.6rem; border-top: 1px solid rgba(23,24,26,.14); }
.hm-fs .hm-coll__prog { background: rgba(23,24,26,.18); }
.hm-fs .hm-coll__prog i { background: var(--dt-rosso); }
body.dt .hm-fs .hm-coll__arrows button { border-color: rgba(23,24,26,.35); background: transparent; color: var(--hm-paper); }
body.dt .hm-fs .hm-coll__arrows button:hover, body.dt .hm-fs .hm-coll__arrows button:focus-visible { background: var(--hm-paper); border-color: var(--hm-paper); color: var(--hm-bone); }

/* Hero copy on the right on desktop, so the car (left lane, left of frame) stays clear. */
@media (min-width: 901px) {
	.hm-hero::before { background: linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.15) 55%, rgba(10,10,11,.92) 100%), linear-gradient(270deg, rgba(10,10,11,.6), rgba(10,10,11,0) 60%); }
	.hm-hero__c { text-align: right; }
	.hm-chips { justify-content: flex-end; }
	.hm-line { padding-right: 0; padding-left: .12em; }
	.hm-hero__row { flex-direction: column; align-items: flex-end; justify-content: flex-start; }
	.hm-ctas { justify-content: flex-end; }
}

/* Phones: frame the rear of the car (bumper, exhaust, left roost); home.js reads this crop. */
@media (max-width: 600px) { .hm-hero__img img { object-position: 28% 60%; } }

/* Phones: copy at the top, the car in clear view below it, then the stats. */
@media (max-width: 600px) {
	.hm-hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
	.hm-hero::before { display: none; }
	.hm-hero__c { order: 1; padding-top: 7rem; padding-bottom: 0; }
	.hm-hero__img { order: 2; position: relative; inset: auto; height: 84vw; margin-top: -2.5rem;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
	.hm-tele { order: 3; position: relative; }
}
