/*
Theme Name: Awesomate
Theme URI: https://awesomate.co
Author: Awesomate
Description: Marketing site for Awesomate — workflow automation builds in n8n. Ported from the Awesomate Hub design system.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: awesomate
*/

/* ---------------------------------------------------------------
   Tokens — mirrored from the Awesomate Hub design system
   --------------------------------------------------------------- */
:root {
  --brand-primary: #e9484d;
  --brand-secondary: #ef9563;
  --brand-navy: #0f1128;
  --brand-blue: #1e63e9;
  --brand-gradient: linear-gradient(135deg, #e9484d 0%, #ef9563 100%);
  --success: #2e7d32;
  --cat-purple: #8b5cf6;
  --cat-green: #34a363;

  --radius: 12px;
  --radius-button: 10px;
  --radius-chip: 9999px;

  --font-heading: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Surface scale used across the dark site */
  --surface-1: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .05);
  --hairline: rgba(255, 255, 255, .09);
  --hairline-strong: rgba(255, 255, 255, .14);
  --ink: #fff;
  --ink-70: rgba(255, 255, 255, .7);
  --ink-60: rgba(255, 255, 255, .6);
  --ink-55: rgba(255, 255, 255, .55);
  --ink-45: rgba(255, 255, 255, .45);
  --ink-38: rgba(255, 255, 255, .38);

  --shell: 1240px;
  --gutter: 32px;
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--brand-navy);
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-secondary); text-decoration: none; }
a:hover { color: var(--brand-primary); }
::selection { background: var(--brand-primary); color: #fff; }

input, textarea, button, select { font-family: var(--font-body); }

img { max-width: 100%; }

.am-shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.am-narrow { max-width: 1000px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.am-skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 999;
  background: #fff;
  color: var(--brand-navy);
  padding: 10px 18px;
  border-radius: var(--radius-button);
  font-weight: 600;
}

/* Decorative grid wash behind everything */
.am-grid-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 30%, transparent 78%);
  z-index: 0;
}

/* ---------------------------------------------------------------
   Motion
   --------------------------------------------------------------- */
@keyframes am-rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
@keyframes am-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes am-orb { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4%,-6%,0) scale(1.12); } }
@keyframes am-orb2 { 0%, 100% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(-6%,5%,0) scale(.92); } }
@keyframes am-dash { to { stroke-dashoffset: -24; } }
@keyframes am-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes am-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

.am-rise { opacity: 0; animation: am-rise .9s cubic-bezier(.16,1,.3,1) forwards; }
.am-d1 { animation-delay: .05s; } .am-d2 { animation-delay: .12s; }
.am-d3 { animation-delay: .22s; } .am-d4 { animation-delay: .32s; }
.am-d5 { animation-delay: .42s; } .am-d6 { animation-delay: .52s; }
.am-d7 { animation-delay: .66s; }

/* JS adds .am-reveal-ready; without JS the section is simply visible */
[data-reveal].am-reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
[data-reveal].am-revealed { opacity: 1; transform: none; }

.am-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  animation: am-orb 14s ease-in-out infinite;
}
.am-orb--alt { animation: am-orb2 18s ease-in-out infinite; filter: blur(50px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .am-rise { opacity: 1; }
  [data-reveal].am-reveal-ready { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   Typography helpers
   --------------------------------------------------------------- */
.am-kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 18px;
}

.am-h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: .94;
  letter-spacing: -.04em;
  margin: 0;
}

.am-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -.03em;
  margin: 0;
}

.am-lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
  text-wrap: pretty;
}

.am-gradient-text {
  background: linear-gradient(115deg, #e9484d 10%, #ef9563 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.am-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-button);
  cursor: pointer;
  border: none;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s, background .25s;
}

.am-btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 34px rgba(233, 72, 77, .38);
}
.am-btn--primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(233, 72, 77, .55);
}

.am-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}
.am-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: var(--surface-2);
}

.am-btn--white { background: #fff; color: var(--brand-navy); }
.am-btn--white:hover { color: var(--brand-navy); transform: translateY(-3px); }

.am-btn--sm { font-size: 14px; padding: 11px 22px; }

.am-btn:focus-visible,
.am-navlink:focus-visible,
.am-faq__q:focus-visible,
.am-quiz__opt:focus-visible,
.am-chip-btn:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.am-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(15, 17, 40, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.am-header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.am-logo { display: flex; align-items: center; gap: 10px; }
.am-logo img { height: 26px; width: auto; display: block; }

.am-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.am-navlink {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .58);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-chip);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.am-navlink:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.am-navlink.is-current { color: #fff; background: rgba(255, 255, 255, .08); }

.am-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: #fff;
  border-radius: var(--radius-button);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .am-header__inner { flex-wrap: wrap; padding: 14px var(--gutter); }
  .am-nav-toggle { display: block; order: 2; }
  .am-header__cta { order: 3; }
  .am-nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    display: none;
    padding-top: 10px;
  }
  .am-nav.is-open { display: flex; }
  .am-navlink { text-align: left; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .am-header__cta { display: none; }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.am-hero { position: relative; padding: 120px var(--gutter) 80px; overflow: hidden; }
.am-hero__inner { max-width: var(--shell); margin: 0 auto; position: relative; }

.am-hero__orb-1 { top: -260px; left: 8%; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(233,72,77,.5) 0%, rgba(233,72,77,0) 65%); }
.am-hero__orb-2 { top: -180px; right: 2%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(239,149,99,.38) 0%, rgba(239,149,99,0) 65%); }

.am-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-chip);
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
}
.am-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: am-blink 2.2s ease-in-out infinite;
  flex: 0 0 auto;
}

.am-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(52px, 8.6vw, 138px);
  line-height: .9;
  letter-spacing: -.045em;
  margin: 26px 0 0;
  max-width: 15ch;
}
.am-hero__title span { display: block; }

.am-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-end;
  margin-top: 44px;
}
.am-hero__row p { max-width: 44ch; margin: 0; }
.am-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Flow diagram */
.am-flow {
  margin-top: 76px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface-1);
  padding: 26px 28px;
}
.am-flow__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.am-flow__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.am-flow__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-45);
}
.am-flow__status .am-dot { animation-duration: 1.6s; width: 6px; height: 6px; }

.am-flow__track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
}
.am-flow__cell { display: flex; align-items: center; flex: 0 0 auto; }
.am-flow__node {
  min-width: 158px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.am-flow__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-bottom: 10px;
  animation: am-pulse 2.4s ease-in-out infinite;
}
.am-flow__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.am-flow__sub { font-size: 12px; color: var(--ink-45); margin-top: 3px; }
.am-flow__arrow { flex: 0 0 auto; }
.am-flow__arrow line { animation: am-dash 1.1s linear infinite; }

/* ---------------------------------------------------------------
   Marquee
   --------------------------------------------------------------- */
.am-marquee {
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}
.am-marquee__track {
  display: flex;
  width: max-content;
  animation: am-marquee 34s linear infinite;
}
.am-marquee__item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 17px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: rgba(255, 255, 255, .32);
  white-space: nowrap;
}
.am-marquee__item span { color: var(--brand-primary); }

/* ---------------------------------------------------------------
   Generic section + cards
   --------------------------------------------------------------- */
.am-section { padding: 110px var(--gutter); }
.am-section--tight { padding: 0 var(--gutter) 110px; }
.am-section--head { padding: 96px var(--gutter) 70px; position: relative; overflow: hidden; }

.am-split {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .am-split { grid-template-columns: 1fr; gap: 44px; } }

.am-card {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  border-radius: 14px;
  padding: 26px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s;
}

.am-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.am-grid-auto--wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Pain points */
.am-pains { display: flex; flex-direction: column; gap: 14px; }
.am-pain { padding: 22px 24px; }
.am-pain:hover {
  border-color: rgba(233, 72, 77, .45);
  transform: translateX(6px);
  background: rgba(233, 72, 77, .06);
}
.am-pain__row { display: flex; gap: 16px; align-items: baseline; }
.am-pain__num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-primary);
  min-width: 28px;
}
.am-pain__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}
.am-pain__body { font-size: 14.5px; line-height: 1.6; color: var(--ink-55); }

/* Steps */
.am-step {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.am-step:hover { transform: translateY(-6px); border-color: rgba(239, 149, 99, .45); }
.am-step__num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.am-step__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}
.am-step__body { font-size: 14.5px; line-height: 1.6; color: var(--ink-55); }
.am-step__time { font-size: 12.5px; color: var(--ink-38); margin-top: 12px; }

.am-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Big CTA panel */
.am-cta-panel {
  max-width: var(--shell);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(233, 72, 77, .28);
  background: linear-gradient(140deg, rgba(233,72,77,.16), rgba(239,149,99,.06) 60%, rgba(255,255,255,.02));
  padding: 72px 56px;
}
.am-cta-panel__orb {
  bottom: -200px; right: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(239,149,99,.4), transparent 65%);
  filter: blur(30px);
  animation: am-orb 16s ease-in-out infinite;
}
.am-cta-panel__inner { position: relative; max-width: 640px; }
.am-cta-panel h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.am-cta-panel p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
  margin: 0 0 30px;
  max-width: 48ch;
}
@media (max-width: 620px) { .am-cta-panel { padding: 48px 26px; } }

/* ---------------------------------------------------------------
   Services
   --------------------------------------------------------------- */
.am-cap:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 72, 77, .45);
  background: rgba(233, 72, 77, .05);
}
.am-cap { padding: 28px; }
.am-cap__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}
.am-cap__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 9px;
}
.am-cap__body { font-size: 14.5px; line-height: 1.65; color: var(--ink-55); }

.am-inout {
  max-width: var(--shell);
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
.am-inout__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.am-inout__col { padding: 44px 40px; }
.am-inout__col--in {
  background: var(--surface-1);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.am-inout__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 22px;
}
.am-list { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; }
.am-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.am-list--muted li { color: rgba(255, 255, 255, .5); }
.am-tick { color: var(--success); font-weight: 700; flex: 0 0 auto; }
.am-cross { color: var(--brand-primary); font-weight: 700; flex: 0 0 auto; }

.am-engagement {
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface-1);
}
.am-engagement--featured {
  border-color: rgba(233, 72, 77, .4);
  background: linear-gradient(140deg, rgba(233,72,77,.12), rgba(255,255,255,.02));
}
.am-engagement__kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.am-engagement__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
}
.am-engagement__body { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.58); flex: 1; }
.am-engagement__best {
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

/* ---------------------------------------------------------------
   Team
   --------------------------------------------------------------- */
.am-team-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, .9fr);
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) { .am-team-hero { grid-template-columns: 1fr; gap: 36px; } }

.am-team-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1040px) { .am-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .am-team-grid { grid-template-columns: minmax(0, 1fr); } }

.am-member {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.am-member:hover { transform: translateY(-8px); }
.am-member--red:hover { border-color: rgba(233, 72, 77, .45); }
.am-member--orange:hover { border-color: rgba(239, 149, 99, .45); }
.am-member--blue:hover { border-color: rgba(30, 99, 233, .45); }
.am-member--green:hover { border-color: rgba(46, 125, 50, .45); }

.am-member__media { position: relative; aspect-ratio: 4 / 5; background: #151735; }
.am-member__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.am-member__glyph {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(15, 17, 40, .82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.am-member__body { padding: 24px; }
.am-member__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
}
.am-member__role {
  font-size: 13.5px;
  color: var(--brand-secondary);
  margin: 5px 0 14px;
  font-weight: 600;
}
.am-member__bio { font-size: 14.5px; line-height: 1.6; color: var(--ink-55); margin: 0 0 16px; }
.am-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.am-tag {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-chip);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-60);
}

.am-team-cta {
  max-width: var(--shell);
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  padding: 52px 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}
.am-team-cta h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.am-team-cta p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .58);
  margin: 0 0 26px;
  max-width: 44ch;
}
.am-dash-svg line, .am-dash-svg path { animation: am-dash 1.4s linear infinite; }
.am-pulse-node { transform-box: fill-box; transform-origin: center; animation: am-pulse 2.6s ease-in-out infinite; }

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.am-faq-list { display: flex; flex-direction: column; gap: 10px; }
.am-faq {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .03);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.am-faq.is-open {
  border-color: rgba(233, 72, 77, .4);
  background: rgba(233, 72, 77, .06);
}
.am-faq__q {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
}
.am-faq__plus {
  font-size: 22px;
  color: var(--brand-primary);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  flex: 0 0 auto;
  line-height: 1;
}
.am-faq.is-open .am-faq__plus { transform: rotate(45deg); }
.am-faq__a {
  padding: 0 26px 26px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
  max-width: 70ch;
}
.am-faq:not(.is-open) .am-faq__a { display: none; }

/* ---------------------------------------------------------------
   Quiz
   --------------------------------------------------------------- */
.am-quiz-section {
  padding: 72px var(--gutter) 110px;
  position: relative;
  overflow: hidden;
  min-height: 78vh;
}
.am-quiz-shell { max-width: 860px; margin: 0 auto; position: relative; }

.am-quiz__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
}
.am-quiz__meta strong {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.am-quiz__bar {
  height: 3px;
  background: var(--hairline);
  border-radius: var(--radius-chip);
  overflow: hidden;
  margin-bottom: 52px;
}
.am-quiz__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e9484d, #ef9563);
  border-radius: var(--radius-chip);
  transition: width .5s cubic-bezier(.16,1,.3,1);
}
.am-quiz__q {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.03;
  letter-spacing: -.035em;
  margin: 0 0 12px;
}
.am-quiz__sub { font-size: 16.5px; color: var(--ink-55); margin: 0 0 38px; }
.am-quiz__opts { display: flex; flex-direction: column; gap: 12px; }
.am-quiz__opt {
  text-align: left;
  background: var(--surface-1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 22px 26px;
  cursor: pointer;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s;
}
.am-quiz__opt:hover {
  transform: translateX(8px);
  border-color: rgba(233, 72, 77, .55);
  background: rgba(233, 72, 77, .08);
}
.am-quiz__opt b {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}
.am-quiz__opt small { display: block; font-size: 14px; color: rgba(255, 255, 255, .5); }
.am-quiz__opt i { color: var(--brand-primary); font-size: 20px; font-style: normal; }
.am-quiz__back {
  margin-top: 28px;
  background: transparent;
  border: none;
  color: var(--ink-45);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 0;
}
.am-quiz__back:hover { color: #fff; }

.am-result { border-radius: 20px; padding: 52px 46px; border: 1px solid var(--hairline-strong); }
.am-result--strong {
  border-color: rgba(46, 125, 50, .45);
  background: linear-gradient(140deg, rgba(46,125,50,.14), rgba(255,255,255,.02));
}
.am-result--maybe {
  border-color: rgba(239, 149, 99, .45);
  background: linear-gradient(140deg, rgba(239,149,99,.13), rgba(255,255,255,.02));
}
.am-result--no { background: var(--surface-1); }
.am-result__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-chip);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 24px;
}
.am-result--strong .am-result__chip { background: rgba(46,125,50,.2); color: #7fd383; }
.am-result--maybe .am-result__chip { background: rgba(239,149,99,.2); color: var(--brand-secondary); }
.am-result--no .am-result__chip { background: rgba(255,255,255,.1); color: var(--ink-70); }
.am-result__headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.am-result__body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
  margin: 0 0 30px;
  max-width: 56ch;
}
.am-result__notes { display: flex; flex-direction: column; gap: 11px; margin-bottom: 36px; padding: 0; list-style: none; }
.am-result__notes li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
}
.am-result__notes i { color: var(--brand-secondary); font-style: normal; flex: 0 0 auto; }
.am-result__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .am-result { padding: 36px 24px; } }

/* ---------------------------------------------------------------
   Booking form
   --------------------------------------------------------------- */
.am-book { padding: 80px var(--gutter) 110px; position: relative; overflow: hidden; }
.am-book__grid {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: start;
}
.am-book__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0 0 20px;
}
.am-book__lede {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-60);
  margin: 0 0 34px;
  max-width: 44ch;
}
.am-promises { display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; margin: 0; }
.am-promises li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}
.am-quiz-carry {
  margin-top: 32px;
  border: 1px solid rgba(239, 149, 99, .35);
  background: rgba(239, 149, 99, .08);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
}

.am-form-card {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  border-radius: 20px;
  padding: 36px;
}
.am-form { display: flex; flex-direction: column; gap: 18px; }
.am-form__title { font-family: var(--font-heading); font-weight: 600; font-size: 20px; }
.am-field { display: flex; flex-direction: column; gap: 7px; }
.am-field > span { font-size: 13px; font-weight: 600; color: var(--ink-60); }
.am-field input,
.am-field textarea {
  background: var(--surface-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-button);
  padding: 13px 15px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .25s, background .25s;
  width: 100%;
}
.am-field textarea { resize: vertical; min-height: 108px; }
.am-field input:focus,
.am-field textarea:focus {
  border-color: var(--brand-primary);
  background: rgba(233, 72, 77, .06);
}
.am-field input::placeholder,
.am-field textarea::placeholder { color: rgba(255, 255, 255, .32); }

.am-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.am-chip-btn {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-60);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-chip);
  cursor: pointer;
  transition: all .25s;
}
.am-chip-btn.is-active {
  background: rgba(233, 72, 77, .15);
  border-color: rgba(233, 72, 77, .6);
  color: #fff;
}
.am-form__note { font-size: 12.5px; color: var(--ink-38); text-align: center; }

.am-form__error {
  border: 1px solid rgba(211, 47, 47, .5);
  background: rgba(211, 47, 47, .12);
  color: #ffb4b4;
  border-radius: var(--radius-button);
  padding: 12px 15px;
  font-size: 14px;
}

.am-sent { text-align: center; padding: 40px 10px; }
.am-sent__mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(46, 125, 50, .15);
  border: 1px solid rgba(46, 125, 50, .5);
  color: #5cc45f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 22px;
}
.am-sent__title { font-family: var(--font-heading); font-weight: 600; font-size: 26px; margin-bottom: 10px; }
.am-sent p { font-size: 15px; line-height: 1.6; color: var(--ink-55); margin: 0 0 26px; }

/* Honeypot — visually gone, still reachable to bots */
.am-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.am-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 54px var(--gutter) 40px;
}
.am-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.am-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.am-footer__brand img { height: 24px; width: auto; align-self: flex-start; display: block; }
.am-footer__tagline { font-size: 13.5px; color: rgba(255, 255, 255, .4); }
.am-footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.am-footer__nav a {
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  transition: color .2s;
}
.am-footer__nav a:hover { color: #fff; }

/* ---------------------------------------------------------------
   Editor / fallback content
   --------------------------------------------------------------- */
.am-prose { max-width: 70ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-70); }
.am-prose h1, .am-prose h2, .am-prose h3 { font-family: var(--font-heading); font-weight: 600; color: #fff; }
.am-prose a { text-decoration: underline; }

main { position: relative; z-index: 1; }

/* ---------------------------------------------------------------
   Blog — index cards + single article
   --------------------------------------------------------------- */

/* Index grid */
.am-postgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.am-postcard {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s;
}
.am-postcard:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 72, 77, .4);
  background: var(--surface-2);
}
.am-postcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.am-postcard__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(233,72,77,.16), rgba(239,149,99,.08));
  border-bottom: 1px solid var(--hairline);
}
.am-postcard__image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.am-postcard:hover .am-postcard__image { transform: scale(1.03); }
.am-postcard__placeholder {
  display: block; width: 100%; height: 100%;
  background: var(--brand-gradient); opacity: .22;
}
.am-postcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.am-postcard__meta {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-38); margin: 0;
}
.am-postcard__title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 21px; line-height: 1.25; letter-spacing: -.02em;
  color: #fff; margin: 0;
  text-wrap: balance;
}
.am-postcard__excerpt { font-size: 15px; line-height: 1.6; color: var(--ink-55); margin: 0; }
.am-postcard__more {
  margin-top: auto; padding-top: 6px;
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--brand-secondary);
}
.am-postcard__more::after { content: " \2192"; transition: transform .3s; display: inline-block; }
.am-postcard:hover .am-postcard__more::after { transform: translateX(4px); }

/* Featured (first) card spans the full row on wide screens */
@media (min-width: 900px) {
  .am-postcard--featured { grid-column: 1 / -1; }
  .am-postcard--featured .am-postcard__link { flex-direction: row; }
  .am-postcard--featured .am-postcard__media { flex: 0 0 55%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--hairline); }
  .am-postcard--featured .am-postcard__body { padding: 40px 44px; justify-content: center; }
  .am-postcard--featured .am-postcard__title { font-size: clamp(26px, 2.6vw, 34px); }
  .am-postcard--featured .am-postcard__excerpt { font-size: 16.5px; }
}

/* Pagination */
.am-pagination { margin-top: 42px; }
.am-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.am-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: 10px;
  font-family: var(--font-heading); font-size: 14px;
  color: var(--ink-60); text-decoration: none; transition: all .25s;
}
.am-pagination .page-numbers:hover { color: #fff; border-color: var(--hairline-strong); background: var(--surface-1); }
.am-pagination .page-numbers.current { background: var(--brand-gradient); border-color: transparent; color: #fff; }
.am-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---- Single article ---- */
.am-post__head { padding: 90px var(--gutter) 0; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; }
.am-post__head .am-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.am-post__backlink { color: var(--brand-secondary); text-decoration: none; }
.am-post__backlink:hover { text-decoration: underline; }
.am-post__sep { color: var(--ink-38); }
.am-post__title {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.04;
  max-width: 24ch;
  text-wrap: balance;
}
.am-post__lede { margin-top: 24px; max-width: 62ch; }

.am-post__media { padding: 46px var(--gutter) 0; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; }
.am-post__figure { margin: 0; }
.am-post__image {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--hairline);
  border-radius: 18px;
}
.am-post__caption { margin-top: 12px; font-size: 13px; color: var(--ink-38); }

.am-post__body { padding: 54px var(--gutter) 0; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; }

/* Article prose — wider, more air than the generic .am-prose */
.am-prose--article { max-width: 72ch; font-size: 17.5px; line-height: 1.78; color: var(--ink-70); }
.am-prose--article > * + * { margin-top: 26px; }
.am-prose--article h2 {
  font-family: var(--font-heading); font-weight: 600; color: #fff;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em;
  margin-top: 54px; text-wrap: balance;
}
.am-prose--article h3 {
  font-family: var(--font-heading); font-weight: 600; color: #fff;
  font-size: 21px; line-height: 1.3; margin-top: 40px;
}
.am-prose--article p { margin-bottom: 0; }
.am-prose--article strong { color: #fff; font-weight: 600; }
.am-prose--article a { color: var(--brand-secondary); text-decoration: underline; text-underline-offset: 3px; }
.am-prose--article a:hover { color: #fff; }
.am-prose--article ul, .am-prose--article ol { padding-left: 24px; }
.am-prose--article li + li { margin-top: 12px; }
.am-prose--article li::marker { color: var(--brand-primary); }
.am-prose--article img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hairline); }
.am-prose--article blockquote {
  margin: 40px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--brand-primary);
  font-family: var(--font-heading); font-size: 20px; line-height: 1.5; color: #fff;
}
.am-prose--article blockquote p { margin: 0; }
.am-prose--article hr { border: 0; border-top: 1px solid var(--hairline); margin: 48px 0; }
.am-prose--article code {
  font-size: .9em; padding: 2px 7px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--hairline);
}
.am-prose--article pre {
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 20px; overflow-x: auto;
}
.am-prose--article pre code { background: none; border: 0; padding: 0; }
.am-prose--article figure { margin: 36px 0; }
.am-prose--article figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-38); }

.am-post__tags { margin-top: 44px; display: flex; gap: 10px; flex-wrap: wrap; }
.am-post__tags a {
  font-family: var(--font-heading); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-chip);
  border: 1px solid var(--hairline); color: var(--ink-60); text-decoration: none; transition: all .25s;
}
.am-post__tags a:hover { color: #fff; border-color: rgba(233, 72, 77, .45); }

.am-post__foot { padding: 70px var(--gutter) 110px; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; }
.am-post__cta {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  border-radius: 22px;
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.am-post__cta .am-h2 { font-size: clamp(24px, 2.4vw, 32px); }

.am-post__nav { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.am-post__navlink {
  border: 1px solid var(--hairline); background: var(--surface-1);
  border-radius: 16px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  color: inherit; text-decoration: none; transition: all .3s;
}
.am-post__navlink:hover { border-color: rgba(233, 72, 77, .4); background: var(--surface-2); transform: translateY(-3px); }
.am-post__navlink--next { text-align: right; }
.am-post__navlabel {
  font-family: var(--font-heading); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-secondary);
}
.am-post__navtitle { font-family: var(--font-heading); font-size: 16.5px; line-height: 1.35; color: #fff; }

@media (max-width: 780px) {
  .am-post__head { padding-top: 60px; }
  .am-post__nav { grid-template-columns: 1fr; }
  .am-post__navlink--next { text-align: left; }
  .am-post__cta { padding: 30px 26px; }
  .am-prose--article { font-size: 16.5px; }
}
