/* =====================================================================
   Katic Designs — Service detail pages (service-architecture.html, …)
   Load after css/style.css. Header, footer, enquiry form and the shared
   inner-page blocks (page-hero, page-eyebrow, page-btn, page-h2 …) are common.
   ===================================================================== */

/* ===== Hero: background slider =====
   Each .sd-slide is one photo (set below); js/service-detail.js crossfades them,
   updates the caption (data-caption) and the 01 / 04 counter. */
.kd2 .sd-hero .page-hero__bg{--hero-img:url("../images/service-detail-hero.jpeg")};
.kd2 .sd-hero .page-hero__bg::after{                 /* same shade as the other heroes, on top of the photos */
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background-image:
      linear-gradient(90deg, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.35) 100%),
      linear-gradient(180deg, rgba(8,8,8,0.45) 0%, rgba(8,8,8,0.15) 40%, rgba(8,8,8,0.55) 100%);
    pointer-events:none;
  }
.kd2 .sd-slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transform:scale(1.06);
    transition:opacity 1.4s ease, transform 7s linear;
  }
.kd2 .sd-slide.is-active{
    z-index:1;
    opacity:1;
    transform:scale(1);                     /* slow settle while the slide is showing */
  }
.kd2 .sd-hero .page-eyebrow{margin-bottom:28px;}

/* slide photos — architecture page.
   The four project photos (one per caption: Private Residence · Kochi, Courtyard Villa · Thrissur,
   Hillside House · Wayanad, Coastal Retreat · Dubai) were never supplied, and requesting them gave
   four 404s per visit; until they exist the hero shows service-detail-hero.jpeg underneath.
   To restore the slider, add the files to /images and uncomment:
.kd2 .sd-slide--1{background-image:url("../images/service-architecture-hero-01.jpg");}
.kd2 .sd-slide--2{background-image:url("../images/service-architecture-hero-02.jpg");}
.kd2 .sd-slide--3{background-image:url("../images/service-architecture-hero-03.jpg");}
.kd2 .sd-slide--4{background-image:url("../images/service-architecture-hero-04.jpg");}
*/

/* caption + counter along the bottom of the hero */
.kd2 .sd-hero__bar{
    position:absolute;
    left:0;
    right:0;
    bottom:34px;
    z-index:1;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    width:100%;
    max-width:1320px;
    margin:0 auto;
    padding:0 32px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-size:11px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.7);
    pointer-events:none;
  }
.kd2 .sd-hero__caption{transition:opacity .4s ease;font-family:inherit !important;}
.kd2 .sd-hero__caption.is-changing{opacity:0;}
.kd2 .sd-hero__count{font-family:inherit !important;letter-spacing:0.1em;}
.kd2 .sd-hero__count b{font-weight:400;color:#FFFFFF;}

@media (prefers-reduced-motion: reduce){
.kd2 .sd-slide{transition:opacity .6s ease;transform:none;}
}
@media (max-width:768px){
.kd2 .sd-hero__bar{bottom:24px;padding:0 24px;}
}
@media (max-width:480px){
.kd2 .sd-hero__bar{padding:0 20px;font-size:10px;}
.kd2 .sd-hero{align-items:center;}
.kd2 .sd-hero .page-hero__content{padding-bottom:96px;}   /* room for the caption bar */
}

/* =====================================================================
   Our approach
   ===================================================================== */
.kd2 .sd-approach{
    position:relative;
    z-index:2;                              /* the shelf hangs slightly over the next section */
    background:#F6F4EF;
    overflow-x:clip;                        /* plants never widen the page */
    padding:104px 0 190px;
  }
.kd2 .sd-approach__grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.32fr);
    gap:64px;
    align-items:start;
  }
.kd2 .sd-approach .page-h2{margin-top:28px;}
.kd2 .sd-approach .page-body{max-width:480px;margin-top:28px;font-size:17px;}
.kd2 .sd-approach .page-btn{margin-top:32px;}
.kd2 .sd-approach__figure{
    margin:44px 0 0;                        /* photo top lines up with the title */
  }
.kd2 .sd-approach__photo{
    aspect-ratio:696/520;
    overflow:hidden;
    background:#E9E5DC;
  }
.kd2 .sd-approach__photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 1.1s cubic-bezier(.2,.7,.2,1);
  }
.kd2 .sd-approach__figure:hover .sd-approach__photo img{transform:scale(1.03);}

/* caption under the photo + counter labels share one style */
.kd2 .sd-approach__caption,
.kd2 .sd-counter__label{
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-style:normal;
    font-size:11px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:#676762;
  }
.kd2 .sd-approach__caption{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top:14px;
  }
.kd2 .sd-approach__caption span{font-family:inherit !important;}

/* counters */
.kd2 .sd-counters{
    list-style:none;
    display:grid;
    grid-template-columns:repeat(2, minmax(0,230px));
    gap:24px;
    margin-top:52px;
  }
.kd2 .sd-counter__num{
    display:block;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:28px;
    line-height:1;
    color:#111111;
    font-variant-numeric:tabular-nums;
  }
.kd2 .sd-counter__num span{font-family:inherit !important;}
.kd2 .sd-counter__label{display:block;margin-top:12px;}

/* plant shelf, bottom-left, slightly over the section edge */
.kd2 .sd-approach__shelf{
    position:absolute;
    left:0;
    /* bottom:-32px; */
    bottom:0px;
    width:min(688px, 48vw);
    pointer-events:none;
  }
.kd2 .sd-approach__shelf-img{display:block;width:100%;height:auto;}
.kd2 .sd-approach__pothos{
    position:absolute;
    left:82.5%;
    top:49%;
    width:17.5%;
  }

@media (max-width:1024px){
.kd2 .sd-approach{padding:96px 0 170px;}
.kd2 .sd-approach__grid{gap:40px;}
.kd2 .sd-approach__figure{margin-top:40px;}
}
@media (max-width:768px){
.kd2 .sd-approach{padding:88px 0 0;}
.kd2 .sd-approach__grid{grid-template-columns:1fr;gap:40px;}
.kd2 .sd-approach__figure{margin-top:0;}
.kd2 .sd-counters{margin-top:40px;}
.kd2 .sd-approach__shelf{position:relative;bottom:auto;width:min(560px, 92%);margin-top:48px;margin-bottom:-24px;}
}
@media (max-width:480px){
.kd2 .sd-approach{padding:72px 0 0;}
.kd2 .sd-approach .page-btn{width:100%;}
.kd2 .sd-approach .page-body{font-size:16px;}
.kd2 .sd-counter__num{font-size:26px;}
.kd2 .sd-approach__caption{flex-direction:column;gap:6px;}
}

/* =====================================================================
   What we deliver (architecture services) — dark
   ===================================================================== */
.kd2 .sd-deliver{
    position:relative;
    background:#090909;
    padding:112px 0 104px;
    overflow:hidden;                       /* the plant is cut by the bottom edge */
    overflow:clip;                         /* …and the section can't be scrolled sideways */
  }
.kd2 .sd-deliver .page-h2{margin-top:28px;}
.kd2 .sd-deliver__intro{
    padding-top:40px;                      /* lines up with the title */
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:14px;
    line-height:1.75;
    color:rgba(255,255,255,0.62);
  }
.kd2 .sd-deliver__body{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);
    gap:64px;
    align-items:start;
    margin-top:44px;
  }
.kd2 .sd-deliver__left{display:flex;flex-direction:column;}

/* services list */
.kd2 .sd-svc-list{list-style:none;}
.kd2 .sd-svc{
    display:grid;
    grid-template-columns:56px 1fr auto;
    align-items:center;
    min-height:61px;
    border-bottom:1px solid rgba(255,255,255,0.12);
    color:#FFFFFF;
    text-decoration:none;
    transition:padding-left .35s ease;
  }
.kd2 .sd-svc__num{
    font-family:"Inter",-apple-system,sans-serif !important;
    font-size:10px;
    letter-spacing:0.1em;
    color:#E8622C;
  }
.kd2 .sd-svc__name{
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:20px;
    line-height:1.3;
    color:#FFFFFF;
    transition:color .3s ease;
  }
.kd2 .sd-svc__arrow{display:inline-flex;color:rgba(255,255,255,0.6);transition:color .3s ease, transform .3s ease;}
.kd2 .sd-svc__arrow svg{width:11px;height:11px;}
.kd2 .sd-svc:hover{padding-left:8px;}
.kd2 .sd-svc:hover .sd-svc__name{color:#E8622C;}
.kd2 .sd-svc:hover .sd-svc__arrow{color:#E8622C;transform:translate(2px,-2px);}
.kd2 .sd-svc:focus-visible{outline:2px solid #E8622C;outline-offset:2px;}
.kd2 .sd-deliver__btn{margin-top:88px;align-self:flex-start;}

/* gallery: wide image on top, two below */
.kd2 .sd-deliver__gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
.kd2 .sd-deliver__shot{
    position:relative;
    display:block;
    overflow:hidden;
    background:#141414;
    cursor:zoom-in;
  }
.kd2 .sd-deliver__shot--big{grid-column:1 / -1;aspect-ratio:608/298;}
.kd2 .sd-deliver__shot--small{aspect-ratio:294/357;}
.kd2 .sd-deliver__shot img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 1s cubic-bezier(.2,.7,.2,1), filter .5s ease;
  }
.kd2 .sd-deliver__shot:hover img{transform:scale(1.05);}
.kd2 .sd-deliver__gallery:hover .sd-deliver__shot:not(:hover) img{filter:brightness(.75);}
.kd2 .sd-deliver__shot:focus-visible{outline:2px solid #E8622C;outline-offset:3px;}

/* plant peeking up from the bottom edge */
.kd2 .sd-deliver__plant{
    position:absolute;
    left:calc(max(32px, (100% - 1320px) / 2 + 32px) + 250px);
    bottom:0;
    width:200px;
    transform:translateY(60%);             /* only the top ~40% of the plant peeks above the edge */
    pointer-events:none;
  }

@media (max-width:1024px){
.kd2 .sd-deliver{padding:96px 0 96px;}
.kd2 .sd-deliver__body{gap:40px;}
.kd2 .sd-deliver__intro{padding-top:36px;font-size:13px;}
.kd2 .sd-svc{min-height:54px;grid-template-columns:44px 1fr auto;}
.kd2 .sd-svc__name{font-size:17px;}
.kd2 .sd-deliver__btn{margin-top:56px;}
.kd2 .sd-deliver__gallery{gap:14px;}
}
@media (max-width:768px){
.kd2 .sd-deliver{padding:88px 0 130px;}
.kd2 .sd-deliver__intro{padding-top:0;}
.kd2 .sd-deliver__body{grid-template-columns:1fr;gap:40px;margin-top:36px;}
.kd2 .sd-deliver__btn{margin-top:36px;}
.kd2 .sd-deliver__plant{left:24px;width:170px;}
}
@media (max-width:480px){
.kd2 .sd-deliver{padding:72px 0 110px;}
.kd2 .sd-svc__name{font-size:17px;}
.kd2 .sd-deliver__btn{align-self:stretch;}
.kd2 .sd-deliver__gallery{gap:10px;}
.kd2 .sd-deliver__plant{left:20px;width:150px;}
}

/* =====================================================================
   Selected work (projects)
   ===================================================================== */
.kd2 .sd-work{
    background:#FFFFFF;
    padding:112px 0 120px;
  }
.kd2 .sd-work .page-h2{margin-top:28px;}
.kd2 .sd-work__intro{
    padding-top:40px;                      /* lines up with the title */
    max-width:600px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:15px;
    line-height:1.65;
    color:#77746E;
  }

/* project card */
.kd2 .sd-proj{display:flex;flex-direction:column;}
.kd2 .sd-proj--featured{margin-top:64px;}
.kd2 .sd-proj__photo{
    display:block;
    overflow:hidden;
    aspect-ratio:379/263;
    background:#ECE8E0;
  }
.kd2 .sd-proj--featured .sd-proj__photo{aspect-ratio:792/350;}
.kd2 .sd-proj__photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 1.1s cubic-bezier(.2,.7,.2,1);
  }
.kd2 .sd-proj:hover .sd-proj__photo img{transform:scale(1.04);}
.kd2 .sd-proj__info{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    margin-top:20px;
  }
.kd2 .sd-proj__text{max-width:72%;}
.kd2 .sd-proj__meta{
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:500;
    font-size:10px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:#E8622C;
  }
.kd2 .sd-proj__title{
    margin-top:8px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:28px;
    line-height:1.2;
    color:#111111;
  }
.kd2 .sd-proj--featured .sd-proj__title{font-size:34px;}
.kd2 .sd-proj__title a{color:inherit;text-decoration:none;transition:color .3s ease;font-family:inherit !important;}
.kd2 .sd-proj__title a:hover{color:#E8622C;}
.kd2 .sd-proj__desc{
    margin-top:12px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:14px;
    line-height:1.6;
    color:#77746E;
  }
.kd2 .sd-proj__link{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:22px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:500;
    font-size:12px;
    color:#111111;
    text-decoration:underline;
    text-underline-offset:4px;
    text-decoration-color:rgba(17,17,17,0.35);
    transition:color .3s ease, text-decoration-color .3s ease;
  }
.kd2 .sd-proj__link svg{width:10px;height:10px;color:#E8622C;transition:transform .3s ease;}
.kd2 .sd-proj__link:hover{color:#E8622C;text-decoration-color:#E8622C;}
.kd2 .sd-proj__link:hover svg{transform:translate(2px,-2px);}
.kd2 .sd-proj__link:focus-visible,
.kd2 .sd-proj__title a:focus-visible{outline:2px solid #E8622C;outline-offset:3px;}

.kd2 .sd-work__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:56px;
    row-gap:80px;
    margin-top:80px;
  }

@media (max-width:1024px){
.kd2 .sd-work{padding:96px 0 104px;}
.kd2 .sd-work__intro{padding-top:36px;}
.kd2 .sd-work__grid{column-gap:32px;row-gap:64px;margin-top:64px;}
.kd2 .sd-proj__title{font-size:24px;}
.kd2 .sd-proj--featured .sd-proj__title{font-size:30px;}
.kd2 .sd-proj__info{flex-direction:column;gap:0;}
.kd2 .sd-proj__text{max-width:none;}
.kd2 .sd-proj__link{margin-top:16px;}
}
@media (max-width:768px){
.kd2 .sd-work{padding:88px 0;}
.kd2 .sd-work__intro{padding-top:0;}
.kd2 .sd-proj--featured{margin-top:44px;}
.kd2 .sd-proj--featured .sd-proj__photo{aspect-ratio:16/10;}
.kd2 .sd-work__grid{grid-template-columns:1fr;row-gap:56px;margin-top:56px;}
}
@media (max-width:480px){
.kd2 .sd-work{padding:72px 0;}
.kd2 .sd-proj__title,.kd2 .sd-proj--featured .sd-proj__title{font-size:24px;}
.kd2 .sd-proj--featured .sd-proj__photo{aspect-ratio:4/3;}
}

/* =====================================================================
   How we work — process (dark)
   ===================================================================== */
.kd2 .sd-process{
    background:#090909;
    padding:112px 0 120px;
  }
.kd2 .sd-process .page-h2{margin-top:28px;}
.kd2 .sd-process__side{padding-top:40px;}
.kd2 .sd-process__side .page-body{max-width:600px;color:rgba(255,255,255,0.72);}
.kd2 .sd-process__side .page-btn{margin-top:24px;height:48px;background:#F6F4EF;}
.kd2 .sd-process__side .page-btn:hover{background:#E8622C;}

/* two images */
.kd2 .sd-process__images{
    display:grid;
    grid-template-columns:0.69fr 1fr;
    gap:20px;
    margin-top:64px;
  }
.kd2 .sd-process__shot{
    position:relative;
    display:block;
    aspect-ratio:509/330;
    overflow:hidden;
    background:#141414;
    cursor:zoom-in;
  }
.kd2 .sd-process__shot--site{aspect-ratio:739/330;}
.kd2 .sd-process__shot img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 1.1s cubic-bezier(.2,.7,.2,1), filter .5s ease;
  }
.kd2 .sd-process__shot:hover img{transform:scale(1.05);}
.kd2 .sd-process__images:hover .sd-process__shot:not(:hover) img{filter:brightness(.7);}

/* ---- milestones ----
   5 equal columns for the cards; dots spread from edge to edge of the line.
   JS sets .is-active / .is-done on steps and dots, and --p (0–1) for the line fill. */
.kd2 .sd-steps{
    --dot:22px;
    --stem:48px;
    --p:0;
    position:relative;
    height:452px;
    margin-top:80px;
  }
.kd2 .sd-steps__line{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:2px;
    margin-top:-1px;
    background:rgba(232,98,44,0.28);
  }
.kd2 .sd-steps__fill{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:calc(var(--dot) / 2 + (100% - var(--dot)) * var(--p));
    background:#E8622C;
    box-shadow:0 0 12px rgba(232,98,44,0.55);
    transition:width .7s cubic-bezier(.65,0,.35,1);
  }
.kd2 .sd-steps__list{
    list-style:none;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    height:100%;
  }
.kd2 .sd-step{position:relative;}
.kd2 .sd-step__card{
    position:absolute;
    left:0;
    right:0;
    min-height:160px;
    padding:22px 28px 24px;
    background:#1A1A1A;
    border:1px solid rgba(255,255,255,0.07);
    border-radius:8px;
    outline:none;
    cursor:default;
    transition:transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s ease, background-color .4s ease, box-shadow .5s ease, opacity .4s ease;
  }
.kd2 .sd-step--up .sd-step__card{bottom:calc(50% + var(--stem));}
.kd2 .sd-step--down .sd-step__card{top:calc(50% + var(--stem));}
.kd2 .sd-step--high .sd-step__card{bottom:calc(50% + var(--stem) + 22px);}
.kd2 .sd-step__stem{
    position:absolute;
    left:50%;
    width:1px;
    height:var(--stem);
    background:rgba(232,98,44,0.35);
    transition:background-color .4s ease;
  }
.kd2 .sd-step--up .sd-step__stem{bottom:50%;}
.kd2 .sd-step--down .sd-step__stem{top:50%;}
.kd2 .sd-step--high .sd-step__stem{height:calc(var(--stem) + 22px);}
.kd2 .sd-step__num{
    display:inline-block;
    padding:3px 8px;
    border-radius:20px;
    background:rgba(232,98,44,0.16);
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:500;
    font-size:10px;
    letter-spacing:0.08em;
    color:#E8622C;
    transition:background-color .4s ease, color .4s ease;
  }
.kd2 .sd-step__title{
    margin-top:18px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:22px;
    line-height:1.2;
    color:#FFFFFF;
  }
.kd2 .sd-step__desc{
    margin-top:8px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:12px;
    line-height:1.55;
    color:rgba(255,255,255,0.5);
    transition:color .4s ease;
  }
/* dots on the line */
.kd2 .sd-steps__dot{
    position:absolute;
    top:50%;
    width:var(--dot);
    height:var(--dot);
    margin:calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2);
    padding:0;
    border:0;
    border-radius:50%;
    background:#7A3418;
    box-shadow:0 0 0 5px rgba(232,98,44,0.12);
    cursor:pointer;
    transition:background-color .4s ease, box-shadow .4s ease, transform .4s ease;
  }
.kd2 .sd-steps__dot:nth-child(1){left:calc(var(--dot) / 2);}
.kd2 .sd-steps__dot:nth-child(2){left:calc(var(--dot) / 2 + (100% - var(--dot)) * 0.25);}
.kd2 .sd-steps__dot:nth-child(3){left:calc(var(--dot) / 2 + (100% - var(--dot)) * 0.5);}
.kd2 .sd-steps__dot:nth-child(4){left:calc(var(--dot) / 2 + (100% - var(--dot)) * 0.75);}
.kd2 .sd-steps__dot:nth-child(5){left:calc(100% - var(--dot) / 2);}
.kd2 .sd-steps__dot.is-done{background:#E8622C;}
.kd2 .sd-steps__dot.is-active{
    background:#E8622C;
    transform:scale(1.25);
    box-shadow:0 0 0 6px rgba(232,98,44,0.25), 0 0 22px rgba(232,98,44,0.7);
  }
.kd2 .sd-steps__dot:focus-visible{outline:2px solid #FFFFFF;outline-offset:4px;}

/* states */
.kd2 .sd-steps.is-running .sd-step:not(.is-active) .sd-step__card{opacity:.72;}
.kd2 .sd-step.is-done .sd-step__stem{background:rgba(232,98,44,0.7);}
.kd2 .sd-step.is-active .sd-step__stem{background:#E8622C;}
.kd2 .sd-step.is-active .sd-step__card{
    opacity:1;
    background:#202020;
    border-color:rgba(232,98,44,0.75);
    box-shadow:0 18px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(232,98,44,0.25);
  }
.kd2 .sd-step--up.is-active .sd-step__card{transform:translateY(-8px);}
.kd2 .sd-step--down.is-active .sd-step__card{transform:translateY(8px);}
.kd2 .sd-step.is-active .sd-step__num{background:#E8622C;color:#FFFFFF;}
.kd2 .sd-step.is-active .sd-step__desc{color:rgba(255,255,255,0.75);}
.kd2 .sd-step__card:focus-visible{outline:2px solid #E8622C;outline-offset:3px;}

@media (max-width:1024px){
.kd2 .sd-process{padding:96px 0 104px;}
.kd2 .sd-process__side{padding-top:36px;}
.kd2 .sd-process__images{gap:14px;margin-top:48px;}
.kd2 .sd-steps{--stem:36px;height:420px;margin-top:64px;}
.kd2 .sd-step__card{padding:18px 16px 18px;min-height:150px;}
.kd2 .sd-step__title{font-size:18px;margin-top:14px;}
.kd2 .sd-step:not(:first-child):not(:last-child) .sd-step__card{left:4px;right:4px;}
}
/* tablets & phones: vertical timeline */
@media (max-width:768px){
.kd2 .sd-process{padding:88px 0;}
.kd2 .sd-process__side{padding-top:0;}
.kd2 .sd-process__images{grid-template-columns:1fr;}
.kd2 .sd-process__shot,.kd2 .sd-process__shot--site{aspect-ratio:16/10;}
.kd2 .sd-steps{height:auto;margin-top:56px;padding-left:44px;}
.kd2 .sd-steps__line{left:10px;right:auto;top:0;bottom:0;width:2px;height:auto;margin-top:0;}
.kd2 .sd-steps__fill{right:0;width:auto;height:calc(var(--p) * 100%);bottom:auto;transition:height .7s cubic-bezier(.65,0,.35,1);}
.kd2 .sd-steps__list{display:flex;flex-direction:column;gap:16px;height:auto;}
.kd2 .sd-step__card,
.kd2 .sd-step:not(:first-child):not(:last-child) .sd-step__card{position:relative;left:auto;right:auto;top:auto;bottom:auto;min-height:0;}
.kd2 .sd-step--up.is-active .sd-step__card,
.kd2 .sd-step--down.is-active .sd-step__card{transform:translateX(6px);}
.kd2 .sd-step__stem{display:none;}
.kd2 .sd-steps__dots{display:none;}
.kd2 .sd-step::before{                  /* the dot sits on the vertical line beside each card */
    content:"";
    position:absolute;
    left:-44px;
    top:50%;
    width:22px;
    height:22px;
    margin-top:-11px;
    border-radius:50%;
    background:#7A3418;
    box-shadow:0 0 0 5px rgba(232,98,44,0.12);
    transition:background-color .4s ease, box-shadow .4s ease;
  }
.kd2 .sd-step.is-done::before{background:#E8622C;}
.kd2 .sd-step.is-active::before{background:#E8622C;box-shadow:0 0 0 6px rgba(232,98,44,0.25), 0 0 18px rgba(232,98,44,0.7);}
}
@media (max-width:480px){
.kd2 .sd-process{padding:72px 0;}
.kd2 .sd-process__side .page-btn{width:100%;}
.kd2 .sd-step__title{font-size:19px;}
}

/* =====================================================================
   Why Katic (integrated by design) — text panel + full-bleed photo
   ===================================================================== */
.kd2 .sd-why{
    display:grid;
    grid-template-columns:45% 55%;
    min-height:620px;
    background:#121212;
  }
.kd2 .sd-why__text{
    display:flex;
    align-items:center;
    padding:96px 56px 96px max(32px, calc((100vw - 1320px) / 2 + 32px));   /* text lines up with the other sections */
  }
.kd2 .sd-why__content{max-width:500px;}
.kd2 .sd-why .page-h2{margin-top:28px;}
.kd2 .sd-why .page-body{margin-top:28px;color:rgba(255,255,255,0.68);}
.kd2 .sd-why .page-btn{margin-top:36px;height:52px;}
.kd2 .sd-why__photo{
    position:relative;
    margin:0;
    overflow:hidden;
    background:#1A1A1A;
  }
.kd2 .sd-why__photo img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 1.4s cubic-bezier(.2,.7,.2,1);
  }
.kd2 .sd-why:hover .sd-why__photo img{transform:scale(1.03);}

/* =====================================================================
   FAQ (centred) with two swaying plants
   ===================================================================== */
.kd2 .sd-faq{
    position:relative;
    background:#F4F1EA;
    padding:128px 0 150px;
    overflow:hidden;
    overflow:clip;                         /* plants are cut at the edges; no sideways scrolling */
  }
.kd2 .sd-faq .page-inner{position:relative;z-index:1;}
.kd2 .sd-faq__head{text-align:center;}
.kd2 .sd-faq__head .page-eyebrow{justify-content:center;}
.kd2 .sd-faq__head .page-h2{margin-top:24px;}
.kd2 .sd-faq__sub{
    margin-top:18px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:15px;
    line-height:1.6;
    color:#111111;
  }

/* accordion */
.kd2 .faq{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:822px;
    margin:52px auto 0;
  }
.kd2 .faq__item{
    background:#FFFFFF;
    border-radius:14px;
    box-shadow:0 1px 2px rgba(17,17,17,0.04);
    transition:box-shadow .4s ease, transform .4s ease;
  }
.kd2 .faq__item:hover{box-shadow:0 10px 28px rgba(17,17,17,0.08);}
.kd2 .faq__q{margin:0;}
.kd2 .faq__btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    width:100%;
    padding:22px 28px 22px 36px;
    border:0;
    background:none;
    text-align:left;
    cursor:pointer;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:500;
    font-size:19px;
    line-height:1.35;
    color:#111111;
  }
.kd2 .faq__btn span:first-child{font-family:inherit !important;}
.kd2 .faq__btn:focus-visible{outline:2px solid #E8622C;outline-offset:-2px;border-radius:14px;}
.kd2 .faq__icon{                         /* circled plus that turns into a minus */
    position:relative;
    flex-shrink:0;
    width:36px;
    height:36px;
    border:1px solid #111111;
    border-radius:50%;
    transition:background-color .3s ease, border-color .3s ease, transform .4s ease;
  }
.kd2 .faq__icon::before,
.kd2 .faq__icon::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:1.5px;
    margin:-0.75px 0 0 -6px;
    background:#111111;
    transition:transform .35s ease, background-color .3s ease;
  }
.kd2 .faq__icon::after{transform:rotate(90deg);}
.kd2 .faq__item.is-open .faq__icon::after{transform:rotate(0deg);}
.kd2 .faq__btn:hover .faq__icon{background:#E8622C;border-color:#E8622C;}
.kd2 .faq__btn:hover .faq__icon::before,
.kd2 .faq__btn:hover .faq__icon::after{background:#FFFFFF;}
.kd2 .faq__panel{                        /* smooth open/close without measuring heights */
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
  }
.kd2 .faq__item.is-open .faq__panel{grid-template-rows:1fr;}
.kd2 .faq__inner{
    overflow:hidden;
    padding:0 96px 0 36px;
  }
.kd2 .faq__inner p{
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:400;
    font-size:14px;
    line-height:1.7;
    color:#77746E;
    opacity:0;
    transform:translateY(-6px);
    transition:opacity .35s ease, transform .45s ease;
  }
.kd2 .faq__item.is-open .faq__inner p{opacity:1;transform:none;transition-delay:.1s;}
.kd2 .faq__item.is-open .faq__inner{padding-bottom:24px;}
.kd2 .faq__link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:12px;
    font-family:"Inter",-apple-system,sans-serif !important;
    font-weight:500;
    font-size:12px;
    color:#C9471B;
    text-decoration:underline;
    text-underline-offset:3px;
  }
.kd2 .faq__link svg{width:9px;height:9px;}
.kd2 .faq__link:hover{color:#E8622C;}

/* plants */
.kd2 .sd-faq__hanging{
    position:absolute;
    top:0;
    left:max(16px, calc((100% - 1440px) / 2 + 44px));
    width:210px;
    pointer-events:none;
  }
.kd2 .sd-faq__standing{
    position:absolute;
    right:max(-40px, calc((100% - 1440px) / 2 - 40px));
    bottom:0;
    width:400px;
    pointer-events:none;
  }

@media (max-width:1024px){
.kd2 .sd-why{grid-template-columns:50% 50%;min-height:560px;}
.kd2 .sd-why__text{padding:80px 40px 80px 32px;}
.kd2 .sd-faq{padding:112px 0 130px;}
.kd2 .sd-faq__hanging{width:150px;}
.kd2 .sd-faq__standing{width:280px;right:-50px;}
.kd2 .faq{max-width:680px;}
}
@media (max-width:768px){
.kd2 .sd-why{grid-template-columns:1fr;}
.kd2 .sd-why__text{padding:80px 24px;}
.kd2 .sd-why__content{max-width:none;}
.kd2 .sd-why__photo{min-height:0;aspect-ratio:4/3;}
.kd2 .sd-faq{padding:150px 0 300px;}       /* room for the plants above and below the questions */
.kd2 .sd-faq__hanging{width:120px;left:16px;}
.kd2 .sd-faq__standing{width:220px;right:-30px;}
.kd2 .faq__btn{font-size:17px;padding:18px 18px 18px 22px;}
.kd2 .faq__inner{padding:0 22px;}
.kd2 .faq__icon{width:32px;height:32px;}
}
@media (max-width:480px){
.kd2 .sd-why__text{padding:72px 20px;}
.kd2 .sd-why .page-btn{width:100%;}
.kd2 .sd-faq{padding:140px 0 270px;}
.kd2 .sd-faq__hanging{width:100px;}
.kd2 .sd-faq__standing{width:190px;}
.kd2 .faq__btn{font-size:16px;}
.kd2 .sd-faq__sub{font-size:14px;}
}

/* ===== Begin a conversation: photo for this page (block styles are common, in style.css) ===== */
.kd2 .sd-cta{--cta-img:url("../images/service-architecture-cta.jpg");}

/* FAQ: inline links inside answers */
.kd2 .faq__inner p a{color:inherit;text-decoration:underline;text-decoration-color:rgba(232,98,44,0.6);text-underline-offset:3px;transition:color .2s ease;}
.kd2 .faq__inner p a:hover{color:#E8622C;}
