/* Page composition and local exceptions. Shared primitives: ../../design-system/. */
/* ============================================================
   DESIGN TOKENS
   ============================================================
   COLOR CONTRACT — TEXT
   --------------------
   Text colors MUST resolve to a solid token value here. Never use inline
   rgba() with alpha for text colors. Reason: alpha-tinted text composites
   against the page background in the display color space — on wide-gamut
   (P3) displays, and across browsers with different color management
   (Safari/ColorSync vs Chromium), the math diverges visibly. Pre-compose
   alpha against --bg up here, expose as a solid token, use the token
   everywhere. Background tints (hover states, fills) MAY use rgba() —
   they're less perceptually fragile than text.
   ============================================================ */
:root {

  /* Pre-composed text tints (against --bg #FAFAF7) — see COLOR CONTRACT above */
  --text-quote:       #2E2D2A; /* was rgba(28,27,24,.92) — tooltip quote body      */
  --text-quote-meta:  #5A5956; /* was rgba(28,27,24,.72) — tooltip author name     */
  --primary-ghost:    #E5EDE9; /* was rgba(15,107,94,.09) — giant cat ghost text   */

  --callout: #F1E8D3;   /* cream highlight — recommendation rings, media badges */

  --content-max: 960px;

  /* Type voices (§2), spacing scale (§3), radius scale (§4) */

}

/* ============================================================
   RESET & BASE
   ============================================================ */

/* Horizontal clip on BOTH html and body.
   The pair (not body alone) is what matters: setting overflow on body
   alone can cause Safari to re-route scrolling to the body element,
   silently breaking `window.scrollY` reads and `position: sticky`.
   Two declarations stacked: `hidden` is the fallback for browsers
   that don't yet support `clip` (Safari < 16); `clip` is preferred
   on modern engines because it does not establish a scroll container
   at all (`hidden` does, just with hidden scrollbars). The standard
   CSS fallback pattern: invalid declarations are discarded and the
   previous valid one wins. */

html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ============================================================
   1. HERO + RECOMMENDATIONS
   No top nav — hero name IS the site identity
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  height: auto;
  /* Overflow visible — avatars escaping the cloud during scroll-scatter
     should remain visible until covered by works content (which paints on top
     via DOM order + the bridge background below). */
  overflow: visible;
}
.hero-frame {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
}

/* --- Hero Text Column --- */
.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 540px;
  flex-shrink: 0;
  /* Visual offset — text + video drop 40px without affecting cloud, avatars, or layout flow */
  transform: translateY(40px);
}
/* Video circle — child of hero-text, absolutely positioned aligned with name vertical center */
/* Name: 64px font × 0.92 line-height × 2 lines = 117.76px ≈ 118px. Half = 59. */
/* Video 220px, half = 110. To center video on name: video top = name top + 59 - 110 = name top - 51 */
.video-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  /* Place to right of text column with comfortable gap (60px) */
  left: calc(100% + 60px);
  top: -51px;
  z-index: 3;
  cursor: pointer;
  overflow: hidden;
  transition: transform 300ms var(--ease-out);
  background: linear-gradient(135deg, #556677, #445566);
}
.video-circle:hover { transform: scale(1.03); }
.video-circle::after {
  content: '\25B6';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 28px;
  opacity: 0.5;
}
.hero-name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 16px;
}
.hero-domains {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--primary);
  margin-top: 8px;
}
.hero-domains a {
  color: var(--primary);
  transition: color 150ms;
}
.hero-domains a:hover { color: var(--primary-hover); }
.hero-desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--body-size);
  line-height: 1.65;
  color: var(--text-primary);
  margin-top: 16px;
  max-width: 540px;
}
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.hero-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--action-min-height);
  font-family: var(--f-body);
  font-size: var(--action-size);
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: color 150ms;
}
.hero-nav a:hover,
.hero-nav a[aria-current="page"] { color: var(--primary); }

/* --- Avatar Cloud --- */
.avatar-cloud {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}
.cloud-header {
  position: absolute;
  top: 16px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
  z-index: 5;
}
.cloud-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  white-space: nowrap;
}
.cloud-filters {
  display: flex;
  gap: 8px;
}
.cloud-filters button {
  font-family: var(--f-body);
  font-size: var(--label-size);
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: background 150ms, color 150ms;
}
.cloud-filters button.inactive {
  background: var(--primary-subtle);
  color: var(--primary);
}
.cloud-filters button.inactive:hover {
  background: rgba(15, 107, 94, 0.15);
}
.cloud-filters button.active {
  background: var(--primary);
  color: #fff;
}
.avatar-cloud .av {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  overflow: visible; /* let the focus ring extend past the avatar disk */
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, opacity;
  transform-origin: center center;
  /* Position, scale, opacity all driven by rAF loop — no CSS transitions */
}
/* Ring drawn on the source avatar while its tooltip is open. Box-shadow
   reads as a ring because the disk is round. Two layers: a Pale Wheat
   ring matching the tooltip body, then a hairline edge that lifts it
   from neighbours of the same color. */
.avatar-cloud .av.is-tooltip-source {
  z-index: 20;
}
.avatar-cloud .av.is-tooltip-source img {
  box-shadow:
    0 0 0 3px var(--callout),
    0 0 0 4px rgba(28, 27, 24, 0.10),
    0 4px 14px rgba(28, 27, 24, 0.10);
}
.avatar-cloud .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
  transition: box-shadow 400ms var(--ease);
}

/* === RECOMMENDATION TOOLTIP ===
   Pale Wheat bg + Figtree body (the system's body voice — short functional
   content uses the body voice, not the long-form "others' voice" italic;
   serif italic at body sizes hurts readability on a 280px measure).
   UPPERCASE Figtree name in text-primary.
   Editorial accent through medium-weight <em>, not italic.
   No borders, no shadows, no separator lines — separation through bg contrast.
   A small CSS triangle on the side of the tooltip points back to the
   originating avatar; vertical position is set via --arrow-top from JS so
   it always anchors to the avatar center even when the tooltip itself
   gets clamped to the cloud bounds.
*/
.rec-tooltip {
  --arrow-top: 24px;
  position: absolute;
  /* 380px width is data-driven: at Figtree 15 / line-height 1.55 it gives
     ~45 chars per line. Across the 38 source recommendations this fits
     all but one entirely without truncation — only Eli Ferrer's
     1447-char outlier is hand-abridged. See recQuotes comment block. */
  width: 380px;
  background: var(--callout); /* Pale Wheat */
  padding: 20px 22px;
  border-radius: 14px;
  pointer-events: auto;
  z-index: 50;
  opacity: 0;
  transform: translateY(4px);
  transform-origin: left center;
  transition: opacity 320ms var(--ease),
              transform 400ms var(--ease);
  /* Outer overflow stays visible so the connector triangle (::before)
     can sit at left:-8px. The teaser→full height animation operates on
     the inner .quote element, which clips its own overflow. */
}
.rec-tooltip.tip-left  { transform-origin: right center; }
/* Automatic suggestions arrive more gently than a deliberate click. */
.rec-tooltip.auto-reveal {
  transform: translateY(6px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}
.rec-tooltip.visible { opacity: 1; transform: translateY(0); }
.rec-tooltip.is-leaving {
  pointer-events: none;
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}
.rec-tooltip.is-repositioning {
  transition: opacity 320ms var(--ease), transform 400ms var(--ease),
              top 480ms var(--ease), left 480ms var(--ease);
}
.rec-tooltip::before {
  content: '';
  position: absolute;
  top: var(--arrow-top, 50%);
  width: 0;
  height: 0;
  border-style: solid;
  pointer-events: none;
}
.rec-tooltip.tip-right::before {
  left: -8px;
  border-width: 9px 9px 9px 0;
  border-color: transparent var(--callout) transparent transparent;
}
.rec-tooltip.tip-left::before {
  right: -8px;
  border-width: 9px 0 9px 9px;
  border-color: transparent transparent transparent var(--callout);
}
.rec-tooltip .quote {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 450;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-quote);
  letter-spacing: 0;
  /* `pre-line` preserves the \n\n paragraph breaks in `full` text without
     needing <p> tags or <br>s — text still wraps naturally on width. */
  white-space: pre-line;
}
/* While JS is animating teaser→full, the .quote element gets an inline
   `height` and `overflow: hidden` (set in expandTooltip). This class is
   only used to apply the height transition; once the animation finishes
   the inline styles are cleared. */
.rec-tooltip .quote.is-expanding {
  overflow: hidden;
  transition: height 480ms var(--ease);
}
.rec-tooltip .quote em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}
.rec-tooltip .author {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.rec-tooltip .author-name {
  font-family: var(--f-body);
  font-size: var(--label-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-quote-meta);
}
.rec-tooltip .author-role {
  font-family: var(--f-body);
  font-size: var(--label-size);
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================================
   2. WORKS SECTION (ToC + Projects)
   ============================================================ */
/* Headline as bridge between hero and works */
/* LEFT EDGE of headline aligned with vertical axis through CENTER of video circle */
/* Video center x: 48 (gutter) + 540 (text col) + 60 (gap) + 110 (half video) = 758 from page left */
/* Inside padded container (padding-left 48): left edge from padding = 758 - 48 = 710 */
/* Outer wrapper holds the cream background that masks any scattered avatars
   bleeding out of the hero overflow. */
.works-section {
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.works-headline-bridge {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px var(--gutter) 0;
  position: relative;
  z-index: 1; /* Above ghost lettering, below the project cards. */
}
.works-headline-bridge h2 {
  font-family: var(--f-personal);
  font-weight: var(--heading-narrative-weight);
  font-style: italic;
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 0 min(710px, max(0px, calc(100% - 570px)));
  text-align: left;
  white-space: nowrap;
  /* Visual offset — headline visually sits at AI ghost level (or just above)
     without affecting document flow of works content below. */
  transform: translateY(10px);
}
.works-headline-bridge h2 em {
  font-style: italic;
  color: var(--primary);
}

.works-layout {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  padding: 64px var(--gutter) 0;
  gap: 0;
  position: relative;
}

/* --- Sidebar --- */
.works-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 0 32px 64px 0;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
}
.works-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.works-sidebar nav a {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-primary);
  padding: 8px 0;
  transition: color 250ms, transform 250ms;
  transform-origin: left center;
}
.works-sidebar nav a:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.works-sidebar nav a.active {
  color: var(--primary);
}

/* --- Projects Area --- */
.works-projects {
  flex: 1;
  padding: 0 0 48px;
  min-width: 0;
}

/* Category Group */
.cat-group {
  margin-bottom: 112px;
  position: relative;
  /* No overflow:hidden — ghost text must extend beyond bounds */
}
.cat-group:last-child {
  margin-bottom: 0;
}
/* Categories with less side-stack content (Advanced Tools: 1 compact, Finance: 0 compacts)
   need extra bottom margin so the NEXT category's ghost text doesn't overlap into
   their featured tile area. */
.cat-group#advanced {
  margin-bottom: 192px;
}
.cat-group#finance {
  margin-bottom: 172px;
}

/* Ghost Text — absolutely positioned, free to overflow */
/* Top offset is computed by JS so ghost meets tile when tile reaches viewport center during scroll */
.cat-ghost {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 240px;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--primary-ghost);
  position: absolute;
  top: -200px; /* fallback before JS runs */
  left: -8px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

/* Tile Row — NO background, so ghost can pass behind individual tiles */
.tile-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.tile-row .side-stack {
  margin-top: -24px;
}
/* Single project: same grid, single tile fills featured column, right is intentional negative space */
.tile-row.single {
  grid-template-columns: 1.4fr 1fr;
}

/* Primary and side columns share the same vertical rhythm. */
.primary-stack,
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- Tiles --- */
.tile {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 400ms var(--ease-out);
  transform-origin: center top;
}
.tile:hover {
  transform: scale(1.025);
}
.tile .thumb {
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  position: relative;
  background: var(--surface);
  display: grid;
  place-items: center;
}
/* Brand-derived accent planes behind the mockup (Deep palette tokens) */
.tile .thumb[data-accent="indigo"]     { background: var(--indigo); }
.tile .thumb[data-accent="teal"]       { background: var(--primary); }
.tile .thumb[data-accent="deep-green"] { background: var(--deep-green); }
.tile .thumb[data-accent="cobalt"]     { background: var(--depth); }
.tile .thumb[data-accent="slate"]      { background: var(--quiet); }
.tile .thumb[data-accent="amber"]      { background: var(--signal); }

/* Mockup as exhibited object — natural aspect, width fills padded area,
   very tall screenshots vertically cropped at the bottom via max-height. */
.tile .mockup-cap {
  width: 100%;
  display: block;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.tile .mockup {
  display: block;
  width: 100%;
  height: auto;
}
.tile.featured .thumb { padding: 11% 12%; }
.tile.compact  .thumb { padding: 9% 10%; }
.tile.featured .mockup-cap { max-height: 420px; }
.tile.compact  .mockup-cap { max-height: 260px; }

/* Blur only the brand mark in gated-case previews. Width-based geometry
   follows the screenshot scale, including when the cap crops its bottom. */
.tile .mockup-cap--blur-logo { position: relative; }
.tile .mockup-cap--blur-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6.5%;
  aspect-ratio: 2.4;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.tile .mockup-cap--neptune::after {
  width: 11.5%;
  aspect-ratio: 4;
}

/* Exhibit the complete map and artifacts from the 1440 × 1000 source.
   Viewport: x 0–1420, y 60–890; excludes cut controls, scrollbar and footer. */
.tile .mockup-cap--ai-system {
  aspect-ratio: 1420 / 830;
}
.tile .mockup-cap--ai-system .mockup {
  width: calc(100% * 1440 / 1420);
  max-width: none;
  margin-top: calc(-100% * 60 / 1420);
}


/* Phone silhouette — Mobile */
.tile .device-phone {
  width: 36%;
  aspect-ratio: 9 / 19;
  background: var(--text-primary);
  border-radius: 22px;
  padding: 5px;
  position: relative;
  max-height: 460px;
}
.tile.featured .device-phone { width: 32%; }
.tile.compact  .device-phone { width: 46%; max-height: 360px; }
.tile .device-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 14px;
  background: #000;
  border-radius: 0 0 9px 9px;
  z-index: 2;
}
.tile .device-phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.tile .device-phone .screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Featured Tile */
.tile.featured h3 { margin-top: 12px; }
.tile.featured p { margin-top: 4px; }
.tile.featured .tags { margin-top: 8px; }

/* Compact Tile */
.tile.compact h3 { margin-top: 10px; }
.tile.compact p { margin-top: 2px; }
.tile.compact .tags { margin-top: 6px; }

/* Tag Pills */
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tags span {
  font-family: var(--f-body);
  font-size: var(--label-size);
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Parallax */
.parallax-col { will-change: transform; }

/* ============================================================
   3. LET'S TALK (CTA)
   ============================================================ */

/* ============================================================
   REDUCED MOTION
   ============================================================
   We do NOT force `transform: none !important` on parallax elements here.
   The works-parallax JS reads matchMedia('(prefers-reduced-motion: reduce)')
   and skips applying any inline transforms when it matches. That way the
   elements rest at their natural CSS positions instead of being shoved to
   transform-zero, which (with the previous !important rule) hard-broke the
   parallax effect for any visitor whose system had Reduce Motion enabled.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

*, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .parallax-col, .cat-ghost { will-change: auto; }
}

.lets-talk { margin-top: var(--s-64); }

/* Responsive Work follows the page contract: tablet tabs, phone carousels. */
@media (min-width: 1080px) {
  .hero { min-height: 0; }
  .hero-frame {
    /* Reserve the two 52px/1.1 slogan lines, bridge offsets and 24px below.
       Natural content height wins on very short windows or enlarged text. */
    min-height: min(640px, calc(100svh - 165px));
    padding-block: var(--s-24);
  }
  .hero-text {
    transform: translateY(clamp(0px, calc((100svh - 650px) / 4), 40px));
  }
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.category-label { display: none; }
.av { border: 0; padding: 0; background: transparent; }
.rec-close { float: right; width: 44px; height: 44px; margin: -8px -8px 0 8px; border: 0; background: transparent; color: var(--text-primary); font: 400 24px/1 var(--f-body); cursor: pointer; }
@media (max-width: 1079px) {
  :root { --gutter: 32px; }
  .hero-frame { flex-direction: column; align-items: stretch; padding-top: var(--s-64); }
  .hero-text { width: 100%; max-width: 680px; transform: none; }
  .hero-name { font-size: 54px; }
  .hero-desc { max-width: 680px; }
  .avatar-cloud { position: relative; inset: auto; width: 100%; margin-block: var(--s-32); display: grid; grid-template-columns: repeat(auto-fit, 48px); justify-content: center; gap: 12px; pointer-events: auto; }
  .cloud-header { position: static; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; margin-bottom: var(--s-16); }
  .avatar-cloud .av { position: relative; width: 48px; height: 48px; opacity: 1; transform: none; }
  .rec-tooltip { position: fixed; inset: auto 16px 16px !important; width: auto; max-height: 60vh; overflow-y: auto; z-index: 100; }
  .rec-tooltip::before { display: none; }
  .hero { z-index: 3; }
  .works-headline-bridge h2 { margin-left: 0; font-size: 42px; white-space: normal; transform: none; }
  .works-layout { display: block; padding-top: var(--s-32); }
  .works-sidebar { position: relative; top: auto; width: auto; padding: 0 0 var(--s-48); }
  .works-sidebar nav { flex-direction: row; gap: var(--s-24); overflow-x: auto; }
  .works-sidebar nav a { font-size: 20px; white-space: nowrap; min-height: 44px; }
  .cat-ghost { font-size: 100px; }
  .cat-group { margin-top: var(--s-80); }
  .tile-row .side-stack { margin-top: 0; }
}
@media (max-width: 767px) {
  :root { --gutter: var(--gutter-phone); }
  .hero-frame { padding-top: var(--s-48); min-height: 0; }
  .hero-name { font-size: clamp(32px, 9.7vw, 42px); overflow-wrap: anywhere; }
  .hero-desc br { display: none; }
  .hero-title { font-size: 22px; }
  .hero-nav { margin-top: var(--s-16); }
  .cloud-header { display: none; }
  .avatar-cloud { gap: 10px; }
  .works-headline-bridge { padding-top: var(--s-32); }
  .works-headline-bridge h2 { font-size: 32px; }
  .works-sidebar, .cat-ghost { display: none; }
  .category-label { display: block; font: 900 24px/1.2 var(--f-display); margin-bottom: var(--s-24); }
  .cat-group, .cat-group#advanced, .cat-group#finance { margin: 0 0 var(--s-64); }
  .tile-row, .tile-row.single { display: flex; overflow-x: auto; gap: var(--s-16); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) var(--s-16); }
  .tile-row .primary-stack, .tile-row .side-stack { display: contents; }
  .tile-row .tile { flex: 0 0 80vw; min-width: 0; scroll-snap-align: start; transform: none; }
  .tile.featured h3, .tile.compact h3 { margin-top: var(--s-12); }
  .tile.featured .thumb, .tile.compact .thumb { padding: 10%; }
  .tile .device-phone, .tile.featured .device-phone, .tile.compact .device-phone { width: 58%; max-height: 380px; }
  .tile.featured .mockup-cap, .tile.compact .mockup-cap { max-height: 320px; }
  .tile .thumb { min-height: 210px; }
  .tile:hover { transform: none; }
}

article.tile { cursor: default; }
article.tile:hover { transform: none; }

@media (min-width: 768px) and (max-width: 1079px) { .cat-ghost { top: -72px !important; } }
