/* Home-only base, extracted from global stylesheet in 1.0.17. */
.page-shell {
  width: calc(100% - 48px);
  max-width: var(--container-width);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 692px) minmax(200px, 218px);
  gap: 18px;
  align-items: start;
}

.hero-slider {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 8px 28px rgb(0 50 92 / .04);
}

.slides {
  position: relative;
}

.slide {
  display: none;
  grid-template-columns: 1fr;
  align-items: stretch;
  width: 100%;
}

.slide.is-active {
  display: grid;
}

.hero-media {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-copy {
  position: relative;
  min-height: 178px;
  padding: 28px 30px 70px;
  color: var(--brand-deep);
  background: var(--surface);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero-copy h1 a,
.hero-copy h2 a {
  position: relative;
  display: inline-block;
  color: var(--brand-deep);
  text-decoration: none;
}

.hero-copy h1 a::after,
.hero-copy h2 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 76px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand);
}

.hero-copy p {
  max-width: 540px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-copy p a {
  color: inherit;
  text-decoration: none;
}

.slider-ui {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 40px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-dots,
.slider-actions {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.slider-dots {
  gap: 9px;
}

.slider-dot {
  --progress: 0%;
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #cbd3df;
  border-radius: 999px;
  background: var(--line-soft);
  cursor: pointer;
  overflow: hidden;
  transition: width .18s ease, background .18s ease, border-color .18s ease;
}

.slider-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress);
  border-radius: inherit;
  background: var(--brand);
  transition: width .06s linear;
}

.slider-dot.is-active {
  width: 34px;
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  background: var(--brand-soft);
}

.slider-actions {
  gap: 7px;
}

.slider-control {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.slider-control:hover {
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.slider-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pause-control {
  position: relative;
  margin-right: 3px;
}

.pause-control .play-icon {
  display: none;
}

.pause-control[aria-pressed="true"] .pause-icon {
  display: none;
}

.pause-control[aria-pressed="true"] .play-icon {
  display: block;
}


/* Slide transition: restrained editorial motion, disabled for reduced motion. */
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(14px) scale(.992); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.home .slide.is-transitioning .hero-media {
  animation: heroSlideIn 320ms cubic-bezier(.2,.75,.25,1) both;
}

.home .slide.is-transitioning .hero-copy {
  animation: heroCopyIn 360ms 55ms cubic-bezier(.2,.75,.25,1) both;
}

/* Right rail */
.quick-links {
  display: grid;
  gap: 13px;
}

.quick-card {
  position: relative;
  min-height: 128px;
  padding: 18px 15px 17px 17px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.quick-card::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}

.quick-card:hover {
  transform: translateY(-2px);
  background: var(--brand-soft);
  box-shadow: none;
}

.quick-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.quick-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crest-icon svg {
  stroke-width: 1.05;
}

.quick-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-copy h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
}

.quick-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

/* Home editorial layout: intact 16:9 artwork and separate, readable copy. */
.home .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 24px auto 0;
  padding-bottom: 20px;
}
.home .hero-slider { overflow: visible; border: 0; box-shadow: none; background: transparent; }
.home .slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 2.6vw, 36px);
}
.home .hero-media {
  width: 100%;
  max-width: 680px;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  overflow: hidden;
}
.home .hero-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home .hero-copy,
.home .slide:first-child .hero-copy { min-height: 0; padding: 8px 0; padding-bottom: 64px; background: transparent; }
.home .hero-copy h1,
.home .hero-copy h2 { font-size: clamp(25px, 1.65vw, 32px); line-height: 1.18; text-wrap: pretty; }
/* Clamp the link visually; its full title remains available to assistive technology. */
.home .hero-copy h1 a,
.home .hero-copy h2 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.home .hero-copy h1 a::after,
.home .hero-copy h2 a::after { display: none; }
.home .hero-copy p { max-width: 500px; margin: 12px 0 0; font-size: 15px; line-height: 1.52; }
.home .hero-cta {
  margin-top: 16px; min-height: 44px; padding: 10px 17px;
  background: var(--brand-deep); border-color: var(--brand-deep);
  color: var(--surface); font-size: 14px; border-radius: var(--radius-sm); gap: 14px;
}
.home .hero-cta:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.home .hero-copy h1 a:hover, .home .hero-copy h2 a:hover { color: var(--brand); }
.home .slider-ui {
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  width: min(500px, 40%);
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
.home .slider-control { width: 42px; height: 42px; background: var(--surface); border-radius: 12px; }
.home .slider-control:hover { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); }
.home .slider-dot { min-height: 44px; background: transparent; border: 0; }
.home .slider-dot::before { top: 19px; bottom: auto; height: 6px; border-radius: 99px; }
.home .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; height: auto; }
.home .quick-card { min-height: 112px; height: auto; padding: 18px 14px; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; background: var(--surface); border-color: var(--line-soft); border-radius: var(--radius-md); }
.home .quick-card:hover { background: var(--surface); border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); box-shadow: none; }
.home .quick-card::before { display: none; }
.home .quick-icon { width: 40px; height: 40px; background: var(--brand-soft); border-radius: var(--radius-md); }
.home .quick-icon svg { width: 32px; height: 32px; }
.home .quick-copy h3 { font-size: 16px; line-height: 1.3; }
.home .quick-copy p { font-size: 14px; line-height: 1.45; }
@media (max-width: 1100px) {
  .home .slide.is-active { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .home .hero-media { max-width: none; }
  .home .slider-ui { width: 42%; }
  .home .quick-card { grid-template-columns: minmax(0, 1fr); align-content: start; }
}
@media (max-width: 920px) {
  .home .page-shell { width: calc(100% - 32px); margin-top: 18px; gap: 12px; }
  .home .slide.is-active { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home .hero-media { max-width: none; }
  .home .hero-copy, .home .slide:first-child .hero-copy { padding: 18px 0 0; }
  .home .slider-ui {
    position: static;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
  }
  .home .slider-control { width: 44px; height: 44px; }
  .home .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .quick-card { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .home .quick-links { grid-template-columns: minmax(0, 1fr); }
  .home .hero-copy h1, .home .hero-copy h2 { font-size: 23px; }
  .home .quick-card { min-height: 92px; }
}
.home .slider-dot { width: 44px; }
.home .slider-dot::after { content: ''; position: absolute; top: 19px; left: 0; width: 100%; height: 6px; background: var(--line-soft); border-radius: 99px; z-index: -1; }
.home .slider-dot { isolation: isolate; }
.home .slider-dot.is-active { background: transparent; }

.home .hero-cta:focus-visible,
.home .slider-control:focus-visible,
.home .slider-dot:focus-visible,
.home .quick-card:focus-visible,
.home .hero-copy a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.home .slider-dot[aria-current="true"]::after { background: color-mix(in srgb, var(--brand) 42%, var(--line)); }
@media (prefers-reduced-motion: reduce) {
  .home .slide.is-transitioning .hero-media,
  .home .slide.is-transitioning .hero-copy { animation: none; }
  .home .quick-card, .home .hero-cta, .home .hero-cta__icon { transition: none; transform: none; }
}


/* 1.0.17 global UI alignment */
.home .hero-cta { min-height: 44px; background: var(--brand); color: #fff; }
.home .quick-card { box-shadow: none; transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast); }
.home .quick-icon { color: var(--brand); }
.home .quick-icon svg { stroke: currentColor; }
@media (hover: hover) {
  .home .quick-card:hover { background: var(--brand-soft); color: var(--brand); box-shadow: none; transform: translateY(-1px); }
}
