:root {
  color-scheme: light;
  --ink: #252820;
  --muted: #6d7067;
  --paper: #f8f7f2;
  --orange: #ad5b3d;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
.site-header { min-height: 78px; padding: 0 8vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e6e4dc; }
.wordmark { font-size: 1.05rem; font-weight: 900; letter-spacing: -.07em; }
.wordmark span { color: var(--orange); }
.header-link, .site-footer > a:last-child { font-size: .72rem; font-weight: 700; }
.header-link span { color: var(--orange); }
.hero { min-height: 500px; padding: 7rem 12vw 6rem; position: relative; overflow: hidden; }
.hero > *:not(.hero-orbit) { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.15rem; color: var(--orange); font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; }
h1 { max-width: 900px; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .98; }
h1 span { color: var(--orange); }
.intro { max-width: 520px; margin-bottom: 1.7rem; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.scroll-link { display: inline-flex; gap: 1rem; align-items: center; padding-bottom: .45rem; border-bottom: 1px solid #c7c5bb; font-size: .74rem; font-weight: 700; }
.scroll-link span { color: var(--orange); }
.hero-orbit { position: absolute; z-index: 0; border: 1px solid #e5dfd2; border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; top: 6%; right: -5%; }
.orbit-two { width: 290px; height: 290px; top: 17%; right: 3%; background: radial-gradient(circle at 45% 40%, #f4e9d5, #f8f7f2 70%); }
.templates { padding: 5.5rem 8vw 7rem; background: #eeede6; }
.section-heading { margin-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading h2, .closing h2 { margin-bottom: 0; font-size: clamp(2.5rem, 4.5vw, 4.6rem); line-height: 1; }
.section-heading > p { max-width: 340px; margin-bottom: .25rem; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.template-card { overflow: hidden; background: var(--paper); }
.card-art { height: 245px; position: relative; overflow: hidden; }
.art-label { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .45rem .55rem; color: var(--ink); background: #ffffffd9; font-size: .56rem; font-weight: 800; letter-spacing: .1em; }
.art-studio { background: linear-gradient(135deg, #d5c6ad, #eee7d9 52%, #aaa899); }
.studio-building { width: 61%; height: 63%; position: absolute; right: 10%; bottom: 0; border: 7px solid #f3eee4; background: repeating-linear-gradient(90deg, #c9c1b1 0 15%, #e9e3d8 15.5% 43%); box-shadow: -28px -19px 0 -17px #9b907c; }
.studio-building::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 30%, #f3eee4 31% 34%, transparent 35%); }
.art-service { background: linear-gradient(140deg, #c6eafa, #e9f7fc); }
.service-sun { width: 62px; height: 62px; position: absolute; top: 21%; right: 17%; border-radius: 50%; background: #ffd65a; }
.service-house { width: 57%; height: 47%; position: absolute; bottom: 12%; left: 18%; border: 6px solid white; background: #fbfcf7; }
.service-house::before { content: ""; position: absolute; top: -35%; left: -8%; width: 116%; height: 47%; background: white; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.service-house span { width: 24%; height: 36%; position: absolute; top: 19%; border: 4px solid white; background: #79c4e1; }
.service-house span:first-child { left: 13%; }
.service-house span:last-child { right: 13%; }
.art-coffee { background: #f6d77d; }
.coffee-cup { width: 34%; height: 45%; position: absolute; bottom: 17%; left: 34%; display: grid; place-items: center; border: 3px solid #253323; border-radius: 8px 8px 35% 35%; color: white; background: #ed6948; transform: rotate(-6deg); }
.coffee-cup::before { content: ""; width: 26%; height: 36%; position: absolute; right: -25%; top: 20%; border: 6px solid #253323; border-left: 0; border-radius: 0 50% 50% 0; }
.coffee-cup span { font: italic 2rem Georgia, serif; }
.coffee-sun { position: absolute; top: 17%; left: 15%; color: #ed6948; font-size: 3.3rem; }
.card-copy { padding: 1.35rem; }
.card-category { margin-bottom: .65rem; color: var(--orange); font-size: .57rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-copy h3 { margin-bottom: .55rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; letter-spacing: -.04em; }
.card-copy > p:not(.card-category) { min-height: 3rem; margin-bottom: 1rem; color: var(--muted); font-size: .74rem; line-height: 1.65; }
.card-copy a { display: inline-flex; gap: .75rem; align-items: center; padding-bottom: .4rem; border-bottom: 1px solid #c7c5bb; font-size: .68rem; font-weight: 800; }
.card-copy a span { color: var(--orange); }
.closing { padding: 7rem 12vw; text-align: center; }
.closing .eyebrow { margin-bottom: 1.4rem; }
.closing h2 { margin-bottom: 1.2rem; }
.closing h2 em { color: var(--orange); font-weight: 400; }
.closing > p:not(.eyebrow) { max-width: 490px; margin: 0 auto 1.3rem; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.closing > a { display: inline-flex; gap: .7rem; padding-bottom: .4rem; border-bottom: 1px solid #c7c5bb; font-size: .72rem; font-weight: 800; }
.site-footer { min-height: 78px; padding: 1rem 8vw; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-top: 1px solid #e6e4dc; }
.site-footer > p { margin: 0; color: var(--muted); font-size: .63rem; }

@media (max-width: 800px) {
  .hero { padding: 6rem 8vw; }
  .templates { padding: 4rem 6vw; }
  .template-grid { grid-template-columns: 1fr 1fr; }
  .template-card:last-child { grid-column: 1 / -1; }
  .card-art { height: 220px; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 6vw; }
  .hero { min-height: 430px; padding: 5rem 7vw; }
  h1 { font-size: 3.7rem; }
  .orbit-one { right: -80%; }
  .orbit-two { right: -56%; }
  .templates { padding: 4rem 6vw; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .template-grid { grid-template-columns: 1fr; }
  .template-card:last-child { grid-column: auto; }
  .card-art { height: 240px; }
  .closing { padding: 5rem 7vw; }
  .site-footer { align-items: start; flex-direction: column; gap: .8rem; padding: 1.5rem 7vw; }
}

.template-card { position: relative; }
.card-art { overflow: hidden; position: relative; }
.card-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.template-card:hover, .card-link:focus-visible { cursor: pointer; }
.template-card:focus-within { outline: 3px solid currentColor; outline-offset: 3px; }
