/* Essex Home family typography and proportions.
   Measured against the Garden Rooms site, 21 October 2026. */
:root {
  --sans: 'Manrope', system-ui, sans-serif;
  --display: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --section-y: clamp(64px, 7vw, 120px);
  --section-x: max(clamp(20px, 6vw, 96px), calc((100% - 1360px) / 2));
  --card-gap: clamp(16px, 2vw, 28px);
  --header-h: clamp(72px, 6.5vw, 96px);
}
html { scroll-padding-top: calc(var(--header-h) + 20px); }
body { font-size:clamp(19.2px, 1.44vw, 21.6px); line-height: 1.65; }
body h1, body h2, body h3 { font-family: var(--display); text-wrap: balance; }
body p { text-wrap: pretty; }
body .hero h1, body .content-heading h1, body .contact-story h1, body .review-intro h1 {
  font-family: var(--display); font-size:clamp(45.6px, 5.28vw, 79.2px);
  font-weight: 700; line-height: 1.04; letter-spacing: -.02em;
}
body :is(.section, .difference, .garden-feature, .content-body, .contact-layout, .contact-next, .contact-explore, .review-content) h2 {
  font-size:clamp(33.6px, 3.72vw, 55.2px); font-weight: 600; line-height: 1.08; letter-spacing: -.015em;
}
body .eyebrow { font-size:14.4px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; margin-bottom: 20px; }
body .section { padding: var(--section-y) var(--section-x); }
body .section-heading { gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(32px, 4vw, 56px); }
body .section-heading > p { max-width: 480px; font-size:clamp(19.2px, 1.5vw, 22.8px); line-height: 1.6; }
body .button { min-height: 52px; padding: 17px 26px; font-size:15.6px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; gap: 12px; border-radius: 2px; }
body .button.small { min-height: 44px; padding: 13px 20px; font-size:14.4px; }
body .text-link { font-size:18px; line-height: 1.5; }
body .site-header { height: var(--header-h); padding: 0 max(clamp(20px, 4vw, 64px), calc((100% - 1560px) / 2)); gap: 24px; }
body .site-header .brand-logo { width: clamp(110px, 11vw, 150px); height: calc(var(--header-h) - 8px); object-fit: contain; }
body .desktop-nav { font-size:14.4px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; gap: clamp(16px, 2vw, 28px); }
body .header-phone { font-size:15.6px; }
body .mobile-menu:not([hidden]) { top: var(--header-h); }

/* More of the photograph is visible above the balanced two-column hero. */
body .hero { height: calc(100svh - var(--header-h)); min-height: 640px; max-height: 1104px; }
body .hero-content { left: var(--section-x); right: var(--section-x); top: auto; bottom: 145px; transform: none; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(32px, 4vw, 64px); }
body .hero-message { text-align: right; }
body .hero-copy { font-size:clamp(19.2px, 1.5vw, 22.8px); line-height: 1.6; margin: 0 0 28px; max-width: 560px; margin-left: auto; }
body .hero-buttons { flex-direction: column; align-items: flex-end; gap: 20px; }
body .hero-shade { background: linear-gradient(180deg, rgba(11,18,14,.28), rgba(11,18,14,.06) 35%, rgba(11,18,14,.94) 100%); }
body .hero-top, body .hero-bottom { left: var(--section-x); right: var(--section-x); }
body .hero-top { font-size:14.4px; letter-spacing: .14em; }
body .hero-tabs button { font-size:16.8px; }
body .hero-bottom { height: 88px; }

/* All seven services use the same landscape image treatment. */
body .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }
body .essential-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
body .service-card, body .service-card.wide, body .essential-card {
  display: block; grid-column: auto; aspect-ratio: 4 / 3; min-height: 0;
  padding: 0; border: 0; position: relative; overflow: hidden;
  color: #fff; background: var(--dark); isolation: isolate;
  outline: 1px solid transparent; outline-offset: 4px;
  transition: outline-color .25s;
}
body .service-card:hover { background: var(--dark); outline-color: #9d814d; }
body .service-card:focus-visible { outline: 3px solid #967334; outline-offset: 5px; }
body .service-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
body .service-card::after { background: linear-gradient(180deg, rgba(9,15,12,.6), rgba(9,15,12,0) 28%, rgba(9,15,12,.12) 40%, rgba(9,15,12,.94) 100%); }
body .card-top { top: 20px; left: 24px; right: 24px; font-size:14.4px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; gap: 15px; align-items: flex-start; }
body .card-top > span { flex-shrink: 0; }
body .card-copy { bottom: 24px; left: 24px; right: 24px; }
body .card-copy h3 { font-size:clamp(26.4px, 2.16vw, 33.6px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; margin-bottom: 8px; }
body .card-copy p, body .essential-card p { font-size:16.8px; line-height: 1.5; color: #f0eee7; max-width: 37ch; min-height: 0; }
body .essential-heading { font-size:14.4px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; margin: clamp(32px, 4vw, 56px) 0 24px; }
body .essential-card .card-top { font-size:14px; letter-spacing: .07em; }
body .essential-card.air-conditioning img { object-position: center 38%; }
body .essential-card.electrical img { object-position: center 36%; }
body .essential-card.boilers-heating img { object-position: center 44%; }

/* Shared body scale across service copy, contact surroundings and reviews. */
body :is(.editorial-intro p, .service-detail-copy p, .planning-cards p, .local-copy p, .guide-copy > p:not(.eyebrow), .guide-result p, .process-grid p, .promise p, .faq-list details p, .difference-content > p:not(.eyebrow), .enquire > div > p:not(.eyebrow), .coverage > p, .contact-intro, .quote-heading > p:last-child, .service-review-heading p:not(.eyebrow), .review-cta p:not(.eyebrow), .article-cta p) {
  font-size:clamp(19.2px, 1.44vw, 21.6px); line-height: 1.65;
}
body .difference .intro, body .review-intro .review-lead, body .prose .lead { font-size:clamp(21.6px, 1.8vw, 26.4px); line-height: 1.6; }
body .difference-content { padding: var(--section-y) clamp(24px, 6vw, 96px); }
body .difference-image { min-height: 520px; }
body .project-guide { gap: clamp(32px, 5vw, 96px); }
body .guide-result h3, body .contact-panel h3 { font-size:clamp(28.8px, 2.76vw, 40.8px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
body .planning-cards h3, body .process-grid h3, body .promise h3, body .contact-next h3 { font-size:clamp(24px, 2.04vw, 30px); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
body .garden-feature-copy { padding: 0 var(--section-x); }
body .garden-feature p:not(.eyebrow) { font-size:clamp(19.2px, 1.5vw, 22.8px); line-height: 1.6; }
body .reviews-grid blockquote { font-size:clamp(21.6px, 1.8vw, 26.4px); line-height: 1.65; }
body .customer-review blockquote { font-size:clamp(24px, 2.16vw, 31.2px); line-height: 1.55; letter-spacing: -.015em; }
body .contact-panel p { font-size:19.2px !important; line-height: 1.65; }
body .contact-panel .button, body .guide-result .button, body .whatsapp-button { font-size:15.6px; }
body .footer h3 { font-family: var(--sans); font-size:15.6px; font-weight: 700; letter-spacing: .1em; }
body .footer-top a:not(.wordmark) { font-size:16.8px; }
body .footer-top > div > p { font-size:18px; }
body .footer-bottom { font-size:14.4px; }
body .content-heading { padding: clamp(48px, 6vw, 88px) var(--section-x); }
body .content-body { padding: var(--section-y) var(--section-x); }
body .content-body > .services { padding: 0; }
body .prose { font-size:clamp(19.2px, 1.44vw, 21.6px); line-height: 1.75; max-width: 820px; }
body .prose h2 { font-size:clamp(31.2px, 2.76vw, 40.8px); line-height: 1.2; }
body .prose h3, body .advice-grid h2 { font-size:clamp(26.4px, 2.16vw, 33.6px); font-weight: 600; line-height: 1.18; }
body .contact-layout { max-width: none; padding: clamp(40px, 5vw, 80px) var(--section-x) var(--section-y); gap: clamp(32px, 5vw, 80px); }
body .contact-breadcrumb { padding-left: var(--section-x); padding-right: var(--section-x); }
body .contact-next, body .contact-explore { padding: var(--section-y) var(--section-x); }
body .contact-facts h2, body .review-source-note h2 { font-size:clamp(26.4px, 2.16vw, 33.6px); }
body .review-content { max-width: none; padding: 0 var(--section-x) var(--section-y); }
body .review-intro { padding: clamp(40px, 5vw, 80px) clamp(24px, 6vw, 96px); }
body .review-intro > p:not(.eyebrow):not(.review-lead) { font-size:clamp(19.2px, 1.44vw, 21.6px); line-height: 1.65; }
body .service-detail { padding: clamp(36px, 4vw, 56px) 0; gap: clamp(24px, 4vw, 64px); }

@media (max-width: 1100px) {
  body .essential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .essential-card:last-child { grid-column: 1 / -1; width: calc((100% - var(--card-gap)) / 2); justify-self: center; }
  body .hero-content { bottom: 130px; gap: 32px; }
}
@media (max-width: 900px) {
  body .hero-content { grid-template-columns: 1fr; gap: 24px; bottom: 125px; }
  body .hero-message { text-align: left; }
  body .hero-copy { margin-left: 0; max-width: 520px; }
  body .hero-buttons { align-items: flex-start; }
  body .hero h1 { max-width: 600px; }
  body .difference-image { min-height: 400px; }
}
@media (max-width: 700px) {
  body .service-grid, body .essential-grid { grid-template-columns: 1fr; }
  body .essential-card:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  body .hero { height: auto; min-height: max(700px, calc(100svh - var(--header-h))); max-height: none; }
  body .hero-content { position: relative; inset: auto; padding: 195px var(--section-x) 130px; gap: 24px; }
  body .hero-copy { font-size:19.2px; line-height: 1.6; margin-bottom: 24px; }
  body .hero-buttons .button { max-width: none; width: 100%; font-size:15.6px; }
  body .hero-buttons .text-link { font-size:18px; }
  body .hero-buttons { align-items: stretch; }
  body .hero-bottom { height: 78px; }
  body .hero-tabs button { min-width: 0; white-space: normal; font-size:15.6px; }
  body .hero-tabs button span { display: none; }
  body .hero-top { font-size:14.4px; }
  body .hero-top span:last-child { display: none; }
  body .card-top { top: 18px; left: 20px; right: 20px; font-size:14.4px; letter-spacing: .06em; }
  body .essential-card .card-top { font-size:14.4px; }
  body .card-copy { bottom: 20px; left: 20px; right: 20px; }
  body .card-copy h3 { font-size:26.4px; }
  body .card-copy p { font-size:16.8px; line-height: 1.5; }
  body .essential-heading > span:first-child { max-width: 250px; }
  body .difference-image { min-height: 0; aspect-ratio: 4 / 3; }
  body .garden-feature { min-height: 440px; }
  body .footer { padding-bottom: 100px; }
  body .footer-top a:not(.wordmark) { display: inline-flex; align-items: center; min-height: 40px; }
  body .footer-services { gap: 0 20px; }
  body .mobile-menu a { font-size:26.4px; }
  body .quote-heading h2 { font-size:33.6px; }
  body .content-heading nav, body .review-breadcrumb { font-size:16.8px; }
}
@media (prefers-reduced-motion: reduce) {
  body .service-card img, body .service-card, body .button { transition: none; }
}
