:root {
  --bg: #f2f5ee;
  --surface: #ffffff;
  --ink: #1c2b21;
  --muted: #5b6b5f;
  --line: #d9e2d3;
  --green: #2d6a4f;
  --green-ink: #ffffff;
  --gold: #e9a21b;
  --gold-ink: #1c2b21;
  --deep: #1f4d39;
}

[data-theme="dark"] {
  --bg: #0e1812;
  --surface: #16251c;
  --ink: #eef3ea;
  --muted: #a6b8aa;
  --line: #27392d;
  --green: #7fcf9f;
  --green-ink: #0e1812;
  --gold: #f2b83f;
  --gold-ink: #1b1505;
  --deep: #1a3a2a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  transition: background .4s, color .4s;
  overflow-x: hidden
}

h1,
h2,
h3 {
  font-family: 'Young Serif', serif;
  font-weight: 400;
  line-height: 1.15
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px
}

.logo {
  font-family: 'Young Serif', serif;
  font-size: 1.7rem;
  color: var(--green)
}

nav {
  display: flex;
  gap: 28px;
  align-items: center
}

nav a {
  font-weight: 500;
  color: var(--muted);
  transition: color .2s
}

nav a:hover {
  color: var(--green)
}

#theme {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  transition: border-color .2s
}

#theme:hover {
  border-color: var(--gold)
}

/* hero: two arched photos */
.hero {
  padding: 60px 0 90px
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  letter-spacing: -.01em
}

.hero p {
  margin: 22px 0 32px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.1rem
}

.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--green);
  transition: transform .2s, background .2s
}

.btn.fill {
  background: var(--green);
  color: var(--green-ink)
}

.btn.line {
  background: transparent;
  color: var(--green)
}

.btn:hover {
  transform: translateY(-3px)
}

.photos {
  position: relative;
  height: 520px
}

.arch {
  position: absolute;
  overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both
}

.arch.a {
  left: 0;
  top: 30px;
  width: 58%;
  height: 88%;
  background: var(--green)
}

.arch.b {
  right: 0;
  top: 0;
  width: 44%;
  height: 58%;
  background: var(--gold);
  animation-delay: .25s
}

.note {
  position: absolute;
  right: 2%;
  bottom: 6%;
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  transform: rotate(-5deg);
  color: var(--ink);
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  animation: rise 1s .6s both
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.note {
  --r: -5deg
}

section {
  padding: 80px 0
}

.head {
  max-width: 560px;
  margin-bottom: 34px
}

.head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem)
}

.head p {
  color: var(--muted);
  margin-top: 10px
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 20px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: all .2s
}

.chip:hover {
  border-color: var(--green)
}

.chip.on {
  background: var(--green);
  border-color: var(--green);
  color: var(--green-ink)
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px
}

.card {
  transition: transform .3s
}

.card:hover {
  transform: translateY(-6px)
}

.tile {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c, var(--green));
  display: grid;
  place-items: end start
}

.tile img {
  grid-area: 1/1;
  transition: transform .7s
}

.card:hover .tile img {
  transform: scale(1.07)
}

.tile .fallback {
  grid-area: 1/1;
  padding: 18px;
  color: #fff;
  font-family: 'Young Serif', serif;
  font-size: 1.3rem
}

.info {
  padding: 14px 2px 0
}

.info h3 {
  font-size: 1.25rem
}

.info p {
  color: var(--muted);
  font-size: .95rem
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px
}

.price {
  font-weight: 700;
  color: var(--green)
}

.buy {
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s
}

.buy:hover {
  transform: scale(1.06)
}

.card.hide {
  display: none
}

/* about */
.about .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center
}

.about .pic {
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gold)
}

.about h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 16px
}

.about p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 52ch
}

.about .sign {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: var(--green);
  margin-top: 8px
}

.facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px
}

.facts div {
  border-left: 3px solid var(--gold);
  padding-left: 12px
}

.facts b {
  display: block;
  font-family: 'Young Serif', serif;
  font-weight: 400
}

.facts span {
  color: var(--muted);
  font-size: .92rem
}

.quotes .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

blockquote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  font-size: 1.05rem
}

blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  font-style: normal
}

.cta .box {
  background: var(--deep);
  color: #f1f6ee;
  border-radius: 28px;
  padding: 60px 28px;
  text-align: center
}

.cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px
}

.cta p {
  margin-bottom: 26px;
  opacity: .9
}

.cta .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c2b21
}

footer {
  padding: 34px 0 46px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: .95rem
}

@media (max-width:820px) {

  .hero .wrap,
  .about .wrap {
    grid-template-columns: 1fr
  }

  .photos {
    height: 420px
  }

  nav a.hide-m {
    display: none
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}