/* ==========================================================================
   Theme: Flax House (linen brand)
   Layout: topbar header / minimal footer / filmstrip collage
   Generated by generate.py - original design tokens, no third-party CSS.
   ========================================================================== */

:root {
  --bg: #f6f3ec;
  --surface: #fbf9f3;
  --text: #2f2c25;
  --accent: #8a8266;
  --accent-dark: #635e49;
  --accent-soft: #edece8;
  --muted: #a29d90;
  --border: #dad7d0;
  --btn-text: #ffffff;
  --font-heading: Optima, Candara, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 3px;
  --sp-1: 0.6rem;
  --sp-2: 1.2rem;
  --sp-3: 1.92rem;
  --sp-4: 3.12rem;
  --sp-5: 5.04rem;
}

/* ---- Reset & base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4,
.site-title,
.hero-title,
.section-title,
.footer-title {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: var(--accent);
  color: var(--btn-text);
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: var(--sp-3);
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--accent);
  margin: var(--sp-1) auto 0;
}

/* ---- Header & navigation ---- */
.site-header {
  position: relative;
  z-index: 60;
}

.header-main {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
}

.site-title {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--text);
}

.site-title a:hover {
  color: var(--accent);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.site-nav a {
  color: var(--text);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* header variant: topbar (contact strip above logo + nav) */
.header-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar {
  background: var(--accent);
  color: var(--btn-text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.topbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.45rem var(--sp-3);
}

.topbar a {
  color: var(--btn-text);
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.topbar-social {
  display: flex;
  gap: 1rem;
}

.header-topbar .header-main {
  justify-content: space-between;
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }

  .header-topbar .header-main {
    flex-direction: column;
    gap: var(--sp-1);
    text-align: center;
  }

  .header-topbar .site-nav ul {
    justify-content: center;
    gap: 0.4rem 0.9rem;
  }
}

/* nav typography: minimal-caps */
.site-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}

.site-nav a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

/* ---- Hero ---- */
.hero-inner {
  max-width: 46rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin-bottom: var(--sp-1);
  opacity: 0.85;
}

.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: var(--sp-1);
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: var(--sp-3);
  opacity: 0.92;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  background-image:
    linear-gradient(rgba(12, 12, 14, 0.5), rgba(12, 12, 14, 0.68)),
    url('https://picsum.photos/seed/w6-flax-house-0/1600/900');
  background-size: cover;
  background-position: center;
}

.hero-title,
.hero-sub,
.hero-kicker {
  color: #ffffff;
}

.hero .btn {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.hero .btn:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.hero-media {
  display: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.8em 2em;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn {
  background: transparent;
  color: var(--accent);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}

.btn:hover {
  background: var(--accent);
  color: var(--btn-text);
}

/* ---- Stats band ---- */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-3);
}

.stats-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--sp-1) 0;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---- Feature / services grid ---- */
.features {
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--sp-1);
}

.feature-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Product carousel ---- */
.shop {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) var(--sp-3);
}

.carousel {
  position: relative;
  max-width: 76rem;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px var(--sp-1);
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 2 * var(--sp-2) - 8px) / 3);
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-body {
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-name {
  font-size: 1.05rem;
}

.product-price {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.product-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55em 1.4em;
  font-size: 0.88rem;
}

.car-btn {
  position: absolute;
  top: 36%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.car-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--btn-text);
}

.car-prev {
  left: -1.15rem;
}

.car-next {
  right: -1.15rem;
}

.car-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--sp-1);
}

.car-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease;
}

.car-dot:hover {
  border-color: var(--accent);
}

.car-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* ---- Testimonials ---- */
.testimonials {
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-1);
}

.testimonial p {
  font-size: 0.98rem;
  flex: 1;
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: var(--sp-2);
}

.testimonial-who img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.who-name {
  font-weight: 600;
  line-height: 1.25;
}

.who-role {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ---- Pricing table ---- */
.pricing {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  align-items: stretch;
  padding-top: 1rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
  position: relative;
  border: 2px solid var(--accent);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--btn-text);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-tier {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1.1;
}

.price-per {
  font-size: 0.82rem;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin: var(--sp-2) 0;
  flex: 1;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-card .btn {
  align-self: center;
}

/* ---- Team grid ---- */
.team {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--sp-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.team-name {
  font-size: 1.05rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ---- FAQ ---- */
.faq {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details:hover {
  border-color: var(--accent);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1rem 2.8rem 1rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary {
  color: var(--accent);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-body {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
}

.cta-band h3 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #ffffff;
  margin-bottom: var(--sp-1);
}

.cta-band p {
  color: #ffffff;
  opacity: 0.9;
  max-width: 38rem;
  margin: 0 auto var(--sp-3);
}

.cta-band .btn {
  background: #ffffff;
  color: var(--accent-dark);
  border-color: #ffffff;
}

.cta-band .btn:hover {
  background: transparent;
  color: #ffffff;
}

/* ---- Contact split ---- */
.contact {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.contact .section-title {
  grid-column: 1 / -1;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
}

.form-field {
  margin-bottom: var(--sp-2);
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.info-block {
  margin-bottom: var(--sp-3);
  padding-left: var(--sp-2);
  border-left: 3px solid var(--accent);
}

.info-block p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Shared responsive ---- */
@media (max-width: 980px) {
  .features-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat + .stat {
    border-left: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin: 0 auto;
    gap: var(--sp-3);
  }

  .product-card {
    flex-basis: calc((100% - var(--sp-2) - 8px) / 2);
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: var(--sp-4) var(--sp-2);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-inner {
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-basis: calc(100% - 8px);
  }

  .car-prev,
  .car-next {
    display: none;
  }

  .stat-value {
    font-size: 1.7rem;
  }
}

/* ---- Collage (filmstrip) ---- */
.collage {
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.collage figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collage figure:hover img {
  transform: scale(1.06);
}

.collage figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.collage figure:hover figcaption {
  opacity: 1;
}

.filmstrip {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px var(--sp-2);
}

.filmstrip figure {
  flex: 0 0 20rem;
  scroll-snap-align: center;
}

.filmstrip img {
  aspect-ratio: 4 / 3;
}

.filmstrip::-webkit-scrollbar {
  height: 8px;
}

.filmstrip::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 4px;
}

.filmstrip::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

@media (max-width: 640px) {
  .filmstrip figure {
    flex-basis: 16rem;
  }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}

.footer-social a {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.footer-social a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* footer variant: minimal */
.footer-minimal {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
}

.footer-line {
  margin-bottom: var(--sp-1);
}

.footer-minimal .footer-social {
  margin-bottom: var(--sp-1);
}

/* ==========================================================================
   FLAIR PACK  -  accent:boxed-corner  card:border-draw  divider:chevron  rhythm:odd
   All motion is gated behind prefers-reduced-motion; scroll reveal behind
   @supports(animation-timeline); gradient text behind @supports(clip).
   ========================================================================== */
/* ---- Flair: keyframes (inert until referenced) ---- */
@keyframes flair-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes flair-reveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes flair-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes flair-ken-burns {
  from { background-position: center 42%; }
  to   { background-position: center 58%; }
}

/* ---- Flair: hero entrance (fade-up, motion-safe) ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker { animation: flair-fade-up 0.8s ease both; }
  .hero-title  { animation: flair-fade-up 0.8s ease 0.1s both; }
  .hero-sub    { animation: flair-fade-up 0.8s ease 0.2s both; }
  .hero-inner .btn,
  .hero-btn    { animation: flair-fade-up 0.8s ease 0.32s both; }
}

/* ---- Flair: image hero ken-burns pan ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: flair-ken-burns 26s ease-in-out infinite alternate;
  }
}

/* ---- Flair accent: boxed-corner hero ---- */
.hero-inner {
  position: relative;
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--accent);
  opacity: 0.85;
  pointer-events: none;
}

.hero-inner::before {
  top: -0.9rem;
  left: -0.9rem;
  border-right: none;
  border-bottom: none;
}

.hero-inner::after {
  bottom: -0.9rem;
  right: -0.9rem;
  border-left: none;
  border-top: none;
}

/* ---- Flair interaction: border-draw ---- */
.feature-card,
.product-card,
.price-card {
  position: relative;
}

.feature-card::after,
.product-card::after,
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0;
  transform: scale(0.965);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.feature-card:hover::after,
.product-card:hover::after,
.price-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.btn:hover {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---- Flair divider: chevron ---- */
.section-title::after {
  width: 13px;
  height: 13px;
  background: none;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-top: calc(var(--sp-1) + 3px);
}

/* ---- Flair: section rhythm (odd tint) ---- */
.features, .pricing, .faq {
  background: #f8f6f0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- Flair: pure-CSS scroll reveal (progressive enhancement) ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .testimonial,
    .price-card,
    .team-card,
    .product-card,
    .collage figure {
      animation: flair-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

/* ---- Flair: micro-polish ---- */
.collage img,
.team-card img,
.product-card img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.collage figure:hover img {
  filter: saturate(1.08);
}

.feature-icon {
  transition: transform 0.25s ease, background 0.25s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) rotate(-3deg);
}

.stat-value {
  transition: transform 0.25s ease;
}

.stat:hover .stat-value {
  transform: translateY(-2px);
}

/* ---- Flair: neutral depth finish ---- */
.feature-card,
.price-card,
.testimonial {
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              border-color 0.22s ease;
}

.info-block {
  transition: border-color 0.2s ease, padding-left 0.2s ease;
}

.info-block:hover {
  border-left-width: 5px;
}

.footer-links a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  padding-left: 0.25rem;
}
