:host {
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 22 22%27 fill=%27none%27%3E%3Cpath d=%27M10.6445 0C16.5234 0 21.2898 4.76568 21.29 10.6445C21.29 16.5236 16.5236 21.29 10.6445 21.29C4.76568 21.2898 0 16.5234 0 10.6445C0.000253564 4.76583 4.76583 0.000253569 10.6445 0ZM9.43359 6.1709C9.10584 5.8433 8.57391 5.84339 8.24609 6.1709C7.91826 6.49873 7.91827 7.03153 8.24609 7.35938L11.8496 10.9629L8.24805 14.5664C7.92059 14.8941 7.92067 15.4261 8.24805 15.7539C8.57589 16.0817 9.10868 16.0817 9.43652 15.7539L13.6328 11.5576L13.6299 11.5557C13.9576 11.2278 13.9577 10.695 13.6299 10.3672L9.43359 6.1709Z%27 fill=%27%23000%27/%3E%3C/svg%3E");
  --arrow-right: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%274%27 y1=%2712%27 x2=%2720%27 y2=%2712%27/%3E%3Cpolyline points=%2714 6 20 12 14 18%27/%3E%3C/svg%3E");
  --arrow-left:  url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%2720%27 y1=%2712%27 x2=%274%27 y2=%2712%27/%3E%3Cpolyline points=%2710 6 4 12 10 18%27/%3E%3C/svg%3E");
  --arrow-down:  url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%235C6F54%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E");
  --terracottaAccent: #C06A45;
  --brown: #5A231B;
  --green: #01562b;
  --olive: #667038;
  --accentColor: var(--green);
 /* Spacing */
  --spacingExtraSmall: 6px;
  --spacingSmall: 12px;
  --spacingMedium: 24px;
  --spacingSemilarge: 32px;
  --spacingLarge: 48px;
  --spacingExtraLarge: 80px;
  --spacingDoubleExtraLarge: 150px;

 /* border-radius */
 --borderRadiusSmall: 16px;

 /* border */
 --borderColorDefault: #EBE4D4;
 --borderDefault: 1px solid var(--borderColorDefault);

 /* box-shadow */
 --boxShadowDefault: 0 18px 40px -28px rgba(38, 51, 43, .35);
}
body{
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-weight: normal;
}
.text-medium{
    letter-spacing: -0.01em;
    font-size: 1.125rem;
    line-height: 1.25;
}

button{
  appearance: none;
  border: unset;
  padding: unset;
  background: unset;
}
.button{
    display: inline-flex;
    gap: 1.25rem;
    background-color: rgb(201, 111, 74);
    color: rgb(255, 248, 242);
    text-align: center;
    text-transform: uppercase;
    text-wrap: pretty;
    border-radius: 100px;
    border: 2px solid transparent;
    justify-content: center;
    align-items: center;
    padding: .75rem 1.5rem;
    font-size: .875rem;
    font-weight: 900;
    text-decoration: none;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform 200ms ease-out;
}
.button:hover{
    background-color: transparent;
    border-color: rgb(201, 111, 74);
    color: rgb(201, 111, 74);
}
.is-pale-yellow{
    background-color: var(--_primitives---colors--pale-yellow);
    color: var(--_primitives---colors--chocolate);
}

.icon-arrow-cta:after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: currentColor; /* mask = the paint comes from here */
  -webkit-mask-image: var(--icon-arrow);
          mask-image: var(--icon-arrow);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}


@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes fadeSlideLeftOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes overlayOut { from { opacity: 1; } to { opacity: 0; } }

h2{
  font-family: var(--_typography---font-styles--heading);
  font-size: 3rem;
  line-height: 1.1;
  font-weight: normal;
  margin-top: var(--spacingSmall);
  margin-bottom: var(--spacingMedium);
}

h3{
    font-family: var(--_typography---font-styles--heading);
    font-size: 28px;
    line-height: 33.6px;
    font-weight: normal;
    margin-top: var(--spacingSmall);
    margin-bottom: var(--spacingMedium);
}

.card-defaults{
  background: #FFFDF8;
  border: var(--borderDefault);
  border-radius: var(--borderRadiusSmall);
  box-shadow: 0 1px 2px rgba(38,51,43,.06), 0 18px 40px -28px rgba(38,51,43,.35);
  text-decoration: none;
  width: 100%;
  padding: unset;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card-defaults h3{
    margin: unset;
}
.card-defaults:hover .icon-next:after{
    transform: translateX(10px);
}
.card-defaults__description{
    font-size: 15px;
    line-height: 1.6;
    color: #5C6A5F;
}
.card-defaults__tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EEF3EA;
    border: 1px solid #D7E2CF;
    border-radius: 99px;
    padding: 7px 15px;
    margin-top: 32px;
    font-size: 14px;
    font-weight: 600;
    color: #34503F;
}
.eyebrow{
    font-family: "Swiss 721 Bt", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: .64px;
    font-weight: 700;
    color: var(--intro-eyebrow-color, rgb(201, 111, 74));
    margin-bottom: 12px;
    text-transform: uppercase;
}

.icon-prev, .icon-next{
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}
.icon-prev::before {
  width: 24px;
  height: 24px;
  content:'';
  background-color: currentColor; /* arrow takes button text color */
  -webkit-mask: var(--arrow-left) center / contain no-repeat;
          mask: var(--arrow-left) center / contain no-repeat;
}
.icon-next::after {
  width: 24px;
  height: 24px;
  content:'';
  background-color: currentColor;
  -webkit-mask: var(--arrow-right) center / contain no-repeat;
  mask: var(--arrow-right) center / contain no-repeat;
  transition: .3s ease;
}
.primary-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgb(201, 111, 74);
  color: rgb(255, 248, 242);
  text-align: center;
  text-transform: uppercase;
  text-wrap: pretty;
  font-weight: 900;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform 200ms ease-out;
}
.primary-button:hover{
  background: transparent;
  border-color: rgb(201, 111, 74);
  color: rgb(201, 111, 74);
  transform: translateY(-2px);
}

.tab-button{ 
  display: inline-flex;
  background: rgba(247, 244, 236, 0.4);
  color: #5A231B;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(107, 43, 34, 0.35);
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
}
.tab-button:hover, .tab-button--active{
    background: #5A231B;  
    border: 1px solid rgba(107, 43, 34, 0.35);
    color: #F7F4EC;
}
.content-block {
    display: flex;
    justify-content: center;
    padding-bottom: var(--spacingLarge);
}

.content-block__inner {
    max-width: 720px;
    text-align: center;
}

.content-block--left-align {
    justify-content: flex-start;
}

.content-block--left-align .content-block__inner {
    text-align: left;
}

.content-block__header {
    font-size: 48px;
    line-height: 52.8px;
    font-family: var(--_typography---font-styles--heading);
    color: var(--intro-header-color, #26332B);
    margin-top: 16px;
    margin-bottom: 20px;
    font-weight: normal;
}

.content-block__subheader {
    margin-top: unset;
    font-size: 18px;
    line-height: 1.6;
    color: var(--intro-subheader-color, #5C6A5F);
}

.content-block:has(.button) .content-block__subheader {
    margin-bottom: var(--spacingSemilarge);
}
.hero-slider{
    position: relative;
    width: 100%;
    overflow: hidden;

    /* Dark overlay over each slide's background image — matches the
       askalder.com homepage hero (.home-hero_bg-overlay: a right-to-left
       fade into rgb(28, 12, 6) at 60% opacity), so the left side where the
       text sits is darkest and the photo shows through on the right. These
       custom properties are read by the inline background styles set on
       each slide in hero-slider.tsx (slotted content inherits them). */
    --hs-overlay: linear-gradient(270deg, rgba(28, 12, 6, 0) 0%, rgba(28, 12, 6, .6) 100%);
    /* Image anchored to the right edge, so cropping happens on the left
       (behind the text) rather than cutting off the subject. */
    --hs-bg-position: right center;

    /* Horizontal inset that lines the slide text and the tab controls up
       with the site nav's logo edge at every width. Mirrors the nav exactly:
       .navbar1_component pads 4.5rem each side (5% at <=991px) and
       .navbar1_container centers its content at max-width 76rem, so the
       nav's content edge is whichever is larger — the gutter, or half the
       space left over around a 76rem column. The % inside these resolves
       against whichever full-width box uses it (each slide / the controls). */
    --hs-gutter: 4.5rem;
    --hs-inline: max(var(--hs-gutter), calc((100% - 76rem) / 2));
}
@media(max-width: 991px){
    .hero-slider{
        --hs-gutter: 5%;
    }
}
@media(max-width: 767px){
    .hero-slider{
        /* Text spans the full width on mobile, so a flat overlay instead
           of the left-to-right fade keeps all of it readable. */
        --hs-overlay: linear-gradient(rgba(28, 12, 6, .55), rgba(28, 12, 6, .55));
        /* Desktop anchors the photo right (the text sits on the left), but
           on a narrow portrait screen that crops the subject off-center.
           Center it on mobile instead. */
        --hs-bg-position: center center;
    }
}
.hero-slider__track{
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hero-slider__track::-webkit-scrollbar{
    display: none;
}
/* No rule here for .hero-slider__slide: that content is projected in through
   a Shadow DOM slot, and shadow-scoped CSS can't select slotted descendants
   (only ::slotted() can, and only the directly-assigned node, not Collection
   List items nested a few levels inside it) — its layout is applied as
   inline styles in hero-slider.tsx instead. */

/* Overlaid on the bottom of the slides' background image. The slides get
   matching bottom padding (--hs-controls-space, measured in
   hero-slider.tsx) so their text never runs underneath. */
.hero-slider__controls{
    /* The tabs can only render once the JS has read the slides, so fade
       them in rather than having them pop in. */
    animation: hero-slider-fade-in .4s ease both;
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--spacingLarge);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacingMedium);
    z-index: 2;
    /* Same inset as the slides (see --hs-inline above), so the tabs sit on
       the nav's left edge too. */
    padding-left: var(--hs-inline);
    padding-right: var(--hs-inline);
    pointer-events: none;
}
@media(max-width: 767px){
    .hero-slider__controls{
        bottom: var(--spacingMedium);
    }
}
.hero-slider__dots{
    display: flex;
    align-items: center;
    pointer-events: auto;
    width: 100%;
}
.hero-slider__dot{
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    opacity: .6;
    border: none;
    border-left: none;
    align-items: flex-start;
    padding: 0;
    cursor: pointer;
    color: #fff;
    text-align: left;
    flex: 1;
}
.hero-slider__dot:not(:first-child){
    margin-left: var(--spacingLarge);
    padding-left: var(--spacingLarge);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-slider__dot:hover{
    opacity: .85;
}
.hero-slider__progress-track{
    display: block;
    width: 100%;
    min-width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}
.hero-slider__progress-fill{
    display: block;
    height: 100%;
    width: 0%;
    background: #fff;
    animation-name: hero-slider-progress-fill;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
@keyframes hero-slider-progress-fill{
    from{ width: 0%; }
    to{ width: 100%; }
}
.hero-slider__dot-label{
    font-family: var(--_typography---font-styles--body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
}
.hero-slider__dot-sublabel{
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}
.hero-slider__dot.is-active{
    opacity: 1;
}

@media(max-width: 767px){
    .hero-slider__dot-label,
    .hero-slider__dot-sublabel{
        display: none;
    }
    /* A compact, ordinary dot nav on mobile: the row shrinks to fit its
       dots (instead of the desktop tabs stretching full width) and stays on
       the same left edge as the slide text. */
    .hero-slider__dots{
        width: auto;
        gap: 4px;
        /* Pull the row back by the dots' tap padding so the first dot's
           visible edge still lines up with the text above it. */
        margin-left: -8px;
    }
    .hero-slider__dot,
    .hero-slider__dot:not(:first-child){
        flex: 0 0 auto;
        margin-left: 0;
        border-left: none;
        /* 8px dot + 8px padding each side = a 24px tap target. */
        padding: 8px;
        opacity: 1;
    }
    .hero-slider__dot:hover{
        opacity: 1;
    }
    .hero-slider__progress-track{
        width: 8px;
        min-width: 0;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        transition: background-color .2s ease;
    }
    /* Autoplay still drives off this element's animationend, so it stays in
       the DOM and keeps animating — just made invisible, with the track
       itself switching to a solid fill for the active dot instead. */
    .hero-slider__progress-fill{
        opacity: 0;
    }
    .hero-slider__dot.is-active .hero-slider__progress-track{
        background: #fff;
    }
}

@keyframes hero-slider-fade-in{
    from{ opacity: 0; }
    to{ opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
    .hero-slider__controls{ animation: none; }
}

