/* ==========================================================================
   TechReady Australia — hero page
   Palette: deep navy + electric teal (brand: #0A2A43 / #00C2A8)
   ========================================================================== */

:root {
  --navy-950: #070f1d;
  --navy-900: #0a1426;
  --navy-800: #0f1c33;

  --teal-400: #22d3ee;
  --teal-500: #00bcd4;

  --white: #ffffff;
  --ink-soft: #dbe4f0;
  --muted: #b9c6d8;
  --muted-dim: #93a4bd;

  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);

  --container: 1180px;
  --radius-lg: 24px;
  --radius-md: 14px;

  --font-display: "Poppins", "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

h1, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--teal-500);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible { top: 0; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 38, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1;
  text-decoration: none;
  color: var(--white);
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  filter: drop-shadow(0 6px 16px rgba(34, 211, 238, 0.22));
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.brand:hover .brand__mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 20px rgba(34, 211, 238, 0.34));
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.brand__region {
  margin-top: 0.42rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal-400);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.9);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #c8d3e2;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  background: var(--teal-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible { color: var(--white); }

.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--ghost {
  border: 1.5px solid var(--teal-500);
  color: var(--teal-400);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: var(--navy-950);
}

.btn:active { transform: translateY(1px); }

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* --------------------------------------------------------- nav toggle -- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(4.5rem, 9vw, 7.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.chip__icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--teal-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.1vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__line { display: block; }

.accent { color: var(--teal-400); }

.hero__lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.125rem);
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- media -- */

.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 620px;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.75);
}

/* certificate badge — overlaps the photo's bottom edge */

.badge {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: -1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(8, 17, 32, 0.92);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--teal-400);
}

.badge__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.badge__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d3e2;
}

.badge__value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-400);
}

.badge__check {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  color: var(--teal-400);
}

.badge__check svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------ sections -- */

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

.section--alt {
  background: var(--navy-950);
  border-block: 1px solid var(--border);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section__lede {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}

.section__lede + .section__lede { margin-top: 0.9rem; }

/* -------------------------------------------------------------- buttons -- */

.btn--solid {
  background: var(--teal-500);
  border: 1.5px solid var(--teal-500);
  color: var(--navy-950);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--teal-400);
  border-color: var(--teal-400);
  color: var(--navy-950);
}

.btn--quiet {
  padding-inline: 0.25rem;
  color: var(--ink-soft);
}

.btn--quiet:hover,
.btn--quiet:focus-visible { color: var(--white); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------- credentials -- */

.credentials {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.credentials__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 2.25rem;
  padding-block: 1.15rem;
}

.credentials__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: #9fb0c8;
  white-space: nowrap;
}

.credentials__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
  flex: none;
}

/* --------------------------------------------------------------- cards -- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--teal-400);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.card__text {
  margin: 0.55rem 0 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}

.card__action {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--teal-400);
  text-decoration: none;
}

.card__action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card--cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem;
  border-style: dashed;
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.05);
}

.card--cta:hover { transform: none; }

.card__cta-body {
  display: flex;
  flex-direction: column;
}

.card--cta .card__text { margin-top: 0.35rem; }

.card__link {
  margin-top: 0;
  flex: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-400);
  text-decoration: none;
  white-space: nowrap;
}

.card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------- why techready -- */

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.why__head {
  position: sticky;
  top: 112px;
}

.why__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
}

.why__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.why__num {
  padding-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal-400);
}

.why__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

.why__text {
  margin: 0.35rem 0 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------- about -- */

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.mission {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0.02));
}

.mission__text {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.6;
}

.mission__regions {
  margin: 1.5rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ----------------------------------------------------------------- cta -- */

.cta { padding-block: clamp(2.5rem, 5vw, 4rem); }

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 22px;
  background: linear-gradient(115deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.03));
}

.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta__text {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

/* ------------------------------------------------------------- contact -- */

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__meta {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact__meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.contact__meta a,
.contact__meta li > span:last-child {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.contact__meta a:hover { color: var(--teal-400); }

/* ---------------------------------------------------------------- form -- */

.form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Honeypot: off-screen for people, still posted by bots. */
.hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8d3e2;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: #7d8da5; }

.field input:hover,
.field textarea:hover { border-color: var(--border-strong); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form__footer {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form__status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form__status.is-success { color: var(--teal-400); }
.form__status.is-error { color: #ff9c9c; }

.form__note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.8;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  padding-block: 2.25rem;
  border-top: 1px solid var(--border);
  background: var(--navy-950);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.brand--footer { gap: 0.4rem; }
.brand--footer .brand__mark { width: 34px; height: 34px; }
.brand--footer .brand__name { font-size: 1.15rem; }
.brand--footer .brand__region { font-size: 0.72rem; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.footer__link {
  font-size: 0.9rem;
  color: #9fb0c8;
  text-decoration: none;
}

.footer__link:hover { color: var(--white); }

.footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: #7d8da5;
}

/* ------------------------------------------------------------ 404 page -- */

.notfound {
  display: grid;
  place-items: center;
  min-height: clamp(48vh, 58vh, 66vh);
  text-align: center;
}

.notfound__inner { max-width: 34rem; }

.notfound__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--teal-400);
}

.notfound__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.notfound__text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .site-header__inner { min-height: 72px; }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: var(--navy-800);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.8);
  }

  .nav.is-open { display: flex; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after { display: none; }

  .nav__cta {
    margin-top: 0.85rem;
    width: 100%;
  }

  .hero { padding-block: 2.5rem 5.5rem; }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.25rem;
  }

  .hero__media {
    justify-self: stretch;
    max-width: 560px;
  }

  .hero__photo { aspect-ratio: 3 / 2; }

  .badge {
    left: 1rem;
    bottom: -1.5rem;
  }

  .why__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .why__head { position: static; }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: minmax(0, 1fr); }

  .card--cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .form { grid-template-columns: minmax(0, 1fr); }

  .credentials__inner { gap: 0.5rem 1.25rem; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 2rem, var(--container)); }

  .brand__name { font-size: 1.25rem; }
  .brand__mark { width: 38px; height: 38px; }

  .badge {
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem 0.85rem 0.75rem 0.75rem;
  }

  .badge__value { font-size: 0.85rem; }
}

/* ------------------------------------------------------------ a11y prefs -- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
