/* =========================================================
   ANIMAZE GRAPHIC — CAPABILITIES DETAIL PAGE
   ========================================================= */

:root{
  --ink:#111216;
  --ink-2:#24262d;
  --muted:#6d7280;
  --soft:#f7f7f4;
  --cream:#fff5ef;
  --orange:#ff6752;
  --orange-dark:#e95643;
  --line:#e8e8e4;
  --white:#fff;
  --display:"Archivo",Arial,sans-serif;
  --body:"Inter Tight",Inter,system-ui,sans-serif;
  --mono:"IBM Plex Mono",monospace;
  --max:1240px;
  --gutter:24px;

  --u-heading:    clamp(1.9rem, 1.4rem + 1.9vw, 2.6rem);
  --u-subheading: clamp(1.05rem, 1rem + .3vw, 1.15rem);
  --u-copy:       0.975rem;
  --u-copy-lh:    1.7;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth;overflow-x:hidden;-webkit-text-size-adjust:100%}

body{
  margin:0;background:#fff;color:var(--ink);font-family:var(--body);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
.wrap{width:100%;max-width:var(--max);margin:auto;padding:0 var(--gutter)}

.skip{position:absolute;left:-9999px;top:10px;z-index:99999;padding:10px 16px;background:var(--ink);color:#fff}
.skip:focus{left:12px}

/* Shared button */
.hero-btn{
  min-height:44px;padding:0 17px;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border-radius:4px;font-family:var(--display);font-size:10px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;transition:.25s ease;
}
.hero-btn--primary{background:var(--orange);color:#fff;border:1px solid var(--orange)}
.hero-btn--primary:hover{background:var(--orange-dark);border-color:var(--orange-dark);transform:translateY(-2px)}
.hero-btn--light{background:#fff;color:#15161a}
.hero-btn--light:hover{background:#17181c;color:#fff;transform:translateY(-3px)}

/* HERO */
.wd-hero{
  position:relative;
  padding:clamp(90px,10vw,120px) 0 clamp(56px,7vw,84px);
  background:var(--soft);
  overflow:hidden;
  border-bottom: 1px solid var(--line);
}

.wd-breadcrumb{
  display:flex;align-items:center;gap:9px;margin-bottom:26px;
  color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.06em;
}
.wd-breadcrumb a{color:var(--ink)}
.wd-breadcrumb a:hover{color:var(--orange)}
.wd-breadcrumb span{color:#c2c4c9}
.wd-breadcrumb span:last-child{color:var(--muted)}

.wd-rail{display:flex;align-items:center;gap:16px;margin-bottom:clamp(30px,4vw,46px)}
.wd-tag{
  display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;
  padding:10px 18px;background:var(--orange);border-radius:4px;
  font-family:var(--display);font-size:11.5px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:#fff;box-shadow:0 6px 18px rgba(255,103,82,.22);
}
.wd-tag__dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.9)}
.wd-rule{flex:1 1 auto;height:1px;background:linear-gradient(90deg,rgba(255,103,82,.55),rgba(17,18,22,.12))}
.wd-note{
  flex:0 0 auto;font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);
}

/* Two-column layout for the hero section */
.wd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 5vw, 76px);
  row-gap: clamp(26px, 3vw, 42px);
  align-items: center;
}

.wd-main h1{
  font-family:var(--display);font-size:var(--u-heading);font-weight:800;
  line-height:1.15;letter-spacing:-.02em;color:var(--ink);margin:0 0 22px;
}
.wd-main h1 em{font-style:normal;color:var(--orange)}

.wd-kicker{
  font-family:var(--display);font-size:var(--u-copy);font-weight:600;
  line-height:var(--u-copy-lh);color:var(--ink);max-width:48ch;
  padding-left:18px;border-left:2px solid var(--orange);margin:0 0 22px;
}

.wd-body{max-width:65ch;font-size:var(--u-copy);line-height:var(--u-copy-lh);color:var(--muted);margin:0}
.wd-body + .wd-body{margin-top:14px}

.wd-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 26px;margin-top:30px}

/* Image container styling */
.wd-media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-side-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

/* CAPABILITIES LIST */
.wd-capabilities {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #fff;
}

.cap-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(40px, 6vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}

.cap-item:first-child {
  padding-top: 0;
}

.cap-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* STICKY TITLE IMPLEMENTATION */
.cap-meta {
  position: sticky;
  top: 120px;
  align-self: start; /* Prevents the container from stretching */
}

.cap-meta h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cap-tags {
  display: block;
  font-family: var(--mono);
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.cap-intro {
  font-size: var(--u-copy);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 65ch;
}

.cap-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 75ch;
}

.cap-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Custom bullet icon using Font Awesome */
.cap-bullets li::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 6px;
  color: var(--orange);
  margin-top: 10px;
  flex: none;
}

.cap-bullets strong {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--display);
}

/* CTA WITH TYPING EFFECT */
.wd-cta {
  padding: clamp(40px, 5vw, 64px) 0;
  background-color: var(--orange);
  background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
  color: #fff;
  text-align: center;
  position: relative;
}

.wd-cta__inner {
  max-width: 700px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.wd-cta h2 {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 24px;
}

.wd-cta h2 em {
  font-style: normal;
  color: #17181c;
}

.blinking-cursor {
  font-weight: 400;
  font-size: 1em;
  color: #17181c;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* RESPONSIVE */
@media(max-width:1080px){
  .wd-inner {
    grid-template-columns: 1fr;
  }
  .wd-media {
    justify-content: center;
    margin-top: 30px;
  }
  .wd-main h1{max-width:none}
}

@media(max-width:900px){
  .cap-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .wd-inner {
    grid-template-columns: 1fr;
  }
  .wd-media {
    justify-content: center;
    margin-top: 20px;
  }
  .cap-meta {
    position: static; /* Removes sticky behavior on smaller screens */
  }
}

@media(max-width:600px){
  :root{--gutter:18px}
  .wd-hero{padding:80px 0 44px}
  .wd-rail{flex-wrap:wrap;row-gap:10px}
  .wd-note{order:3;flex-basis:100%}
  .cap-item {
    padding: 32px 0;
  }
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}