/* Both crops of the original artwork reserve the center for the handset. */
.terrain-hero {
  --phone-scale: .74;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 2;
  max-height: 880px;
  overflow: hidden;
  color: var(--photo-text);
  background: var(--photo-shade);
}
.terrain-art, .terrain-art img, .terrain-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.terrain-art { z-index: -2; }
.terrain-art img { display: block; object-fit: cover; }
.terrain-hero::after {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(7 13 19 / 82%), rgb(7 13 19 / 40%) 15%, transparent 29%, transparent 83%, rgb(7 13 19 / 55%));
}
.terrain-heading {
  position: absolute;
  inset: 3.5% 3% auto;
  text-align: center;
  text-shadow: 0 2px 14px #070d13, 0 1px 3px #070d13;
}
.terrain-heading h1 { color: #fff; margin: 0; font: 400 clamp(2.3rem,4.1vw,4.8rem)/1.05 Georgia,serif; letter-spacing: -.055em; }
.terrain-heading h1 em { color: #ffcea4; }
.terrain-heading p { margin: 7px auto 0; font-size: clamp(.84rem,1.12vw,1.1rem); font-weight: 500; line-height: 1.35; }
.hero-launch {
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: clamp(11px,1.1vw,17px);
}
.hero-device {
  width: calc(360px * var(--phone-scale));
  height: calc(612px * var(--phone-scale));
  transform: rotate(-2deg);
  border-radius: calc(34px * var(--phone-scale));
  box-shadow: 0 12px 24px rgb(5 9 12 / 52%);
}
.collection-phone.owner-tour {
  --gutter: 16px;
  width: 360px;
  height: 612px;
  padding: 0;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  border: 7px solid #38434c;
  border-radius: 34px;
  background: var(--background);
  box-shadow: 0 0 0 2px #a3b1b9;
  color: var(--text);
}
.collection-phone .garage-shell { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 26px; box-shadow: none; }
.collection-phone .native-topbar { min-height: 52px; }
.collection-phone .native-wordmark { width: 166px; }
.collection-phone .app-main { flex: 1; padding: 12px var(--gutter); }
.collection-phone .workspace-heading { margin-bottom: 10px; }
.collection-phone .dashboard-section { margin-top: 14px; }
.collection-phone .section-line { min-height: 28px; }
.collection-phone .app-nav { position: static; padding: 2px 4px; }
.collection-phone .subnav { gap: 5px; }
.collection-phone .subnav a { padding-inline: 9px; }
.collection-phone .record-row { gap: 9px; padding-block: 7px; }
.collection-phone .record-row img { width: 56px; height: 42px; }
.collection-phone .record-row small { margin-top: 2px; font-size: .76rem; }
.collection-phone a:hover { background: var(--raised); }
.launch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--accent-hover);
  border-radius: 100px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 .9rem/1.25 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgb(5 9 12 / 52%);
}
.launch-link:hover { background: var(--accent-hover); }
.launch-link:focus-visible { outline-color: white; }
.vehicle-entries { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.vehicle-entries a { position: relative; padding: 18px 26px 20px 18px; text-decoration: none; }
.vehicle-entries a:first-child { padding-left: 0; }
.vehicle-entries a + a { border-left: 1px solid var(--line); }
.vehicle-entries span { display: block; color: var(--muted); font-size: .73rem; font-weight: 600; margin-bottom: 4px; }
.vehicle-entries strong { display: block; font: 600 clamp(1.12rem,1.5vw,1.45rem)/1.15 var(--font-display); }
.vehicle-entries b { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: var(--accent-text); }
.vehicle-entries a:hover strong, .home-tab:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.home-sections { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.4fr); gap: clamp(30px,7vw,110px); padding-block: clamp(42px,6vw,92px); }
.home-page h2 { margin-bottom: 14px; font-size: clamp(2.2rem,3.6vw,3.8rem); }
.home-intro p { max-width: 43ch; color: var(--muted); }
.home-intro a { margin-top: 6px; }
.home-tab { display: grid; grid-template-columns: 24px 55px 1fr 16px; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.home-tab:first-child { border-top: 1px solid var(--line); }
.home-tab i { font: normal 18px/1 GarageFeather; color: var(--accent-text); }
.home-tab strong { font: 600 1.45rem/1.2 var(--font-display); }
.home-tab span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.home-tab b { color: var(--teal); }
.home-entrances { padding-block: clamp(32px,5vw,72px); }
.home-audiences { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-audiences article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px,2vw,28px); border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); }
.home-audiences .eyebrow { margin: 0 0 10px; color: var(--teal); }
.home-audiences h3 { font: 600 clamp(1.55rem,2.3vw,2.25rem)/1.1 var(--font-display); margin: 0; }
.home-audiences h3 + p { flex: 1; color: var(--muted); margin: 12px 0 20px; }
.home-audiences a { max-width: 100%; }
.home-audiences a + a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: .9rem; color: var(--teal); }
@media (min-width:1550px) { .terrain-hero { --phone-scale: .82; } }
@media (min-width:1081px) and (max-width:1280px) { .terrain-hero { --phone-scale: .58; } }
@media (min-width:701px) and (max-width:1080px) {
  .terrain-hero { --phone-scale: .47; min-height: 410px; }
  .hero-launch { top: 59%; gap: 8px; }
  .terrain-heading { inset-block-start: 2.5%; }
  .launch-link { min-height: 40px; font-size: .8rem; }
}
@media (max-width:850px) {
  .home-audiences { grid-template-columns: minmax(0,1fr); }
  .home-sections { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .home-intro p { max-width: 62ch; }
}
@media (min-width:701px) and (max-width:900px) {
  .terrain-hero { --phone-scale: .4; }
  .hero-launch { top: 57.5%; }
}
@media (max-width:700px) {
  .terrain-hero { --phone-scale: .54; aspect-ratio: 2 / 3; max-height: 850px; }
  .terrain-heading { inset-block-start: 4%; }
  .terrain-heading h1 { font-size: clamp(1.55rem,6.7vw,3.2rem); }
  .terrain-heading p { max-width: 35ch; margin-top: 5px; font-size: .85rem; }
  .hero-launch { display: contents; }
  .hero-device { position: absolute; top: 47%; left: 50%; transform: translate(-50%, -50%) rotate(-2deg); }
  .launch-link { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); min-height: 44px; padding: 9px 14px; font-size: .8rem; }
  .vehicle-entries { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vehicle-entries a { padding: 14px 22px 14px 10px; }
  .vehicle-entries a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .vehicle-entries a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vehicle-entries b { right: 5px; }
  .home-tab { grid-template-columns: 24px 1fr 16px; gap: 3px 10px; }
  .home-tab span { grid-row: 2; grid-column: 2; }
  .home-tab b { grid-row: 1; grid-column: 3; }
}
@media (max-width:480px) {
  .terrain-hero { --phone-scale: .42; }
  .collection-phone .app-tab, .collection-phone .subnav a { min-height: 59px; }
}
@media (max-width:359px) {
  .terrain-hero { --phone-scale: .36; }
  .terrain-heading { inset-block-start: 3%; }
  .collection-phone .app-tab, .collection-phone .subnav a { min-height: 68px; }
}
