/* Backstage Support | Gutenberg Starter Patterns
 * Brand defaults: verified logo teal/cream; supporting palette is adjustable.
 * This stylesheet is deliberately scoped to .bs-section.
 */
.bs-section {
  --bs-green: #1b3d2e;
  --bs-green-2: #123026;
  --bs-sage: #6b7f6a;
  --bs-teal: #4ab8bb;
  --bs-cream: #f8f1e6;
  --bs-offwhite: #faf9f6;
  --bs-sand: #efe7dc;
  --bs-charcoal: #2e2e2e;
  --bs-serif: "Playfair Display", "Bodoni Moda", Didot, "Times New Roman", Georgia, serif;
  --bs-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--bs-sans);
  color: var(--bs-charcoal);
  box-sizing: border-box;
  position: relative;
  margin-block: 0 !important;
}
.bs-section *, .bs-section *::before, .bs-section *::after { box-sizing: border-box; }
.bs-section .bs-container { width: min(calc(100% - 48px), 1240px); max-width: none; margin-inline: auto; }
.bs-section.bs-dark { background: var(--bs-green); color: var(--bs-cream); }
.bs-section.bs-light { background: var(--bs-offwhite); color: var(--bs-charcoal); }
.bs-section.bs-sand { background: var(--bs-sand); color: var(--bs-charcoal); }
.bs-section .bs-display { font-family: var(--bs-serif); font-weight: 400; letter-spacing: -0.037em; line-height: 1.06; margin: 0; }
.bs-section .bs-display em { font-weight: 400; }
.bs-section .bs-section-heading { font-size: clamp(2.35rem, 5vw, 4.8rem); max-width: 850px; }
.bs-section .bs-kicker { color: var(--bs-green); font-family: var(--bs-sans); letter-spacing: .22em; font-size: .71rem; font-weight: 600; text-transform: uppercase; margin: 0 0 1.35rem; }
.bs-section.bs-dark .bs-kicker { color: var(--bs-teal); }
.bs-section .bs-lead { font-family: var(--bs-sans); font-size: clamp(1rem,1.7vw,1.22rem); line-height: 1.8; font-weight: 400; }
.bs-section .bs-section-desc { max-width: 660px; font-size: 1.03rem; line-height: 1.85; margin: 1.45rem 0 3rem; }
.bs-section .bs-actions { gap: .8rem; margin: 2rem 0 0; }
.bs-section .bs-actions .wp-block-button__link { font-family: var(--bs-sans); letter-spacing: .055em; font-weight: 600; font-size: .78rem; text-decoration: none; padding: 1.15rem 1.5rem; border-radius: 100px; transition: background-color .25s ease,color .25s ease, transform .25s ease, border-color .25s ease; }
.bs-section .bs-actions .wp-block-button__link:hover { transform: translateY(-3px); }
.bs-section .bs-btn-solid .wp-block-button__link { background: var(--bs-cream); color: var(--bs-green-2); border: 1px solid var(--bs-cream); }
.bs-section .bs-btn-solid .wp-block-button__link:hover { background: var(--bs-teal); border-color: var(--bs-teal); }
.bs-section .bs-btn-outline .wp-block-button__link { background: transparent; color: var(--bs-cream); border: 1px solid rgba(248,241,230,.5); }
.bs-section .bs-btn-outline .wp-block-button__link:hover { border-color: var(--bs-cream); background: rgba(248,241,230,.08); }
.bs-section a:focus-visible { outline: 3px solid var(--bs-teal); outline-offset: 4px; }
/* Hero */
.bs-hero { overflow: clip; padding: clamp(100px, 12vw, 190px) 0 clamp(90px,10vw,150px); isolation: isolate; }
.bs-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 85% 15%, rgba(74,184,187,.13), transparent 50%), radial-gradient(ellipse at 10% 90%, rgba(0,0,0,.16),transparent 55%); pointer-events: none; }
.bs-hero .bs-hero-cols { gap: clamp(35px, 6vw, 90px); align-items: center; }
.bs-hero .bs-hero-heading { font-size: clamp(3.05rem, 6.5vw, 7rem); max-width: 950px; text-wrap: balance; }
.bs-hero .bs-lead { max-width: 610px; color: rgba(248,241,230,.8); margin: 2rem 0 0; }
.bs-hero .bs-identity-card { position: relative; background: rgba(248,241,230,.055); border: 1px solid rgba(248,241,230,.2); padding: clamp(24px,3vw,48px); border-radius: 3px; backdrop-filter: blur(10px); box-shadow: 0 35px 75px rgba(0,0,0,.13); }
.bs-hero .bs-identity-card::after { content: "✦"; position: absolute; top: -25px; right: 25px; font-size: 2.6rem; color: var(--bs-teal); }
.bs-hero .bs-identity-overline { font-size: .62rem; letter-spacing: .19em; color: var(--bs-teal); margin: 0 0 2.5rem; }
.bs-hero .bs-identity-title { font-family: var(--bs-serif); font-size: clamp(1.6rem,2.5vw,2.5rem); line-height:1.15; font-weight: 400; margin: 0 0 2rem; color: var(--bs-cream); }
.bs-hero .bs-identity-node { display:flex; align-items: center; gap: 1.25rem; font-size:.72rem; letter-spacing:.09em; padding: 1rem 0; margin:0; border-bottom:1px solid rgba(248,241,230,.22); color: var(--bs-teal); }
.bs-hero .bs-identity-node strong { color: var(--bs-cream); font-weight: 500; letter-spacing: .14em; }
.bs-hero .bs-identity-footnote { font-size:.71rem; margin:2.1rem 0 0; color:rgba(248,241,230,.6); letter-spacing:.04em; }
/* Editorial */
.bs-intro { padding: clamp(80px,10vw,150px) 0; }
.bs-intro .bs-editorial-cols { gap: clamp(25px,7vw,110px); }
.bs-intro .bs-editorial-body { padding-top: .3rem; }
.bs-intro .bs-editorial-body p:not(.bs-text-link) { font-family:var(--bs-sans); font-size:.97rem; line-height:1.95; color:#50534e; }
.bs-intro .bs-editorial-body .bs-large-copy { color:var(--bs-green) !important; font-size:clamp(1.2rem,2vw,1.65rem) !important; line-height:1.65 !important; margin-top:0; }
.bs-intro .bs-text-link { margin-top:2.2rem; font-size:.8rem; font-weight:600; letter-spacing:.05em; }
.bs-intro .bs-text-link a { color:var(--bs-green); text-underline-offset: .45em; }
/* Services */
.bs-services { padding:clamp(80px,9vw,140px) 0; }
.bs-services .bs-service-grid { gap:16px; align-items:stretch; }
.bs-services .bs-service-card { min-width:0; display:flex; flex-direction:column; background:var(--bs-offwhite); border: 1px solid rgba(27,61,46,.12); padding: clamp(26px,3vw,43px); min-height: 410px; transition:transform .32s ease,box-shadow .32s ease; }
.bs-services .bs-service-card:hover { transform:translateY(-6px); box-shadow:0 20px 55px rgba(27,61,46,.11); }
.bs-services .bs-card-index { font-size:.67rem; font-weight:600; letter-spacing:.19em; color:var(--bs-green); margin:0 0 4rem; }
.bs-services .bs-card-title { font-family:var(--bs-serif); font-weight:400; font-size:clamp(1.8rem,2.6vw,2.65rem); line-height:1.13; margin:0 0 1.4rem; }
.bs-services .bs-service-card p:not(.bs-card-index):not(.bs-card-link) { line-height:1.85; font-size:.88rem; color:#5b625d; }
.bs-services .bs-card-link { margin-top:auto; padding-top:2rem; font-size:.76rem; font-weight:600; }
.bs-services .bs-card-link a { color:var(--bs-green); text-underline-offset:.35em; }
/* Relations */
.bs-relations { padding:clamp(80px,9vw,140px) 0; }
.bs-relations .bs-relations-grid { gap:0; border-top:1px solid rgba(27,61,46,.28); margin-top:3.5rem; }
.bs-relations .bs-relation { position:relative; padding:2.5rem 1.25rem 1.8rem; border-right:1px solid rgba(27,61,46,.19); }
.bs-relations .bs-relation:first-child { border-left:1px solid rgba(27,61,46,.19); }
.bs-relations .bs-relation::before { content:""; height:9px; width:9px; background:var(--bs-teal); border-radius:50%; position:absolute; top:-5px; left:1.3rem; }
.bs-relations .bs-relation-n { color:var(--bs-sage); font-size:.75rem; letter-spacing:.16em; }
.bs-relations .bs-relation h3 { font-family:var(--bs-serif); font-size:clamp(1.3rem,2vw,2.1rem); font-weight:400; margin:1.3rem 0 .8rem; }
.bs-relations .bs-relation p:last-child { font-size:.84rem; color:#5a5e59; }
/* CTA */
.bs-cta { padding:clamp(90px,11vw,170px) 0; overflow:hidden; }
.bs-cta::after { content:"✦"; position:absolute; pointer-events:none; right:-1rem; bottom:-10rem; font-size:clamp(14rem,30vw,35rem); line-height:1; color:rgba(74,184,187,.13); }
.bs-cta .bs-container { position:relative; z-index:1; }
.bs-cta .bs-section-heading { max-width:920px; font-size:clamp(2.8rem,5.5vw,5.8rem); }
.bs-cta .bs-lead { max-width:620px; color:rgba(248,241,230,.8); margin-top:2rem; }
/* Motion progressive enhancement, only after script confirms support */
@media (prefers-reduced-motion: no-preference) {
  .bs-motion-active .bs-section .bs-reveal { opacity:0; transform:translateY(20px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .bs-motion-active .bs-section .bs-reveal.is-visible { opacity:1; transform:translateY(0); }
  .bs-section .bs-reveal:nth-child(2) { transition-delay:.08s; }
  .bs-section .bs-reveal:nth-child(3) { transition-delay:.15s; }
}
@media (max-width: 900px) {
  .bs-hero .bs-hero-cols, .bs-intro .bs-editorial-cols { flex-wrap:wrap; }
  .bs-hero .bs-hero-cols > .wp-block-column, .bs-intro .bs-editorial-cols > .wp-block-column { flex-basis:100% !important; }
  .bs-hero .bs-hero-side { max-width:650px; }
  .bs-services .bs-service-grid { flex-wrap:wrap; }
  .bs-services .bs-service-card { flex-basis:calc(50% - 16px) !important; min-height:365px; }
  .bs-relations .bs-relations-grid { flex-wrap:wrap; }
  .bs-relations .bs-relation { flex-basis:50% !important; border-bottom:1px solid rgba(27,61,46,.19); }
}
@media (max-width: 600px) {
  .bs-section .bs-container { width:min(calc(100% - 34px),1240px); }
  .bs-section .bs-section-heading { font-size:clamp(2.2rem,10.5vw,3.1rem); }
  .bs-hero { padding:92px 0 75px; }
  .bs-hero .bs-hero-heading { font-size:clamp(2.9rem,13vw,4.6rem); }
  .bs-hero .bs-hero-cols { gap:46px; }
  .bs-section .bs-actions { flex-direction:column; align-items:stretch; }
  .bs-section .bs-actions .wp-block-button { width:100%; }
  .bs-section .bs-actions .wp-block-button__link { width:100%; text-align:center; }
  .bs-services .bs-service-card { flex-basis:100% !important; min-height:330px; }
  .bs-services .bs-card-index { margin-bottom:2.5rem; }
  .bs-relations .bs-relation { flex-basis:100% !important; border-right:0; border-left:0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-section .bs-actions .wp-block-button__link, .bs-section .bs-service-card { transition:none !important; }
  .bs-section .bs-actions .wp-block-button__link:hover, .bs-section .bs-service-card:hover { transform:none !important; }
}
