/* Garden photo wall and the blocks Anna marked in MAX. */
.garden-grid {
  border: 2px solid #c8dcd0;
  border-radius: 28px;
  padding: clamp(16px, 2.4vw, 36px);
  background: #f0f6f2;
}
.garden-copy li:nth-child(n) {
  background: var(--garden-chip);
  border-color: var(--garden-chip-border);
  --garden-chip: rgb(255 237 177 / 78%);
  --garden-chip-border: #e8d5a4;
}
.garden-copy li:nth-child(5n+2) {
  --garden-chip: rgb(216 238 209 / 84%);
  --garden-chip-border: #c0d8bb;
}
.garden-copy li:nth-child(5n+3) {
  --garden-chip: rgb(213 236 246 / 88%);
  --garden-chip-border: #bed7e3;
}
.garden-copy li:nth-child(5n+4) {
  --garden-chip: rgb(245 205 219 / 74%);
  --garden-chip-border: #e6bdd0;
}
.garden-copy li:nth-child(5n) {
  --garden-chip: rgb(232 220 247 / 88%);
  --garden-chip-border: #d7c8e6;
}
.garden-wall {
  --wall-gap: clamp(5px, .7vw, 11px);
  position: relative; min-width: 0; align-self: center;
}
.garden-wall-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--wall-gap); overflow: hidden; border-radius: 12px; }
.garden-wall-rail, .garden-wall-set { display: grid; align-content: start; gap: var(--wall-gap); }
.garden-wall-set img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; border-radius: 8px; }
.garden-wall-set[aria-hidden] { display: none; }
.wall-moving .garden-wall-columns { aspect-ratio: 1.6; align-items: start; }
.wall-moving .garden-wall-set[aria-hidden] { display: grid; }
.wall-moving .garden-wall-rail { animation: garden-drift 32s linear infinite; }
.wall-moving .garden-wall-rail:nth-child(2) { animation-direction: reverse; animation-delay: -12s; }
.wall-moving .garden-wall-rail:nth-child(3) { animation-delay: -21s; }
.wall-paused .garden-wall-rail, .wall-offscreen .garden-wall-rail { animation-play-state: paused; }
@keyframes garden-drift { to { transform: translateY(calc(-50% - var(--wall-gap) / 2)); } }
.wall-motion {
  position: absolute; bottom: 8px; right: 12px; padding: 6px 12px;
  border: 1px solid #b5cebf; border-radius: 18px; background: #f4faf6; color: #33304a; font: 650 13px/1.35 system-ui; cursor: pointer;
}
.wall-motion[hidden] { display: none; }
.garden-year {
  padding: clamp(26px,4vw,60px) clamp(14px,3vw,44px);
  background: #fff0c1; border-radius: 28px;
}
.garden-year-heading h3 { color: #242424; text-transform: uppercase; }
.garden-year-card .year-verb,
.garden-year-card strong + span,
.garden-year .garden-year-caption { color: #424047; }
.garden-year .garden-year-card strong { color: #4483a2; text-transform: uppercase; }
.garden-year .garden-year-frame {
  position: relative;
  display: block;
  width: min(100%, 286px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid #76acd7;
  border-radius: 50%;
}
/* The source photos include a thick red frame outside the visible crop. */
.garden-year .garden-year-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.16);
}
.garden-year .year-verb::after {
  border: 0;
  width: clamp(70px, 8vw, 112px);
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 -2 12 4 T24 4' fill='none' stroke='%239e7887' stroke-width='1.5'/%3E%3C/svg%3E") left center / 24px 8px repeat-x;
}
.atlas-home .site-header .header-cta {
  color: #fff;
  background: #205ba4;
  border-color: #205ba4;
}
.atlas-home .site-header .header-cta:hover,
.atlas-home .site-header .header-cta:focus-visible {
  background: #194980;
  border-color: #194980;
}
.photo-definitions { position: absolute; }
.format-photo-balanced { filter: url("#own-brand-photo-balance"); }
.contact-portrait-wrap {
  position: relative;
  margin: 0;
  max-width: 100%;
  justify-self: center;
}
.contact-card .contact-portrait {
  display: block;
  width: 100%;
  height: auto;
  /* Blend the white background in the supplied photo into the contact section. */
  mix-blend-mode: multiply;
  clip-path: url("#contact-portrait-trim");
}
@media (min-width: 901px) {
  .atlas-home #contact { padding-top: 74px; }
  .atlas-home .contact-card {
    grid-template-columns: minmax(240px, 1.15fr) minmax(0, 1.25fr) minmax(0, .85fr);
    gap: clamp(16px, 2vw, 30px);
    min-height: clamp(370px, 42vw, 610px);
  }
  .contact-portrait-wrap {
    align-self: end;
    width: min(100%, clamp(182px, 20.15vw, 290px));
    height: clamp(315px, 38vw, 555px);
  }
  .contact-card .contact-portrait { position: absolute; bottom: -15px; }
}
@media (max-width: 900px) {
  .atlas-home #contact { padding-top: 54px; }
  .atlas-home .contact-card {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
  }
  .contact-portrait-wrap { width: min(100%, 210px); margin-top: -30px; }
  .atlas-home .contact-actions { grid-column: 1; }
}
.founder-copy h2 { font-size: clamp(30px, 3.2vw, 46px); }
.founder-copy blockquote {
  font-style: italic;
  font-weight: 450;
  letter-spacing: -.02em;
  line-height: 1.28;
  max-width: 34ch;
}
.letter-awards { display: block; }
.letter-awards ul {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 0;
  counter-reset: award;
}
.letter-awards li {
  --star: #ffd652;
  --star-size: clamp(52px, 4.8vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0 clamp(6px, .75vw, 12px);
  counter-increment: award;
  text-align: center;
  overflow-wrap: anywhere;
}
.letter-awards li:nth-child(2) { --star: #1259cc; --star-number: #fff; }
.letter-awards li:nth-child(3) { --star: #f18852; }
.letter-awards li:nth-child(4) { --star: #35c7ab; }
.letter-awards li:nth-child(5) { --star: #7c3fbb; --star-number: #fff; }
.letter-awards li:nth-child(6) { --star: #e9568d; }
.letter-awards li::before {
  content: counter(award) / "";
  display: grid;
  place-content: center;
  position: relative;
  z-index: 1;
  width: var(--star-size);
  height: var(--star-size);
  margin-bottom: 5px;
  color: var(--star-number, #242233);
  background: var(--star);
  clip-path: polygon(50% 1%, 65% 30%, 98% 36%, 76% 61%, 80% 95%, 50% 81%, 20% 95%, 24% 61%, 2% 36%, 35% 30%);
  font-size: calc(var(--star-size) * .34);
  line-height: 1;
  font-weight: 750;
}
.letter-awards li::after {
  content: "";
  position: absolute;
  top: calc(var(--star-size) / 2);
  inset-inline: 0;
  height: 2px;
  background: var(--star);
  opacity: .48;
}
.letter-awards b { color: #594257; }
@media (min-width: 1001px) {
  .letter-awards li:first-child::after { left: 50%; }
  .letter-awards li:last-child::after { right: 50%; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .letter-awards ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .letter-awards li:nth-child(3n+1)::after { left: 50%; }
  .letter-awards li:nth-child(3n)::after { right: 50%; }
}
@media (max-width: 600px) {
  .letter-awards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter-awards li:nth-child(odd)::after { left: 50%; }
  .letter-awards li:nth-child(even)::after { right: 50%; }
}
#faq { padding: clamp(36px,5vw,74px) 0; }
#faq .faq-title { font-size: clamp(30px,3.8vw,52px); margin: 0 0 22px; letter-spacing: -.04em; }
#faq .faq-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2vw,28px); align-items: start; }
#faq .faq-group { border-radius: 22px; padding: clamp(16px,2vw,28px); background: #cfe8f3; }
#faq .faq-group:nth-child(2) { background: #f5d6e6; }
#faq .faq-group h3 { margin: 0 0 14px; font-size: clamp(21px,2vw,28px); line-height: 1.15; }
#faq .faq-list { display: grid; gap: 0; }
#faq details { background: transparent; border: 0; border-top: 1px solid #28345038; border-radius: 0; }
#faq summary { min-height: 50px; padding: 14px 28px 14px 0; }
#faq summary::before, #faq summary::after { right: 3px; background: #25334e; }
#faq details[open] summary::after { transform: none; }
#faq details p { padding: 0 24px 16px 0; }
@media (max-width: 700px) {
  #faq .faq-columns { grid-template-columns: 1fr; }
  .garden-year { padding-inline: 8px; }
  .garden-year-grid { column-gap: 8px; }
  .garden-year-card:nth-child(n) { padding-inline: 0; }
  .garden-wall-columns { border-radius: 9px; }
}
/* Keep the selected calculator photo in its original proportions. */
.calc-result .calc-result-top {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
}
.calc-result-top > small { align-self: end; }
.calc-result-top > .calc-profit { align-self: start; }
.calc-result .calc-result-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 886 / 606;
  object-fit: contain;
  align-self: center;
  margin: 0;
  clip-path: none;
  border-radius: 12px;
}
@media (max-width: 1000px) {
  .calc-result .calc-result-top {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  .calc-result-top > .calc-profit { grid-area: 2 / 1; }
  .calc-result .calc-result-photo {
    grid-area: 3 / 1;
    justify-self: center;
    max-width: 380px;
    margin-top: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .garden-wall .wall-motion, .garden-wall-set[aria-hidden] { display: none; }
  .garden-wall .garden-wall-rail { animation: none; }
  .garden-wall .garden-wall-columns { aspect-ratio: auto; }
}
