/* ==========================================================================
   Arkan Academy — Our Coaches (static prototype)

   Visual reference: reference/coaches-directory-reference.png
   Brand reference:  arkanacademy.com (logo, blue #1A62A4, amber #FAAB2F)

   Palette balance: ~75% white/cool-grey neutrals, ~15% navy, ~10% Arkan blue/light blue.
   WhatsApp green is reserved for WhatsApp actions only.
   ========================================================================== */

:root {
  /* Palette */
  --primary-navy: #0e2a47;
  --primary-navy-hover: #1a3d63;
  --arkan-blue: #1a62a4;
  --accent-light-blue: #9ccfe5;       /* secondary accent — rules, quote marks, CTA button */
  --accent-light-blue-hover: #86c2dc;
  --accent-light-blue-soft: #e4f2f9;  /* icon circle fill */
  --accent-light-blue-deep: #2b7599;  /* icons on the soft fill (4.5:1) */
  --background-soft: #f7fafc;
  --background-light-blue: #f1f7fa;
  --background-shape: #e3eef4;         /* hero circle edge */
  --background-white: #ffffff;
  --text-primary: #0e2a47;
  --text-secondary: #5b6475;
  --border-light: #e2e8f0;
  --border-divider: #d6e4ec;          /* benefits band column dividers */
  --whatsapp-green: #118241;         /* darkened WhatsApp green — AA with white text */
  --whatsapp-green-hover: #0c6b35;

  --color-focus: var(--arkan-blue);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Tajawal", "Segoe UI", Arial, sans-serif;
  --fs-hero: clamp(2.5rem, 4.9vw, 4.25rem);       /* 40 → 68px */
  --fs-h2: clamp(2rem, 3.4vw, 3rem);              /* 32 → 48px */
  --fs-lead: clamp(1.0625rem, 1.3vw, 1.1875rem);  /* 17 → 19px */
  --fs-body: 1rem;
  --fs-small: 0.9375rem;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(80px, 9vw, 128px);

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 12px;
  --radius-card: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(14, 42, 71, 0.04), 0 8px 24px rgba(14, 42, 71, 0.05);
  --shadow-hover: 0 2px 4px rgba(14, 42, 71, 0.05), 0 22px 44px rgba(14, 42, 71, 0.1);
  --shadow-float: 0 18px 50px rgba(14, 42, 71, 0.14);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--background-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked,
body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary-navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

/* ---------- Shared type ---------- */

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arkan-blue);
}

.eyebrow--light {
  color: var(--accent-light-blue);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-lead {
  margin-top: 14px;
  font-size: var(--fs-lead);
  color: var(--text-secondary);
}

/* Short light-blue rule — used under the hero copy and in quote cards */
.rule {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-light-blue);
}

.rule--sm {
  width: 36px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 1rem;
}

.btn__icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn--navy {
  background: var(--primary-navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--primary-navy-hover);
  box-shadow: 0 10px 22px rgba(14, 42, 71, 0.2);
}

.btn--outline {
  border-color: var(--primary-navy);
  background: #fff;
  color: var(--primary-navy);
}

.btn--outline:hover {
  background: var(--primary-navy);
  color: #fff;
}

.btn--whatsapp {
  background: var(--whatsapp-green);
  color: #fff;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-green-hover);
  box-shadow: 0 10px 22px rgba(17, 130, 65, 0.25);
}

.btn--light-blue {
  background: var(--accent-light-blue);
  color: var(--primary-navy);
}

.btn--light-blue:hover {
  background: var(--accent-light-blue-hover);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-navy);
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--arkan-blue);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Icon circle (hero highlights + benefits) ---------- */

.icon-circle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light-blue-soft);
  color: var(--accent-light-blue-deep);
}

.icon-circle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-circle--lg {
  width: 56px;
  height: 56px;
}

.icon-circle--lg svg {
  width: 25px;
  height: 25px;
}

/* ---------- Tags ---------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 11px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: var(--background-soft);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s;
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(14, 42, 71, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.primary-nav__list {
  display: flex;
  gap: 4px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.primary-nav__list a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-navy);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
  color: var(--primary-navy);
}

.primary-nav__list a[aria-current="page"] {
  font-weight: 700;
}

.primary-nav__list a:hover::after,
.primary-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: var(--primary-navy);
  transition: transform 0.25s var(--ease);
}

.nav-toggle__bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--background-light-blue);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: clamp(560px, 46vw, 660px);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 7vw, 96px);
}

.hero__title {
  max-width: 11ch;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  word-spacing: 0.04em;
}

.hero__lead {
  max-width: 500px;
  margin: 26px 0 30px;
  font-size: var(--fs-lead);
  color: var(--text-secondary);
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 36px;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 10em;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

/* Image column: image sits on the bottom edge of the hero, like the reference */
.hero__media {
  position: relative;
  align-self: end;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__shape {
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: min(118%, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--background-shape) 70%);
  transform: translateX(-46%);
}

/* Diamond outline — a quiet nod to the Arkan logo shape */
.hero__diamond {
  position: absolute;
  top: 16%;
  right: 4%;
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent-light-blue);
  border-radius: 6px;
  transform: rotate(45deg);
  opacity: 0.8;
}

.hero__dots {
  position: absolute;
  left: 2%;
  bottom: 14%;
  width: 96px;
  height: 72px;
  background-image: radial-gradient(var(--accent-light-blue) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}

.hero__img {
  position: relative;
  flex-shrink: 0;
  width: 116%;
  max-width: 700px;
  margin-right: -10%;
  aspect-ratio: 11 / 10;
  object-fit: contain;
  object-position: bottom center;
}

.quote-card {
  width: 220px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-float);
}

.quote-card__mark {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  fill: var(--accent-light-blue);
}

.quote-card blockquote {
  margin-bottom: 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.hero__quote {
  position: absolute;
  top: 20%;
  left: -4%;
  z-index: 2;
}

/* ==========================================================================
   Intro
   ========================================================================== */

.intro {
  padding-top: var(--section-space);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border-light);
}

.intro__title {
  max-width: 14ch;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.intro__body p {
  margin-bottom: 22px;
  font-size: var(--fs-lead);
  color: var(--text-secondary);
}

/* ==========================================================================
   Coach cards
   ========================================================================== */

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 36px);
}

.coach-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--background-white);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.coach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.coach-card__media {
  overflow: hidden;
  aspect-ratio: 6 / 5;
  background: #ece9e4;
}

.coach-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.6s var(--ease);
}

.coach-card:hover .coach-card__media img {
  transform: scale(1.035);
}

.coach-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}

.coach-card__name {
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.coach-card__title {
  margin: 4px 0 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.coach-card__bio {
  flex: 1;
  margin: 18px 0 26px;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--text-secondary);
}

.coach-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.coach-card__actions .btn {
  padding-inline: 10px;
}

/* ==========================================================================
   Benefits band
   ========================================================================== */

.benefits {
  background: var(--background-light-blue);
  border-block: 1px solid var(--border-light);
  padding-block: clamp(56px, 6vw, 80px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px clamp(16px, 2.4vw, 36px);
  text-align: center;
}

.benefit + .benefit {
  border-left: 1px solid var(--border-divider);
}

.benefit .icon-circle {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(156, 207, 229, 0.3);
}

.benefit__title {
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.benefit__text {
  max-width: 240px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Featured coach
   ========================================================================== */

.featured__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--background-soft) 0%, #ffffff 55%, var(--background-soft) 100%);
  box-shadow: var(--shadow-card);
}

.featured__content {
  align-self: center;
  padding: clamp(40px, 6vw, 80px);
}

.featured__name {
  font-size: clamp(2.125rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.featured__role {
  margin-top: 10px;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--arkan-blue);
}

.featured__text {
  max-width: 460px;
  margin: 20px 0 36px;
  font-size: var(--fs-lead);
  color: var(--text-secondary);
}

.featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.featured__media {
  position: relative;
  min-height: 480px;
  background: #ece9e4;
}

.featured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}

.featured__quote {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background: var(--background-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 32px 30px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--background-white);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
  background: #fff;
  box-shadow: var(--shadow-hover);
}

.testimonial__text {
  flex: 1;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  line-height: 1.35;
}

.testimonial__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author strong {
  display: block;
  font-size: 0.9375rem;
}

.testimonial__author small {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta {
  padding-top: clamp(56px, 6vw, 88px);   /* separates the panel from the tinted testimonials band */
  padding-bottom: var(--section-space);
}

.cta__panel {
  --color-focus: var(--accent-light-blue);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 6vw, 80px) clamp(48px, 6vw, 80px) clamp(28px, 22vw, 300px);
  border-radius: var(--radius-lg);
  background-color: var(--primary-navy);
  color: #fff;
}

/* Foliage image fading into navy — the decorative image from the reference */
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background:
    linear-gradient(90deg, rgba(14, 42, 71, 0.2) 0%, rgba(14, 42, 71, 0.75) 50%, var(--primary-navy) 82%),
    url("../assets/images/cta-leaves.jpg") center / cover no-repeat;
}

.cta__content,
.cta__panel .btn {
  position: relative;
}

.cta__title {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta__text {
  margin-top: 12px;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.78);
}

.cta__panel .eyebrow {
  margin-bottom: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-light);
  background: #fff;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}

.site-footer__logo img {
  width: 64px;
  height: 64px;
}

.site-footer__brand p {
  max-width: 300px;
  margin: 18px 0 22px;
  line-height: 1.7;
}

.site-footer__heading {
  margin-bottom: 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
}

.site-footer__col a {
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--primary-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: var(--arkan-blue);
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--primary-navy);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.social a:hover {
  border-color: var(--primary-navy);
  background: var(--primary-navy);
  color: #fff;
}

.social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social svg[fill="none"] {
  fill: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Profile modal
   ========================================================================== */

.profile-modal {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 30px 80px rgba(14, 42, 71, 0.25);
  overflow: auto;
}

.profile-modal::backdrop {
  background: rgba(14, 42, 71, 0.55);
  backdrop-filter: blur(4px);
}

.profile-modal[open] {
  animation: modal-in 0.3s var(--ease);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.profile-modal__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.profile-modal__media {
  background: #ece9e4;
}

.profile-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.profile-modal__content {
  padding: 48px 44px 44px;
}

.profile-modal__name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.profile-modal__title {
  margin-top: 6px;
  font-weight: 600;
  color: var(--arkan-blue);
}

.profile-modal__bio {
  margin: 18px 0 24px;
  color: var(--text-secondary);
}

.profile-modal__facts {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-block: 1px solid var(--border-light);
}

.profile-modal__facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.profile-modal__facts dt {
  font-size: 0.875rem;
  font-weight: 700;
}

.profile-modal__facts dd {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.profile-modal .btn--whatsapp {
  width: 100%;
  white-space: normal;
}

.profile-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(14, 42, 71, 0.12);
}

.profile-modal__close:hover {
  background: var(--background-soft);
}

.profile-modal__close svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .coach-card__media {
    aspect-ratio: 1 / 1;
  }

  .coach-card__body {
    padding: 22px 22px 24px;
  }

  .hero__highlights {
    gap: 14px 18px;
  }

  .hero__highlights li {
    gap: 10px;
    font-size: 0.875rem;
  }

  .hero__highlights .icon-circle {
    width: 40px;
    height: 40px;
  }

  .coach-card__actions .btn {
    font-size: 0.875rem;
  }

  .hero__quote {
    left: 0;
    top: 12%;
  }
}

/* Tablet: hamburger navigation */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 18px 30px rgba(14, 42, 71, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s;
  }

  .primary-nav__list {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  .primary-nav__list a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.0625rem;
  }

  .primary-nav__list a::after {
    left: 2px;
    right: auto;
    bottom: -1px;
    width: 40px;
  }

  .primary-nav__cta {
    width: 100%;
    min-height: 52px;
  }

  .coach-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid > li:last-child {
    grid-column: 1 / -1;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .benefit:nth-child(3) {
    border-left: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Stack the two-column compositions */
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .hero__content {
    padding-bottom: 32px;
  }

  .hero__media {
    height: auto;
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }

  .hero__img {
    width: 100%;
    margin-right: 0;
  }

  .hero__quote {
    top: auto;
    bottom: 10%;
    left: 0;
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .featured__panel {
    grid-template-columns: 1fr;
  }

  .featured__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .cta__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 32px;
    padding-top: 180px;
  }

  .cta__panel::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 220px;
    background:
      linear-gradient(180deg, rgba(14, 42, 71, 0.15) 0%, var(--primary-navy) 95%),
      url("../assets/images/cta-leaves.jpg") center / cover no-repeat;
  }

  .profile-modal__body {
    grid-template-columns: 1fr;
  }

  .profile-modal__media {
    aspect-ratio: 6 / 5;
  }

  .profile-modal__content {
    padding: 28px 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero__content {
    padding-top: 48px;
  }

  .hero__lead {
    margin: 20px 0 24px;
  }

  .hero__highlights {
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .hero__highlights li {
    max-width: none;
  }

  .hero__dots {
    display: none;
  }

  .quote-card {
    width: 176px;
    padding: 16px 16px 14px;
  }

  .quote-card blockquote {
    font-size: 0.9375rem;
  }

  .quote-card__mark {
    width: 20px;
    height: 20px;
    margin-bottom: 6px;
  }

  .coach-grid,
  .testimonial-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid > li:last-child {
    grid-column: auto;
  }

  .benefit + .benefit {
    border-left: 0;
    border-top: 1px solid var(--border-divider);
    padding-top: 36px;
  }

  .benefit-grid {
    row-gap: 36px;
  }

  .coach-card__media {
    aspect-ratio: 6 / 5;
  }

  .coach-card__body {
    padding: 24px 22px 24px;
  }

  .coach-card__actions .btn {
    min-height: 50px;
    font-size: 0.9375rem;
  }

  /* Decorative on desktop; on small screens it would cover the portrait */
  .featured__quote {
    display: none;
  }

  .featured__actions .btn,
  .cta__panel .btn {
    width: 100%;
  }

  .testimonial {
    padding: 28px 24px 26px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-modal__facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
