/* ═══════════════════════════════════════════════════
   ARMONIA — Base & Variables
   ═══════════════════════════════════════════════════ */

:root {
  /* Colors */
  --c-bg:        #f5f5f3;
  --c-bg-alt:    #eeeee9;
  --c-surface:   #ffffff;
  --c-text:      #1a1a1a;
  --c-text-2:    #555555;
  --c-text-3:    #888888;
  --c-red:       #ED1312;
  --c-red-dark:  #991b1b;
  --c-border:    #e0ddd8;
  --c-border-lt: #eae8e4;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizes */
  --container: 1360px;
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.10);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ═══════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

/* ═══════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}
.section--alt {
  background: var(--c-bg-alt);
}

.section__header {
  margin-bottom: 56px;
}
.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--c-text);
}
.section__intro {
  font-size: 18px;
  color: var(--c-text-2);
  line-height: 1.7;
}

.section__ctas {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-text);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-red);
}

.btn--outline {
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--c-text);
  background: rgba(0,0,0,.02);
}

.btn--sm  { padding: 10px 24px; font-size: 14px; }
.btn--lg  { padding: 18px 40px; font-size: 16px; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(245, 245, 243, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border-lt);
  transition: border-bottom .3s var(--ease);
  overflow: visible;
}
.header--scrolled {
  border-bottom: 1px solid var(#fff);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__logo-img {
  height: 36px;
  width: auto;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-red);
}

.header__logo-name span {
  font-weight: 400;
  display: none;
}
.header__logo-sub {
  font-size: 10px;
  color: var(--c-text-3);
  line-height: 1.3;
}

.header__nav {
  display: flex;
  gap: 32px;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 450;
  color: var(--c-text-2);
  transition: color .2s;
  position: relative;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--c-text);
}
.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--c-red);
  border-radius: 1px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__link-external {
  font-size: 14px;
  color: var(--c-text-2);
  font-weight: 450;
  transition: color .2s;
}
.header__link-external:hover { color: var(--c-text); }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: all .3s var(--ease);
}
.header__burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.open span:nth-child(2) {
  opacity: 0;
}
.header__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  bottom: 0;
  background: var(--c-bg);
  padding: 32px 24px;
  z-index: 10000;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s 0s;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu__link {
  font-size: 24px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border-lt);
  color: var(--c-text);
}
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}
.mobile-menu__ext {
  text-align: center;
  font-size: 14px;
  color: var(--c-text-2);
  padding: 8px 0;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 120px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__content {
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--c-text);
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--c-text-2);
  margin-bottom: 16px;
}
.hero__micro {
  font-size: 14px;
  color: var(--c-text-3);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dragon visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__dragon-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__dragon-wrap::before {
  content: '';
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,28,28,.06) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero__dragon {
  position: relative;
  z-index: 1;
  max-height: 520px;
  width: auto;
}

/* ═══════════════════════════════════════════════════
   LOGO TICKER
   ═══════════════════════════════════════════════════ */
.logos-section {
  background: #0a0a0a;
  padding: 48px 0;
  overflow: hidden;
  border-bottom: 1px solid #161616;
}
.logos-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logos-scroll 35s linear infinite;
}
.logos-slide {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 32px;
  flex-shrink: 0;
}
.logos-slide__img {
  height: 36px;
  width: auto;
  opacity: .35;
  filter: brightness(0) invert(1);
  transition: opacity .3s var(--ease);
  flex-shrink: 0;
}
.logos-slide__img:hover {
  opacity: .7;
}

@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--logos-distance, 50%))); }
}

/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.svc-bento {
  background: #0a0a0a;
  padding: 100px 0;
}
.svc-bento__title { color: #fff; }
.svc-bento__intro { color: rgba(255,255,255,.5); }

.svc-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-bento-card {
  background: #161616;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.svc-bento-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}
.svc-bento-card--wide {
  grid-column: span 2;
}
.svc-bento-card--red {
  background: linear-gradient(135deg, #1a0808 0%, #2d0c0c 100%);
  border-color: rgba(185,28,28,.2);
}
.svc-bento-card--red:hover {
  border-color: rgba(185,28,28,.4);
}

.svc-bento-card__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.svc-bento-card__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: .85;
  filter: brightness(0) invert(1);
}
.svc-bento-card__icon--wide {
  width: auto;
  height: 24px;
  filter: none;
  opacity: 1;
}
.svc-bento-card__title {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.svc-bento-card--wide .svc-bento-card__title {
  font-size: 28px;
}
.svc-bento-card__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: stretch;
}
.svc-bento-card__content {
  display: flex;
  flex-direction: column;
}
.svc-bento-card__media {
  border-radius: 8px;
  overflow: hidden;
  min-height: 280px;
  background: #111;
}
.svc-bento-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}
.svc-bento-card--digital .svc-bento-card__title,
.svc-bento-card--digital .svc-bento-card__body {
  max-width: none;
}
.svc-bento-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
  max-width: 640px;
}
.svc-bento-card__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color .2s;
  text-decoration: none;
  display: inline-block;
}
.svc-bento-card__link:hover { color: #fff; }
.svc-bento-card--red .svc-bento-card__link { color: rgba(185,28,28,.7); }
.svc-bento-card--red .svc-bento-card__link:hover { color: var(--c-red); }

@media (max-width: 1024px) {
  .svc-bento-grid { grid-template-columns: 1fr; }
  .svc-bento-card--wide { grid-column: span 1; }
  .svc-bento-card__layout { grid-template-columns: 1fr; gap: 24px; }
  .svc-bento-card__media { min-height: 240px; }
}
@media (max-width: 640px) {
  .svc-bento { padding: 64px 0; }
  .svc-bento-card { padding: 28px; border-radius: 16px; }
  .svc-bento-card--wide .svc-bento-card__title { font-size: 22px; }
  .svc-bento-card__media { min-height: 200px; }
}

/* ═══════════════════════════════════════════════════
   HOW WE WORK
   ═══════════════════════════════════════════════════ */
.how__prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 40px;
}
.how__banner-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}
.how__banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.how__prose p {
  font-size: 17px;
  color: var(--c-text-2);
  margin-bottom: 0;
  line-height: 1.75;
}

.how__highlight {
  background: var(--c-surface);
  border-left: 4px solid var(--c-red);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}
.how__highlight p {
  font-family: var(--ff-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-red);
}

.how__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.how__col-title {
  font-family: var(--ff-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--c-text);
}
.how__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how__list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
  padding-left: 30px;
  position: relative;
}
.how__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url('../images/how-we-work/check.svg') no-repeat center;
  background-size: contain;
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: .45fr .55fr;
  gap: 100px;
  align-items: start;
  padding-bottom: 40px;
}
.about__image-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: 12px;
  overflow: hidden;
}
.about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}
.about__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-2);
  margin-bottom: 20px;
}
.about__linkedin {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.about__linkedin-icon {
  width: 92px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 64px;
  transition: opacity .2s var(--ease);
}
.about__linkedin:hover .about__linkedin-icon {
  opacity: .8;
}
.about__closing {
  font-weight: 500;
  color: var(--c-text) !important;
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════
   CASE STUDIES
   ═══════════════════════════════════════════════════ */
.cases-dark {
  background: #0a0a0a;
  padding: 100px 0;
}
.cases-dark__title { color: #fff; }
.cases-dark__intro { color: rgba(255,255,255,.5); }

.cases-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cases-bento-card {
  background: #161616;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.cases-bento-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}
.cases-bento-card--wide {
  grid-column: span 2;
}
.cases-bento-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 20px;
  width: fit-content;
}
.cases-bento-card__title {
  font-family: var(--ff-heading);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 48px;
  line-height: 1.3;
}
.cases-bento-card__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 28px;
}
.cases-bento-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.cases-bento-card__body:last-child {
  margin-bottom: 0;
}
.cases-bento-card__ctas {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* outline-light button for dark bg */
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.15);
}
.btn--outline-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-text-3);
}
.contact-info__value {
  font-size: 16px;
  color: var(--c-text);
}
.contact-info__link {
  text-decoration: none;
  transition: color .2s;
}
.contact-info__link:hover {
  color: var(--c-red);
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
    align-items: center;
}

.contact-ctas .btn { width: 100%; max-width: 400px; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--c-border);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 13px;
  color: var(--c-text-3);
}
.footer__copy a {
  color: var(--c-text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__link {
  font-size: 13px;
  color: var(--c-text-3);
  transition: color .2s;
}
.footer__link:hover { color: var(--c-text); }

.contact-ctas__logo {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════
   OVERLAY & MODALS / DRAWERS
   ═══════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease);
  /* Desktop: centered popup */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.modal__inner {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.modal__close-wrapper{
  background-color: #fff;
}
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 28px;
  color: var(--c-text-3);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal__close:hover {
  color: var(--c-text);
  background: var(--c-bg-alt);
}
.modal__title {
  font-family: var(--ff-heading);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal__subtitle {
  font-size: 14px;
  color: var(--c-text-2);
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════ */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.req { color: var(--c-red); }
.form__input {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form__input:focus {
  border-color: var(--c-text);
  box-shadow: 0 0 0 3px rgba(26,26,26,.06);
}
.form__input.error {
  border-color: var(--c-red);
}
.form__textarea {
  resize: vertical;
  min-height: 100px;
}
.form__error {
  font-size: 12px;
  color: var(--c-red);
  display: none;
}
.form__error.visible {
  display: block;
}

/* Success state */
.form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form__success.visible {
  display: block;
}
.form__success-icon {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.form__success p {
  font-size: 16px;
  color: var(--c-text-2);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   CALENDLY MODAL
   ═══════════════════════════════════════════════════ */
.modal--calendly .modal__inner--calendly {
  max-width: 680px;
  width: 100%;
  height: 90vh;
  max-height: 780px;
  padding: 64px 12px 12px;
  display: flex;
  flex-direction: column;
}
.modal--calendly .modal__close {
  z-index: 10;
}
.modal--calendly .calendly-inline-widget {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .modal--calendly {
    max-height: 100vh;
    height: 100%;
    top: 0;
    bottom: 0;
    border-radius: 0;
  }
  .modal--calendly.active {
    transform: translate(0, 0);
  }
  .modal--calendly .modal__inner--calendly {
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 48px 8px 8px;
    min-height: 100%;
  }
  .modal--calendly .modal__inner--calendly::before {
    display: none;
  }
  .modal--calendly .calendly-inline-widget {
    border-radius: 0;
  }
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__link-external { display: none; }
  .header__burger { display: flex; }
  .header__actions .btn--sm { display: none; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual { order: -1; }
  .hero__dragon { max-height: 360px; }
  .hero__content { max-width: 100%; }

  .how__prose { grid-template-columns: 1fr; gap: 24px; }
  .how__banner-wrap { margin-bottom: 28px; }
  .how__columns { grid-template-columns: 1fr; gap: 32px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__image-wrap { position: static; max-width: 480px; }
  .cases-bento-grid { grid-template-columns: 1fr; }
  .cases-bento-card--wide { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container { padding: 0 28px; }
  .header__inner { padding: 0 28px; }

  .section { padding: 64px 0; }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 48px;
  }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 16px; }
  .hero__dragon { max-height: 280px; }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn { width: 100%; }

  .section__title { font-size: 28px; }
  .section__header { margin-bottom: 36px; }
  .section__ctas {
    flex-direction: column;
  }
  .section__ctas .btn { width: 100%; }

  .cases-dark { padding: 64px 0; }
  .cases-bento-card { padding: 28px; border-radius: 16px; }
  .cases-bento-card__title { font-size: 22px; }
  .cases-bento-card__text { grid-template-columns: 1fr; }
  .cases-bento-card__ctas {
    flex-direction: column;
  }
  .cases-bento-card__ctas .btn { width: 100%; }

  .how__highlight { padding: 20px 24px; }
  .how__highlight p { font-size: 18px; }

  .contact-ctas {
    width: 100%;
  }
  .contact-ctas .btn { width: 100%; }

  /* Modal → Drawer on mobile */
  .modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    transform: translate(0, 100%);
    border-radius: 0;
  }
  .modal.active {
    transform: translate(0, 0);
  }
  .modal__inner {
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 32px 24px 40px;
    min-height: 40vh;
  }
  .modal__inner::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--c-border);
    border-radius: 2px;
    margin: 0 auto 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
