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

:root {
  --paper: #fbf8f2;
  --sand: #ded2c5;
  --sand-soft: #f0e8df;
  --clay: #b7a194;
  --ink: #2f2925;
  --muted: #74695f;
  --line: rgba(70, 54, 45, .22);
  --white: #fffdf9;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lato", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

a {
  color: inherit;
}

.quiet-nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  min-height: 84px;
  padding: 28px clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(47, 41, 37, .78);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
}

.nav-cta {
  padding: 7px 22px;
  border: 1px solid rgba(47, 41, 37, .38);
  background: rgba(251, 248, 242, .32);
  font-size: 12px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  min-height: 760px;
  padding: 132px 24px 82px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(235, 223, 211, .18), rgba(251, 248, 242, .22)),
    url("../assets/media/iemt-silk-hero.png") center / cover no-repeat,
    var(--sand-soft);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(rgba(251, 248, 242, 0), var(--paper));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 242, .28), rgba(251, 248, 242, .04) 46%, rgba(251, 248, 242, .24)),
    radial-gradient(circle at 50% 28%, rgba(255, 253, 249, .42), rgba(255, 253, 249, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(930px, 100%);
  margin: 0 auto;
  padding-top: 18px;
}

.kicker,
.eyebrow {
  margin: 0 0 22px;
  color: rgba(47, 41, 37, .76);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: .02em;
}

h1 {
  font-size: clamp(56px, 8vw, 108px);
  line-height: .95;
}

.hero-copy {
  max-width: 670px;
  margin: 34px auto 0;
  color: rgba(47, 41, 37, .76);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-width: 298px;
  min-height: 48px;
  margin-top: 44px;
  padding: 12px 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 41, 37, .52);
  background: rgba(255, 253, 249, .78);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

section {
  padding: 98px 24px;
}

.narrow {
  width: min(760px, 100%);
  margin: 0 auto;
}

.center {
  text-align: center;
}

.intro {
  padding: 82px 24px 72px;
  text-align: center;
}

.intro p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
}

.soft-section {
  background: var(--sand-soft);
}

.session-photo-band {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(251, 248, 242, .28), rgba(251, 248, 242, .42)),
    url("../assets/media/iemt-session-eye-movement.png") center 44% / cover no-repeat;
}

.text-section {
  background: var(--paper);
}

.section-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

h2 {
  color: var(--ink);
  font-size: clamp(39px, 5vw, 66px);
  line-height: 1.06;
}

p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 19px;
}

.clean-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 31px;
  color: var(--muted);
  font-size: 19px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--clay);
  border-radius: 50%;
}

.image-band {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(251, 248, 242, .9), rgba(251, 248, 242, .88)),
    url("../assets/media/iemt-silk-hero.png") center / cover no-repeat;
}

.story-grid {
  align-items: center;
}

.portrait-wrap {
  width: min(420px, 100%);
  margin: 0 auto;
  position: relative;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line);
}

.portrait-wrap img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.process-grid {
  width: min(980px, 100%);
  margin: 46px auto 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-grid span {
  min-height: 108px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .68);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.session-note {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 28px;
  background: rgba(251, 248, 242, .72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
}

.testimonial-section {
  background: #e8ddd2;
}

.video-grid {
  width: min(1040px, 100%);
  margin: 44px auto 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .44);
}

.screenshot-testimonials {
  width: min(1040px, 100%);
  margin: 62px auto 0;
}

.screenshot-testimonials .eyebrow {
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(70, 54, 45, .14);
  box-shadow: 0 18px 42px rgba(70, 54, 45, .08);
}

.quote-carousel {
  width: min(880px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.quote-slides {
  min-height: 172px;
  display: grid;
  align-items: center;
}

.quote-slide {
  grid-area: 1 / 1;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.quote-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.quote-slide p {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.24;
}

.quote-slide p:last-child {
  margin-bottom: 0;
}

.quote-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, .5);
  color: var(--ink);
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 34px;
}

.quote-arrow:hover,
.quote-arrow:focus-visible {
  background: rgba(255, 253, 249, .84);
}

.small {
  max-width: 720px;
  margin: 34px auto 0;
  font-size: 15px;
}

.closing {
  background:
    linear-gradient(rgba(222, 210, 197, .84), rgba(222, 210, 197, .88)),
    url("../assets/media/iemt-silk-hero.png") center / cover no-repeat;
}

footer {
  padding: 36px 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(47, 41, 37, .62);
  font-size: 14px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .quiet-nav {
    min-height: 72px;
    padding: 22px;
  }

  .hero {
    min-height: 690px;
    padding: 118px 22px 72px;
  }

  .session-photo-band {
    min-height: 520px;
    background:
      linear-gradient(rgba(251, 248, 242, .24), rgba(251, 248, 242, .4)),
      url("../assets/media/iemt-session-eye-movement-mobile.png") center 38% / cover no-repeat;
  }

  .section-grid,
  .process-grid,
  .video-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .quote-carousel {
    margin-top: 28px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .quote-arrow {
    width: 36px;
    height: 36px;
    font-size: 30px;
    line-height: 28px;
  }

  .section-grid {
    gap: 32px;
  }

  section {
    padding: 74px 22px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 21px;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 11px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy,
  p,
  .clean-list li {
    font-size: 17px;
  }

  .quote-slide {
    padding: 20px 16px;
  }

  .quote-slide p {
    font-size: 22px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
