/* Aggressive Marketing - homepage mockup
   All classes are prefixed with am- so the page can live inside WordPress/Elementor without clashes. */

:root {
  --ink: #0B0D23;
  --ink-2: #14173A;
  --ink-3: #1D2150;
  --ash: #FFF3E8;
  --mute: #A9AAC6;
  --line: rgba(255, 243, 232, .14);
  --red: #EF3E23;
  --orange: #F47B16;
  --gold: #F2B705;
  --fire: linear-gradient(120deg, var(--red) 0%, var(--orange) 55%, var(--gold) 100%);

  --f-display: "Karantina", "IBM Plex Sans Hebrew", sans-serif;
  --f-body: "IBM Plex Sans Hebrew", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body.am {
  margin: 0;
  background: var(--ink);
  color: var(--ash);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.am.is-loading { overflow: hidden; }

.am img { max-width: 100%; height: auto; display: block; }
.am a { color: inherit; }
.am h1, .am h2, .am h3, .am p { margin: 0; }
.am ::selection { background: var(--orange); color: var(--ink); }
.am :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.am-skip {
  position: fixed; top: 8px; right: 8px; z-index: 200;
  background: var(--ash); color: var(--ink); padding: .5rem 1rem; border-radius: 99px;
  transform: translateY(-200%); transition: transform .2s;
}
.am-skip:focus { transform: none; }

.am-nw { white-space: nowrap; }

.am-wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- Type ---------- */
.am-display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  line-height: .9;
  letter-spacing: .005em;
}
.am-display--center { text-align: center; }
.am-display--xl { font-size: clamp(4rem, 10vw, 10rem); line-height: .86; }

/* ---------- Buttons ---------- */
.am-btn {
  --pad: 1.05rem 1.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad);
  border: 0; border-radius: 999px;
  background: var(--fire); background-size: 160% 100%; background-position: 0% 50%;
  color: var(--ink) !important;
  font: 700 1.05rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(239, 62, 35, .7);
  transition: background-position .5s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.am-btn:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(244, 123, 22, .8); }
.am-btn:active { transform: translateY(0); }
.am-btn--small { --pad: .7rem 1.25rem; font-size: .95rem; }
.am-btn--block { width: 100%; }

.am-link {
  font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.am-link:hover { color: var(--gold); background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Loader ---------- */
.am-loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-content: center; justify-items: center; gap: 1.25rem;
  background: var(--ink);
}
.am-seen .am-loader { display: none; }
.am-loader__mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.am-loader__mark img { width: 84px; }
.am-loader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.am-loader__ring circle {
  fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0));
}
.am-loader__count { font: 700 1.6rem/1 var(--f-display); letter-spacing: .06em; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.am-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem var(--gutter);
  transition: transform .45s var(--ease), background-color .3s, backdrop-filter .3s;
}
.am-header.is-solid { background: rgba(11, 13, 35, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.am-header.is-hidden { transform: translateY(-110%); }
.am-header__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.am-header__brand img { width: 44px; }
.am-header__brand span { font: 700 1.15rem/.9 var(--f-display); letter-spacing: .04em; direction: ltr; text-align: left; }
.am-nav { display: flex; gap: 1.75rem; margin-inline-start: auto; }
.am-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--mute); transition: color .2s; }
.am-nav a:hover { color: var(--ash); }

.am-burger { display: none; }
.am-mobile-nav { display: none; }

/* ---------- Hero + gate ---------- */
.am-hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 58%, rgba(244, 123, 22, .16), transparent 70%),
    var(--ink);
}
.am-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.am-hero__stage {
  position: relative; z-index: 1;
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1500px); margin-inline: auto;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 5.5rem; padding-bottom: clamp(1.25rem, 3vh, 2.5rem);
}

/* Slogan: first sentence top-right, second sentence bottom-left, the fox between them. */
.am-hero__title {
  grid-row: 1; grid-column: 1;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: 1vh;
  font: 700 clamp(4rem, 8.4vw, 10.5rem)/.84 var(--f-display);
  letter-spacing: .005em;
  position: relative; z-index: 1;
}
.am-hero__line { display: block; }
.am-hero__line .js-split { display: block; }
.am-hero__line--out {
  align-self: flex-end;
  text-align: left;
  color: transparent;
  -webkit-text-stroke: 2px var(--ash);
}
.am-split-word { display: inline-block; white-space: nowrap; }
.am-split-char { display: inline-block; will-change: transform; }

.am-hero__fox {
  grid-row: 1; grid-column: 1;
  place-self: center;
  position: relative; z-index: 2;
  width: min(58vh, 44vw, 620px);
  aspect-ratio: 1;
  perspective: 900px;
}
.am-hero__fox img {
  position: relative; width: 100%;
  filter: drop-shadow(0 30px 50px rgba(239, 62, 35, .35));
  transform-style: preserve-3d;
}
.am-hero__ring { position: absolute; inset: -6%; width: 112%; height: 112%; transform: rotate(-90deg); overflow: visible; }
.am-hero__ring circle {
  fill: none; stroke: url(#amFire); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 10px rgba(244, 123, 22, .6));
}

.am-hero__foot {
  grid-row: 2; grid-column: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  position: relative; z-index: 3;
}
.am-hero__lead { max-width: 38ch; color: var(--mute); font-size: 1.08rem; }
.am-hero__ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.am-gate {
  --r: 0px; --cx: 50%; --cy: 50%;
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(242, 183, 5, .45), transparent 70%),
    linear-gradient(160deg, var(--orange) 0%, var(--red) 70%, #C9301B 100%);
  color: var(--ink);
  clip-path: circle(var(--r) at var(--cx) var(--cy));
  visibility: hidden;
}
.am-gate__inner { width: min(100% - 2 * var(--gutter), 1180px); }
.am-gate__kicker { font: 700 clamp(4rem, 12vw, 12rem)/.82 var(--f-display); margin-bottom: clamp(1rem, 3vh, 2.25rem); }
.am-gate__text { font-size: clamp(1.4rem, 2.9vw, 2.75rem); line-height: 1.38; font-weight: 500; max-width: 36ch; text-wrap: pretty; }
.am-word { opacity: .2; transition: none; }

/* ---------- Section heads ---------- */
.am-head { margin-bottom: clamp(2.5rem, 7vh, 5rem); }

/* ---------- Services ---------- */
.am-services { padding-block: clamp(5rem, 14vh, 10rem) clamp(3rem, 8vh, 6rem); }
.am-services__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas: "list stage";
  gap: clamp(2rem, 5vw, 6rem);
}
.am-services__list { grid-area: list; list-style: none; margin: 0; padding: 0; }
.am-services__stage {
  grid-area: stage;
  position: sticky; top: 12vh;
  height: 76vh; align-self: start;
  display: grid; place-items: center;
}
.am-services__stage img {
  grid-area: 1 / 1;
  width: min(100%, 76vh);
  opacity: 0; transform: scale(.9) rotate(-3deg);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.am-services__stage img.is-active { opacity: 1; transform: none; }
.am-services__glow {
  grid-area: 1 / 1;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 123, 22, .35), transparent 65%);
  filter: blur(20px);
}

.am-svc {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  opacity: .28;
  transition: opacity .5s var(--ease);
}
.am-svc:last-child { border-bottom: 1px solid var(--line); }
.am-svc.is-active { opacity: 1; }
.am .am-svc__img { display: none; }
.am-svc__name {
  font: 700 clamp(3rem, 6.4vw, 6rem)/.9 var(--f-display);
  background: var(--fire); -webkit-background-clip: text; background-clip: text;
  color: var(--ash);
  transition: color .5s var(--ease);
}
.am-svc.is-active .am-svc__name { color: transparent; }
.am-svc p { max-width: 46ch; color: var(--mute); font-size: 1.1rem; }

.am-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.am-tags li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .85rem; font-size: .9rem; color: var(--ash);
}
.am-tags a { text-decoration: none; }
.am-tags li:has(a) { border-color: rgba(244, 123, 22, .6); transition: background-color .2s, color .2s; }
.am-tags li:has(a):hover { background: var(--orange); color: var(--ink); }

/* ---------- Process ---------- */
.am-process { padding-block: clamp(5rem, 14vh, 10rem); }
.am-process .am-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.am-process .am-head { position: sticky; top: 18vh; margin: 0; }

.am-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 12vh, 7rem); }
.am-steps__track {
  position: absolute; inset-block: 1.5rem; inset-inline-start: 1.6rem;
  width: 2px; background: var(--line); border-radius: 2px;
}
.am-steps__fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--gold), var(--orange) 50%, var(--red));
  transform-origin: top; transform: scaleY(0);
  box-shadow: 0 0 12px rgba(244, 123, 22, .7);
}
.am-step { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.5rem; align-items: start; }
.am-step__num {
  position: relative; z-index: 1;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--line);
  font: 700 1.6rem/1 var(--f-display);
  transition: background .4s var(--ease), color .4s, border-color .4s, box-shadow .4s;
}
.am-step.is-lit .am-step__num { background: var(--fire); color: var(--ink); border-color: transparent; box-shadow: 0 0 24px rgba(244, 123, 22, .55); }
.am-step h3 { font: 700 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--f-display); margin: .2rem 0 .6rem; }
.am-step p { color: var(--mute); max-width: 44ch; }

/* ---------- Shared: split heads, placeholders ---------- */
.am-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
/* Marks content still waiting on the client, so it is never mistaken for final copy. */
.am-placeholder {
  display: grid; place-items: center; text-align: center;
  border: 1.5px dashed rgba(244, 123, 22, .55);
  background:
    repeating-linear-gradient(135deg, rgba(244, 123, 22, .06) 0 12px, transparent 12px 24px),
    var(--ink-2);
  color: var(--mute); font-size: .95rem; padding: 1.5rem;
}
.am-placeholder-text { color: var(--orange) !important; font-style: italic; }

/* ---------- Works ---------- */
.am-works { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.am-works__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}
.am-work__media { aspect-ratio: 4 / 5; border-radius: 22px; margin-bottom: 1.1rem; }
.am-work--tall .am-work__media { aspect-ratio: 4 / 5.6; }
.am-work:not(.am-work--tall) { margin-top: clamp(2rem, 8vh, 5rem); }
.am-work__meta { color: var(--mute); font-size: .9rem; }
.am-work__title { font: 700 clamp(1.9rem, 2.6vw, 2.6rem)/1 var(--f-display); margin: .3rem 0 .45rem; }
.am-work__result { font-size: .98rem; }

/* ---------- Specials ---------- */
.am-specials { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.am-specials__group + .am-specials__group { margin-top: clamp(2.5rem, 7vh, 4.5rem); }
.am-specials__label { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: 1.1rem; }
.am-specials__tech { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.25rem; }
.am-specials__social { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.am-card {
  display: flex; flex-direction: column; gap: .8rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 26px;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.am-card:hover { border-color: rgba(244, 123, 22, .5); transform: translateY(-3px); }
.am-card p { color: var(--mute); }
.am-card .am-link { align-self: flex-start; margin-top: auto; }
.am-card__name { font: 700 clamp(2rem, 2.8vw, 2.7rem)/1 var(--f-display); margin: 0; }
.am-card__price { color: var(--ash) !important; font-weight: 700; }
.am-card__price span { display: block; font-weight: 400; color: var(--mute); font-size: .92rem; }

/* TopLead keeps its own brand inside the card. */
.am-card--feature {
  grid-row: span 1;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(59, 91, 253, .22), transparent 60%),
    var(--ink-2);
  border-color: rgba(59, 91, 253, .45);
}
.am-card--feature:hover { border-color: rgba(59, 91, 253, .8); }
.am-card__brand { display: flex; align-items: center; gap: .65rem; font: 700 1.6rem/1 var(--f-body); direction: ltr; justify-content: flex-end; }
.am-card__lead { color: var(--ash) !important; font-size: 1.12rem; }
.am-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; color: var(--mute); }
.am-card__list li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3b5bfd; margin-inline-end: .6rem; vertical-align: middle; }
.am-card__soon { display: flex; align-items: center; gap: .6rem; }
.am-badge { display: inline-block; padding: .15rem .65rem; border-radius: 99px; background: rgba(242, 183, 5, .15); color: var(--gold); font-size: .85rem; font-weight: 700; }
.am-card__ctas { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: auto; }
.am-card__ctas .am-link { margin-top: 0; }

.am-card--row { flex-direction: row; align-items: center; gap: 1.25rem; }
.am-card--row img { width: clamp(110px, 12vw, 170px); flex: none; }
.am-card--row > div { display: flex; flex-direction: column; gap: .55rem; }

/* ---------- About ---------- */
.am-about { padding-block: clamp(4rem, 12vh, 8rem) 0; border-top: 1px solid var(--line); overflow: hidden; }
.am-about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.am-about__photo {
  position: relative; align-self: end;
  background: radial-gradient(60% 50% at 50% 70%, rgba(244, 123, 22, .35), transparent 70%);
}
.am-about__photo img { width: min(100%, 420px); margin-inline: auto; }
.am-about__copy { display: grid; gap: 1.2rem; padding-bottom: clamp(3rem, 10vh, 6rem); }
.am-about__copy p { color: var(--mute); max-width: 52ch; font-size: 1.1rem; }
.am-about__copy .am-link { justify-self: start; }

/* ---------- Clients ---------- */
.am-clients { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.am-clients .am-display { margin-bottom: clamp(2rem, 6vh, 4rem); }
.am-marquee { overflow: hidden; direction: ltr; padding-block: .6rem; }
.am-marquee__track { display: flex; gap: 1.25rem; width: max-content; list-style: none; margin: 0; padding: 0; will-change: transform; }
.am-marquee__track li {
  flex: none; width: clamp(110px, 12vw, 168px); aspect-ratio: 1;
  background: #fff; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center;
  transition: transform .4s var(--ease);
}
.am-marquee__track li:hover { transform: translateY(-6px) rotate(-2deg); }
.am-marquee__track img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.am-contact {
  padding-block: clamp(5rem, 14vh, 10rem);
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(239, 62, 35, .22), transparent 70%),
    var(--ink-2);
}
.am-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.am-contact__copy p { color: var(--mute); margin-top: 1.5rem; font-size: 1.15rem; max-width: 36ch; }
.am-contact__direct { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.am-contact__direct a { font-weight: 700; font-size: 1.2rem; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.am-contact__direct a[href^="tel"] { direction: ltr; unicode-bidi: isolate; }

.am-form { display: grid; gap: 1.4rem; }
.am-field { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.am-field label, .am-field legend { font-size: .95rem; color: var(--mute); padding: 0; }
.am-field__opt { opacity: .7; }
.am-field input[type="text"], .am-field input[type="tel"], .am-field input[type="email"] {
  font: 500 1.1rem/1.4 var(--f-body); color: var(--ash);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  padding: .55rem 0; border-radius: 0;
  transition: border-color .25s;
}
.am-field input:focus { outline: none; border-color: var(--orange); }
.am-field input[aria-invalid="true"] { border-color: var(--red); }
.am-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.am-chips legend { width: 100%; margin-bottom: .6rem; }
.am-chips label { cursor: pointer; }
.am-chips input { position: absolute; opacity: 0; pointer-events: none; }
.am-chips span {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ash); font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s;
}
.am-chips label:hover span { border-color: var(--orange); }
.am-chips input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 700; }
.am-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.am-form__status { min-height: 1.5em; font-weight: 500; }
.am-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.am-pager .page-numbers { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; margin: 2.5rem .2rem 0; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.am-pager .page-numbers.current { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 700; }
.am-form__status.is-error { color: #FF8A73; }
.am-form__status.is-ok { color: var(--gold); }

/* ---------- Footer ---------- */
.am-footer { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .92rem; }
.am-footer__inner { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.am-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.am-footer a { text-decoration: none; }
.am-footer a:hover { color: var(--ash); }

/* ---------- Mobile ---------- */
/* Seven menu items need room, so the burger takes over earlier than the rest of the mobile layout. */
@media (max-width: 1100px) {
  .am-nav, .am-header > .am-btn { display: none; }
  .am-burger {
    display: grid; gap: 6px; place-content: center;
    width: 46px; height: 46px; margin-inline-start: auto;
    background: var(--ink-2); border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .am-burger span { display: block; width: 18px; height: 2px; background: var(--ash); transition: transform .3s var(--ease); }
  .am-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .am-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .am-mobile-nav {
    position: fixed; inset: 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: center; gap: .5rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--ink);
  }
  .am-mobile-nav[hidden] { display: none; }
  .am-mobile-nav a { font: 700 3.2rem/1.05 var(--f-display); text-decoration: none; }
  .am-mobile-nav a.am-btn { font: 700 1.1rem/1 var(--f-body); align-self: flex-start; margin-top: 1rem; }
}

@media (max-width: 860px) {
  .am-hero { height: auto; min-height: 100svh; }
  .am-hero__stage { padding-top: 5.5rem; grid-template-rows: auto auto; gap: 1.5rem; height: auto; min-height: 100svh; }
  /* The fox sits in the gap between the two sentences. */
  .am-hero__title { font-size: 15vw; align-self: start; justify-content: flex-start; padding-block: 0; }
  .am-hero__line--out { margin-top: calc(66vw + 2.5rem); }
  .am-hero__fox { width: 66vw; align-self: start; margin-top: calc(25.2vw + 1.25rem); }
  .am-hero__foot { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .am-hero__ctas .am-btn { flex: 1; }
  .am-gate__text { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  .am-services__grid { grid-template-columns: 1fr; grid-template-areas: "list"; }
  .am-services__stage { display: none; }
  .am-svc { min-height: 0; opacity: 1; padding-block: 2.5rem; }
  .am .am-svc__img { display: block; width: min(78vw, 360px); margin-inline: auto; }
  .am-svc__name { color: transparent; }

  .am-process .am-wrap { grid-template-columns: 1fr; }
  .am-process .am-head { position: static; margin-bottom: 3rem; }

  .am-contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .am-specials__tech { grid-template-columns: 1fr 1fr; }
  .am-card--feature { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .am-works__grid { grid-template-columns: 1fr; }
  .am-work:not(.am-work--tall) { margin-top: 0; }
  .am-work--tall .am-work__media, .am-work__media { aspect-ratio: 4 / 4.4; }
  .am-specials__tech, .am-specials__social { grid-template-columns: 1fr; }
  .am-about__grid { grid-template-columns: 1fr; }
  .am-about__photo { order: 2; }
  .am-about__photo img { width: min(78vw, 340px); }
  .am-about__copy { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .am-card--row { flex-direction: column; align-items: stretch; }
  .am-card--row img { width: 150px; align-self: center; }
}

/* =====================================================================
   Inner pages
   ===================================================================== */

.am-nav a[aria-current="page"] { color: var(--ash); }
.am-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--fire);
}
.am-mobile-nav a[aria-current="page"] { color: var(--orange); }

.am-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: var(--mute); margin-bottom: 1.25rem; }
.am-crumbs a { text-decoration: none; }
.am-crumbs a:hover { color: var(--ash); }
.am-crumbs [aria-current] { color: var(--ash); }

.am-btn--ghost { background: transparent; color: var(--ash) !important; border: 1.5px solid var(--orange); box-shadow: none; }
.am-btn--ghost:hover { background: var(--orange); color: var(--ink) !important; }
.am-ltr { direction: ltr; unicode-bidi: isolate; }

.am-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.am-checks li { position: relative; padding-inline-start: 1.6rem; color: var(--ash); }
.am-checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: .7rem; height: .4rem; border-inline-start: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- Page hero ---------- */
.am-phero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(7rem, 16vh, 10rem); padding-bottom: clamp(3rem, 8vh, 5rem);
  background: radial-gradient(50% 60% at 20% 55%, rgba(244, 123, 22, .14), transparent 70%), var(--ink);
}
.am-phero .am-embers { z-index: -1; }
.am-phero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.am-phero__title { font: 700 clamp(3.8rem, 8vw, 8.5rem)/.86 var(--f-display); margin: 0 0 1.4rem; }
.am-phero__title .js-split { display: inline-block; }
.am-phero__lead { color: var(--mute); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 44ch; }
.am-phero__jump { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.am-phero__jump a {
  display: inline-block; padding: .45rem 1rem; border-radius: 99px; border: 1px solid var(--line);
  text-decoration: none; font-size: .95rem; transition: border-color .2s, background .2s, color .2s;
}
.am-phero__jump a:hover { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.am-phero__visual { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; perspective: 900px; }
.am-phero__visual img { position: relative; width: 100%; filter: drop-shadow(0 26px 44px rgba(239, 62, 35, .3)); }
.am-phero--short .am-phero__visual { width: min(100%, 360px); }
.am-phero--plain { padding-bottom: clamp(2rem, 5vh, 3rem); }
.am-phero__visual--person { aspect-ratio: auto; align-self: end; margin-bottom: calc(-1 * clamp(3rem, 8vh, 5rem)); }
.am-phero__visual--person::before {
  content: ""; position: absolute; inset: 20% 5% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 123, 22, .4), transparent 65%); filter: blur(10px);
}
.am-phero__visual--person img { filter: none; width: min(100%, 400px); margin-inline: auto; }

/* ---------- Services page ---------- */
.am-sblocks { padding-block: clamp(3rem, 8vh, 5rem); }
.am-sblock {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding-block: clamp(3rem, 9vh, 6rem); border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.am-sblock:nth-child(even) .am-sblock__media { order: 2; }
.am-sblock__media { position: relative; }
.am-sblock__media::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 123, 22, .3), transparent 65%); filter: blur(20px);
}
.am-sblock__media img { position: relative; width: min(100%, 480px); margin-inline: auto; }
.am-sblock__copy { display: grid; gap: 1.1rem; justify-items: start; }
.am-sblock__name {
  font: 700 clamp(3rem, 5.6vw, 5.4rem)/.9 var(--f-display);
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.am-sblock__lead { font-size: 1.2rem; max-width: 42ch; }
.am-sblock__copy h3 { font-size: 1rem; color: var(--gold); margin: .4rem 0 0; }
.am-sblock__fit { color: var(--mute); max-width: 48ch; }
.am-sblock__fit strong { color: var(--ash); }

/* ---------- Closing CTA ---------- */
.am-cta {
  padding-block: clamp(4rem, 12vh, 8rem);
  background: radial-gradient(60% 90% at 85% 30%, rgba(239, 62, 35, .22), transparent 70%), var(--ink-2);
}
.am-cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; }
.am-cta__side p { color: var(--mute); font-size: 1.15rem; max-width: 36ch; margin-bottom: 1.5rem; }
.am-cta__btns { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Works gallery ---------- */
.am-gallery { padding-block: clamp(2rem, 6vh, 4rem) clamp(4rem, 12vh, 8rem); }
.am-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 5vh, 3rem); }
.am-filter__btn {
  font: 500 1rem/1 var(--f-body); color: var(--ash); cursor: pointer;
  padding: .65rem 1.25rem; border-radius: 99px; border: 1px solid var(--line); background: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.am-filter__btn:hover { border-color: var(--orange); }
.am-filter__btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 700; }
.am-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); }
.am-gallery__grid .am-work { margin-top: 0; }
.am-gallery__grid .am-work:nth-child(3n+2) { margin-top: clamp(1.5rem, 6vh, 4rem); }
.am-work__link { display: block; text-decoration: none; }
.am-work__link:hover .am-work__media { border-color: var(--orange); }
.am-work__link:hover .am-work__title { color: var(--orange); }
.am-work__title { transition: color .2s; }
.am-gallery__empty { color: var(--mute); padding: 2rem 0; }

/* ---------- Case study ---------- */
.am-case-hero { padding-top: clamp(7rem, 16vh, 10rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
.am-case-hero__client { font-size: 1.1rem; margin-bottom: .5rem; }
.am-case-hero__title .js-split { display: inline-block; }
.am-case-meta { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 2rem 0 0; }
.am-case-meta dt { color: var(--mute); font-size: .9rem; }
.am-case-meta dd { margin: 0; font-weight: 700; }
.am-case-cover { aspect-ratio: 16 / 8; border-radius: 28px; }
.am-case-numbers { padding-block: clamp(3rem, 8vh, 5rem); }
.am-case-numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.am-num { padding: 1.6rem; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.am-num__value { font: 700 clamp(3rem, 6vw, 5rem)/1 var(--f-display); }
.am-num__label { color: var(--mute); margin-top: .4rem; }
.am-case-story__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.am-case-block h2 { font: 700 clamp(2.2rem, 3.4vw, 3rem)/1 var(--f-display); margin-bottom: .8rem; }
.am-case-gallery { padding-block: clamp(3rem, 8vh, 5rem); }
.am-case-gallery__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; }
.am-case-gallery__grid > * { aspect-ratio: 4 / 5; border-radius: 22px; }
.am-case-quote { padding-block: clamp(2rem, 6vh, 4rem); }
.am-case-quote blockquote { margin: 0; border-inline-start: 3px solid var(--orange); padding-inline-start: 1.5rem; max-width: 60ch; }
.am-case-quote blockquote p { font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.4; }
.am-case-quote footer { color: var(--mute); margin-top: .8rem; }
.am-case-next { padding-bottom: clamp(3rem, 8vh, 5rem); }

/* ---------- Specials page ---------- */
.am-prod-group { padding-block: clamp(3rem, 9vh, 6rem); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.am-prod-group__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 5vh, 3rem); }
.am-prod-group__head p { color: var(--mute); max-width: 40ch; }
.am-toplead {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: 30px; margin-bottom: 1.25rem;
  background: radial-gradient(80% 90% at 100% 0%, rgba(59, 91, 253, .25), transparent 60%), var(--ink-2);
  border: 1px solid rgba(59, 91, 253, .45);
}
.am-toplead__main { display: grid; gap: 1.1rem; align-content: start; }
.am-toplead__main .am-card__brand { justify-content: flex-start; flex-direction: row-reverse; direction: rtl; font-size: 2rem; }
.am-toplead__lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }
.am-toplead__price p { color: var(--mute); }
.am-toplead__price strong { color: var(--ash); }
.am-toplead__features { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; align-content: center; }
.am-toplead__features li {
  padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 243, 232, .04); border: 1px solid var(--line);
}
.am-toplead__features li::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3b5bfd; margin-inline-end: .7rem; vertical-align: middle;
}
.am-prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.am-prod .am-btn { align-self: flex-start; margin-top: auto; }
.am-prod .am-checks { margin-block: .3rem .6rem; }
.am-prod--img img { width: 150px; margin-bottom: -.5rem; }

/* ---------- About page ---------- */
.am-story { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.am-story__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); }
.am-story__text { display: grid; gap: 1.2rem; font-size: 1.15rem; }
.am-story__text p { max-width: 58ch; }
.am-podcast {
  display: flex; align-items: center; gap: 1rem; text-decoration: none; margin-top: .6rem;
  padding: 1rem 1.25rem; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line);
  transition: border-color .2s;
}
.am-podcast:hover { border-color: var(--orange); }
.am-podcast span:last-child { color: var(--mute); font-size: 1rem; }
.am-podcast strong { color: var(--ash); }
.am-podcast__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--fire); color: var(--ink); }
.am-values { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.am-values .am-display { margin-bottom: clamp(2rem, 6vh, 3.5rem); }
.am-values__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.am-value { padding: 1.6rem; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.am-value h3 { font: 700 clamp(1.9rem, 2.4vw, 2.4rem)/1 var(--f-display); margin-bottom: .8rem; color: var(--gold); }
.am-value p { color: var(--mute); }

/* ---------- Blog ---------- */
.am-blog { padding-bottom: clamp(4rem, 12vh, 8rem); }
.am-post__link { display: grid; gap: .55rem; text-decoration: none; }
.am-post__media { aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--ink-2); margin-bottom: .4rem; }
.am-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.am-post__link:hover .am-post__media img { transform: scale(1.04); }
.am-post__link:hover .am-post__title { color: var(--orange); }
.am-post__noimg { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(244, 123, 22, .3), transparent 65%), var(--ink-2); }
.am-post__noimg img { width: 72px; height: auto; object-fit: contain; }
.am-post__date { color: var(--mute); font-size: .9rem; }
.am-post__title { font-size: 1.2rem; line-height: 1.35; font-weight: 700; transition: color .2s; }
.am-post__excerpt { color: var(--mute); font-size: .98rem; }
.am-post--feature { margin-bottom: clamp(2.5rem, 7vh, 4rem); }
.am-post--feature .am-post__link { grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.am-post--feature .am-post__media { margin: 0; border-radius: 26px; }
.am-post--feature .am-post__body { display: grid; gap: .9rem; justify-items: start; }
.am-post--feature .am-post__title { font: 700 clamp(2.4rem, 4vw, 3.8rem)/1 var(--f-display); }
.am-blog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem); }

/* ---------- Article ---------- */
.am-article__head { padding-top: clamp(7rem, 16vh, 10rem); max-width: 900px; }
.am-article__title { font: 700 clamp(2.8rem, 5.6vw, 5.2rem)/.95 var(--f-display); margin-bottom: 1.4rem; }
.am-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: var(--mute); }
.am-article__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--ink-3); }
.am-article__cover { max-width: 1100px; margin-block: clamp(2rem, 6vh, 3.5rem); }
.am-article__cover img { width: 100%; border-radius: 26px; }
.am-prose { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; font-size: 1.15rem; line-height: 1.85; }
.am-prose p { margin: 0 0 1.3em; }
.am-prose h2 { font: 700 clamp(2rem, 3.4vw, 2.8rem)/1.05 var(--f-display); margin: 1.6em 0 .6em; color: var(--gold); }
.am-prose a { color: var(--orange); }
.am-prose strong { color: #fff; }
.am-article__foot { max-width: 720px; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding-block: 2rem 4rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.am-article__foot p { color: var(--mute); }
.am-related { padding-block: clamp(3rem, 9vh, 6rem); border-top: 1px solid var(--line); }
.am-related .am-display { margin-bottom: 2rem; }

/* ---------- Contact page ---------- */
.am-contact--page { padding-top: clamp(7rem, 16vh, 10rem); }
.am-contact--page .am-contact__grid { align-items: start; }
.am-contact--page h1 .js-split { display: block; }
.am-next__title { font-size: 1.1rem; margin: 2.5rem 0 1rem; color: var(--gold); }
.am-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.am-next li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: center; }
.am-next .am-step__num { width: 2.6rem; height: 2.6rem; font-size: 1.3rem; }
.am-next p { color: var(--mute); margin: 0; }

/* ---------- 404 ---------- */
.am-404 { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: center; padding-block: 7rem 4rem; }
.am-404 .am-embers { z-index: -1; }
.am-404__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.am-404__inner img { width: min(100%, 440px); justify-self: center; }
.am-404__inner > div { display: grid; gap: 1.2rem; justify-items: start; }
.am-404__inner p { color: var(--mute); max-width: 44ch; }
.am-404__code { font: 700 clamp(5rem, 12vw, 10rem)/.8 var(--f-display); background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.am-404__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* ---------- Footer (multi-column) ---------- */
.am-footer { padding-block: clamp(3rem, 8vh, 4.5rem) 1.5rem; }
.am-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.am-footer__brand { display: grid; gap: 1rem; align-content: start; }
.am-footer__brand p { max-width: 30ch; }
.am-footer__brand .am-header__brand { color: var(--ash); }
.am-footer__col { display: grid; gap: .55rem; align-content: start; }
.am-footer__col h2 { font-size: 1rem; color: var(--ash); margin: 0 0 .3rem; }
.am-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.am-footer__legal nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.am-wa {
  position: fixed; z-index: 80; inset-block-end: 20px; inset-inline-end: 20px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.am-wa:hover { transform: scale(1.08); }

/* ---------- Real case studies ---------- */
/* Ad-account screenshots sit on a light "screen" so their white UI does not glare on the dark page. */
.am .am-work__media--shot,
.am-work--tall .am-work__media--shot {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  padding: clamp(.6rem, 1.2vw, 1rem);
  background: linear-gradient(160deg, #fff, #eef0f6);
  border: 1px solid var(--line);
  overflow: hidden;
}
.am-work__media--shot img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: transform .6s var(--ease); }
.am-work__link:hover .am-work__media--shot img { transform: scale(1.03); }
.am-work__metrics { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.am-work__metrics li { display: grid; gap: .1rem; padding: .55rem .6rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.am-work__metrics strong { font: 700 1.45rem/1 var(--f-display); color: var(--orange); direction: ltr; text-align: right; }
.am-work__metrics span { font-size: .8rem; color: var(--mute); }
.am-work--tall .am-work__metrics strong { font-size: 1.9rem; }
.am-disclaimer { color: var(--mute); font-size: .88rem; margin-top: 2rem; max-width: 80ch; }

.am-case-shot { max-width: 860px; margin: 0 auto; padding: clamp(.8rem, 2vw, 1.5rem); border-radius: 26px; background: linear-gradient(160deg, #fff, #eef0f6); }
.am-case-shot img { width: 100%; border-radius: 10px; }
.am-case-shot figcaption { color: #4a4d68; font-size: .95rem; margin-top: .9rem; }
.am-case-numbers .am-num__value { color: var(--orange); direction: ltr; text-align: right; }
.am-case-next { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: clamp(2.5rem, 7vh, 4rem); }
.am-case-next__link { display: grid; gap: .2rem; text-decoration: none; font-weight: 700; }
.am-case-next__link span { color: var(--mute); font-weight: 400; font-size: .9rem; }
.am-case-next__link:hover { color: var(--orange); }
.am-case-next__link:last-child { text-align: left; }

/* ---------- Guy's texts ---------- */
.am-about__title { font-size: clamp(2.8rem, 5vw, 5rem); }
.am-about__punch { color: var(--ash) !important; font-weight: 700; font-size: 1.25rem !important; border-inline-start: 3px solid var(--orange); padding-inline-start: 1rem; }
.am-about__copy .am-btn { justify-self: start; }
.am-story__side { position: sticky; top: 16vh; align-self: start; }
.am-story__lead { font-size: clamp(1.3rem, 2vw, 1.6rem) !important; line-height: 1.5; color: var(--ash); }
.am-story__text p { color: var(--mute); }
.am-story__text p strong { color: var(--ash); }
.am-story__close {
  font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display) !important;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent !important;
  margin-top: .6rem;
}

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1000px) {
  .am-values__grid { grid-template-columns: 1fr 1fr; }
  .am-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .am-phero__grid { grid-template-columns: 1fr; }
  .am-phero__visual { width: min(70vw, 320px); order: -1; }
  .am-phero--short .am-phero__visual { width: min(60vw, 260px); }
  .am-phero__visual--person { order: 2; margin-bottom: calc(-1 * clamp(3rem, 8vh, 5rem)); width: min(80vw, 340px); }
  .am-sblock, .am-toplead, .am-story__grid, .am-cta__inner, .am-404__inner { grid-template-columns: 1fr; }
  .am-sblock:nth-child(even) .am-sblock__media { order: 0; }
  .am-sblock__media img { width: min(70vw, 320px); }
  .am-gallery__grid, .am-blog__grid { grid-template-columns: 1fr 1fr; }
  .am-gallery__grid .am-work:nth-child(3n+2) { margin-top: 0; }
  .am-case-numbers__grid, .am-case-story__grid { grid-template-columns: 1fr; }
  .am-case-gallery__grid { grid-template-columns: 1fr 1fr; }
  .am-case-gallery__grid > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .am-case-cover { aspect-ratio: 4 / 3; }
  .am-prod-row { grid-template-columns: 1fr; }
  .am-post--feature .am-post__link { grid-template-columns: 1fr; }
  .am-404__inner img { width: min(60vw, 260px); }
  .am-story__side { position: static; }
  .am-case-next { grid-template-columns: 1fr 1fr; }
  .am-case-next .am-link { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (max-width: 560px) {
  .am-gallery__grid, .am-blog__grid, .am-values__grid { grid-template-columns: 1fr; }
  .am-footer__grid { grid-template-columns: 1fr; }
  .am-wa { width: 52px; height: 52px; inset-block-end: 14px; inset-inline-end: 14px; }
  /* On phones the button waits until the visitor scrolls, so it never covers the first-screen buttons. */
  .am-wa { opacity: 0; pointer-events: none; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease); }
  .am-wa.is-on { opacity: 1; pointer-events: auto; transform: none; }
}

/* ---------- Reduced motion: scroll scenes stay, ambient motion stops ---------- */
.am-reduced .am-marquee { overflow-x: auto; scrollbar-width: none; }
.am-reduced .am-marquee__track li:hover { transform: none; }

/* ---------- Static fallback (scripts failed to load) ---------- */
.am-static .am-loader { display: none; }
.am-static .am-hero { height: auto; overflow: visible; }
.am-static .am-hero__stage { height: 100svh; }
.am-static .am-hero__ring circle { stroke-dashoffset: 0; }
.am-static .am-gate { position: relative; clip-path: none; visibility: visible; padding-block: 5rem; }
.am-static .am-word, .am-static .am-svc { opacity: 1; }

/* ---------- WordPress admin bar (logged-in editors only) ---------- */
.admin-bar .am-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .am-header { top: 46px; } }
