:root {
  --ink: #362630;
  --muted: #75646e;
  --rose: #a66891;
  --rose-dark: #70415f;
  --rose-pale: #ead2e1;
  --coral: #c98088;
  --gold: #c39a56;
  --paper: #fcf9fa;
  --mist: #f3ebf0;
  --white: #fff;
  --hero-height: 367px;
  --shadow: 0 24px 70px rgba(81, 46, 68, 0.11);
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair";
  src: url("../assets/fonts/playfair-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 35%, rgba(234, 210, 225, 0.42), transparent 22rem),
    radial-gradient(circle at 96% 64%, rgba(201, 128, 136, 0.14), transparent 26rem),
    var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: var(--rose-pale);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  background: linear-gradient(to top, rgba(54, 38, 48, 0.08), transparent);
  content: "";
  pointer-events: none;
}

.hero__desktop {
  height: var(--hero-height);
  background: var(--hero-pattern) center center / cover no-repeat;
  animation: hero-in 900ms ease-out both;
}

.hero__composition {
  position: relative;
  width: 960px;
  height: 100%;
  margin: 0 auto;
}

.hero__composition img {
  position: absolute;
  display: block;
}

.hero__title {
  top: 50%;
  left: 9%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.hero__portrait {
  top: 0;
  left: 50%;
  width: auto;
  height: 367px;
  transform: translateX(-50%);
}

.hero__quote {
  top: 50%;
  left: 86%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.hero__mobile {
  display: none;
  animation: hero-in 900ms ease-out both;
}

main {
  position: relative;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair", Georgia, serif;
  font-weight: 400;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.intro {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 820px);
  margin: -42px auto 0;
  padding: 74px 88px 62px;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(166, 104, 145, 0.14);
  box-shadow: var(--shadow);
}

.intro::before,
.intro::after {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(166, 104, 145, 0.18);
  border-radius: 50%;
  content: "";
}

.intro::before {
  top: -148px;
  left: -100px;
}

.intro::after {
  right: -128px;
  bottom: -148px;
}

.intro__lead {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.ornament {
  display: block;
  width: 62px;
  height: 1px;
  margin: 34px auto 0;
  background: var(--gold);
}

.section-shell {
  width: min(calc(100% - 48px), 1060px);
  margin-inline: auto;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  padding-top: 142px;
  padding-bottom: 130px;
}

.story__copy {
  padding-top: 7px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.story__copy p {
  margin-bottom: 26px;
}

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

.story__copy strong {
  color: var(--ink);
}

.symbols {
  padding: 118px 24px 128px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 25% 20%, var(--rose-pale), transparent 28rem),
    var(--white);
}

.section-heading--center {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.symbols__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1080px);
  margin: 65px auto 0;
}

.symbol-card {
  min-height: 300px;
  padding: 40px 28px 35px;
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(112, 65, 95, 0.11);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.symbol-card:hover {
  transform: translateY(-6px);
  border-color: rgba(112, 65, 95, 0.25);
  box-shadow: 0 18px 42px rgba(81, 46, 68, 0.1);
}

.symbol-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 28px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.symbol-card h3 {
  margin-bottom: 13px;
  font-family: "Playfair", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
}

.symbol-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.itan {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px) 0 0 / 29px 29px,
    linear-gradient(135deg, var(--rose-dark), var(--rose) 58%, var(--coral));
}

.itan::after {
  position: absolute;
  top: -260px;
  right: -250px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.itan__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 120px 0 124px;
  text-align: center;
}

.eyebrow--light {
  color: #f0d9e6;
}

.itan h2 {
  max-width: 690px;
  margin-right: auto;
  margin-bottom: 39px;
  margin-left: auto;
}

.itan p:not(.eyebrow) {
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.itan small {
  display: block;
  max-width: 580px;
  margin: 42px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.6;
}

.poem {
  position: relative;
  padding-top: 145px;
  padding-bottom: 140px;
  text-align: center;
}

.poem__mark {
  position: absolute;
  top: 88px;
  left: 50%;
  color: rgba(166, 104, 145, 0.1);
  font-family: Georgia, serif;
  font-size: 220px;
  line-height: 1;
  transform: translateX(-50%);
}

.poem h2 {
  position: relative;
}

.poem blockquote {
  position: relative;
  margin: 48px auto 0;
  color: var(--ink);
  font-family: "Playfair", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.52;
}

.poem__caption {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer {
  padding: 36px 20px 42px;
  text-align: center;
  background: var(--rose-pale);
}

footer a {
  color: var(--rose-dark);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  transition: color 180ms ease, border-color 180ms ease;
}

footer a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@keyframes hero-in {
  from {
    opacity: 0.78;
    transform: scale(1.012);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

@media (max-width: 800px) {
  .hero__desktop {
    display: none;
  }

  .hero__mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  .intro {
    width: calc(100% - 28px);
    margin-top: -12px;
    padding: 57px 25px 48px;
  }

  .intro__lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .section-shell {
    width: calc(100% - 40px);
  }

  .story {
    padding-top: 92px;
    padding-bottom: 88px;
  }

  .story__copy {
    font-size: 17px;
    line-height: 1.78;
  }

  .symbols {
    padding: 84px 16px 90px;
  }

  .symbols__grid {
    gap: 12px;
    margin-top: 48px;
  }

  .symbol-card {
    min-height: 262px;
    padding: 31px 17px 28px;
  }

  .symbol-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 21px;
  }

  .symbol-card h3 {
    font-size: 23px;
  }

  .symbol-card p {
    font-size: 13px;
    line-height: 1.62;
  }

  .itan__content {
    width: calc(100% - 42px);
    padding: 91px 0 94px;
  }

  .itan p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.78;
  }

  .poem {
    padding-top: 108px;
    padding-bottom: 106px;
  }

  .poem__mark {
    top: 65px;
    font-size: 170px;
  }
}

@media (max-width: 370px) {
  .symbols__grid {
    grid-template-columns: 1fr;
  }

  .symbol-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__desktop,
  .hero__mobile {
    animation: none;
  }

  .symbol-card,
  footer a {
    transition: none;
  }
}
