/* ==========================================================================
   UltaHost case study  (/ultahost/)
   Section structure from case-study.css (Dippi / Wineland system), restyled
   in UltaHost's own brand language (ultahost.com): light lavender washes,
   Satoshi Bold headings in #1a1a1a, blue #457bff primary, violet #5a28fa
   accents, 16px radius cards with #e6e6e6 borders.
   ========================================================================== */
.page-ultahost {
  --uh-blue: #457bff;
  --uh-blue-ink: #3a6cf0;   /* blue dark enough for white text / links on white (4.5:1) */
  --uh-violet: #5a28fa;
  --uh-ink: #1a1a1a;
  --uh-body: #4d4d4d;
  --uh-line: #e6e6e6;
  --uh-wash: linear-gradient(126deg, #e6defe 0%, #f9f7ff 22%, #f9f7ff 76%, #e1eaff 100%);

  --accent: var(--uh-blue);
  --radius-card: 16px;
  --line: var(--uh-line);
  --stage: #eef3ff;
  --ph-bg: #f5f8ff;
  --ph-dot: rgba(69, 123, 255, .18);
  --ph-fg: #5b6478;
  --ph-strong: #1f3f99;
  --ph-line: #d6e2ff;
  --fg-bg: var(--uh-wash);
  color: var(--uh-ink);
}

/* --------------------------------------------------------------------------
   Hero (light wash, colored logo, browser window)
   -------------------------------------------------------------------------- */
.uh-hero { position: relative; height: 746px; background: var(--uh-wash); color: var(--uh-ink); overflow: hidden; }
.uh-hero-stage { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; }
.uh-glow { position: absolute; pointer-events: none; border-radius: 50%; }
.uh-glow-1 { right: -240px; top: -280px; width: 900px; height: 700px; background: radial-gradient(closest-side, rgba(119, 75, 251, .16), rgba(119, 75, 251, 0)); }
.uh-glow-2 { right: 220px; bottom: -340px; width: 820px; height: 600px; background: radial-gradient(closest-side, rgba(85, 160, 253, .2), rgba(85, 160, 253, 0)); }
.uh-glow-3 { display: none; }

.uh-hero-copy { position: absolute; left: 120px; top: 128px; width: min(600px, calc(100% - 780px)); z-index: 2; }
.uh-hero-copy h1 { font-family: var(--font-sans); font-size: 48px; line-height: 1.25; font-weight: 700; color: var(--uh-ink); text-wrap: balance; }
.uh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.uh-tags span {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  background: #efeaff; color: var(--uh-violet); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.uh-intro { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--uh-body); }
.uh-hero .cs-link-btn { margin-top: 28px; }
.uh-meta { margin-top: 28px; font-size: 14px; line-height: 1.4; color: var(--uh-ink); }
.uh-meta + .uh-meta { margin-top: 18px; }
.uh-meta .k { color: #666; font-weight: 500; }

/* browser window: 16:9 screen under a 34px bar */
.shot-browser {
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--uh-line);
  box-shadow: 0 30px 80px -24px rgba(69, 123, 255, .28);
}
.shot-bar {
  display: grid; grid-template-columns: 1fr minmax(0, 260px) 1fr; align-items: center; gap: 12px;
  height: 34px; padding: 0 14px; background: #fafafa; border-bottom: 1px solid var(--uh-line);
}
.shot-bar .dots { display: flex; gap: 6px; }
.shot-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdce4; }
.shot-bar b { display: block; height: 18px; border-radius: 999px; background: #f0f0f3; }
.shot-screen { position: relative; padding-bottom: 56.25%; background: #f7f7f7; }  /* 16:9 HostOnce screens */

/* Brand panel (same system as the home pop-up and the Borbalo hero): lit UltaHost gradient with a
   HostOnce-lime glow, a client | product lockup, the App Marketplace window bleeding off the edges
   and three real HostOnce fragments. Sized in cqw so the whole scene scales as one piece. Static. */
.uh-art { position: absolute; right: 30px; top: 80px; width: 590px; }
.uh-art-in {
  position: relative; height: 0; padding-bottom: 86.78%; border-radius: 30px; overflow: hidden; container-type: inline-size;
  background: linear-gradient(135deg, #5b8def 0%, #7c5cf0 55%, #8e4fe6 100%);
}
.uh-art-light { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%),
    radial-gradient(50% 45% at 92% 95%, rgba(202, 243, 85, .42), rgba(202, 243, 85, 0) 70%);
}
.uh-art-light::after { content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.uh-art-lockup { position: absolute; left: 8cqw; top: 9.4cqw; transform: translateY(-50%); z-index: 3; display: flex; align-items: center; gap: 2.6cqw; }
.uh-art-lockup img { display: block; width: auto; height: 4.4cqw; }
.uh-art-lockup i { width: 1px; height: 5.4cqw; background: rgba(255, 255, 255, .5); }
.uh-art-el { position: absolute; margin: 0; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); height: auto; max-width: none; }
.uh-art-window { z-index: 1; overflow: hidden; border-radius: 1.6cqw; background: #fff; box-shadow: 0 4cqw 9cqw -3cqw rgba(28, 14, 92, .6), 0 0 0 1px rgba(255, 255, 255, .25); }
.uh-art-window img { display: block; width: 100%; height: auto; }
.uh-art-bar { display: flex; gap: .7cqw; align-items: center; height: 3.2cqw; padding: 0 1.6cqw; background: #f4f4f6; border-bottom: 1px solid #e8e8ec; }
.uh-art-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #d6d6de; }
.uh-art-card { z-index: 2; border-radius: 1.2cqw; box-shadow: 0 3cqw 6cqw -2cqw rgba(28, 14, 92, .55); }
.uh-art-card.is-prompt { border-radius: 1.4cqw; box-shadow: 0 3cqw 6.5cqw -2cqw rgba(28, 14, 92, .6), 0 0 0 1px rgba(202, 243, 85, .55); }
.uh-art-card.is-dark { box-shadow: 0 3.4cqw 7cqw -2cqw rgba(10, 6, 40, .7), 0 0 0 1px rgba(202, 243, 85, .22); }
.uh-art-card.is-chip { border-radius: 1.8cqw; }

/* --------------------------------------------------------------------------
   Shared sections, in UltaHost style
   -------------------------------------------------------------------------- */
.page-ultahost .cs-title { font-size: 40px; line-height: 1.25; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--uh-ink); }
.page-ultahost .hero-card { border-radius: 16px; border-color: var(--uh-line); box-shadow: 0 24px 60px -30px rgba(69, 123, 255, .35); }
.page-ultahost .hc-item { border-radius: 12px; border-color: var(--uh-line); }
.page-ultahost .hc-label { color: #666; }
.page-ultahost .tool { border-radius: 16px; border-color: var(--uh-line); }
.page-ultahost .tool h3 { font-family: var(--font-sans); font-weight: 700; font-size: 19px; color: var(--uh-ink); }
.page-ultahost .tool p { color: #666; }

.page-ultahost .band { --band: #fafafa; }
.page-ultahost .band-wash { --band: var(--uh-wash); }

.page-ultahost .cs-challenge p { font-size: 17px; line-height: 1.6; color: var(--uh-body); }
.page-ultahost .cs-challenge p + p { margin-top: 12px; }

.page-ultahost .sf-media { border-radius: 16px; border-color: var(--uh-line); box-shadow: 0 20px 50px -30px rgba(69, 123, 255, .3); }
.page-ultahost .sf-box { border-radius: 4px; }
.page-ultahost .sf-h { color: var(--uh-ink); }
.page-ultahost .sf-row dd { color: var(--uh-body); border-left-color: var(--uh-line); }

.page-ultahost .fp-media { border-radius: 16px; border-color: var(--uh-line); box-shadow: none; }
.page-ultahost .fp-box { border-radius: 4px; }
.page-ultahost .fp-pill { border-radius: 12px; border-color: var(--uh-line); box-shadow: none; }
.page-ultahost .fp-desc { color: var(--uh-body); }
.page-ultahost .fp-link a { color: var(--uh-blue-ink); }
/* "After" is highlighted like the "Most Popular" plan on ultahost.com */
.page-ultahost .fp-item.is-after .fp-media { border: 2px solid var(--uh-blue); box-shadow: 0 0 80px rgba(80, 157, 253, .16); }
.page-ultahost .fp-item.is-after .fp-pill { background: var(--uh-blue-ink); border-color: var(--uh-blue-ink); color: #fff; }

/* 16:9 screens in the shared flow / product boxes */
.page-ultahost .sf-box, .page-ultahost .fp-box { padding-bottom: 56.25%; background: #f7f7f7; }

/* Final product: one wide card with a 3-screen collage (main + two stacked) */
.page-ultahost .fp-item.is-wide { width: 900px; max-width: 100%; }
.fp-collage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
.fc-main { position: relative; grid-row: span 2; border-radius: 4px; overflow: hidden; background: #f7f7f7; }
.fc-side { position: relative; padding-bottom: 56.25%; border-radius: 4px; overflow: hidden; background: #f7f7f7; }
.fc-main .ph-img, .fc-side .ph-img { object-position: left top; }

/* Designs gallery: browser windows, two per row */
.uh-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; width: 1200px; max-width: 100%; margin-top: 48px; }
.uh-shot { margin: 0; }
.uh-shot .shot-browser { box-shadow: 0 20px 50px -30px rgba(69, 123, 255, .3); }
.uh-shot figcaption { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--uh-ink); }

.page-ultahost .fg-img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--uh-line); }

/* Branding: HostOnce logo tiles */
.ho-logo-tile.is-light { background: #fff; }
.ho-logo-tile.is-dark { background: #262626; border-color: transparent; }
.ho-logo-tile img { width: min(320px, 70%); height: auto; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .uh-hero { height: auto; }
  .uh-hero-stage { display: flex; flex-direction: column; padding: 110px 40px 96px; }
  .uh-hero-copy { position: relative; left: auto; top: auto; width: 100%; max-width: 640px; }
  .uh-art { position: relative; right: auto; top: auto; width: 100%; max-width: 590px; margin: 48px auto 0; }
}
@media (max-width: 809px) {
  .uh-hero-stage { padding: 80px 20px 56px; }
  .uh-hero-copy h1 { font-size: clamp(32px, 9vw, 40px); }
  .uh-intro { font-size: 16px; }
  .uh-art { margin-top: 40px; }
  .uh-art-in { border-radius: 24px; }
  .shot-bar { height: 24px; padding: 0 9px; grid-template-columns: 1fr minmax(0, 120px) 1fr; }
  .shot-bar .dots { gap: 4px; }
  .shot-bar .dots i { width: 6px; height: 6px; }
  .shot-bar b { height: 11px; }
  .page-ultahost .cs-title { font-size: 28px; }
  .page-ultahost .cs-challenge p { font-size: 16px; }
  .page-ultahost .sf-box { border-radius: 6px; }
  .fp-collage { grid-template-columns: minmax(0, 1fr); }
  .fc-main { grid-row: auto; padding-bottom: 56.25%; }
  .uh-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
  .uh-shot figcaption { font-size: 15px; margin-top: 10px; }
}
