@charset "UTF-8";

:root {
  --orange: #f97316;
  --teal: #06b6d4;
  --dark: #0b0f19;
  --card: #131926;
  --border: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --max: 1280px;
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font:
    400 16px/1.7 Inter,
    system-ui,
    sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
select {
  color-scheme: dark;
  option,
  optgroup {
    padding: 0.65rem 0.8rem;
    background: #111827;
    color: #e2e8f0;
  }
  option:checked {
    background: #c2410c;
    color: #fff;
  }
  option:disabled {
    color: #64748b;
  }
}
.custom-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--dark);
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #94a3b8;
    stroke-width: 2;
    transition: rotate 0.2s ease;
  }
}
.custom-select.is-open .custom-select-trigger {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #f9731624;
  svg {
    rotate: 180deg;
  }
}
.custom-select-menu {
  position: absolute;
  z-index: 80;
  inset: calc(100% + 7px) 0 auto;
  display: none;
  max-height: 240px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 20px 50px #0009;
}
.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 3px;
}
.custom-select-option {
  min-height: 40px;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  text-align: left;
  &:hover {
    background: #1e293b;
    color: #fff;
  }
  &[aria-selected="true"] {
    background: #f9731624;
    color: #fb923c;
  }
  &:disabled {
    color: #64748b;
    cursor: not-allowed;
  }
}
h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: Syne, sans-serif;
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--orange);
  &:focus {
    top: 1rem;
  }
}
.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  &:hover,
  &:focus-visible {
    translate: 0 -2px;
    box-shadow: 0 12px 30px #f9731630;
  }
  &.button-ghost {
    border-color: var(--border);
    background: var(--card);
  }
  &.button-small {
    min-height: 40px;
    padding: 0.5rem 1rem;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: #0b0f19d9;
  backdrop-filter: blur(16px);
  &.is-scrolled {
    border-color: var(--border);
  }
  .header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
  b {
    color: var(--orange);
  }
  .brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    aspect-ratio: 1;
    border: 1px solid #ffffff17;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--orange), var(--teal));
    color: #071018;
    font-size: 0.78rem;
    box-shadow: 0 0 24px #06b6d42b;
  }
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  a:not(.button) {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    &:hover,
    &[aria-current="page"] {
      color: var(--orange);
    }
  }
}
.header-service-menu {
  position: relative;
  display: flex;
  align-items: center;
}
.primary-nav .header-service-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  & > .header-service-chevron {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #64748b;
    transform-origin: 50% 50%;
    transition: transform 0.2s ease, color 0.2s ease;
  }
}
.header-service-dropdown {
  position: absolute;
  z-index: 80;
  top: 100%;
  left: 50%;
  width: min(256px, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #131926f7;
  box-shadow: 0 24px 60px #000a;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: 0.2s ease;
  &::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 0.5rem;
  }
  & a {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.625rem;
    border-radius: 8px;
    &:hover {
      background: rgb(30 41 59 / 50%);
    }
  }
  & small {
    display: block;
    margin-top: 0.1rem;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  & strong {
    display: block;
    color: #f8fafc;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}
.header-service-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  &.is-orange { color: #f97316; }
  &.is-teal { color: #06b6d4; }
  &.is-emerald { color: #34d399; }
  &.is-purple { color: #c084fc; }
}
.header-service-menu:hover .header-service-dropdown,
.header-service-menu:focus-within .header-service-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.header-service-menu:hover .header-service-trigger > .header-service-chevron,
.header-service-menu:focus-within .header-service-trigger > .header-service-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}
.brand > img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
  flex: 0 0 auto;
}
.error-logo {
  margin-bottom: 1.5rem;
  border-radius: 18px;
  object-fit: cover;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
  }
}
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
  &::before {
    content: "";
    position: absolute;
    inset: -20% 55% 30% -20%;
    background: #f9731619;
    filter: blur(80px);
    pointer-events: none;
  }
}
.hero-grid,
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero-copy {
  grid-column: span 7;
  position: relative;
  h1 span {
    background: linear-gradient(90deg, var(--orange), var(--teal));
    color: transparent;
    background-clip: text;
  }
}
.hero-media {
  grid-column: span 5;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 20px 80px #06b6d418;
  img {
    min-height: 360px;
    border-radius: 18px;
    object-fit: cover;
  }
  figcaption {
    padding: 1rem 0.75rem 0.5rem;
    color: var(--muted);
    font-size: 0.8rem;
  }
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
  strong {
    display: block;
    color: #fff;
    font:
      800 1.35rem Syne,
      sans-serif;
  }
}
.section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid var(--border);
  &.section-alt {
    background: #13192652;
  }
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.split > * {
  grid-column: span 6;
}
.comparison,
.card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.comparison ul,
.card ul {
  padding-left: 1.2rem;
  color: #cbd5e1;
  li {
    margin: 0.65rem 0;
    &::marker {
      color: var(--teal);
    }
  }
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  .featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 360px;
    background: linear-gradient(145deg, var(--card), #f9731614);
  }
}
.card-grid {
  display: grid;
  gap: 1.25rem;
  &.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  transition:
    border-color 0.2s,
    translate 0.2s;
  &:hover {
    border-color: #f9731680;
    translate: 0 -4px;
  }
  &.featured {
    border: 2px solid #f9731680;
    box-shadow: 0 15px 55px #f9731615;
  }
}
.tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
  background: #f9731620;
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  &.tag-teal {
    background: #06b6d420;
    color: var(--teal);
  }
}
.text-link {
  color: var(--orange);
  font-weight: 700;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
  button {
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--card);
    color: #cbd5e1;
    cursor: pointer;
    &.is-active,
    &:hover {
      border-color: var(--orange);
      background: var(--orange);
      color: #fff;
    }
  }
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.portfolio-card {
  overflow: hidden;
  padding: 0;
  button {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }
  .portfolio-visual {
    display: grid;
    place-items: center;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b, #0b0f19);
    color: #fff;
    font:
      800 2rem Syne,
      sans-serif;
    &.is-vertical {
      aspect-ratio: 9/12;
      background: linear-gradient(145deg, #0d3440, #131926);
    }
  }
  .portfolio-copy {
    padding: 1.2rem;
  }
}
.price {
  display: flex;
  flex-direction: column;
  .price-value {
    color: #fff;
    font:
      800 clamp(1.6rem, 3vw, 2.2rem) Syne,
      sans-serif;
    small {
      color: var(--muted);
      font:
        400 0.75rem Inter,
        sans-serif;
    }
    .button {
      margin-top: auto;
    }
  }
}
.contact {
  background: radial-gradient(circle at 15% 50%, #f9731612, transparent 35%);
}
.contact-form {
  display: grid;
  gap: 1rem;
  label {
    display: grid;
    gap: 0.35rem;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
  }
  input,
  select,
  textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    outline: 0;
    background: var(--dark);
    color: #fff;
    &:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px #f9731617;
    }
    &.is-invalid {
      border-color: #ef4444;
    }
  }
  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.field-error {
  margin: 0;
  color: #f87171;
  font-size: 0.72rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  background: #070a11;
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 2rem;
  }
  .footer-about p {
    max-width: 390px;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.8;
  }
  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    strong {
      margin-bottom: 0.25rem;
      color: #fff;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    a,
    span {
      color: var(--muted);
      font-size: 0.78rem;
      line-height: 1.55;
    }
    a:hover {
      color: var(--orange);
    }
  }
  nav {
    display: grid;
    gap: 0.4rem;
  }
  address {
    color: var(--muted);
    font-style: normal;
  }
  .copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: #64748b;
    font-size: 0.75rem;
  }
}
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 360px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 15px 50px #0008;
  opacity: 0;
  translate: 0 20px;
  pointer-events: none;
  transition: 0.25s;
  &.is-visible {
    opacity: 1;
    translate: 0;
  }
}

/* About page */
.csv-back-to-top {
  --scroll-progress: 0deg;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0deg var(--scroll-progress), #1e293b var(--scroll-progress) 360deg);
  color: #fff;
  box-shadow: 0 12px 35px #0008;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: 0.25s ease;
  &::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--card);
  }
  span {
    position: relative;
    z-index: 1;
  }
  &.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  &:hover {
    transform: translateY(-3px);
  }
}
.services-page {
  /* padding-top: clamp(2rem, 5vw, 4.5rem); */
}
.service-explorer {
  padding-top: 2rem;
}
.service-explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2rem;
  h1 {
    max-width: 850px;
    font-size: clamp(2.7rem, 5.5vw, 5.5rem);
    letter-spacing: -0.05em;
  }
  > p {
    max-width: 520px;
  }
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
  button {
    display: grid;
    min-height: 82px;
    padding: 1rem;
    gap: 0.3rem;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #101621;
    color: #94a3b8;
    cursor: pointer;
    text-align: left;
    transition: 0.25s ease;
  }
  button span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  button strong {
    color: #e2e8f0;
    font-size: 0.82rem;
  }
  button:hover,
  button.is-active {
    border-color: var(--orange);
    background: #f9731614;
    transform: translateY(-3px);
  }
  button.is-active span,
  button.is-active strong {
    color: #fb923c;
  }
}
.service-focus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(250px, 0.66fr) minmax(290px, 0.58fr);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(145deg, #151d2a, #0e141f);
  box-shadow: 0 30px 80px #0008;
}
.service-focus-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
  h2 {
    margin: 0.8rem 0;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
  }
  > p {
    max-width: 620px;
  }
}
.service-focus-badge {
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 99px;
  background: #f9731618;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-focus-audience {
  display: grid;
  gap: 0.25rem;
  margin: 1.7rem 0;
  padding: 1rem;
  border-left: 3px solid var(--orange);
  background: #080d1666;
  small {
    color: #64748b;
    font-size: 0.64rem;
    text-transform: uppercase;
  }
  strong {
    color: #e2e8f0;
    font-size: 0.82rem;
  }
}
.service-focus-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #cbd5e1;
    font-size: 0.73rem;
  }
  i {
    color: var(--orange);
    font-style: normal;
    font-weight: 800;
  }
}
.service-focus-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #111925 0, transparent 35%), linear-gradient(0deg, #090d15d9, transparent 50%);
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  figcaption {
    position: absolute;
    z-index: 1;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  figcaption span {
    padding: 0.35rem 0.55rem;
    border: 1px solid #ffffff1c;
    border-radius: 99px;
    background: #080d16c9;
    color: #e2e8f0;
    font-size: 0.6rem;
    backdrop-filter: blur(8px);
  }
}
.service-focus-price {
  position: relative;
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: radial-gradient(circle at 100% 0, #f9731618, transparent 34%), #0b101a;
  &::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px var(--orange);
  }
  > p {
    margin: 0.8rem 0;
    padding: 0.7rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--orange);
    font-size: 0.64rem;
  }
  > ul {
    display: grid;
    gap: 0.55rem;
    margin: 0.4rem 0 1rem;
    padding: 0;
    list-style: none;
  }
  > ul li {
    display: flex;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.68rem;
  }
  > ul i {
    color: var(--orange);
    font-style: normal;
  }
  .button {
    margin-top: 0.4rem;
    text-align: center;
  }
}
.service-price-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
  span {
    color: var(--orange);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  b {
    color: #e2e8f0;
    font-size: 0.82rem;
  }
}
.service-price-value {
  display: grid;
  gap: 0.25rem;
  > span {
    width: max-content;
    padding: 0.38rem 0.7rem;
    border: 1px solid #f9731666;
    border-radius: 999px;
    background: #f973161c;
    color: #fb923c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }
  > strong {
    color: #fff;
    font-size: clamp(1.75rem, 2.4vw, 2.45rem);
    line-height: 1.1;
    white-space: nowrap;
  }
  > small {
    color: #94a3b8;
    font-size: 0.66rem;
  }
}
.service-focus-loading {
  grid-column: 1/-1;
  place-self: center;
  color: #94a3b8;
}
.service-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
  article {
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #101621;
  }
  span {
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
  }
  h2 {
    margin: 0.6rem 0 0.35rem;
    font-size: 0.9rem;
  }
  p {
    margin: 0;
    font-size: 0.68rem;
  }
}
.news-page,
.portfolio-library,
.contact-page {
  /* padding-top: clamp(2rem, 5vw, 4.5rem); */
}
.news-heading,
.portfolio-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
  > p {
    max-width: 520px;
    margin: 0;
  }
}
.news-heading h1,
.portfolio-intro h1,
.contact-story h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.045em;
}
.news-featured {
  padding-top: 2rem;
}
.news-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 1.25rem;
}
.news-featured-stories {
  display: grid;
  gap: 1rem;
}
.news-lead-story {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  a,
  img {
    width: 100%;
    height: 100%;
  }
  img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.7s ease;
  }
  &:hover img {
    transform: scale(1.045);
  }
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 20%, #060910ed 100%);
  }
}
.news-story-overlay {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  span,
  .news-secondary-grid span {
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  h2 {
    max-width: 760px;
    margin: 0.6rem 0;
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  }
  p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.82rem;
  }
}
.news-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  article {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
  }
  a {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 135px;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  article div {
    padding: 1.1rem;
  }
  h3 {
    margin: 0.45rem 0 0;
    font-size: 1rem;
  }
}
.news-category-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  > strong {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.78rem;
  }
  > a span {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    border-radius: 8px;
    background: #0b0f19;
    font-size: 0.65rem;
  }
  > a:hover,
  > a.is-active {
    background: #f9731615;
    color: var(--orange);
  }
}
.news-nav-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #0b0f19;
  b {
    color: #fff;
    font-size: 0.75rem;
  }
  p {
    margin: 0.35rem 0 0;
    font-size: 0.67rem;
    line-height: 1.55;
  }
}
.news-empty-feature,
.content-empty {
  grid-column: 1/-1;
  padding: 4rem 2rem;
  border: 1px dashed #334155;
  border-radius: 20px;
  background: #111827;
  text-align: center;
}
.news-listing {
  background: #101621;
}
.news-list-heading,
.portfolio-results-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  > span {
    color: var(--muted);
    font-size: 0.75rem;
  }
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  &:hover {
    transform: translateY(-6px);
    border-color: #f9731660;
  }
}
.news-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  span {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.3rem 0.55rem;
    border-radius: 99px;
    background: #f97316e8;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
  }
}
.news-card:hover .news-card-image img {
  transform: scale(1.05);
}
.news-card-copy {
  padding: 1.25rem;
  time {
    color: #64748b;
    font-size: 0.66rem;
  }
  h3 {
    margin: 0.5rem 0;
    font-size: 1.08rem;
  }
  p {
    min-height: 3.7rem;
    margin: 0 0 1rem;
    font-size: 0.73rem;
  }
  b {
    color: var(--orange);
    font-size: 0.72rem;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
  }
  a:hover,
  a.is-active {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
  }
}
.portfolio-browser {
  padding-top: 2rem;
}
.portfolio-search {
  width: min(420px, 100%);
  label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.7rem;
  }
  > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.9rem;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--card);
  }
  svg {
    width: 19px;
    fill: none;
    stroke: #64748b;
    stroke-width: 2;
  }
  input {
    width: 100%;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
  }
}
.portfolio-filter-panel {
  position: sticky;
  z-index: 30;
  top: 88px;
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.3rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #101621f2;
  box-shadow: 0 14px 38px #050812a6;
  backdrop-filter: blur(14px);
  > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 1rem;
  }
  > div > span {
    padding-top: 0.45rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}
.portfolio-type-filters,
.portfolio-tech-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portfolio-type-filters button,
.portfolio-tech-filters label span {
  display: inline-flex;
  min-height: 36px;
  padding: 0.48rem 0.8rem;
  align-items: center;
  border: 1px solid #2b374a;
  border-radius: 99px;
  background: #131926;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.7rem;
  transition: 0.2s ease;
}
.portfolio-type-filters button:hover,
.portfolio-type-filters button.is-active,
.portfolio-tech-filters input:checked + span {
  border-color: var(--orange);
  background: #f9731618;
  color: #fb923c;
}
.portfolio-tech-filters input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.portfolio-results-meta {
  align-items: center;
  strong {
    font-size: 0.8rem;
  }
  button {
    border: 0;
    background: transparent;
    color: var(--orange);
    cursor: pointer;
    font-size: 0.72rem;
  }
}
.portfolio-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.portfolio-library-grid.is-mixed {
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  align-items: start;
}
.portfolio-library-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  &:hover {
    transform: translateY(-7px);
    border-color: #f9731665;
  }
}
.portfolio-library-media {
  position: relative;
  overflow: hidden;
  background: #080b12;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
      transform 0.55s ease,
      opacity 0.3s ease;
  }
  > span {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.28rem 0.55rem;
    border-radius: 7px;
    background: #080b12d9;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
  }
  i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f97316e8;
    color: #fff;
    font-style: normal;
    translate: -50% -50%;
    opacity: 0;
    transform: scale(0.8);
    transition: 0.3s ease;
  }
}
.portfolio-library-card.is-horizontal .portfolio-library-media { height: 190px; }
.portfolio-library-card.is-vertical .portfolio-library-media { height: 430px; }
.portfolio-library-card.is-vertical .portfolio-library-media img { object-position: center center; }
.portfolio-library-card:hover img {
  transform: scale(1.05);
  opacity: 0.72;
}
.portfolio-library-card:hover i {
  opacity: 1;
  transform: scale(1);
}
.portfolio-library-copy {
  padding: 1.25rem;
  > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.63rem;
  }
  > div span {
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase;
  }
  h2 {
    margin: 0.65rem 0;
    font-size: 1.15rem;
  }
  p {
    min-height: 3.6rem;
    margin: 0 0 1rem;
    font-size: 0.73rem;
  }
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  li {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: #0b0f19;
    color: #94a3b8;
    font-size: 0.6rem;
  }
}
.contact-workspace {
  padding-top: 2rem;
  background: radial-gradient(circle at 12% 25%, #f9731617, transparent 30%);
}
.contact-workspace-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}
.contact-story-image {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
  }
  figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
    border-radius: 13px;
    background: #080b12dc;
    backdrop-filter: blur(10px);
  }
  strong,
  span {
    display: block;
  }
  strong {
    color: #fff;
    font-size: 0.8rem;
  }
  span {
    margin-top: 0.25rem;
    color: #cbd5e1;
    font-size: 0.67rem;
  }
}
[data-contact-letter-reveal] {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.24em;
}
.contact-reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em) rotateX(-62deg);
  transform-origin: center bottom;
}
[data-contact-letter-reveal].is-visible .contact-reveal-word {
  animation: contact-word-reveal 0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--word-delay) both;
}
@keyframes contact-word-reveal {
  from {
    opacity: 0;
    transform: translateY(0.7em) rotateX(-62deg);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}
[data-contact-image-reveal] {
  opacity: 0;
  transform: translate3d(-70px, 0, 0);
  transition:
    opacity 0.85s ease 0.18s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
[data-contact-image-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  span {
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  a {
    color: #fff;
    font-size: 0.85rem;
  }
  a:hover {
    color: var(--orange);
  }
}
.contact-form-card {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, #161e2c, #101621);
  box-shadow: 0 28px 80px #0008;
}
.contact-form-heading {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  > img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 24px #0006;
  }
  h2 {
    margin: 0;
    font-size: 1.45rem;
  }
  p {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
  }
}
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  p {
    margin: 0;
    font-size: 0.65rem;
  }
}
.about-page {
  overflow: hidden;
}
.about-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: radial-gradient(circle at 78% 42%, #f9731625, transparent 27%), radial-gradient(circle at 16% 12%, #06b6d412, transparent 24%), var(--dark);
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    background-image: linear-gradient(#94a3b80d 1px, transparent 1px), linear-gradient(90deg, #94a3b80d 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
  }
}
.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.about-hero-copy {
  h1 {
    max-width: 880px;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -0.055em;
  }
  h1 span {
    color: var(--orange);
  }
  .lead {
    max-width: 780px;
  }
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 2.5rem;
}
.about-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  li {
    display: grid;
    gap: 0.25rem;
  }
  strong {
    color: #fff;
    font-size: 0.82rem;
  }
  span {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
  }
}
.about-hero-visual {
  position: relative;
  min-height: 540px;
  margin: 0;
  display: grid;
  place-items: end center;
  isolation: isolate;
  &::before {
    content: "";
    position: absolute;
    inset: 12% 3% 4%;
    z-index: -2;
    border: 1px solid #f9731655;
    border-radius: 48% 48% 28px 28px;
    background: linear-gradient(155deg, #1b2434, #111827);
    box-shadow:
      0 36px 90px #0008,
      0 0 70px #f9731614;
  }
  &::after {
    content: "CSV";
    position: absolute;
    z-index: -1;
    top: 12%;
    left: 50%;
    translate: -50% 0;
    color: #ffffff08;
    font-size: clamp(8rem, 16vw, 15rem);
    font-weight: 800;
    line-height: 1;
  }
  img {
    position: relative;
    z-index: 1;
    width: min(82%, 360px);
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 25px 30px #0008);
  }
  figcaption {
    position: absolute;
    z-index: 2;
    right: -1rem;
    bottom: 1rem;
    width: min(290px, 78%);
    padding: 1rem 1.1rem;
    border: 1px solid #ffffff18;
    border-radius: 14px;
    background: #0b0f19dd;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px #0008;
  }
  figcaption strong,
  .about-hero-visual figcaption span {
    display: block;
  }
  figcaption strong {
    color: #fff;
    font-size: 0.8rem;
  }
  figcaption span {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.5;
  }
}
.about-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid #f9731640;
  border-radius: 50%;
  animation: about-orbit 14s linear infinite;
}
.about-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
}
.about-orbit-one {
  inset: 6% -4% 0;
}
.about-orbit-two {
  inset: 17% 8% 10%;
  animation-direction: reverse;
  animation-duration: 10s;
  border-color: #06b6d450;
}
.about-orbit-two::after {
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal);
}
.about-media-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.about-media-grid-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}
.about-media {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 4.5rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 28px 70px #0007;
  rotate: -2deg;
  img {
    width: 100%;
    max-height: 600px;
    border-radius: 17px;
    object-fit: cover;
  }
  figcaption {
    position: absolute;
    right: 1.5rem;
    bottom: 1.3rem;
    left: 1.5rem;
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.55;
  }
}
.about-benefits {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 14px;
    transition: 0.25s ease;
  }
  article:hover {
    border-color: #f9731645;
    background: #131926;
    translate: 0.4rem 0;
  }
  article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #f9731618;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 800;
  }
  h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
  }
  p {
    margin: 0;
    font-size: 0.78rem;
  }
}
.about-values {
  position: relative;
  background: #101621;
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0, #f9731612, transparent 38%);
    pointer-events: none;
  }
}
.about-section-heading {
  position: relative;
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.about-value-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  article {
    min-height: 260px;
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #171f2e, #111722);
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }
  article:hover {
    transform: translateY(-8px);
    border-color: #f9731670;
    box-shadow: 0 24px 55px #0007;
  }
  article > span {
    display: inline-flex;
    margin-bottom: 3.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 99px;
    background: #f9731618;
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  h3 {
    font-size: 1.05rem;
  }
  p {
    margin: 0;
    font-size: 0.76rem;
  }
}
.about-teamwork {
  position: relative;
  margin: 0;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 75px #0008;
  &::before {
    content: "Teamwork";
    position: absolute;
    top: -1rem;
    right: 1.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 99px;
    background: var(--orange);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  img {
    width: 100%;
    border-radius: 20px;
  }
}
.about-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #101621;
  }
  li > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
  }
  strong {
    color: #fff;
    font-size: 0.86rem;
  }
  p {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    line-height: 1.55;
  }
}
.about-final-cta {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
  background: linear-gradient(135deg, #101827, #161824);
  overflow: hidden;
  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
  }
  &::before {
    top: -180px;
    left: 5%;
    background: var(--teal);
  }
  &::after {
    right: 5%;
    bottom: -200px;
    background: var(--orange);
  }
  .container {
    position: relative;
    z-index: 1;
    max-width: 850px;
  }
  h2 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
  }
  p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto 2rem;
  }
}
[data-about-reveal] {
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-about-reveal="left"] {
  transform: translate3d(-54px, 0, 0);
}
[data-about-reveal="right"] {
  transform: translate3d(54px, 0, 0);
}
[data-about-reveal="up"] {
  transform: translate3d(0, 48px, 0);
}
[data-about-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.about-value-grid [data-about-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.about-value-grid [data-about-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.about-value-grid [data-about-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
@keyframes about-orbit {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 1023px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: #0b0f19fa;
    &.is-open {
      display: grid;
    }
  }
  .header-service-menu {
    display: grid;
  }
  .header-service-dropdown {
    position: static;
    display: grid;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0 0 0 0.75rem;
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    &::before {
      display: none;
    }
    & a {
      padding: 0.55rem 0.7rem;
    }
  }
  .hero-copy,
  .hero-media,
  .split > * {
    grid-column: 1/-1;
  }
  .hero-media img {
    min-height: 0;
  }
  .service-grid,
  .portfolio-grid,
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-hero-grid,
  .about-media-grid,
  .about-media-grid-reverse {
    grid-template-columns: 1fr;
  }
  .about-hero-visual {
    min-height: 500px;
    width: min(620px, 100%);
    margin-inline: auto;
  }
  .about-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-featured-layout {
    grid-template-columns: 1fr;
  }
  .news-category-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .news-category-nav > strong,
  .news-nav-note {
    grid-column: 1/-1;
  }
  .news-card-grid,
  .portfolio-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-workspace-grid {
    grid-template-columns: 1fr;
  }
  .service-explorer-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-focus {
    grid-template-columns: 1fr 1fr;
  }
  .service-focus-copy {
    grid-column: 1/-1;
  }
  .service-focus-media {
    min-height: 340px;
  }
  .service-journey {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }
  h1 {
    font-size: 2.45rem;
  }
  .hero,
  .page-hero {
    padding: 4.5rem 0;
  }
  .service-grid,
  .portfolio-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
    .featured {
      grid-column: auto;
    }
  }
  .contact-form .field-row,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .actions .button {
    width: 100%;
  }
  .about-hero {
    padding: 4.5rem 0 3rem;
  }
  .about-hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }
  .about-proof,
  .about-value-grid,
  .about-steps {
    grid-template-columns: 1fr;
  }
  .about-hero-visual {
    min-height: 430px;
  }
  .about-hero-visual figcaption {
    right: 0;
  }
  .about-media {
    rotate: 0deg;
  }
  .news-page,
  .portfolio-library,
  .contact-page {
    padding-top: 1rem;
  }
  .services-page {
    padding-top: 1rem;
  }
  .service-tabs,
  .service-focus,
  .service-journey {
    grid-template-columns: 1fr;
  }
  .service-focus-media {
    min-height: 300px;
  }
  .service-focus-price {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  .service-focus-features {
    grid-template-columns: 1fr;
  }
  .news-heading,
  .portfolio-intro {
    display: grid;
  }
  .news-lead-story {
    min-height: 390px;
  }
  .news-secondary-grid,
  .news-card-grid,
  .portfolio-library-grid {
    grid-template-columns: 1fr;
  }
  .news-secondary-grid a {
    grid-template-columns: 120px 1fr;
  }
  .news-category-nav {
    grid-template-columns: 1fr;
  }
  .news-category-nav > strong,
  .news-nav-note {
    grid-column: auto;
  }
  .portfolio-filter-panel > div {
    grid-template-columns: 1fr;
  }
  .portfolio-filter-panel > div > span {
    padding-top: 0;
  }
  .contact-submit {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-submit .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  [data-about-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about-orbit {
    animation: none;
  }
  .contact-reveal-word,
  [data-contact-image-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* Chi tiết bài viết và sản phẩm: nội dung 70/30 + sidebar chuyển đổi. */
.content-detail-page {
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--dark);
}
.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(270px, 3fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.detail-main {
  min-width: 0;
}
.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #64748b;
  font-size: 0.7rem;
  a:hover {
    color: var(--orange);
  }
  b {
    color: #cbd5e1;
    font-weight: 600;
  }
}
.detail-header {
  margin-bottom: 1.7rem;
  > span {
    display: inline-flex;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: #f9731617;
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  h1 {
    max-width: 900px;
    margin: 0.85rem 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }
  p {
    max-width: 780px;
    margin: 0;
    color: #94a3b8;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  }
  time {
    display: block;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.7rem;
  }
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
  }
  li {
    padding: 0.35rem 0.55rem;
    border: 1px solid #263244;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.65rem;
  }
}
.detail-cover,
.detail-product-media {
  width: 100%;
  overflow: hidden;
  border: 1px solid #263244;
  border-radius: 20px;
  background: #080d16;
  box-shadow: 0 24px 70px #0008;
}
.detail-cover {
  display: block;
  max-height: 620px;
  object-fit: cover;
}
.detail-product-media {
  position: relative;
  display: grid;
  max-height: 680px;
  place-items: center;
  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  > a {
    position: absolute;
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 40px #f9731666;
    font-size: 1.1rem;
    transition: scale 0.2s ease;
  }
  > a:hover {
    scale: 1.08;
  }
  > a span {
    position: absolute;
    top: calc(100% + 0.55rem);
    width: max-content;
    font-size: 0.7rem;
    font-weight: 700;
  }
}
.detail-content {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.85;
  h2,
  h3,
  h4 {
    margin: 1.8em 0 0.65em;
    color: #fff;
    line-height: 1.25;
  }
  h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
  }
  h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
  }
  p {
    margin: 0 0 1.15rem;
  }
  img,
  video,
  iframe {
    display: block;
    max-width: 100%;
    margin: 1.4rem auto;
    border-radius: 14px;
  }
  a {
    color: var(--orange);
    text-decoration: underline;
  }
  blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--orange);
    background: #111827;
    color: #e2e8f0;
  }
}
.detail-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}
.detail-side-list {
  overflow: hidden;
  border: 1px solid #263244;
  border-radius: 16px;
  background: #111827;
  > span {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #263244;
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  a {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-bottom: 1px solid #263244;
  }
  a:last-child {
    border-bottom: 0;
  }
  a:hover {
    background: #151f2f;
  }
  strong {
    color: #e2e8f0;
    font-size: 0.76rem;
    line-height: 1.45;
  }
  small {
    color: #64748b;
    font-size: 0.62rem;
  }
}
.detail-lead-cta {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid #f9731655;
  border-radius: 16px;
  background: radial-gradient(circle at 90% 10%, #f9731630, transparent 38%), #171a24;
  i {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 #f9731677;
    animation: detail-cta-pulse 1.5s infinite;
  }
  span {
    color: #fb923c;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  strong {
    max-width: 220px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  b {
    margin-top: 0.65rem;
    color: #fed7aa;
    font-size: 0.7rem;
  }
  &:hover {
    border-color: var(--orange);
    translate: 0 -2px;
  }
}
@keyframes detail-cta-pulse {
  70% {
    box-shadow: 0 0 0 12px #f9731600;
  }
  100% {
    box-shadow: 0 0 0 0 #f9731600;
  }
}
.detail-related {
  border-top: 1px solid #1e293b;
  background: #0d131f;
}
.detail-related-alt {
  background: #101725;
}
.detail-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  span {
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  h2 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
  }
  > a {
    color: #fb923c;
    font-size: 0.72rem;
    font-weight: 700;
  }
}
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  article {
    overflow: hidden;
    border: 1px solid #263244;
    border-radius: 15px;
    background: #131b29;
    transition:
      translate 0.2s ease,
      border-color 0.2s ease;
  }
  article:hover {
    border-color: #f9731677;
    translate: 0 -4px;
  }
  img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  article div {
    padding: 1rem;
  }
  small {
    color: var(--orange);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  h3 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
.detail-card-swiper {
  position: relative;
  padding: 4px 3px 42px;
  .swiper-slide {
    height: auto;
    overflow: hidden;
    border: 1px solid #263244;
    border-radius: 15px;
    background: #131b29;
    transition: translate 0.2s ease, border-color 0.2s ease;
  }
  .swiper-slide:hover {
    border-color: #f9731677;
    translate: 0 -4px;
  }
  .swiper-slide > a {
    display: flex;
    height: 100%;
    flex-direction: column;
  }
  img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  article div {
    padding: 1rem;
  }
  small {
    color: var(--orange);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  h3 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .swiper-pagination {
    bottom: 5px;
  }
  .swiper-pagination-bullet {
    background: #64748b;
    opacity: 0.7;
  }
  .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 10px;
    background: var(--orange);
    opacity: 1;
  }
}
.detail-swiper-prev,
.detail-swiper-next {
  position: absolute;
  top: 42%;
  z-index: 4;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #fb923c88;
  border-radius: 50%;
  color: #fff;
  background: #f97316;
  box-shadow: 0 8px 22px #f9731644;
  font-size: 1.55rem;
  cursor: pointer;
}
.detail-swiper-prev { left: 12px; }
.detail-swiper-next { right: 12px; }
.detail-swiper-prev:disabled,
.detail-swiper-next:disabled {
  opacity: 0.28;
  cursor: default;
}
.mfp-bg {
  z-index: 10000;
  background: #02050b;
  opacity: 0.92;
}
.mfp-wrap {
  z-index: 10001;
}
.csv-video-popup .mfp-content {
  width: min(1080px, calc(100vw - 40px));
}
.csv-video-popup .mfp-iframe-scaler {
  height: auto;
  padding-top: 56.25%;
  overflow: visible;
  border: 1px solid #334155;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 28px 80px #000c;
}
.csv-video-popup--portrait .mfp-content {
  width: min(430px, calc(100vw - 32px));
}
.csv-video-popup--portrait .mfp-iframe-scaler {
  padding-top: 177.7778%;
}
.csv-video-popup .mfp-close {
  top: -45px;
  right: 0;
  color: #fff;
  opacity: 1;
}
@media (max-width: 900px) {
  .detail-shell {
    grid-template-columns: 1fr;
  }
  .detail-sticky {
    position: static;
  }
  .detail-sidebar {
    order: 2;
  }
  .detail-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .detail-card-grid {
    grid-template-columns: 1fr;
  }
  .detail-section-heading {
    align-items: start;
    flex-direction: column;
  }
  .detail-product-media > a {
    width: 62px;
    height: 62px;
  }
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  .portfolio-filter-panel {
    top: 72px;
    max-height: calc(100svh - 84px);
    overflow-y: auto;
  }
  .portfolio-library-grid.is-mixed {
    grid-auto-rows: auto;
  }
  .portfolio-library-grid.is-mixed .portfolio-library-card {
    grid-row-end: auto !important;
  }
  .portfolio-library-card.is-horizontal .portfolio-library-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .portfolio-library-card.is-vertical .portfolio-library-media {
    height: min(72svh, 620px);
  }
}
