/* Concept demo: Fernhill Landscape Co. — calm, editorial, serif-led, organic palette. */
:root {
  --cream: #f2eee3;
  --paper: #faf8f1;
  --green: #2d4a37;
  --moss: #4d6b4f;
  --sage: #dfe5d2;
  --clay: #a04c24;
  --clay-hi: #c96a3c;
  --ink: #1d2a22;
  --muted: #566559;
  --line: rgba(29, 42, 34, 0.18);
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(242, 238, 227, 0.96); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--green); }
.brand span { font-weight: 400; font-style: italic; color: var(--muted); }
.brand__mark { width: 1.7rem; height: 1.7rem; }
.header__nav { display: none; gap: 2rem; font-size: .95rem; }
.header__right { display: flex; align-items: center; gap: 1.5rem; }
.header__tel { display: none; font-weight: 500; font-size: .95rem; color: var(--green); }
.header__tel:hover { color: var(--clay); }
@media (min-width: 70rem) { .header__tel { display: inline; } }
.header__nav a { padding: .4rem 0; border-bottom: 1px solid transparent; }
.header__nav a:hover { border-bottom-color: var(--green); }
@media (min-width: 52rem) { .header__nav { display: flex; } }
@media (max-width: 34rem) { .brand span { display: none; } }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .6rem 1.4rem; border-radius: 999px; background: var(--green); color: var(--cream); font-weight: 500; font-size: .95rem; border: 0; transition: background-color .2s; }
.pill:hover { background: var(--moss); }
.pill--clay { background: var(--clay); color: #fff; min-height: 3.2rem; padding-inline: 1.8rem; font-size: 1rem; }
.pill--clay:hover { background: var(--clay-hi); }
@media (max-width: 34rem) { .header__inner .pill { padding-inline: 1rem; font-size: .85rem; } }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
em { font-style: italic; color: var(--moss); }

.hero { position: relative; }
.hero__photo { height: clamp(20rem, 60vh, 40rem); overflow: hidden; background: var(--sage); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__panel { position: relative; max-width: 52rem; margin-top: clamp(-9rem, -10vw, -3rem); padding: clamp(1.5rem, 4vw, 3rem); background: var(--cream); }
.hero h1 { margin-top: 1rem; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.05; text-wrap: balance; color: var(--green); }
.hero__lede { margin-top: 1.4rem; max-width: 34rem; color: var(--muted); font-size: 1.12rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }
.link-arrow { font-weight: 500; border-bottom: 1px solid var(--green); padding-bottom: .1rem; }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
@media (min-width: 70rem) { .hero__panel { margin-left: -1rem; } }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--sage { background: var(--sage); }
.section__head { margin-bottom: 2.5rem; }
.section__head h2, .estimate h2 { margin-top: .7rem; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; color: var(--green); text-wrap: balance; max-width: 22ch; }
.note { margin-top: .8rem; color: var(--muted); font-size: .95rem; }

.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--line); }
.tabs__list [role="tab"] { padding: .8rem 1.3rem; background: none; border: 0; border-bottom: 3px solid transparent; font-family: var(--serif); font-size: 1.2rem; color: var(--muted); margin-bottom: -1px; }
.tabs__list [role="tab"]:hover { color: var(--green); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--green); border-bottom-color: var(--clay); font-weight: 600; }
.tabs__panel { padding-top: 2rem; display: grid; gap: 1.5rem; }
.season-art { width: 100%; max-width: 20rem; height: auto; border-radius: 4px; border: 1px solid var(--line); }
.tabs__panel[hidden] { display: none; }
.tabs__lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; color: var(--green); max-width: 26ch; }
.tabs__panel ul { display: grid; gap: .1rem; border-top: 1px solid var(--line); }
.tabs__panel li { padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.tabs__panel li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .7rem; height: 1px; background: var(--clay); }
@media (min-width: 52rem) {
  .tabs__panel { grid-template-columns: 5fr 6fr; grid-template-rows: auto 1fr; column-gap: 4rem; row-gap: 1.5rem; align-items: start; }
  .tabs__panel .tabs__lead { grid-column: 1; grid-row: 1; }
  .tabs__panel ul { grid-column: 1; grid-row: 2; align-self: start; }
  .tabs__panel .season-art { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; aspect-ratio: auto; min-height: 24rem; }
  .tabs__panel .season-art img { position: absolute; inset: 0; }
}

.gallery { display: grid; gap: 1.5rem; }
.gallery figure { background: var(--paper); border: 1px solid var(--line); }
.gallery svg { width: 100%; height: auto; }
.gallery figcaption { padding: 1rem 1.2rem 1.2rem; color: var(--muted); font-size: .95rem; }
.gallery figcaption small { display: block; margin-top: .6rem; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.gallery figcaption strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--green); }
@media (min-width: 52rem) { .gallery { grid-template-columns: repeat(3, 1fr); }  }

.estimate { display: grid; gap: 2.5rem; }
.estimate__intro > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); max-width: 28rem; }
.summary { margin-top: 2rem; padding: 1.25rem 1.4rem; background: var(--paper); border-left: 4px solid var(--clay); max-width: 28rem; }
.summary h3 { font-size: 1.1rem; color: var(--green); }
.summary p { margin-top: .4rem; color: var(--ink); font-size: .98rem; }
.form { display: grid; gap: 1.6rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .75rem; font-family: var(--serif); font-size: 1.15rem; color: var(--green); }
.options, .sizes { display: flex; flex-wrap: wrap; gap: .55rem; }
.options legend, .sizes legend { width: 100%; }
.options label, .sizes label { position: relative; }
.options input, .sizes input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.options span, .sizes span { display: inline-block; padding: .55rem 1.1rem; border: 1px solid var(--green); border-radius: 999px; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s; }
.options input:checked + span, .sizes input:checked + span { background: var(--green); color: var(--cream); }
.options input:focus-visible + span, .sizes input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .9rem; }
.field input { min-height: 3rem; padding: .6rem .85rem; background: #fff; border: 1px solid var(--green); border-radius: 2px; }
.field.has-error input { border-color: #b3261e; }
.err { color: #b3261e; font-size: .85rem; }
.form .pill { justify-self: start; }
.status { padding: 1rem 1.2rem; background: #e3efdf; border-left: 4px solid var(--moss); font-size: .95rem; }
.status[hidden] { display: none; }
@media (min-width: 40rem) { .row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .estimate { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.site-footer { padding-block: 2.5rem; background: var(--green); color: #cfdacb; font-size: .9rem; }
.footer__inner { display: grid; gap: 1rem; }
.footer__brand { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); }
.footer__brand span { font-style: italic; color: #a8b89a; }
.footer__concept { max-width: 36rem; color: #a8b89a; }
.footer__concept a { color: var(--cream); text-decoration: underline; }
@media (min-width: 48rem) { .footer__inner { grid-template-columns: 1fr 1fr; align-items: end; } }

/* hero strip */
.hero__strip { display: flex; flex-wrap: wrap; gap: .4rem 2.25rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--moss); }
.hero__strip p:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 2.25rem; border-radius: 50%; background: var(--clay); vertical-align: middle; }
@media (max-width: 40rem) { .hero__strip { gap: .3rem 1.25rem; font-size: .98rem; } .hero__strip p:not(:last-child)::after { margin-left: 1.25rem; } }

/* approach */
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.approach { display: grid; gap: 2.5rem; }
.approach h2 { margin-top: .7rem; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; color: var(--green); text-wrap: balance; }
.approach__list { display: grid; }
.approach__list li { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.approach__list li:last-child { border-bottom: 1px solid var(--line); }
.approach__list h3 { font-size: 1.5rem; color: var(--green); }
.approach__list p { margin-top: .5rem; max-width: 34rem; color: var(--muted); }
@media (min-width: 62rem) { .approach { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; } .approach__list li:first-child { border-top: 0; padding-top: 0; } }

/* contact list */
.contact-list { margin-top: 1.75rem; max-width: 28rem; border-top: 1px solid var(--line); }
.contact-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; color: var(--green); text-align: right; }
.contact-list a:hover { color: var(--clay); }
.field textarea { width: 100%; padding: .6rem .85rem; background: #fff; border: 1px solid var(--green); border-radius: 2px; }
.opt { font-weight: 400; color: var(--muted); }

/* footer, fuller */
.footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
.footer__k { margin-bottom: .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a8b89a; }
.site-footer a { color: var(--cream); }
.site-footer p a:hover { text-decoration: underline; }
.site-footer .footer__concept { max-width: none; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(242, 238, 227, .16); }
@media (min-width: 48rem) { .footer__inner { grid-template-columns: 2fr 1.4fr 1fr; align-items: start; } }

/* photos and designed photo slots */
.photo { position: relative; overflow: hidden; border-radius: 4px; background: var(--sage); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.season-art { width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 3; border: 0; }
.gallery figure { overflow: hidden; }
.gallery .photo { aspect-ratio: 4 / 3; border-radius: 0; }
@media (min-width: 52rem) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .gallery__wide { grid-column: 1 / -1; }
  .gallery__wide .photo { aspect-ratio: 21 / 9; }
}

/* approach photo */
.approach__lead { display: grid; gap: 2rem; align-content: start; }
.approach__photo { max-width: 24rem; }
.approach__photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 240px 240px 4px 4px; }
@media (max-width: 61.99rem) { .approach__photo { max-width: 20rem; } }

@media (max-width: 34rem) { .tabs__list { gap: 0; } .tabs__list [role="tab"] { padding: .7rem .8rem; font-size: 1.05rem; } .hero__photo img { object-position: 38% 60%; } }
