:root {
  --paper: #f7f5ef;
  --paper-deep: #eeeae0;
  --ink: #34312f;
  --ink-soft: #66615c;
  --berry: #92245f;
  --berry-soft: #d8a7c2;
  --teal: #347f84;
  --teal-soft: #b8d7d4;
  --leaf: #6b8558;
  --leaf-soft: #d5dfbd;
  --gold: #d59a3b;
  --gold-soft: #f0d59b;
  --line: rgba(52, 49, 47, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype",
    "Noto Serif SC", "Songti SC", serif;
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --page: min(100% - 56px, 1120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(52, 127, 132, 0.055), transparent 25rem),
    radial-gradient(circle at 92% 14%, rgba(146, 36, 95, 0.045), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.15;
  background:
    repeating-linear-gradient(
      19deg,
      transparent 0,
      transparent 4px,
      rgba(52, 49, 47, 0.012) 4px,
      rgba(52, 49, 47, 0.012) 5px
    ),
    repeating-linear-gradient(
      109deg,
      transparent 0,
      transparent 9px,
      rgba(255, 255, 255, 0.22) 9px,
      rgba(255, 255, 255, 0.22) 10px
    );
}

::selection {
  color: white;
  background: var(--berry);
}

a {
  color: inherit;
}

.skipLink {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--berry);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skipLink:focus {
  transform: translateY(0);
}

.siteHeader {
  width: var(--page);
  min-height: 98px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gardenMark {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--berry);
  text-decoration: none;
}

.gardenMark strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: -0.08em;
}

.markLeaf {
  width: 18px;
  height: 9px;
  display: block;
  position: relative;
  border-radius: 100% 0 100% 0;
  background: var(--teal);
  transform: rotate(21deg);
}

.markLeaf::after {
  content: "";
  width: 12px;
  height: 7px;
  position: absolute;
  left: -7px;
  top: 7px;
  border-radius: 100% 0 100% 0;
  background: var(--teal-soft);
  transform: rotate(-45deg);
}

.markLeafRight {
  transform: scaleX(-1) rotate(21deg);
}

.primaryNav {
  display: flex;
  gap: clamp(28px, 5vw, 58px);
}

.primaryNav a {
  position: relative;
  font-size: 0.9rem;
  text-decoration: none;
}

.primaryNav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--berry);
  transition: right 180ms ease;
}

.primaryNav a:hover::after,
.primaryNav a:focus-visible::after {
  right: 0;
}

.hero {
  width: var(--page);
  min-height: 670px;
  margin-inline: auto;
  padding: clamp(80px, 11vw, 138px) 0 90px;
  position: relative;
}

.heroEyebrow,
.contentMeta,
.sectionNumber {
  margin: 0;
  color: var(--berry);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1050px;
  margin: 23px 0 45px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.2vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.hero h1 em {
  color: var(--berry);
  font-weight: 500;
}

.heroIntro {
  max-width: 760px;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(30px, 7vw, 90px);
  color: var(--ink-soft);
}

.heroIntro p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.heroIntro p:first-child {
  color: var(--ink);
}

.heroSprig {
  width: 150px;
  height: 200px;
  position: absolute;
  right: 5%;
  bottom: 30px;
  opacity: 0.32;
  transform: rotate(8deg);
}

.heroSprig::before {
  content: "";
  width: 2px;
  height: 190px;
  position: absolute;
  left: 72px;
  bottom: 0;
  background: var(--leaf);
  transform: rotate(22deg);
  transform-origin: bottom;
}

.heroSprig span {
  width: 47px;
  height: 26px;
  position: absolute;
  border: 2px solid var(--leaf);
  border-radius: 100% 0 100% 0;
}

.heroSprig span:nth-child(1) {
  left: 68px;
  top: 8px;
  transform: rotate(22deg);
}

.heroSprig span:nth-child(2) {
  left: 36px;
  top: 55px;
  transform: scaleX(-1) rotate(8deg);
}

.heroSprig span:nth-child(3) {
  left: 83px;
  top: 94px;
  transform: rotate(13deg);
}

.heroSprig span:nth-child(4) {
  left: 47px;
  top: 139px;
  transform: scaleX(-1) rotate(4deg);
}

.gardenIntro,
.contentSection,
.now,
.about,
footer {
  width: var(--page);
  margin-inline: auto;
}

.gardenIntro {
  padding: 85px 0 100px;
  border-top: 1px solid var(--line);
}

.sectionHeading {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: end;
}

.sectionHeading > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sectionIcon {
  color: var(--teal);
  font-size: 2.1rem;
}

.sectionHeading h2,
.contentSectionHead h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.sectionHeading > p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.contentSection {
  padding: 75px 0 120px;
  border-top: 1px solid var(--line);
}

.contentSectionHead {
  margin-bottom: 55px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contentSectionHead > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contentSectionHead h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.contentSectionHead > p {
  max-width: 330px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.sectionNumber {
  width: 32px;
  height: 32px;
  border: 1px solid var(--berry-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.essayGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 34px;
}

.essayCard {
  min-width: 0;
}

.essayArt {
  height: 280px;
  margin-bottom: 25px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 13px 32px rgba(52, 49, 47, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.essayCard:hover .essayArt {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 18px 40px rgba(52, 49, 47, 0.13);
}

.artDecisions {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.45), transparent 14%),
    linear-gradient(135deg, #eed4df, #bf6d98);
}

.orbit {
  position: absolute;
  border: 2px solid rgba(75, 23, 50, 0.4);
  border-radius: 50%;
}

.orbitOne {
  width: 220px;
  height: 220px;
  left: 13%;
  top: 28px;
}

.orbitTwo {
  width: 330px;
  height: 120px;
  right: -40px;
  top: 88px;
  transform: rotate(-24deg);
}

.artDecisions b {
  position: absolute;
  left: 50%;
  top: 48%;
  color: #6c234b;
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 400;
  transform: translate(-50%, -50%);
}

.artSystems {
  padding: 38px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    #b9d7d5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.artSystems span {
  border: 2px solid #2f7779;
  border-radius: 50% 50% 8px 50%;
  background: rgba(247, 245, 239, 0.48);
}

.artSystems span:nth-child(2),
.artSystems span:nth-child(3) {
  border-radius: 50% 8px 50% 50%;
  transform: rotate(14deg);
}

.artHumanAI {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), transparent 32%),
    #e3c989;
}

.humanDot,
.aiDot {
  width: 94px;
  height: 94px;
  position: absolute;
  top: 92px;
  border-radius: 50%;
}

.humanDot {
  left: calc(50% - 112px);
  background: var(--berry);
}

.aiDot {
  right: calc(50% - 112px);
  border: 3px solid var(--teal);
  background: rgba(247, 245, 239, 0.28);
}

.artHumanAI i {
  width: 72px;
  height: 2px;
  position: absolute;
  left: calc(50% - 36px);
  top: 139px;
  background: var(--ink);
}

.artLongTerm {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.45), transparent 22%),
    #ced9b1;
}

.stem {
  width: 3px;
  height: 220px;
  position: absolute;
  left: 50%;
  bottom: -14px;
  background: #577044;
  transform: rotate(11deg);
}

.leaf {
  width: 85px;
  height: 45px;
  position: absolute;
  border: 3px solid #577044;
  border-radius: 100% 0 100% 0;
}

.leafOne {
  left: calc(50% + 6px);
  top: 48px;
  transform: rotate(16deg);
}

.leafTwo {
  left: calc(50% - 76px);
  top: 108px;
  transform: scaleX(-1) rotate(2deg);
}

.leafThree {
  left: calc(50% + 16px);
  top: 160px;
  transform: rotate(8deg);
}

.essayBody h3 {
  margin: 11px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.essayBody > p:last-child {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.noteList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  border-top: 1px solid var(--line);
}

.note {
  min-height: 108px;
  padding: 24px 4px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease;
}

.note:hover {
  color: var(--berry);
  transform: translateX(4px);
}

.noteSeed {
  width: 14px;
  height: 20px;
  border: 1px solid var(--teal);
  border-radius: 100% 0 100% 0;
  transform: rotate(12deg);
}

.note h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
}

.note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.patternGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.patternCard {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background 180ms ease;
}

.patternCard:hover {
  background: rgba(213, 223, 189, 0.28);
}

.patternGlyph {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 2.2rem;
}

.patternCard h3 {
  margin: 22px 0 12px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.patternCard p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.patternTag {
  margin-top: auto;
  padding-top: 24px;
  color: var(--berry);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.now {
  margin-top: 35px;
  margin-bottom: 130px;
  padding: clamp(50px, 8vw, 90px);
  position: relative;
  border: 1px solid rgba(52, 127, 132, 0.28);
  border-radius: 6px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.6), transparent 23%),
    var(--teal-soft);
  overflow: hidden;
}

.nowHeading {
  max-width: 780px;
  position: relative;
}

.nowHeading > p {
  margin: 0 0 18px;
  color: #22676b;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.now h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.nowDetails {
  margin-top: 75px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(52, 49, 47, 0.18);
}

.nowDetails > div {
  min-height: 110px;
  padding: 22px 24px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-right: 1px solid rgba(52, 49, 47, 0.18);
}

.nowDetails > div + div {
  padding-left: 24px;
}

.nowDetails > div:last-child {
  border-right: 0;
}

.nowDetails span {
  color: #3f7778;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nowDetails strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.nowDecoration {
  position: absolute;
  right: 4%;
  top: 12%;
}

.nowDecoration span {
  width: 55px;
  height: 28px;
  display: block;
  position: absolute;
  border: 2px solid rgba(52, 127, 132, 0.38);
  border-radius: 100% 0 100% 0;
}

.nowDecoration span:nth-child(1) {
  right: 40px;
  top: 0;
  transform: rotate(28deg);
}

.nowDecoration span:nth-child(2) {
  right: 0;
  top: 37px;
  transform: scaleX(-1) rotate(8deg);
}

.nowDecoration span:nth-child(3) {
  right: 54px;
  top: 70px;
  transform: rotate(4deg);
}

.about {
  padding: 105px 0 140px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 1.35fr;
  gap: clamp(60px, 10vw, 130px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.aboutPortrait {
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 36% 27%, rgba(255, 255, 255, 0.8), transparent 12%),
    var(--gold-soft);
  overflow: hidden;
}

.aboutPortrait strong {
  color: var(--berry);
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.1em;
}

.aboutPortrait i {
  position: absolute;
  bottom: 19%;
  color: rgba(52, 49, 47, 0.62);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.22em;
}

.portraitRing {
  position: absolute;
  border: 1px solid rgba(52, 49, 47, 0.2);
  border-radius: 50%;
}

.ringOne {
  width: 78%;
  height: 78%;
}

.ringTwo {
  width: 120%;
  height: 42%;
  transform: rotate(-24deg);
}

.aboutCopy h2 {
  margin: 18px 0 30px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.aboutCopy > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}

footer {
  min-height: 190px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
}

footer > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--berry);
  text-underline-offset: 5px;
}

footer small {
  position: absolute;
  right: 0;
  bottom: 20px;
  font-size: 0.62rem;
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 36px, 1120px);
  }

  .hero {
    min-height: auto;
    padding: 80px 0 110px;
  }

  .heroSprig {
    opacity: 0.2;
    right: -20px;
  }

  .sectionHeading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .contentSectionHead {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .essayGrid {
    gap: 46px 24px;
  }

  .noteList {
    grid-template-columns: 1fr;
  }

  .nowDetails {
    grid-template-columns: 1fr;
  }

  .nowDetails > div,
  .nowDetails > div + div {
    min-height: 95px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(52, 49, 47, 0.18);
  }

  .about {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 28px, 1120px);
  }

  .siteHeader {
    min-height: 84px;
  }

  .primaryNav {
    gap: 22px;
  }

  .primaryNav a {
    font-size: 0.78rem;
  }

  .hero {
    padding: 70px 0 90px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14.5vw, 4.8rem);
  }

  .heroIntro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .heroSprig {
    display: none;
  }

  .gardenIntro {
    padding: 70px 0 80px;
  }

  .contentSection {
    padding: 65px 0 90px;
  }

  .contentSectionHead > div {
    align-items: flex-start;
  }

  .contentSectionHead h2 {
    font-size: 2.5rem;
  }

  .essayGrid {
    grid-template-columns: 1fr;
  }

  .essayArt {
    height: 230px;
  }

  .patternGrid {
    grid-template-columns: 1fr;
  }

  .patternCard {
    min-height: 235px;
  }

  .note {
    grid-template-columns: auto 1fr;
  }

  .note p {
    grid-column: 2;
  }

  .now {
    width: calc(100% - 20px);
    margin-bottom: 95px;
    padding: 55px 25px;
  }

  .about {
    padding: 80px 0 100px;
    grid-template-columns: 1fr;
  }

  .aboutPortrait {
    width: min(300px, 82vw);
    margin-inline: auto;
  }

  footer {
    min-height: 180px;
    grid-template-columns: 1fr auto;
  }

  footer > p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
