/* 

Theme name: Roodee
Author: Roodee
Version: 1.0

*/

/* Optional: match a clean, bold sans look */
:root{
  --container: 900px;
  --pad-x: 24px;

--header-grad-a: #1c1f24; /* deep charcoal */
--header-grad-b: #3a4048; /* cool steel grey */
  --text: #ffffff;

  --nav-w: 320px;
  --radius: 999px;
}

/* Fonts */
@font-face {
  font-family: 'Lato-Hairline';
  src: url('/wp-content/themes/roodee/fonts/Lato-Hairline.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato-Black';
  src: url('/wp-content/themes/roodee/fonts/Lato-Black.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato-Bold';
  src: url('/wp-content/themes/roodee/fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {font-family: 'Lato-Hairline', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;}

html, body {
  margin: 0;
  padding: 0;
}

.site-header{
  color: var(--text);
  background: #fff;
  position: sticky; /* change to fixed if you want it always visible */
  top: 0;
  z-index: 1000;
}

.site-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.site-header__logo-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.site-header .custom-logo{
  display: block;
  height: 100px;     /* tweak to match your logo */
  width: auto;
}
.site-header__site-name{
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 18px;
}
.site-header__cta{
  margin-left: 16px;
  white-space: nowrap;
}
.cta-mobile{
  display: none;
}
/* Desktop nav */
.site-nav{
  display: flex;
  align-items: center;
}
.site-nav__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}
.site-nav__list a{
  color: #4d7b32;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hamburger button (hidden on desktop) */
.site-header__toggle{
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}
.site-header__toggle:focus-visible{
  outline: 2px solid #4d7b32;
  outline-offset: 2px;
}
.hamburger{
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #4d7b32;
  position: relative;
  border-radius: var(--radius);
}
.hamburger::before,
.hamburger::after{
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #4d7b32;
  border-radius: var(--radius);
}
.hamburger::before{ top: -7px; }
.hamburger::after{ top: 7px; }

/* Overlay */
.site-nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}

/* Close button (only used on mobile off-canvas) */
.site-nav__close{
  display: none;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.site-nav__close:focus-visible{
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 2px;
}

/* Main content area */
.site-main {
  background: #ffffff;
}

.site-main__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--pad-x);
}

.site-main__inner > *:first-child {
  margin-top: 0;
}

.site-main__inner p {
  line-height: 1.6;
}

.site-main__inner h1,
.site-main__inner h2,
.site-main__inner h3 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
 font-family: 'Lato-Bold'
}

/* Standard pages: 65/35 layout */
.page-layout{
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.page-layout__main{
  flex: 0 0 65%;
  min-width: 0; /* prevents overflow with long content */
}

.page-layout__info{
  flex: 0 0 35%;
  min-width: 0;
}

/* Ensure info content can fill and look tidy */
.info-panel__content{
  height: 100%;
}

/* ===== Info Panel Box ===== */

.info-box{
  border: 1px solid #4d7b32;
  border-radius: 18px;
  background: #fff;
  padding: 22px 18px;
}
.info-box > img{
  border-radius: 12px;
  display: block;
  width: 100%;
  height: auto;
}
/* Headings inside info box */
.info-box h3{
  margin: 0 0 10px;
}

/* Lists */
.info-box ul{
  margin: 8px 0 16px;
  padding-left: 18px;
}

.info-box li{
  margin: 6px 0;
}

 ul li {
line-height: 1.6;
  margin: 6px 0;
}

/* Store badges: always side-by-side */
.store-badges{
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0 18px;
}

.store-badge{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.store-badge img{
  width: 100%;
  max-width: 240px;
  height: 56px;          /* equal visual height */
  object-fit: contain;
  display: block;
}


/* Live Stream template: full-width row then 65/35 */
.live-stream__top{
  width: 100%;
  margin: 0 0 28px;
}

/* Smooth scrolling for anchor links */
html{
  scroll-behavior: smooth;
}

/* Hero container */
.hero{
  position: relative;
  width: 100%;
  height: 750px;
  max-height: 100vh; /* prevent overflow on small screens */
  overflow: hidden;
}

/* Video & image fill */
.hero__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop instead of stretch */
}

/* Featured image fallback */
.hero__media--image{
  background-size: cover;
  background-position: center;
}

/* Optional overlay to improve text contrast */
.hero__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

/* Centered content block (transparent background) */
.hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 0 var(--pad-x);
  color: #fff;
}

/* Headings */
.hero__h1{
  margin: 0 0 10px;
  font-weight: 800;
	font-size: 70px;
}

.hero__h3{
  margin: 0 0 18px;
  font-weight: 700;
	font-size: 30px;
}

/* CTA matches your site CTA styling */
.hero__cta{
  display:inline-block;
  background:#4d7b32;
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
}

.hero__cta:hover,
.hero__cta:focus-visible{
  filter: brightness(.95);
}


/* Gradient info box */
.info-box--gradient{
  border: none;
  background: linear-gradient(
    90deg,
    var(--header-grad-a),
    var(--header-grad-b)
  );
  padding: 24px 18px;
  color: #ffffff;
}

/* Optional centering helper */
.info-box--center{
  text-align: center;
}

/* Headings inside gradient box */
.info-box--gradient h2,
.info-box--gradient h3{
  color: #ffffff;
}

/* Contact Form 7 inputs inside gradient box */
.info-box--gradient .wpcf7 input[type="text"],
.info-box--gradient .wpcf7 input[type="email"],
.info-box--gradient .wpcf7 input[type="tel"],
.info-box--gradient .wpcf7 textarea{
  background: #ffffff;
  color: #000000;
}

/* Placeholder contrast */
.info-box--gradient .wpcf7 ::placeholder{
  color: rgba(0,0,0,.55);
}

/* CF7 validation + messages */
.info-box--gradient .wpcf7-not-valid-tip,
.info-box--gradient .wpcf7-response-output{
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
}

/* Submit button already matches your CTA, just ensure contrast */
.info-box--gradient .wpcf7 input[type="submit"]{
  background: #ffffff;
  color: #4d7b32;
}

/* CF7 acceptance text on gradient backgrounds */
.info-box--gradient .wpcf7-acceptance label,
.info-box--gradient .wpcf7-acceptance label *{
  color: #ffffff;
}

/* File input tweak */
.info-box--gradient .wpcf7-form input[type="file"]{
  padding: 10px;
}

/* Validation messages readable on gradient */
.info-box--gradient .wpcf7-not-valid-tip,
.info-box--gradient .wpcf7-response-output{
  color: #fff;
}


/* Contact Form 7 (compact, matches site CTAs) */
.wpcf7 form{max-width:720px;margin:0 auto}
.wpcf7 .wpcf7-form-control-wrap{display:block;margin: 0 0 1px;}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
  width:100%;box-sizing:border-box;
  padding:12px 14px;border-radius:12px;
  border:1px solid rgba(0,0,0,.14);background:#fff;
  font:inherit;line-height:1.4;outline:0
}
.wpcf7 textarea{min-height:160px;resize:vertical}
.wpcf7 input:focus,
.wpcf7 textarea:focus{border-color:#4d7b32;box-shadow:0 0 0 4px rgba(0,173,239,.18)}
.wpcf7 ::placeholder{color:rgba(0,0,0,.55)}

.wpcf7 .wpcf7-acceptance{margin:6px 0 14px}
.wpcf7 .wpcf7-acceptance label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:rgba(0,0,0,.78)}
.wpcf7 .wpcf7-acceptance input[type="checkbox"]{margin-top:3px;width:18px;height:18px;accent-color:#4d7b32}
.wpcf7 .wpcf7-acceptance a{text-decoration:underline;text-underline-offset:4px}

.wpcf7 input[type="submit"]{
  background:#4d7b32;color:#fff;
  padding:10px 18px;border-radius:999px;border:0;
  cursor:pointer;font-weight:700;font-size:14px;letter-spacing:.02em;line-height:1
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus-visible{filter:brightness(.95)}
.wpcf7 input[type="submit"]:focus-visible{outline:2px solid rgba(0,0,0,.25);outline-offset:2px}

.wpcf7-not-valid-tip{font-size:12.5px;margin-top:6px}
.wpcf7-response-output{margin:16px 0 0;border-radius:12px;padding:12px 14px;font-size:13px}

/* Footer */
.site-footer{
  color: var(--text);
  background: #4d7b32;
}

.site-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__top .site-footer__inner{
  padding-top: 34px;
  padding-bottom: 34px;
}

.site-footer__inner--footer-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 34px;
}

.site-footer__column{
  min-width: 0;
}

.site-footer__heading{
  margin: 0 0 12px;
  color: #ffffff;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer__column p{
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__column strong{
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer a{
  color: rgba(255,255,255,.94);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible{
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer__menu{
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__menu li{
  margin: 0 0 8px;
  line-height: 1.4;
}

.site-footer__menu a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer__column--empty{
  min-height: 1px;
}

/* Faint divider line */
.site-footer__divider{
  height: 1px;
  background: rgba(255,255,255,.22);
}

/* Bottom copyright / credit row */
.site-footer__inner--bottom{
  padding-top: 14px;
  padding-bottom: 18px;
  align-items: center;
}

.site-footer__copyright p{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-weight: 100;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.site-footer__credit{
  margin-left: auto;
}

.site-footer__credit a{
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}


/* =========================
   Home page template
   ========================= */
:root{
  --home-container: 1100px;
  --home-blue: #252f73;
  --home-green: #4d7b32;
  --home-text: #111;
  --home-muted: #4f4f4f;
}

.home-page{
  background: #fff;
  color: var(--home-text);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-btn{
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-wrap{
  max-width: var(--home-container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.home-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 24px;
  background: var(--home-green);
  color: #fff;
  border: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.home-btn:hover,
.home-btn:focus-visible{
  color: #fff;
  filter: brightness(.95);
  text-decoration: none;
}

.home-link,
.home-cards__all{
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.home-link:hover,
.home-link:focus-visible,
.home-cards__all:hover,
.home-cards__all:focus-visible{
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-bg,
.home-shade{
  position: absolute;
  inset: 0;
}

.home-bg{
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.home-shade{
  z-index: 1;
  background: rgba(0,0,0,.25);
}

/* Hero */
.home-hero{
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}

.home-hero__content{
  position: relative;
  z-index: 2;
  max-width: var(--home-container);
  min-height: 560px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-hero h1{
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.03em;
}

.home-hero p{
  max-width: 590px;
  margin: 0 0 34px;
  color: #fff;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.08;
}

/* Alternating image/text rows */
.home-rows{
  padding: 84px 0 88px;
}

.home-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px;
  align-items: center;
  margin-bottom: 78px;
}

.home-row:last-child{
  margin-bottom: 0;
}

.home-row--image-right .home-row__image{
  order: 2;
}

.home-row--image-right .home-row__copy{
  order: 1;
}

.home-row img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.home-row__copy{
  color: var(--home-muted);
}

.home-row__copy h2{
  margin: 0 0 32px;
  color: var(--home-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.home-row__copy p{
  margin: 0 0 20px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Blue cards band */
.home-cards{
  padding: 86px 0 48px;
  background: var(--home-blue);
  color: #fff;
}

.home-cards__inner{
  text-align: center;
}

.home-cards__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 78px;
  align-items: start;
}

.home-card > a:first-child{
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-card img{
  display: block;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  margin-bottom: 22px;
}

.home-card h2{
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.home-card p{
  max-width: 260px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.45;
}

.home-card .home-btn{
  text-transform: uppercase;
}

.home-cards__all{
  margin-top: 58px;
  color: rgba(255,255,255,.95);
}

/* Background image feature */
.home-feature{
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
}

.home-feature .home-shade{
  background: rgba(0,0,0,.34);
}

.home-feature__content{
  position: relative;
  z-index: 2;
  max-width: 860px;
  min-height: 620px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-feature h2{
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.18;
}

.home-feature p{
  margin: 0 0 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.home-feature p:last-of-type{
  margin-bottom: 38px;
}


/* =========================
   Projects archive template
   ========================= */
.projects-archive{
  padding: 0;
  background: #fff;
}

.projects-archive__header{
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.projects-archive__header .page-title{
  margin: 0 0 14px;
  color: #4d7b32;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.projects-archive__intro{
  margin: 0;
  color: #1c1f24;
  font-size: 18px;
  line-height: 1.6;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.project-card{
  color: #1c1f24;
  text-align: center;
}

.project-card > a:first-child{
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card img,
.project-card .wp-post-image{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 22px;
}

.project-card h2{
  margin: 0 0 12px;
  color: #1c1f24;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.project-card h2 a{
  color: inherit;
  text-decoration: none;
}

.project-card h2 a:hover,
.project-card h2 a:focus-visible{
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-card p{
  max-width: 260px;
  margin: 0 auto 26px;
  color: #3a4048;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.project-card .home-btn{
  margin: 0 auto;
  text-transform: uppercase;
}

.projects-pagination{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.projects-pagination .page-numbers{
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f5f2;
  color: #4d7b32;
  text-decoration: none;
  font-weight: 700;
}

.projects-pagination .page-numbers.current,
.projects-pagination .page-numbers:hover,
.projects-pagination .page-numbers:focus-visible{
  background: #4d7b32;
  color: #fff;
}

.projects-archive__empty{
  max-width: 680px;
  margin: 0 auto;
  color: #3a4048;
  text-align: center;
  font-size: 18px;
}

/* =========================
   Contact page template
   ========================= */
.contact-page__header{
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-page__header h1{
  margin: 0 0 14px;
  color: #4d7b32;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.contact-page__header p{
  margin: 0;
  color: #1c1f24;
  font-size: 18px;
  line-height: 1.6;
}

.contact-layout{
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: stretch;
}

.contact-details,
.contact-form-panel{
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
}

.contact-details{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #4d7b32;
}

.contact-detail{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}

.contact-detail:hover,
.contact-detail:focus-visible{
  background: rgba(255,255,255,.18);
  outline: none;
}

.contact-detail__icon{
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #4d7b32;
}

.contact-detail__icon svg{
  display: block;
  fill: currentColor;
}

.contact-detail strong{
  display: block;
  margin: 0 0 4px;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.contact-detail span:last-child{
  font-size: 16px;
  line-height: 1.35;
}

.contact-form-panel{
  padding: 30px;
  background: #fff;
}

.contact-form-panel .wpcf7 form{
  max-width: none;
  margin: 0;
}

.contact-form-panel .wpcf7 .wpcf7-form-control-wrap{
  margin: 0 0 14px;
}

.contact-form-panel .wpcf7 input[type="text"],
.contact-form-panel .wpcf7 input[type="email"],
.contact-form-panel .wpcf7 input[type="tel"],
.contact-form-panel .wpcf7 textarea{
  width: 100%;
  border: 1px solid rgba(28,31,36,.12);
  border-radius: 16px;
  background: #f7f8f6;
  padding: 15px 16px;
  color: #1c1f24;
  font: inherit;
  line-height: 1.45;
  box-sizing: border-box;
  outline: none;
}

.contact-form-panel .wpcf7 textarea{
  min-height: 180px;
  resize: vertical;
}

.contact-form-panel .wpcf7 input:focus,
.contact-form-panel .wpcf7 textarea:focus{
  border-color: #4d7b32;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(77,123,50,.14);
}

.contact-form-panel .wpcf7 ::placeholder{
  color: rgba(28,31,36,.56);
}

.contact-form-panel .wpcf7 .wpcf7-acceptance{
  display: block;
  margin: 4px 0 18px;
}

.contact-form-panel .wpcf7 .wpcf7-acceptance label{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(28,31,36,.78);
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-panel .wpcf7 .wpcf7-acceptance input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #4d7b32;
}

.contact-form-panel .wpcf7 input[type="submit"],
.contact-form-panel .wpcf7 .btn,
.contact-form-panel .wpcf7 .btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border: 0;
  border-radius: 999px;
  background: #4d7b32;
  color: #fff;
  padding: 12px 22px;
  cursor: pointer;
  font-family: 'Lato-Bold', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
}

.contact-form-panel .wpcf7 input[type="submit"]:hover,
.contact-form-panel .wpcf7 input[type="submit"]:focus-visible,
.contact-form-panel .wpcf7 .btn:hover,
.contact-form-panel .wpcf7 .btn:focus-visible{
  filter: brightness(.95);
  outline: none;
}

.contact-page__content{
  max-width: 760px;
  margin: 42px auto 0;
}

/* =========================
   Responsive styles
   ========================= */
@media (min-width: 901px) and (max-width: 1200px){
  .home-cards__grid{
    gap: 42px;
  }
}

@media (max-width: 900px){
  .site-header__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav{
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(var(--nav-w), 86vw);
    padding: 0 22px 22px;
    background: #4d7b32;
    transform: translateX(110%);
    transition: transform 260ms ease;
    z-index: 1000;
    box-shadow: -18px 0 40px rgba(0,0,0,.35);
  }

  .site-nav__close{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .site-nav__list{
    flex-direction: column;
    gap: 14px;
  }

  .site-nav__list a{
    display: inline-block;
    padding: 10px 8px;
    color: #fff;
    font-size: 16px;
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible{
    color: #fff;
  }

  .nav-is-open .site-nav{
    transform: translateX(0);
  }

  .cta-desktop{
    display: none;
  }

  .cta-mobile{
    display: inline;
  }

  .site-header__inner{
    flex-wrap: wrap;
  }

  .site-header__brand{
    order: 1;
  }

  .site-header__toggle{
    order: 2;
  }

  .site-header__cta{
    order: 3;
    width: 100%;
    margin: 12px 0 0;
    display: flex;
    justify-content: center;
  }

  .site-main__inner{
    padding: 32px var(--pad-x);
  }

  .page-layout{
    flex-direction: column;
  }

  .page-layout__main,
  .page-layout__info{
    flex: 0 0 auto;
    width: 100%;
  }

  .store-badges{
    justify-content: center;
    gap: 8px;
  }

  .store-badge{
    flex: 0 1 auto;
  }

  .store-badge img{
    max-width: 200px;
  }

  .wpcf7 form{
    max-width: 100%;
  }

  .site-footer__inner--footer-grid{
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .site-footer__column--empty{
    display: none;
  }

  .site-footer__inner--bottom{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .site-footer__credit{
    margin-left: 0;
  }

  .hero{
    position: relative;
    height: 520px;
    overflow: hidden;
  }

  .hero__media{
    z-index: 0;
  }

  .hero__overlay{
    z-index: 1;
  }

  .hero__content{
    position: relative;
    z-index: 2;
  }

  .home-hero,
  .home-hero__content{
    min-height: 520px;
  }

  .home-rows{
    padding: 54px 0;
  }

  .home-row{
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 54px;
  }

  .home-row--image-right .home-row__image,
  .home-row--image-right .home-row__copy{
    order: initial;
  }

  .home-row__copy h2{
    margin-bottom: 18px;
  }

  .home-cards{
    padding: 54px 0 42px;
  }

  .home-cards__grid{
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 420px;
    margin: 0 auto;
  }

  .home-cards__all{
    margin-top: 42px;
  }

  .home-feature,
  .home-feature__content{
    min-height: 560px;
  }

  .projects-archive__header{
    margin-bottom: 34px;
  }

  .projects-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }


  .contact-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px){
  .home-hero,
  .home-hero__content{
    min-height: 460px;
  }

  .home-hero p{
    margin-bottom: 24px;
  }

  .home-cards__grid{
    display: flex;
    max-width: none;
    margin: 0 calc(var(--pad-x) * -1);
    padding: 0 var(--pad-x) 14px;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-card{
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .home-card h2{
    font-size: 22px;
  }

  .home-feature,
  .home-feature__content{
    min-height: 520px;
  }

  .projects-grid{
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }


  .contact-details,
  .contact-form-panel{
    padding: 22px;
    border-radius: 20px;
  }

  .contact-detail{
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .contact-detail__icon{
    width: 44px;
    height: 44px;
  }
}

/* =========================
   Square project thumbnails - final override
   Keep this at the very bottom of style.css
   ========================= */
.home-cards .home-card > a:first-child,
.projects-grid .project-card > a:first-child{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 22px;
}

.home-cards .home-card img,
.home-cards .home-card .wp-post-image,
.projects-grid .project-card img,
.projects-grid .project-card .wp-post-image{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.home-cards .home-card > img,
.projects-grid .project-card > img{
  height: auto !important;
}
