/* The garden is the page's setting; interactive surfaces stay solid and readable. */
.home .header,
.hero,
.hello {
  --focus: #aa5c23;
}
.home .header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  color: #23493f;
}
.home .header nav {
  background: #faf8f1;
  padding: 6px 20px;
  border-radius: 9px;
}
.home .header .nav-contact {
  border-color: currentColor;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 860px;
  padding-block: 165px 130px;
  overflow: hidden;
  color: #23493f;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-companion {
  position: absolute;
  width: clamp(390px, 34vw, 540px);
  height: auto;
  right: max(7%, calc((100vw - 1280px) / 2));
  bottom: 55px;
  filter: drop-shadow(0 18px 18px #3b342a30);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #faf8f1 0%,
    #faf8f1f5 20%,
    #faf8f1df 35%,
    #faf8f144 58%,
    #faf8f100 76%
  );
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 125px;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg), transparent);
}
.hero h1 {
  font-size: clamp(4.5rem, 6.6vw, 6rem);
  line-height: 0.99;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  max-width: 650px;
}
.hero h1 span,
.hero h1 em {
  display: block;
}
.hero h1 em {
  font-style: normal;
  color: #607749;
}
.hero-description {
  max-width: 340px;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero .availability {
  color: #52665d;
}
.hero .primary {
  background: #255b4a;
  color: #fffdf6;
}
.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  padding-block: 70px 95px;
  align-items: start;
}
.intro h2 {
  font-size: clamp(2.5rem, 4.3vw, 4rem);
}
.intro p {
  color: var(--muted);
}
.intro p:last-child {
  margin: 0;
}
.practice {
  padding-block: 36px 0;
}
.practice-layout {
  display: grid;
  gap: 48px;
}
.practice-copy {
  text-align: center;
  max-width: 760px;
  margin: auto;
}
.practice-copy h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
  margin-bottom: 22px;
}
.practice-copy > p {
  color: var(--muted);
  max-width: 510px;
  margin-inline: auto;
}
.practice-copy .text-link {
  display: none;
}
.practice-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 72px 24px;
}
.practice-scenery {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.practice .demo {
  width: min(100%, 440px);
  margin-inline: auto;
  box-shadow: 0 24px 65px #00000030;
}
.learning {
  padding-block: 110px 100px;
}
.learning-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin-bottom: 60px;
}
.learning-heading p {
  max-width: 370px;
  color: var(--muted);
  margin: 0;
}
.learning-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
  isolation: isolate;
  padding-top: 24px;
}
.learning-trail {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: 145px;
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 5 8;
}
.learning-steps article {
  padding-top: 0;
}
.learning-steps article:nth-of-type(2) {
  padding-top: 38px;
}
.learning-steps .topic-icon {
  width: 70px;
  height: 70px;
  padding: 15px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--bg);
  outline: 12px solid var(--bg);
}
.learning-steps h3 {
  margin-bottom: 12px;
}
.learning-steps p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 32ch;
}
.companion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 40px 70px;
}
.companion-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 530px;
  margin-inline: auto;
}
.companion-ground {
  position: absolute;
  inset: 16% 4% 3%;
  background: var(--peach);
  border-radius: 48% 48% 16px 16px;
  z-index: -1;
  transform: rotate(-5deg);
}
.companion-art img {
  width: 100%;
  height: auto;
}
.companion-art img.changing {
  animation: look-settle 260ms var(--ease);
}
.companion-copy h2 {
  margin-bottom: 26px;
}
.companion-copy > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 400px;
}
.wardrobe {
  margin-block: 30px 10px;
}
.wardrobe > p:first-child {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
}
.look-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.look-switch button {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  min-height: 48px;
  font-size: 14px;
  font-weight: 800;
  transition:
    background-color 160ms var(--ease),
    transform 160ms var(--ease);
}
.look-switch button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.look-switch button:active {
  transform: scale(0.97);
}
.wardrobe-note {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}
.companion-copy .text-link {
  margin-top: 12px;
}
.parents {
  margin-top: 30px;
}
.hello {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: 120px max(48px, calc((100% - 1280px) / 2));
  color: #23493f;
}
.hello > div:first-child {
  position: relative;
  z-index: 1;
}
.hello h2 {
  font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  margin-bottom: 28px;
}
.hello p {
  font-size: 18px;
  color: #52665d;
  margin-bottom: 30px;
  max-width: 460px;
}
.hello .contact-note {
  font-size: 12px;
  margin: 16px 0 0;
}
.hello .primary {
  background: #255b4a;
  color: #fffdf6;
}
.hello-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hello-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #faf8f1 0%,
    #faf8f1f5 30%,
    #faf8f188 60%,
    transparent
  );
}
.hello-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
@keyframes look-settle {
  from {
    opacity: 0.65;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: hover) and (pointer: fine) {
  .home .header nav a:hover {
    color: #52665d;
  }
  .hero .primary:hover,
  .hello .primary:hover {
    background: #194535;
  }
  .look-switch button:not([aria-pressed="true"]):hover {
    background: var(--mint);
  }
}
@media (min-width: 1800px) {
  .hero-art img {
    object-position: center 64%;
  }
}
@media (max-width: 1100px) {
  .hero {
    min-height: 780px;
    padding-block: 155px 110px;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      #faf8f1 0%,
      #faf8f1ed 25%,
      #faf8f1aa 48%,
      transparent 85%
    );
  }
  .hero h1 {
    font-size: 5rem;
  }
  .hero-companion {
    width: 390px;
    right: 0;
    bottom: 40px;
  }
  .intro,
  .companion {
    gap: 45px;
  }
  .learning-steps {
    gap: 30px;
  }
  .hello {
    padding: 90px 32px;
  }
}
@media (max-width: 760px) {
  .home .header {
    position: relative;
    background: #faf8f1;
    width: 100%;
    padding-inline: 20px;
  }
  .home .header nav {
    padding: 0;
    border-radius: 0;
  }
  .hero {
    padding: 30px 0 350px;
    min-height: auto;
    background: #faf8f1;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      #faf8f1 0%,
      #faf8f1 45%,
      #faf8f1cc 53%,
      #faf8f100 68%
    );
  }
  .hero-art {
    top: auto;
    height: 480px;
  }
  .hero-art img {
    object-position: 76% 60%;
  }
  .hero-companion {
    width: 300px;
    right: 6%;
    bottom: 25px;
  }
  .hero::after {
    height: 75px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 11.5vw, 4.6rem);
    margin-bottom: 22px;
  }
  .hero h1 span {
    display: inline;
  }
  .hero h1 span:first-child::after {
    content: " ";
  }
  .hero h1 em {
    display: inline;
  }
  .hero-description {
    font-size: 17px;
    max-width: 340px;
    margin-bottom: 22px;
  }
  .hero .availability {
    font-size: 12px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 48px 60px;
  }
  .intro h2 {
    font-size: 2.6rem;
  }
  .practice {
    padding-block: 15px 0;
  }
  .practice-layout {
    width: 100%;
    gap: 22px;
  }
  .practice-copy {
    padding-inline: 20px;
  }
  .practice-copy h2 {
    font-size: 2.6rem;
  }
  .practice-copy > p {
    font-size: 16px;
    max-width: 38ch;
  }
  .practice-stage {
    border-radius: 0;
    padding: 45px 20px;
  }
  .practice .demo {
    padding: 26px 20px 20px;
  }
  .learning {
    padding-block: 65px 40px;
  }
  .learning-heading {
    display: block;
    margin-bottom: 34px;
  }
  .learning-heading p {
    margin-top: 24px;
  }
  .learning-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }
  .learning-trail {
    display: none;
  }
  .learning-steps::before {
    content: "";
    position: absolute;
    inset: 35px auto 40px 27px;
    border-left: 1px dashed var(--line);
    z-index: -1;
  }
  .learning-steps article,
  .learning-steps article:nth-of-type(2) {
    display: flex;
    gap: 20px;
    padding: 0;
  }
  .learning-steps .topic-icon {
    width: 55px;
    height: 55px;
    padding: 10px;
    margin: 0;
    outline-width: 6px;
  }
  .companion {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 35px 60px;
  }
  .companion-art {
    max-width: 390px;
  }
  .companion-copy h2 {
    font-size: 2.5rem;
  }
  .parents {
    margin-top: 0;
  }
  .hello {
    padding: 65px 20px 190px;
  }
  .hello h2 {
    font-size: 2.7rem;
  }
  .hello p {
    font-size: 17px;
  }
  .hello-art::after {
    background: linear-gradient(
      180deg,
      #faf8f1 0%,
      #faf8f1f5 50%,
      #faf8f180 75%,
      transparent
    );
  }
  .hello-art img {
    object-position: 75% bottom;
  }
}
@media (max-width: 360px) {
  .home .header {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero {
    padding-bottom: 300px;
  }
  .hero-art {
    height: 405px;
  }
  .hero-companion {
    width: 265px;
    right: 2%;
  }
  .practice-stage {
    padding-inline: 16px;
  }
  .practice .demo {
    padding-inline: 16px;
  }
  .hello {
    padding-inline: 16px;
  }
  .hello h2 {
    font-size: 2.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .companion-art img.changing {
    animation: none;
  }
}
