/* Verdant: a botanical almanac. Soft serif type, arches and domes, a garden you step into.
   All interface colors are supplied by the selected palette. */
@font-face { font-family: 'Verdant Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces.woff2) format('woff2'); }
@font-face { font-family: 'Verdant Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-italic.woff2) format('woff2'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.gardening-site { --serif: 'Verdant Fraunces', Georgia, 'Times New Roman', serif; --leaf: color-mix(in srgb, var(--primary) 14%, var(--background)); background: var(--background); color: var(--text); font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.7; }
.gardening-site ::selection { background: var(--primary); color: var(--on-primary); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
a, p, h1, h2, h3 { overflow-wrap: anywhere; }
p, h1, h2, h3, figure { margin: 0; }
svg { width: 23px; height: 23px; flex-shrink: 0; }
img { display: block; max-width: 100%; object-fit: cover; }
.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.section-pad { padding-block: 120px; }
section[id] { scroll-margin-top: 24px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; z-index: 10; background: var(--primary); color: var(--on-primary); }
.skip-link:focus { top: 12px; }

/* Preview bar */
.sample-bar { border-bottom: 1px solid var(--border); background: var(--surface); }
.sample-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 41px; font-size: 11px; color: var(--muted-text); }
.palette-options { display: flex; align-items: center; gap: 5px; }
.palette-options > span { margin-right: 10px; }
.palette-option { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid transparent; border-radius: 50%; }
.palette-option span { width: 17px; height: 17px; border-radius: 50%; background: var(--swatch); }
.palette-option[aria-current] { border-color: var(--text); }
.palette-option:hover { border-color: var(--muted-text); }

/* Header */
.site-header { min-height: 104px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: italic 500 42px/.9 var(--serif); letter-spacing: -1.5px; }
.brand-symbol { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50% 50% 50% 8px; background: var(--primary); color: var(--on-primary); }
.brand-symbol svg { width: 26px; height: 26px; }
.brand-description { display: block; font: normal 600 9px/1.6 'Segoe UI', Arial, sans-serif; letter-spacing: 2.5px; margin-top: 7px; text-transform: uppercase; color: var(--muted-text); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.site-nav a, .header-contact { font-size: 14px; }
.site-nav a:hover, .languages a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-contact { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; padding: 11px 20px; margin-left: 6px; background: var(--leaf); font-weight: 600; }
.header-contact:hover { background: var(--primary); color: var(--on-primary); }
.header-contact svg { width: 17px; }
.languages { display: flex; gap: 3px; font-size: 12px; }
.languages a { padding: 6px; }
.languages a[aria-current] { font-weight: bold; text-decoration: underline; text-underline-offset: 5px; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; line-height: 1.7; margin-bottom: 22px; color: var(--primary); }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: 'opsz' 144; }
h1 { font-size: clamp(54px, 6.6vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 350; }
h1 em, h2 em { font-weight: 300; color: var(--primary); }
h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; }
h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }

/* Buttons */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; background: var(--primary); color: var(--on-primary); border-radius: 999px; min-height: 56px; padding: 15px 28px; font-size: 15px; font-weight: 600; }
.button svg { width: 19px; }
.button:hover { filter: brightness(.92); }
.text-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--border); padding-block: 6px; font-size: 15px; font-weight: 600; }
.text-link svg { width: 18px; }
.text-link:hover { border-color: var(--primary); }

/* Hero: the garden fills the page, the copy sits in a sunlit arch */
.hero { position: relative; isolation: isolate; min-height: 780px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 70px; overflow: hidden; }
.hero-art { position: absolute; inset: 0 0 0 0; z-index: -1; }
.hero-art > img { width: 100%; height: 100%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--background) 70%, transparent)); }
.hero-inner { display: flex; }
.hero-copy { width: min(640px, 100%); background: var(--background); border-radius: 320px 320px 0 0; padding: 92px 64px 54px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.hero-description { max-width: 440px; color: var(--muted-text); font-size: 17px; line-height: 1.75; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 12px; font: italic 18px/1.5 var(--serif); margin-top: 38px; color: var(--muted-text); }
.hero-note svg { width: 22px; height: 26px; color: var(--primary); }
.garden-seal { position: absolute; top: 60px; right: max(56px, calc((100% - 1320px) / 2)); width: 168px; height: 168px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--primary); color: var(--on-primary); font: italic 17px/1.25 var(--serif); padding: 20px; outline: 2px dashed color-mix(in srgb, var(--primary) 60%, white); outline-offset: 7px; transform: rotate(-8deg); }
.garden-seal svg { width: 28px; height: 28px; }
.image-index { position: absolute; bottom: 98px; right: max(56px, calc((100% - 1320px) / 2)); background: var(--surface); color: var(--text); padding: 8px 16px; border-radius: 999px; font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.hero-foot { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; background: var(--background); box-shadow: 0 0 0 100vmax var(--background); clip-path: inset(0 -100vmax); }
.hero-foot span:last-child { font: italic 400 17px/1.5 var(--serif); letter-spacing: 0; color: var(--primary); }

/* Values: a planted border */
.values-strip { background: var(--primary); color: var(--on-primary); padding-block: 30px; }
.values-strip .shell { display: flex; justify-content: space-between; gap: 24px; font: italic 400 clamp(22px, 2.2vw, 32px)/1.2 var(--serif); }
.values-strip span { display: inline-flex; align-items: center; gap: 16px; }
.values-strip svg { width: 28px; height: 28px; opacity: .8; }

/* Section headings */
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section-heading > p { color: var(--muted-text); font-size: 17px; max-width: 420px; justify-self: end; }

/* Services: seed packets with domed tops */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 200px 200px 28px 28px; padding: 64px 38px 36px; text-align: center; }
.service-card:nth-child(2) { background: var(--leaf); transform: translateY(42px); }
.service-top { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 26px; }
.service-icon { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.service-icon svg { width: 38px; height: 38px; }
.service-number { font: italic 300 30px/1 var(--serif); color: var(--primary); }
.service-card h3 { font-size: 32px; }
.service-card p { color: var(--muted-text); margin-top: 16px; font-size: 15.5px; flex: 1; }
.service-tag { display: inline-block; align-self: center; margin-top: 28px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); font: italic 16px/1.3 var(--serif); color: var(--text); }

/* About: an arched window onto the work */
.about { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 100px; }
.about-art { position: relative; min-width: 0; }
.about-art img { width: 100%; height: 640px; border-radius: 999px 999px 24px 24px; }
.about-mark { position: absolute; right: -36px; bottom: 70px; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--background); color: var(--primary); border: 1px solid var(--border); }
.about-mark svg { width: 44px; height: 44px; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p:not(.eyebrow) { font: 400 22px/1.6 var(--serif); color: var(--text); margin-bottom: 34px; max-width: 560px; }
.about-copy p:not(.eyebrow)::first-letter { float: left; font-size: 3.4em; line-height: .82; padding: 8px 12px 0 0; color: var(--primary); font-style: italic; }

/* Gallery: arch, circle and pebble */
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; align-items: end; gap: 28px; }
.gallery-grid figure { position: relative; min-width: 0; }
.gallery-grid img { width: 100%; height: 520px; border-radius: 999px 999px 0 0; }
.gallery-grid figure:nth-child(2) img { height: 360px; border-radius: 50%; aspect-ratio: 1; }
.gallery-grid figure:nth-child(3) img { height: 440px; border-radius: 60px 160px 60px 160px; }
.gallery-grid figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; font: italic 22px/1.3 var(--serif); }
.gallery-grid figcaption span { font: 700 12px/1 'Segoe UI', Arial, sans-serif; letter-spacing: 2px; color: var(--primary); font-style: normal; }

/* Process: a path through the seasons */
.process { background: var(--leaf); border-radius: 56px; width: min(1320px, calc(100% - 112px)); margin-inline: auto; text-align: center; }
.process .eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.process .shell { width: auto; padding-inline: 64px; }
.process h2 { margin-bottom: 70px; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.process-grid::before { content: ''; position: absolute; top: 38px; left: 16%; right: 16%; border-top: 2px dashed color-mix(in srgb, var(--primary) 55%, transparent); }
.process-grid article { position: relative; }
.process-grid span { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: italic 400 30px/1 var(--serif); box-shadow: 0 0 0 10px var(--leaf); }
.process-grid h3 { font-size: 27px; margin-bottom: 12px; }
.process-grid p { color: var(--muted-text); max-width: 320px; margin-inline: auto; }

/* Contact: a dome of colour */
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; background: var(--primary); color: var(--on-primary); border-radius: 50% 50% 40px 40px / 160px 160px 40px 40px; padding: 150px 90px 90px; margin-block: 120px 0; }
.contact .eyebrow { color: var(--on-primary); }
.contact h2 { font-size: clamp(46px, 5.4vw, 84px); }
.contact > div > p { font-size: 18px; margin: 26px 0 36px; max-width: 520px; opacity: .9; }
.contact .button { background: var(--on-primary); color: var(--primary); }
.contact-details { background: var(--background); color: var(--text); border-radius: 32px; padding: 40px; }
.contact-details > svg { width: 36px; height: 36px; color: var(--primary); margin-bottom: 18px; }
.contact-details h3 { font-size: 26px; }
.contact-details p { color: var(--muted-text); margin: 14px 0 22px; }

/* Footer */
.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px 40px; padding-block: 64px 30px; }
.site-footer p { font: italic 22px/1.4 var(--serif); color: var(--primary); }
.back-top { font-size: 14px; font-weight: 600; }
.site-footer small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted-text); font-size: 12px; }

@media (max-width: 1100px) {
  .shell, .process { width: calc(100% - 64px); }
  .site-nav { display: none; }
  .header-contact { margin-left: auto; }
  .about { gap: 60px; }
  .about-art img { height: 540px; }
  .services-grid { gap: 18px; }
  .service-card { padding: 54px 24px 30px; }
  .contact { padding: 130px 54px 60px; grid-template-columns: 1fr; }
  .values-strip .shell { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 760px) {
  .shell, .process { width: calc(100% - 36px); }
  .section-pad { padding-block: 76px; }
  .sample-content > span { max-width: 130px; line-height: 1.4; }
  .palette-options > span { display: none; }
  .site-header { min-height: 84px; gap: 12px; }
  .brand { font-size: 32px; }
  .brand-symbol { width: 40px; height: 40px; }
  .brand-description { display: none; }
  .header-contact { padding: 9px 14px; font-size: 13px; }
  .header-contact svg { display: none; }
  .hero { min-height: 0; padding-top: 300px; }
  .hero-art { bottom: auto; height: 420px; }
  .hero-art::after { display: none; }
  .hero-copy { border-radius: 200px 200px 0 0; padding: 70px 22px 34px; }
  h1 { font-size: 50px; }
  h2 { font-size: 40px; }
  .hero-description { font-size: 16px; }
  .garden-seal { top: 24px; right: 18px; width: 118px; height: 118px; font-size: 13px; }
  .garden-seal svg { width: 20px; height: 20px; }
  .image-index { display: none; }
  .hero-foot { flex-direction: column; gap: 6px; text-align: center; }
  .values-strip .shell { flex-direction: column; align-items: center; font-size: 22px; gap: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .section-heading > p { justify-self: start; }
  .services-grid, .gallery-grid, .process-grid, .about { grid-template-columns: 1fr; }
  .service-card:nth-child(2) { transform: none; }
  .about-art img { height: 440px; }
  .about-mark { right: 12px; bottom: 24px; width: 84px; height: 84px; }
  .about-copy p:not(.eyebrow) { font-size: 19px; }
  .gallery-grid img, .gallery-grid figure:nth-child(3) img { height: 360px; }
  .gallery-grid figure:nth-child(2) img { height: auto; width: 80%; margin-inline: auto; }
  .process { border-radius: 32px; padding-inline: 20px; }
  .process-grid::before { display: none; }
  .contact { padding: 100px 24px 40px; border-radius: 50% 50% 28px 28px / 90px 90px 28px 28px; margin-top: 76px; }
  .contact-details { padding: 28px; }
  .site-footer { grid-template-columns: 1fr; }
}
