/* Editor-Led Marketing · editor-led-marketing.com
   Values taken from the Combined 5 design. */

:root {
  --deep-teal: #14434A;
  --green: #2E8F74;
  --mid-teal: #1D6665;
  --mint: #9FD8C6;
  --pale-blue: #EEF4F7;
  --soft-mint: #DDF1EA;
  --text: #222222;
  --muted: #4C6B72;

  --font-head: Anton, Impact, "Arial Narrow", sans-serif;
  --font-body: Montserrat, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 128px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--mid-teal); }
a:hover { color: var(--deep-teal); }

:focus-visible {
  outline: 3px solid var(--deep-teal);
  outline-offset: 3px;
}
.hero :focus-visible,
.contact__panel :focus-visible {
  outline-color: var(--mint);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; } /* avoids a lone word on the last line */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 10;
  padding: 12px 20px;
  background: #FFFFFF;
  color: var(--deep-teal);
  font-weight: 700;
  border-radius: 0 16px 0 16px;
}
.skip-link:focus { top: 16px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section {
  padding: var(--section-y) var(--gutter);
  scroll-margin-top: 0;
}

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-teal);
}

/* Teal texture used in the banner and behind the video */
.texture {
  background-color: var(--deep-teal);
  background-image: url("images/texture-1280.jpg");
  background-image: image-set(url("images/texture-1280.webp") type("image/webp"), url("images/texture-1280.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
@media (max-width: 800px) {
  .texture {
    background-image: url("images/texture-800.jpg");
    background-image: image-set(url("images/texture-800.webp") type("image/webp"), url("images/texture-800.jpg") type("image/jpeg"));
  }
}

/* ---------- Buttons (the signature "tab" shape) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 0 20px 0 20px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--green { background: var(--green); color: #FFFFFF; }
.btn--green:hover { background: #267A63; color: #FFFFFF; }

.btn--white { background: #FFFFFF; color: var(--deep-teal); padding: 0 30px; }
.btn--white:hover { background: var(--soft-mint); color: var(--deep-teal); }

.btn--mint {
  gap: 12px;
  min-height: 60px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--deep-teal);
  font-size: 18px;
  margin-top: 32px;
}
.btn--mint:hover { background: #B8E4D6; color: var(--deep-teal); }

/* ---------- 1 · Banner ---------- */
.hero {
  background: var(--deep-teal);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 22vw, 440px);
  min-height: 820px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gutter);
}

.hero__title {
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92;
  color: var(--mint);
}

.hero__statement {
  margin-top: 36px;
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 720px;
}

.hero__support {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: #DCE8EB;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__image {
  border-radius: 200px 0 0 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__text { padding-top: 72px; padding-bottom: 64px; }
  .hero__image {
    min-height: 320px;
    margin-left: var(--gutter);
    border-radius: 120px 0 0 0;
  }
}
@media (max-width: 560px) {
  .hero__text { padding-top: 56px; padding-bottom: 48px; }
  .hero__statement { margin-top: 28px; }
  .hero__support { font-size: 16px; }
  .hero__actions { margin-top: 32px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; padding: 0 20px; }
  .hero__image { min-height: 220px; border-radius: 88px 0 0 0; }
}

/* ---------- 2 · The approach ---------- */
.approach { background: var(--pale-blue); }

.approach__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.approach__text { flex: 1 1 420px; min-width: 0; }
.approach__video { flex: 1.3 1 520px; min-width: 0; }

.approach__title {
  margin-top: 14px;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.05;
  color: var(--green);
}

.approach__intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.steps li {
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 2px solid var(--green);
  color: var(--deep-teal);
  font-weight: 700;
  font-size: 14px;
}

.topics {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
}
.video__shade {
  position: absolute;
  inset: 0;
  background: rgba(14, 50, 56, 0.55);
  transition: background-color .2s ease;
}
.video__play {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.video__play svg { margin-left: 4px; }
.video__label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}
.video:hover .video__shade { background: rgba(14, 50, 56, 0.4); }
.video:hover .video__play { transform: scale(1.06); }
.video:hover { color: #FFFFFF; }

.video--playing { background: #000000; }
.video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 560px) {
  .approach__inner { gap: 40px; }
  .approach__intro { font-size: 16px; }
  .video { border-radius: 16px; }
  .video__play { width: 68px; height: 68px; }
}

/* ---------- 3 · Ways to work with me ---------- */
.work { background: var(--soft-mint); }

.work__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: var(--deep-teal);
}
.work__title {
  margin-top: 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
}
/* Tablet: two across, with the third card spanning the full width */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(3) { grid-column: 1 / -1; }
}
/* Laptop and up: three across, as in the design */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(3) { grid-column: auto; }
}

.card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chip {
  width: 64px;
  height: 64px;
  border-radius: 0 22px 0 22px;
  background: var(--deep-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__title {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.1;
  color: var(--deep-teal);
}
.card__for {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--mid-teal);
}
.card__desc {
  font-size: 16px;
  line-height: 1.65;
}

.card__link {
  margin-top: auto;
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 0 16px 0 16px;
  background: var(--soft-mint);
  color: var(--deep-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}
.card__link:hover { background: var(--deep-teal); color: var(--mint); }

@media (max-width: 560px) {
  .cards { margin-top: 40px; gap: 16px; }
  .card { padding: 32px 24px; }
  .card__title { font-size: 30px; }
}

/* ---------- 4 · Get in touch ---------- */
.contact { background: #FFFFFF; }

.contact__panel {
  max-width: 1296px; /* a touch wider than the other sections, as in the mockup */
  background: var(--deep-teal);
  color: #FFFFFF;
  border-radius: 0 96px 0 96px;
  padding: clamp(40px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  justify-content: space-between;
}

.contact__text { flex: 1 1 460px; min-width: 0; }

.contact__title {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
}
.contact__body {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.6;
  max-width: 520px;
  color: #E6F0F2;
}

.about {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--mid-teal);
  border-radius: 0 40px 0 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about__head {
  display: flex;
  gap: 18px;
  align-items: center;
}
.about__photo {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--deep-teal);
}
.about__name {
  font-family: var(--font-head);
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1.05;
}
.about__link {
  font-weight: 700;
  color: var(--mint);
}
.about__head .about__link { font-size: 15px; }
.about__link:hover { color: #FFFFFF; }
.about__bio {
  font-size: 15px;
  line-height: 1.65;
  color: #FFFFFF;
}

@media (max-width: 560px) {
  .contact { padding-left: 12px; padding-right: 12px; }
  .contact__panel { border-radius: 0 56px 0 56px; padding: 40px 24px; gap: 40px; }
  .contact__body { font-size: 17px; }
  .about { padding: 24px; border-radius: 0 28px 0 28px; }
  .about__photo { width: 72px; height: 72px; }
  .about__name { font-size: 26px; }
}

/* ---------- 5 · Footer ---------- */
.footer {
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid #E1EAEE;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--deep-teal); }
