body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url("/static/images/marble.png") no-repeat center/cover;
  color: #533023;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- Nav --- */
nav {
  background: #9F897B;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font-size: 1rem;
}

nav ul {
  list-style: none;        /* removes bullets */
  margin: 0;
  padding: 0;
  display: flex;           /* makes it horizontal */
  justify-content: center; /* centers the items */
  gap: 2rem;               /* space between links */
}

nav li {
  display: inline;         /* ensure li doesn’t stack */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

nav a:hover {
  color: #fff;
  text-decoration: underline;
}
/* --- Nav --- */
nav{background:#9F897B;padding:1rem;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.3)}
nav a{color:#fff;margin:0 1.5rem;text-decoration:none;font-weight:500;transition:color .2s ease}
nav a:hover{color:#fff}
/* --- Hero Banner --- */
.hero-banner{background:url('/static/images/294408672_5243961175722508_5238263287868696040_n-e1694544030242-600x600.jpg') no-repeat center/contain;box-shadow:0 0 10px rgba(0,0,0,.2);height:35vh;width:100%;display:flex;align-items:flex-end;justify-content:center;position:relative;overflow:hidden;clip-path:inset(0)}
.hero-banner::before{content:none}
.hero-banner>*{position:relative;z-index:1}

/* --- Intro & Tagline --- */
.intro-text{text-align:center;padding-top:1rem;margin:2rem auto;max-width:700px;animation:fadeInUp 1s ease; font-size:2rem}
.tagline{font-size:1.75rem;color:#513021;font-weight:400}

.banner {
  --logo-w: clamp(250px, 30vw, 480px); /* controls logo size */
  /*--logo-gap: -10px;                    !* space between logo + tagline *!*/

  position: relative;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;                           /* space between tagline + button */
  text-align: center;

  box-shadow: 0 0 10px rgba(0,0,0,.2);
  overflow: hidden;
  clip-path: inset(0);
}
.banner-logo {
    width: clamp(250px, 30vw, 480px);
    /*margin-top: 12px;*/
}
/* Text + button */
.banner p.banner-tagline {
  font-size: 1.1rem;
  color: #513021;
  margin: 0;                           /* reset default margins */
}

.banner a.cta-button {
  display: inline-block;
  font-size: 1rem;                   /* bigger text */
  padding: 1rem 2.25rem;               /* bigger button (top/bottom, left/right) */
  background: #b22222;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;                  /* slightly more rounded */
  transition: background .2s ease;
}
.banner a.cta-button:hover {
  background: #8b1a1a;
}

/* Mobile: scale logo + text down */
@media (max-width: 600px) {
  .banner { --logo-h: 140px; }
  .banner p.banner-tagline { font-size: 1.1rem; }
  .banner a.cta-button {
    font-size: 1rem;                   /* scale down button text */
    padding: 0.75rem 1.5rem;           /* smaller padding for mobile */
  }
}

/* --- Capability Banner (fixed) --- */
.capability-banner,
.capability-banner.alt{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:0;
  flex-wrap:nowrap;
  min-height:400px;           /* controls overall block height */
}

.capability-banner{ flex-direction:row; }
.capability-banner.alt{ flex-direction:row-reverse; }

/* Image side */
.capability-banner-image{
  flex:1;
  max-width:50%;
  display:flex;
  align-items:stretch;
  overflow:hidden;
}

:root{ --cap-cut:15%; }

.capability-banner-image img{
  width:100%;
  height:100%;                /* <- key: fill the banner’s height (don’t use auto) */
  object-fit:cover;
  aspect-ratio:16/9;
  -webkit-clip-path:polygon(0 0,100% 0,calc(100% - var(--cap-cut)) 100%,0 100%);
          clip-path:polygon(0 0,100% 0,calc(100% - var(--cap-cut)) 100%,0 100%);
}

/* flip slice when .alt is used */
.capability-banner.alt .capability-banner-image img{
  object-position:right;
  -webkit-clip-path:polygon(var(--cap-cut) 0,100% 0,100% 100%,0 100%);
          clip-path:polygon(var(--cap-cut) 0,100% 0,100% 100%,0 100%);
}

/* Text side */
.capability-banner-text{
  flex:1;
  max-width:50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:2rem;               /* comfortable spacing like your reference */
  color:#513021;
  font-size:16px;             /* base so px below are predictable */
}

.capability-banner-text h2{
  font-size:1.5rem;             /* ≈1.875rem – matches your “big” look */
  margin-bottom:2.5rem;
  color:#b22222;
}

.capability-banner-text p{
  font-size:1rem;             /* ≈1.125rem */
  line-height:1.6;
  margin:0 0 3rem 0;
}

.capability-banner-text a.cta-button {
  display: flex;                  /* flex makes vertical alignment possible */
  align-items: center;            /* vertical centering */
  justify-content: flex-start;    /* keep text aligned left inside */

  padding: 0.9rem 1.6rem;
  padding-left: 2.2rem;           /* slight right nudge for text */

  background: #b22222;
  font-size:   1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.2s ease;
  min-height: 1.5rem;               /* ensures the button has enough vertical space */
}
.capability-banner-text a.cta-button:hover{ background:#8b1a1a; }

/* Mobile: stack */
@media (max-width: 900px){
  .capability-banner,
  .capability-banner.alt{
    flex-direction:column;
    min-height:unset;
  }
  .capability-banner-image,
  .capability-banner-text{
    max-width:100%;
  }
  .capability-banner-image img{
    height:auto;               /* let it breathe on small screens */
    /*aspect-ratio:16/9;*/
    -webkit-clip-path:none;
            clip-path:none;
  }
  .capability-banner-text{ padding:2rem 1.25rem; }
  .capability-banner-text h2{ font-size:26px; }
  .capability-banner-text p{ font-size:16px; }
}

/* --- About Footer --- */
.about-footer {
  text-align: center;
  margin: 1rem auto;
  max-width: 80vw;
  padding: 2rem 1rem;
  color: #513021;
}

.about-footer__title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin: 0 0 1rem 0;
}

.about-footer__body {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #533023;
}

.about-footer .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  background: #b22222;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  transition: background .2s ease;
}

.about-footer .cta-button:hover {
  background: #8b1a1a;
}

/* ----- Owners: force proper layout even with CMS wrappers ----- */

/* Outer banner container */
.owners-banner {
  width: 90vw;   /* much wider container */
  margin-inline: auto;
  padding: 3rem 0 1rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 1rem;
}

/* Flex row for cards */
.owners-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  box-sizing: border-box;
}

/* CMS wrapper fix */
.owners-cards > .cms-plugin {
  display: contents;   /* lets inner .owner-card be the flex child */
}

/* Flex sizing for cards */
.owners-cards > .cms-plugin,
.owners-cards > .owner-card {
  flex: 1 1 400px;     /* narrower default width */
  min-width: 350px;    /* allow to shrink more */
  max-width: 500px;    /* won’t stretch too wide */
}

/* Card styling */
.owner-card {
  background: #f9f3e9;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;

  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Card contents */
.owner-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #eee;
}

.owner-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #533023;
}

.owner-role {
  font-size: 1.2rem;
  font-style: italic;
  color: #b22222;
  margin-bottom: 1.2rem;
}
.owners-title {
  color: #b22222;
  font-weight: 700;
  margin-bottom: 1rem;
}

.owners-intro {
  margin-bottom: 2rem;  /* adjust to taste */
}
.owner-description {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .owners-cards > .cms-plugin,
  .owners-cards > .owner-card {
    flex-basis: 45%;
    max-width: 650px;
  }
}

@media (max-width: 800px) {
  .owners-cards > .cms-plugin,
  .owners-cards > .owner-card {
    flex-basis: 100%;
    max-width: none;
  }
}
/* Responsive: 2 per row, then 1 per row */
@media (max-width: 1000px){
  .owners-cards > .cms-plugin,
  .owners-cards > .owner-card { flex-basis: 45%; max-width: 520px; }
}
@media (max-width: 600px){
  .owners-cards > .cms-plugin,
  .owners-cards > .owner-card { flex-basis: 100%; max-width: none; }
}

/* --- Info Card Banner --- */
.info-card-banner {
  display: flex;
  justify-content: center;   /* centers cards inside */
  align-items: stretch;
  /*gap: 1rem;*/
  padding: 3rem 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-width: 85vw;           /* instead of width */
  margin: 0 auto;            /* guarantees centering */
}

.info-card {
  flex: 1;                   /* makes all equal width */
  background: #f9f3e9;       /* matches paper look */
  border: 1px solid #e5d4c5; /* softer border */
  border-radius: 12px;
  padding: 2rem;
  text-align: left;        /* center text inside */
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #b22222; /* red accent */
}

.info-card-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #533023;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.faq-section {
  max-width: 85vw;       /* match build-flow */
  margin: 40px auto;     /* center horizontally */
  padding: 0 20px;       /* same padding as build-flow */
  box-sizing: border-box;
}

.faq-question {
  width: 100%;           /* constrained by .faq-section */
  text-align: left;
  background: #f9f3e9;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #e5d4c5;
  border-radius: 6px;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  gap: 0.5rem;
  box-sizing: border-box; /* ensures padding doesn’t push width */
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  width: 100%;           /* match the question width */
  padding: 1rem;
  font-size: 1rem;
  color: #533023;
  border-left: 3px solid #b22222;
  margin-bottom: 1rem;
  background: #e5d4c5;
  box-sizing: border-box;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg); /* triangle points down */
}

.build-flow {
  margin: 40px auto;   /* auto centers block horizontally */
  padding: 0 20px;     /* adds breathing room inside the banner */
  text-align: center;
  max-width: 85vw;
}

.build-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.build-card {
  background: #f9f3e9; /* beige */
  border: 2px solid #dcdcdc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.build-card:hover {
  transform: translateY(-4px);
  border-color: #b22222; /* your accent green */
}
.build-flow h2 {
  font-size: 2rem;     /* adjust as needed */
  color: #b22222;      /* match your section headers */
  margin-bottom: 2rem; /* optional spacing */
}
.build-card h3 {
  color: #b22222; /* red like your headings */
  font-size: 1rem;
  margin-bottom: 10px;
}

.build-card p {
  color: #333;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.hero-block {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  margin: 2rem auto;
  text-align: center;
  color: #fff;
  overflow: hidden;
  max-width: 85vw;
  height: 400px;      /* fixed hero height */
  /* or use min-height if you want it flexible */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0,0,0,0.5);  /* overlay covers full height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;      /* centers text vertically */
  padding: 3rem 2rem;
}

.hero-block h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-block .cta-button {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  background: #b22222;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-block .cta-button:hover {
  background: #8b1a1a;
}

.photo-grid-section {
  max-width: 85vw;
  margin: 3rem auto;
  text-align: center;
}

.photo-grid-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #b22222; /* red accent like other headings */
  margin-bottom: 2rem;
}

/* Responsive grid that auto-fits squares */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(425px, 1fr)); /* ~1.75x bigger cells */
  gap: 2rem;
  justify-items: center;  /* center each image */
}

/* Photos ~1.75x larger */
.photo-grid img {
  width: 100%;
  max-width: 425px;   /* allow bigger photos */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.photo-grid img:hover {
  transform: scale(1.05);
}

.vendor-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;

  max-width: 85vw;
  margin: 2rem auto;
  padding: 2rem;

  background: #f9f3e9;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.vendor-content {
  flex: 2;
  text-align: left;
}

.vendor-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b22222;
  margin-bottom: 1rem;
}

.vendor-content p {
  font-size: 1rem;
  color: #533023;
  margin-bottom: 1.5rem;
}

.vendor-content .cta-button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  background: #b22222;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.vendor-content .cta-button:hover {
  background: #8b1a1a;
}

.vendor-logo {
  flex: 1;
  text-align: right;
}

.vendor-logo img {
  max-height: 120px;
  object-fit: contain;
}

/* --- Call To Action Block --- */
.cta-section {
  max-width: 85vw;
  margin: 3rem auto;
  background: #f9f3e9;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #533023;
  margin-bottom: 1rem;
}

.cta-body {
  font-size: 1rem;
  color: #533023;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-section .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  background: #b22222;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  transition: background .2s ease;
}

.cta-section .cta-button:hover {
  background: #8b1a1a;
}

/* --- Contact Form --- */
.contact-protection-note{text-align:center;margin-bottom:1rem;color:#ccc;font-size:.9rem}
.contact-page-wrapper{display:flex;align-items:center;justify-content:center;min-height:auto;padding:2rem; font-size: 1rem}
.contact-form-wrapper{width:100%;max-width:1000px;background:#ffefd1;padding:2.5rem;border-radius:12px;box-shadow:0 0 20px rgba(0,0,0,.4)}
.contact-form-wrapper .two-col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.contact-form-wrapper .two-col .col label{display:block;margin-bottom:.35rem}
.contact-form-wrapper .uploader-row{display:grid;grid-template-columns:1fr 520px;gap:1.25rem;align-items:start;margin-top:1.25rem}
@media (max-width:980px){.contact-form-wrapper .two-col,.contact-form-wrapper .uploader-row{grid-template-columns:1fr}}
.contact-form-wrapper input,.contact-form-wrapper textarea,.contact-form-wrapper select{width:100%;padding:.8rem 1rem;border-radius:6px;border:1px solid #555;background:#ffefd1;color:#2b2b2b;font-size:1rem;box-sizing:border-box}
.contact-form-wrapper input:focus,.contact-form-wrapper textarea:focus{outline:none;border-color:#A61B15;box-shadow:0 0 6px #a61a159a}
.contact-form-wrapper ::placeholder{color:#999}
.contact-form-wrapper ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}
.contact-form-wrapper li{display:flex;align-items:center;gap:.75rem;font-size:1rem;color:#2b2b2b}
.contact-form-wrapper input[type="checkbox"]{appearance:none;width:18px;height:18px;border:2px solid #444;border-radius:3px;background:#ffefd1;display:inline-block;position:relative;cursor:pointer}
.contact-form-wrapper input[type="checkbox"]:checked{background:#A61B15;border-color:#A61B15}
.contact-form-wrapper input[type="checkbox"]:checked::after{content:'';position:absolute;top:2px;left:5px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.contact-form-wrapper .preview-panel h3{margin:0 0 .5rem}
.contact-form-wrapper .preview-container{background:#111;border:1px solid #222;border-radius:8px;padding:.75rem;max-height:60vh;overflow:auto}
.contact-form-wrapper .muted{color:#888;font-size:.95rem}
.contact-form-wrapper .subtext{color:#999;display:block;margin-top:.35rem}
.contact-form-wrapper .cta-button{align-self:start;margin-top:1rem}
.contact-form-wrapper *{box-sizing:border-box}
.contact-form-wrapper p{margin:0;padding:0}

/* mini PDF */
.pdf-mini{width:100%;height:70vh;max-height:800px;min-height:420px;border:1px solid #333;border-radius:8px;overflow:hidden;background:#1a1a1a}
.pdf-mini iframe{width:100%!important;height:100%!important;border:0;display:block}

/* --- Plan Cards --- */
.plan-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;padding:2rem;max-width:1200px;margin:0 auto}
.plan-card{background:#ffefd1;border:1px solid #222;padding:2rem;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .3s ease,box-shadow .3s ease}
.plan-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,.5)}
.plan-card img{max-width:80px;margin:0 auto 1.5rem}
.plan-card h3{font-size:1rem;color:#A61B15;margin-bottom:.5rem}
.plan-card .price{font-size:1rem;color:#a61a159a;margin-bottom:1rem}
.plan-card ul{list-style:none;margin:1rem 0;padding:0;text-align:left}
.plan-card ul li{padding-left:1rem;margin-bottom:.5rem;position:relative;color:#533023}
.plan-card ul li::before{content:"•";position:absolute;left:0;color:#a61a159a}
.plan-card .addons{font-size:.95rem;color:#999;margin-top:1rem}
.plan-card .note{font-size:.9rem;color:#aaa;margin-top:.75rem}

/* Cards-as-buttons overrides */
a.plan-card h3,a.plan-card:visited h3,a.plan-card:hover h3{color:#A61B15}
.cards-as-buttons .plan-card{text-decoration:none;color:inherit;cursor:pointer}
.cards-as-buttons .plan-card:hover,.cards-as-buttons .plan-card:focus-visible{transform:translateY(-6px);box-shadow:0 10px 24px rgba(0,0,0,.55);outline:2px solid rgba(1,103,100,.35);outline-offset:4px}
.cards-as-buttons a.plan-card,.cards-as-buttons a.plan-card:visited,.cards-as-buttons a.plan-card:hover,.cards-as-buttons a.plan-card:active{color:inherit!important;text-decoration:none!important}
.cards-as-buttons a.plan-card>h3,.cards-as-buttons a.plan-card:visited>h3,.cards-as-buttons a.plan-card:hover>h3,.cards-as-buttons a.plan-card:active>h3{color:#A61B15!important;opacity:1!important;mix-blend-mode:normal!important}
/* Base font size for all plan-card content */
.cards-as-buttons .plan-card {
  font-size: 1rem; /* ~16px base */
}

/* Step-up heading sizes */
.cards-as-buttons .plan-card h3 {
  font-size: 1rem;   /* default heading inside card */
}

.cards-as-buttons .plan-card:hover h3 {
  font-size: 1rem;   /* slightly bigger on hover */
}

.cards-as-buttons .plan-card:active h3 {
  font-size: 1rem;      /* pressed/active state */
}

/* =========================================================
   GLOBAL TYPOGRAPHY, BUTTON, & LAYOUT CONSISTENCY OVERRIDES
   ========================================================= */

/* --- Typography scale --- */
body {
  font-size: 1rem;       /* Base ~16px */
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  color: #533023;
}

/* Headings */
h1, .hero-block h1, .banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b22222;
  text-align: center;
  margin-bottom: 1.5rem;
}

h2, .owners-title, .vendor-content h2, .capability-banner-text h2, .cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #b22222;
  text-align: center;
  margin-bottom: 1rem;
}

h3, .owner-card h3, .plan-card h3, .info-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #533023;
  margin-bottom: 0.75rem;
}

/* Paragraphs & text */
p, .owner-description, .vendor-content p, .cta-body,
.about-footer__body, .capability-banner-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #533023;
}

/* --- Button consistency --- */
a.cta-button, button, .banner a.cta-button,
.capability-banner-text a.cta-button, .vendor-content .cta-button,
.cta-section .cta-button, .about-footer .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  min-height: 3rem;              /* uniform button height */
  padding: 0.9rem 2rem;          /* balanced padding */
  background: #b22222;
  color: #fff;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  transition: background 0.25s ease, transform 0.1s ease;
}

a.cta-button:hover, button:hover {
  background: #8b1a1a;
  transform: translateY(-2px);
}

a.cta-button:active, button:active {
  transform: translateY(0);
}

/* --- Section & banner width normalization --- */
.hero-banner,
.banner,
.owners-banner,
.info-card-banner,
.faq-section,
.build-flow,
.photo-grid-section,
.vendor-banner,
.cta-section,
.about-footer {
  width: 85vw;                /* responsive section width */
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  text-align: center;
}

/* Ensure image & card banners stretch evenly */
.owners-cards,
.info-card-banner,
.photo-grid {
  width: 85vw;
  max-width: 1200px;
  margin-inline: auto;
}

/* --- Section spacing --- */
section, .banner, .hero-banner, .owners-banner, .vendor-banner {
  margin-bottom: 3rem;
}

.owners-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* --- Taglines --- */
.hero-tagline, .banner p.banner-tagline {
  font-size: 1.2rem;
  color: #513021;
  font-weight: 400;
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
  h1, .hero-block h1, .banner h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  a.cta-button, button {
    padding: 0.75rem 1.5rem;
    min-height: 2.75rem;
  }

  .hero-banner,
  .banner,
  .owners-banner,
  .info-card-banner,
  .faq-section,
  .vendor-banner,
  .cta-section,
  .about-footer {
    width: 90vw;
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 600px) {
  h1, .hero-block h1, .banner h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  p, .cta-body, .owner-description { font-size: 0.95rem; }

  a.cta-button, button {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   GLOBAL TYPOGRAPHY, BUTTON, & LAYOUT CONSISTENCY OVERRIDES
   ========================================================= */

/* --- Typography scale --- */
body {
  font-size: 1rem;       /* Base ~16px */
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  color: #533023;
}

/* Headings */
h1, .hero-block h1, .banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b22222;
  text-align: center;
  margin-bottom: 1.5rem;
}

h2, .owners-title, .vendor-content h2, .capability-banner-text h2, .cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #b22222;
  text-align: center;
  margin-bottom: 1rem;
}

h3, .owner-card h3, .plan-card h3, .info-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #533023;
  margin-bottom: 0.75rem;
}

/* Paragraphs & text */
p, .owner-description, .vendor-content p, .cta-body,
.about-footer__body, .capability-banner-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #533023;
}

/* --- Button Consistency (Slim Compact Style) --- */
a.cta-button,
button,
.banner a.cta-button,
.capability-banner-text a.cta-button,
.vendor-content .cta-button,
.cta-section .cta-button,
.about-footer .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;           /* consistent readable text */
  font-weight: 700;

  min-height: 1.75rem;       /* 🔹 slimmer button height */
  padding: 0.45rem 1.25rem;  /* 🔹 vertical + horizontal padding */

  background: #b22222;       /* brand red */
  color: #fff;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0,0,0,0.25); /* subtler shadow for slimmer look */
  transition: background 0.25s ease, transform 0.1s ease;
}

a.cta-button:hover,
button:hover {
  background: #8b1a1a;
  transform: scale(1.03);
}
a.cta-button:hover, button:hover {
  background: #8b1a1a;
  transform: translateY(-2px);
}

a.cta-button:active, button:active {
  transform: translateY(0);
}

/* --- Section & banner width normalization --- */
.hero-banner,
.banner,
.owners-banner,
.info-card-banner,
.faq-section,
.build-flow,
.photo-grid-section,
.vendor-banner,
.cta-section,
.about-footer {
  width: 85vw;                /* responsive section width */
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  text-align: center;
}

/* Ensure image & card banners stretch evenly */
.owners-cards,
.info-card-banner,
.photo-grid {
  width: 85vw;
  max-width: 1200px;
  margin-inline: auto;
}

/* --- Section spacing --- */
section, .banner, .hero-banner, .owners-banner, .vendor-banner {
  margin-bottom: 3rem;
}

.owners-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* --- Taglines --- */
.hero-tagline, .banner p.banner-tagline {
  font-size: 1.2rem;
  color: #513021;
  font-weight: 400;
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
  h1, .hero-block h1, .banner h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  a.cta-button, button {
    padding: 0.75rem 1.5rem;
    min-height: 2.75rem;
  }

  .hero-banner,
  .banner,
  .owners-banner,
  .info-card-banner,
  .faq-section,
  .vendor-banner,
  .cta-section,
  .about-footer {
    width: 90vw;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 600px) {
  h1, .hero-block h1, .banner h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  p, .cta-body, .owner-description { font-size: 0.95rem; }

  a.cta-button, button {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   NAVBAR ENHANCEMENT & BRAND POLISH
   ========================================================= */

nav {
  background: linear-gradient(180deg, #9F897B 0%, #8B776A 100%);
  padding: 1rem 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Align nav content */
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 2rem;
  margin: 0 auto;
  padding: 0;
  width: 85vw;
  max-width: 1200px;
}

/* Navigation links */
nav a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.4px;
  position: relative;
  padding: 0.25rem 0;
  transition: all 0.25s ease;
}

/* Underline hover animation */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.25s ease;
}

nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Subtle color shift on hover */
nav a:hover {
  color: #f9f3e9;
}

/* Active / current page link highlight */
nav a.active {
  color: #fff;
  font-weight: 700;
}

nav a.active::after {
  transform: translateX(-50%) scaleX(1);
  background-color: #f5e4d2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  nav ul {
    gap: 1.25rem;
    width: 90vw;
  }

  nav a {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0.75rem 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav a {
    font-size: 0.95rem;
  }
}

/* =========================================================
   OWNERS BANNER — Enhanced Card Styling & Responsive Layout
   ========================================================= */

/* Section container */
.owners-banner {
  width: 95vw !important;
  max-width: 1400px !important;
  margin: 1rem auto;
  padding: 1rem 0 2rem;
  text-align: center;
  box-sizing: border-box;
}

/* Card layout */
.owners-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;          /* stay in one row by default */
  gap: 2.5rem;
}

/* Ensure CMS wrappers don't break flex layout */
.owners-cards > .cms-plugin {
  display: contents;
}

/* Card base */
.owner-card {
  background: linear-gradient(180deg, #fffaf4 0%, #f7efe3 100%);
  border: 1px solid #e5d4c5;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  text-align: center;
  flex: 1 1 400px;
  max-width: 420px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Decorative top accent */
.owner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  border-radius: 2px;
  background: #b22222;
  opacity: 0.8;
}

/* Hover effect */
.owner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border-color: #b22222;
}

/* Image */
.owner-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid #b22222;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

/* Text styling */
.owner-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #533023;
  margin-bottom: 0.4rem;
}

.owner-role {
  font-size: 1.1rem;
  font-style: italic;
  color: #b22222;
  margin-bottom: 1.5rem;
}

.owner-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #533023;
  padding: 0 0.5rem;
}

/* Subtle fade-in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.owner-card { animation: fadeInUp 0.6s ease both; }

/* Tablet: allow wrapping but keep large cards */
@media (max-width: 1100px) {
  .owners-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  .owner-card {
    flex: 1 1 45%;
    max-width: 500px;
  }
}

/* Mobile: stack vertically (1×3 layout) */
@media (max-width: 700px) {
  .owners-cards {
    flex-direction: column;   /* stack vertically */
    align-items: center;
  }
  .owner-card {
    flex: 1 1 100%;
    max-width: 90%;
  }
}

/* =========================================================
   SECTION SPACING FIX — tighten gap between stacked sections
   ========================================================= */

/* Reduce the large gap below the owners banner */
.owners-banner {
  margin-bottom: 0.75rem !important;
  padding-bottom: 1rem !important;
}

/* Make sure the next section doesn’t double its top margin */
.about-footer,
.build-flow,
.cta-section,
.faq-section,
.info-card-banner {
  margin-top: 0 !important;
  padding-top: 1rem !important;
}

/* Optional: global normalization if needed */
section {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* =========================================================
   REDMARK FAQ SECTION REDESIGN — with interactive flare
   ========================================================= */

.faq-section {
  max-width: 85vw;
  margin: 3rem auto;
  padding: 2rem 1rem;
  background: none; /* keep marble visible */
  text-align: center;
}

.faq-section h2 {
  color: #b22222;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
}

.faq-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #b22222;
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* FAQ items look like floating cards */
.faq-item {
  background: #fff9f3;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-color: #b22222;
}

/* Question bar */
.faq-question {
  width: 100%;
  background: #f9f3e9;
  color: #533023;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f2e4d3;
}

/* Add an expanding “+ / –” icon */
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: bold;
  color: #b22222;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: "–";
  color: #8b1a1a;
  transform: rotate(180deg);
}

/* Answer panel */
.faq-answer {
  display: none;
  text-align: left;
  padding: 1rem 1.5rem 1.5rem;
  background: #fffaf5;
  color: #533023;
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid #e5d4c5;
  animation: faqFadeIn 0.3s ease;
}

.faq-item.open .faq-answer {
  display: block;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive behavior */
@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 0.9rem 1.25rem;
  }
  .faq-answer {
    font-size: 0.95rem;
  }
}
/* =========================================================
   📱 MOBILE-FRIENDLY OVERRIDES FOR REDMARK SITE
   ========================================================= */

/* ---------- TABLET (≤ 900px) ---------- */
@media (max-width: 900px) {

  /* --- Navbar --- */
  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
  nav a {
    font-size: 1rem;
    padding: 0.5rem;
  }

  /* --- Hero / Banner --- */
  .banner,
  .hero-banner {
    flex-direction: column;
    text-align: center;
    width: 100vw !important;
    padding: 1.5rem 1rem;
  }
  .banner-logo {
    width: clamp(200px, 40vw, 350px);
  }
  .banner p.banner-tagline {
    font-size: 1rem;
  }
  .banner a.cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }

  /* --- Capability Banners --- */
  .capability-banner,
  .capability-banner.alt {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 95vw !important;
    min-height: unset;
  }
  .capability-banner-image,
  .capability-banner-text {
    max-width: 100%;
  }
  .capability-banner-image img {
    width: 100%;
    height: auto;
    clip-path: none;
  }
  .capability-banner-text {
    padding: 1.5rem 1rem;
  }
  .capability-banner-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .capability-banner-text p {
    font-size: 1rem;
  }

  /* --- Owners Section --- */
  .owners-banner {
    width: 95vw !important;
    padding: 1.5rem 0 !important;
  }
  .owners-cards {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 1.5rem !important;
  }
  .owner-card {
    flex: 1 1 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }
  .owner-card img {
    width: 100px;
    height: 100px;
  }

  /* --- Build Flow --- */
  .build-flow-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  /* --- Info Cards --- */
  .info-card-banner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 90vw;
  }
  .info-card {
    width: 90%;
    text-align: center;
  }

  /* --- Photo Grid --- */
  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
  }

  /* --- Vendor Banner --- */
  .vendor-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .vendor-content,
  .vendor-logo {
    text-align: center;
  }
  .vendor-logo img {
    max-height: 100px;
  }

  /* --- FAQ --- */
  .faq-section {
    max-width: 90vw;
    padding: 1rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
  .faq-answer {
    font-size: 0.95rem;
  }

  /* --- Footer / CTA Sections --- */
  .cta-section,
  .about-footer {
    width: 90vw;
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
  }
  .cta-section h2,
  .about-footer__title {
    font-size: 1.25rem;
  }
  .cta-section .cta-button,
  .about-footer .cta-button {
    width: auto;
    padding: 0.75rem 1.5rem;
  }
}

/* ---------- PHONE (≤ 600px) ---------- */
@media (max-width: 600px) {

  /* --- Navbar --- */
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  nav a {
    font-size: 0.95rem;
  }

  /* --- Hero / Banner --- */
  .banner,
  .hero-banner {
    padding: 1rem;
    gap: 1rem;
  }
  .banner-logo {
    width: 75vw;
  }
  .banner p.banner-tagline {
    font-size: 0.95rem;
  }
  .banner a.cta-button {
    width: 100%;
    max-width: 300px;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }

  /* --- Capability Banners --- */
  .capability-banner-text h2 {
    font-size: 1.25rem;
  }
  .capability-banner-text p {
    font-size: 0.95rem;
  }

  /* --- Owners Section --- */
  .owners-cards {
    flex-direction: column !important;
    align-items: center;
  }
  .owner-card {
    width: 90% !important;
    max-width: 400px !important;
    padding: 1.5rem 1rem;
  }
  .owner-card img {
    width: 80px;
    height: 80px;
  }
  .owners-title {
    font-size: 1.35rem;
  }
  .owner-role {
    font-size: 1rem;
  }
  .owner-description {
    font-size: 0.9rem;
  }

  /* --- Build Flow --- */
  .build-flow-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .build-card {
    width: 90%;
    margin: 0 auto;
  }

  /* --- Info Cards --- */
  .info-card-banner {
    flex-direction: column;
    gap: 1.25rem;
  }
  .info-card {
    width: 90%;
    padding: 1.25rem;
    text-align: center;
  }

  /* --- FAQ --- */
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }

  /* --- Vendor Banner --- */
  .vendor-banner {
    flex-direction: column;
    align-items: center;
  }
  .vendor-content {
    text-align: center;
  }
  .vendor-logo img {
    max-width: 200px;
  }

  /* --- CTA & Footer --- */
  .cta-section,
  .about-footer {
    padding: 1.25rem;
    font-size: 0.9rem;
    width: 90vw;
  }
  .cta-section .cta-button,
  .about-footer .cta-button {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  /* --- Global text scaling --- */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }

  p, li { font-size: 0.95rem; }
}

.hero-tagline {
  color: #fff;
}

.cta-section {
    margin-top: 2.5rem;
}

.banner {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}

/* =========================================================
   HERO CTA SIZE FIX — keep hero buttons slim
   ========================================================= */
.hero-block .cta-button {
  min-height: 1.75rem !important;
  padding: 0.45rem 1.25rem !important;  /* same as compact buttons */
  font-size: 1rem !important;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/*!* =========================================================*/
/*   AUTO "Powered by ___" TITLE STYLE*/
/*   ========================================================= *!*/

/*.vendor-content h2 {*/
/*  position: relative;*/
/*  text-align: left;*/
/*  font-weight: 700;*/
/*  font-size: 1.5rem;*/
/*  color: #b22222;               !* color for the VENDOR NAME *!*/
/*  margin-bottom: 1rem;*/
/*  padding-left: 7rem;           !* creates space for "Powered by" text *!*/
/*}*/

/*!* add "Powered by" before whatever text is entered *!*/
/*.vendor-content h2::before {*/
/*  content: "Powered by ";*/
/*  position: absolute;*/
/*  left: 0;*/
/*  top: 0;*/
/*  color: #533023;               !* dark brown for prefix *!*/
/*  font-weight: 700;*/
/*  margin-right: .4rem;*/
/*}*/

.photo-grid-section {
  max-width: 90vw;
  margin: 3rem auto;
  text-align: center;
}

.photo-grid-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #b22222; /* red accent like other headings */
  margin-bottom: 2rem;
}

/* 3 columns per row, centered grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;  /* center each figure */
}

.photo-item {
  max-width: 400px;
  text-align: center;
}

/* Image styling */
.photo-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}

/* Caption under image */
.photo-caption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #444;
  font-style: italic;
}

/* =========================================================
   SMOOTH SCROLL ANIMATIONS — uses .alt for direction
   ========================================================= */

/* Base hidden state for all scroll-reveal elements */
section,
.banner,
.hero-banner,
.capability-banner,
.capability-banner.alt,
.owners-banner,
.info-card-banner,
.build-flow,
.vendor-banner,
.cta-section,
.about-footer,
.photo-grid-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
  will-change: opacity, transform, clip-path;
}

/* General fade-in for everything once visible */
.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Capability Banner Curtain Effects --- */

/* Normal (image left → curtain opens rightward) */
.capability-banner {
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.2s ease-in-out, opacity 1s ease-out;
}

.capability-banner.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ALT (image right → curtain opens leftward) */
.capability-banner.alt {
  clip-path: inset(0 50% 0 50%);
}

.capability-banner.alt.is-visible {
  clip-path: inset(0 0 0 0);
  transform: none;
  opacity: 1;
}

/* Add soft stagger rhythm so nearby banners don't pop at once */
.capability-banner.is-visible { transition-delay: 0.1s; }
.capability-banner.alt.is-visible { transition-delay: 0.25s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  section,
  .banner,
  .capability-banner,
  .capability-banner.alt {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* =========================================================
   PHOTO GRID RESPONSIVE LAYOUT (max 3 → 2 → 1 columns)
   ========================================================= */

/* Default: 3 columns */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: start;
}

/* Each photo container */
.photo-item {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/* Maintain full image size until breakpoint */
.photo-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

/* Hover effect */
.photo-item img:hover {
  transform: scale(1.05);
}

/* Caption below image */
.photo-caption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #444;
  font-style: italic;
}

/* --- Breakpoints --- */

/* Medium screens → 2 columns */
@media (max-width: 1000px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens → 1 column */
@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SINGLE OWNER BANNER — IMAGE LEFT, TEXT RIGHT
   ========================================================= */

.owner-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
  text-align: left;
  flex-wrap: wrap;
}

/* Image side */
.owner-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.owner-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border: 4px solid #b22222;
}

/* Text box */
.owner-info {
  flex: 2;
  background: #f9f3e9;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #533023;
}

.owner-info h3 {
  font-size: 1.75rem;
  color: #b22222;
  margin-bottom: 0.5rem;
}

.owner-info .owner-role {
  font-style: italic;
  color: #8b1a1a;
  margin-bottom: 1rem;
}

.owner-info .owner-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile stacking */
@media (max-width: 800px) {
  .owner-profile {
    flex-direction: column;
    text-align: center;
  }

  .owner-image img {
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  .owner-info {
    text-align: left;
    width: 90%;
  }
}

/* =========================================================
   SINGLE OWNER BANNER — IMAGE LEFT, TEXT RIGHT
   ========================================================= */

.single-owner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;  /* allows stacking on smaller screens */
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  text-align: left;
}

/* Owner image */
.owner-image {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.owner-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  border: 4px solid #b22222;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Info box */
.owner-info {
  flex: 2;
  background: #f9f3e9;
  border: 1px solid #e5d4c5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #533023;
}

.owner-info h3 {
  font-size: 1.75rem;
  color: #b22222;
  margin-bottom: 0.5rem;
}

.owner-info .owner-role {
  font-style: italic;
  color: #8b1a1a;
  margin-bottom: 1rem;
}

.owner-info .owner-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Responsive stacking --- */
@media (max-width: 800px) {
  .single-owner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .owner-image img {
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  .owner-info {
    text-align: left;
    width: 100%;
  }
}
