/*
Theme Name: Adaptenda Blocks
Theme URI: https://adaptenda.com/
Author: Adaptenda
Description: An editable block theme for Adaptenda's practical tools and automation studio.
 Version: 0.6.2
Requires at least: 6.6
Text Domain: vrroom-ai-block
*/

:root {
  --paper: #f7f7f2;
  --white: #fff;
  --ink: #1c3030;
  --muted: #60716e;
  --accent: #146f5b;
  --accent-deep: #0d5547;
  --sage: #e2eee7;
  --sage-strong: #d1e4d8;
  --line: #d8e5df;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); }
body, button, input, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > *, .wp-block-post-content > * { margin-block-start: 0; }
.wp-block-group { box-sizing: border-box; }
.wp-block-post-content > .wp-block-group.alignfull { max-width: none; }
.section-wrap, .site-header > .wp-block-group, .contact-section > .wp-block-group, .site-footer > .wp-block-group,
.home-hero .hero-inner, .interior-page, .demo-workspace {
  width: min(calc(100% - 64px), var(--wrap));
  margin-inline: auto;
}
.section-wrap > .wp-block-columns, .section-wrap > .wp-block-query, .demo-workspace > .wp-block-columns,
.interior-page > .wp-block-columns, .interior-page > .wp-block-query, .interior-page > .wp-block-group,
.solution-formats > .wp-block-columns, .problem-gallery > .wp-block-columns { width: 100%; max-width: none!important; }
.section-wrap > .section-heading { max-width: 950px!important; margin-left: 0!important; }
.eyebrow { margin: 0 0 24px; color: #2a7660; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.demo-label, .demo-index, .format-number, .approach-step .step-number, .portrait-caption, .problem-number { font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .035em; }
.section-heading { margin: 0; font-size: clamp(42px, 5.6vw, 76px); font-weight: 720; letter-spacing: -.068em; line-height: 1.04; }
.section-lead { max-width: 690px; color: var(--muted); font-size: clamp(17px, 1.75vw, 21px); line-height: 1.62; }
.text-link { display: inline-block; margin-top: 25px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 750; transition: color .22s, border-color .22s; }
.text-link:hover { color: var(--accent); }
.wp-block-button__link { border-radius: 6px!important; transition: background-color .22s, color .22s, transform .22s, box-shadow .22s; }
.wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 8px 18px #0a5c4925; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--accent); color: var(--white); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--accent-deep); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); }
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Shared navigation */
.site-brand { display: flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
.site-brand .wp-block-site-logo { flex: none; width: 36px; margin: 0; line-height: 0; }
.site-brand .wp-block-site-logo img { display: block; width: 36px; height: 36px; object-fit: contain; }
header.wp-block-template-part:has(.site-header) { position: sticky; top: 0; z-index: 70; }
body.admin-bar header.wp-block-template-part:has(.site-header) { top: 32px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-header .wp-block-site-title { flex: none; margin: 0; white-space: nowrap; font-size: 20px; font-weight: 850; letter-spacing: -.06em; }
.site-header .wp-block-site-title a { color: var(--ink); }
.site-header .wp-block-navigation { margin-left: auto; }
.site-header .wp-block-navigation__container { gap: clamp(15px, 1.65vw, 28px); }
.site-header .wp-block-navigation-item__content { position: relative; color: var(--ink); font-size: 13px; font-weight: 700; transition: color .22s; }
.site-header .wp-block-navigation-item__content:hover { color: var(--accent); }
.site-header .wp-block-navigation-item__content::after { content: ""; position: absolute; inset: auto 100% -5px 0; height: 2px; background: var(--accent); transition: right .24s; }
.site-header .wp-block-navigation-item__content:hover::after { right: 0; }
.site-header .wp-block-buttons { flex: none; }
.site-header .wp-block-button__link { padding: 12px 17px; white-space: nowrap; font-size: 12px; }

/* Home hero and illustrative workflow */
.home-hero { padding: 105px 0 105px; text-align: center; background: radial-gradient(circle at 50% 5%, #e7f3e9 0, transparent 45%), var(--paper); }
.home-hero .hero-inner { max-width: 1030px; }
.home-hero .eyebrow { color: var(--accent); }
.hero-title { margin: 0 auto 28px!important; font-size: clamp(70px, 8.2vw, 124px)!important; font-weight: 760; letter-spacing: -.09em; line-height: .98; }
.hero-inner > .hero-title { max-width: none!important; }
.hero-title em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: .94em; font-weight: 400; letter-spacing: -.085em; }
.hero-description { max-width: 790px!important; margin: 0 auto!important; color: #52625f; font-size: clamp(18px, 2vw, 23px); line-height: 1.58; letter-spacing: -.022em; }
.hero-actions { display: flex; justify-content: center; gap: 13px; margin: 36px auto 0; }
.hero-foot { margin: 23px 0 0; color: #547762; font-size: 12px; font-weight: 700; }
.hero-inner > .eyebrow, .hero-inner > .hero-title, .hero-inner > .hero-description, .hero-inner > .hero-actions { animation: arrive .75s both; }
.hero-inner > .hero-title { animation-delay: .06s; }
.hero-inner > .hero-description { animation-delay: .14s; }
.hero-inner > .hero-actions { animation-delay: .22s; }
.demo-workspace { position: relative; margin-top: -40px; margin-bottom: 110px; padding: 40px 42px 28px; border: 1px solid #3d5a52; border-radius: 12px; background: #1a3431; box-shadow: 0 26px 65px #163f3520; color: #fff; }
.demo-workspace::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, var(--accent), #8ccf9c 34%, #d6e6d7 34%, #d6e6d7); }
.demo-label { margin: 0 0 12px; color: #a4dfae; }
.demo-title { max-width: 870px; margin: 0 0 34px; color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 640; letter-spacing: -.05em; line-height: 1.1; }
.demo-columns { gap: 10px; }
.demo-columns > .wp-block-column { min-width: 0; }
.demo-card { min-height: 230px; padding: 26px; border: 1px solid #56716a; border-radius: 6px; background: #25433d; transition: border-color .3s, background .3s, transform .3s; }
.demo-card:hover { border-color: #9adaaa; background: #31554b; transform: translateY(-4px); }
.demo-index { color: #a4dfae; }
.demo-card h3 { margin: 30px 0 13px; color: #fff; font-size: 26px; font-weight: 660; letter-spacing: -.05em; }
.demo-copy { color: #c9dbd3; font-size: 15px; line-height: 1.62; }
.demo-note { margin: 26px 0 0; color: #b6d0c3; font-size: 12px; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Content sections */
.intro-section { padding: 115px 0 125px; background: var(--sage); }
.section-intro { align-items: start; gap: 8%; }
.section-intro > .wp-block-column:first-child { flex-basis: 56%; }
.section-intro > .wp-block-column:last-child { flex-basis: 36%; }
.intro-section .section-lead { margin-top: 8px; }
.services-section { padding: 120px 0 125px; background: var(--white); }
.services-section .section-lead { margin: 20px 0 50px; }
.format-grid { gap: 16px; margin-top: 16px; }
.format-card { min-height: 294px; padding: 30px 32px 32px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcf8; transition: border-color .24s, transform .28s, box-shadow .28s; }
.format-card:hover { transform: translateY(-5px); border-color: #72ad8f; box-shadow: 0 15px 30px #173b3310; }
.format-number { margin: 0 0 44px; color: var(--accent); }
.format-card h3 { margin: 0 0 12px; font-size: clamp(27px, 2.7vw, 36px); font-weight: 680; letter-spacing: -.06em; }
.format-description { max-width: 490px; margin: 0 0 20px; color: #5b6c67; font-size: 16px; line-height: 1.58; }
.format-example { max-width: 500px; margin: 0; padding-top: 17px; border-top: 1px solid var(--line); color: #5b6c67; font-size: 13px; line-height: 1.52; }
.format-example strong { color: var(--ink); }
.approach-section { padding: 118px 0 128px; background: var(--ink); color: var(--white); }
.approach-section .eyebrow { color: #a4dfae; }
.approach-section .section-heading { max-width: 850px; }
.approach-grid { gap: 14px; margin-top: 64px; }
.approach-step { height: 100%; min-height: 250px; padding: 29px; border-top: 1px solid #91afa0; background: #24443c; transition: background .25s, transform .25s; }
.approach-step:hover { background: #31544b; transform: translateY(-4px); }
.approach-step .step-number { margin: 0 0 36px; color: #efa19b; }
.approach-step h3 { margin: 0 0 14px; color: #fff; font-size: 29px; font-weight: 640; letter-spacing: -.05em; }
.approach-step p:not(.step-number) { color: #cadbd3; font-size: 15px; line-height: 1.58; }
.about-band { padding: 135px 0; background: var(--paper); }
.about-columns { align-items: center; gap: 11%; }
.about-band .section-lead { margin-top: 26px; }
.portrait-card { overflow: hidden; border-radius: 8px; background: var(--ink); color: #fff; }
.portrait-card .leons-photo { width: 100%; height: 330px; margin: 0; }
.portrait-card .leons-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.portrait-caption { margin: 0; padding: 21px 28px 0; color: #a4dfae; }
.portrait-principle { margin: 0; padding: 12px 28px 29px; color: #fff; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.15; font-weight: 640; letter-spacing: -.055em; }
.work-section { padding: 120px 0 130px; background: var(--sage); }
.work-section .section-intro { align-items: end; margin-bottom: 44px; }
.work-section .section-lead { margin-top: 0; }
.work-placeholder { padding: 45px; border: 1px solid #c6dbcf; border-radius: 9px; background: var(--white); }
.work-placeholder h3 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 630; letter-spacing: -.05em; }
.work-placeholder p { max-width: 650px; color: var(--muted); font-size: 16px; }
.case-grid .wp-block-post { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.case-grid .wp-block-post-featured-image { margin: 0; }
.case-grid .wp-block-post-featured-image img { height: 290px; object-fit: cover; }
.case-grid .wp-block-post-title, .case-grid .wp-block-post-excerpt { margin-inline: 28px; }
.case-grid .wp-block-post-title { margin-top: 24px; font-size: 29px; letter-spacing: -.05em; }
.case-grid .wp-block-post-excerpt { margin-bottom: 28px; color: var(--muted); }
.insight-band { padding: 92px 0; background: #f1eee3; }
.insight-band .section-heading { max-width: 810px; }
.insight-band .section-lead { margin-top: 24px; }

/* Interior pages */
.interior-page { padding: 105px 0 140px; }
.interior-page > .eyebrow { color: var(--accent); }
.interior-page > h1 { max-width: 1050px; margin: 0 0 29px; font-size: clamp(58px, 6.9vw, 100px); line-height: 1.02; font-weight: 710; letter-spacing: -.078em; }
.interior-page > h1 { max-width: 1050px!important; margin-left: 0!important; }
.interior-page > .page-lead { max-width: 830px!important; margin: 0 0 72px!important; color: #586a65; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.59; }
.solution-formats { margin: 0 0 110px; }
.solution-formats .eyebrow { margin-bottom: 24px; }
.problem-gallery { margin: 0 0 110px; padding: 70px 0; border-block: 1px solid var(--line); }
.problem-gallery .section-heading { max-width: 800px; }
.problem-gallery .section-lead { margin: 22px 0 38px; }
.problem-grid { gap: 13px; }
.problem-card { height: 100%; min-height: 395px; padding: 30px; background: var(--sage); }
.problem-number { margin: 0 0 38px; color: var(--accent-deep); }
.problem-card h3 { margin: 0 0 18px; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.055em; }
.problem-friction { margin: 0; color: #566b63; font-size: 15px; line-height: 1.6; }
.problem-possible { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid #bfd5c7; color: #566b63; font-size: 14px; line-height: 1.58; }
.problem-possible strong { color: var(--ink); }
.solution-example { padding: 60px; border-radius: 10px; background: var(--sage); }
.solution-example .section-heading { max-width: 880px; }
.solution-example .section-lead { max-width: 800px; margin: 25px 0 10px; }
.fine-print { margin: 25px 0 0; color: #667b71; font-size: 12px; }
.solution-page .demo-workspace { width: 100%; margin: 70px 0 100px; }
.solution-closer, .work-cta, .notes-cta, .about-cta { margin-top: 100px; padding: 62px; border-top: 1px solid var(--line); background: #ecf4ed; }
.solution-closer .section-lead, .work-cta .section-lead, .notes-cta .section-lead, .about-cta .section-lead { margin: 20px 0 30px; }
.about-page-grid { gap: 10%; margin-top: 90px; }
.about-page-grid > .wp-block-column:first-child { flex-basis: 58%; }
.about-page-grid .section-heading { font-size: clamp(42px, 4.8vw, 65px); }
.about-page-grid .section-lead { margin-top: 25px; }
.about-points { padding: 37px; border-radius: 10px; background: var(--sage); }
.about-points .leons-photo { margin: 0 0 23px; }
.about-points .leons-photo img { display: block; width: 100%; height: 300px; border-radius: 5px; object-fit: cover; object-position: center 23%; }
.about-point { margin: 0; padding: 22px 0; border-bottom: 1px solid #c0d8c8; font-size: 18px; line-height: 1.5; }
.about-point:last-child { border-bottom: 0; }
.work-page .case-grid, .notes-page .case-grid { margin-top: 50px; }
.story-content { padding-block: 80px 130px; }
.story-content > .wp-block-post-title { font-size: clamp(48px, 6vw, 84px); line-height: 1.04; letter-spacing: -.07em; }
.story-content > .wp-block-post-content { font-size: 18px; line-height: 1.75; }

/* Contact and footer */
.contact-section { padding: 120px 0 65px; background: #1a3431; color: #fff; }
.contact-section .eyebrow { color: #a4dfae; }
.contact-section h2 { max-width: 1040px; margin: 0; color: #fff; font-size: clamp(54px, 6.4vw, 94px); line-height: 1.04; font-weight: 700; letter-spacing: -.075em; }
.contact-lead { max-width: 740px; margin: 25px 0 31px; color: #c9dbd3; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; }
.contact-meta { gap: 18px; margin-top: 95px!important; padding-top: 24px; border-top: 1px solid #729389; color: #c9dbd3; font-size: 13px; }
.contact-meta a:hover { color: #fff; text-decoration: underline; }
.site-footer { padding: 50px 0 24px; background: #122926; color: #bbd0c5; }
.site-footer .wp-block-site-title { margin: 0; font-size: 22px; font-weight: 820; letter-spacing: -.055em; }
.site-footer .site-brand .wp-block-site-logo, .site-footer .site-brand .wp-block-site-logo img { width: 32px; height: 32px; }
.site-footer .site-brand .wp-block-site-logo img { filter: brightness(0) invert(1); }
.site-footer .wp-block-site-title a { color: #fff; }
.site-footer .footer-description { max-width: 350px; margin-top: 13px; font-size: 14px; line-height: 1.55; }
.site-footer .wp-block-navigation { gap: 20px; }
.site-footer .wp-block-navigation a { color: #bbd0c5; font-size: 13px; font-weight: 650; }
.site-footer .wp-block-navigation a:hover { color: #fff; }
.footer-bottom { margin-top: 60px!important; padding-top: 20px; border-top: 1px solid #3f6257; font-size: 11px; }

@media (max-width: 1100px) {
  .site-header .wp-block-navigation__container { gap: 14px; }
  .site-header .wp-block-button__link { padding-inline: 12px; }
  .hero-title { font-size: clamp(66px, 8vw, 105px)!important; }
}
@media (max-width: 900px) {
  .site-header .wp-block-buttons { display: none; }
  .section-intro { gap: 5%; }
  .demo-card { padding: 22px; }
}
@media (max-width: 780px) {
  .section-wrap, .site-header > .wp-block-group, .contact-section > .wp-block-group, .site-footer > .wp-block-group,
  .home-hero .hero-inner, .interior-page, .demo-workspace { width: min(calc(100% - 42px), var(--wrap)); }
  .home-hero { padding: 82px 0 96px; }
  .hero-title { font-size: clamp(55px, 10vw, 79px)!important; }
  .demo-columns, .format-grid, .problem-grid, .approach-grid, .about-columns, .about-page-grid, .section-intro { flex-direction: column; }
  .demo-columns > .wp-block-column, .format-grid > .wp-block-column, .problem-grid > .wp-block-column, .approach-grid > .wp-block-column,
  .about-columns > .wp-block-column, .about-page-grid > .wp-block-column, .section-intro > .wp-block-column { width: 100%!important; flex-basis: auto!important; }
  .demo-card { min-height: 0; }
  .demo-card h3 { margin-top: 12px; }
  .intro-section, .services-section, .approach-section, .about-band, .work-section { padding-block: 90px; }
  .approach-grid { margin-top: 35px; }
  .approach-step { min-height: 0; }
  .problem-card { min-height: 0; }
  .portrait-card .leons-photo { height: 420px; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open { z-index: 100; background: #fff; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 85px 28px 40px!important; align-items: flex-start!important; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; align-items: flex-start!important; gap: 21px!important; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 22px; font-weight: 700; }
  .site-header .wp-block-navigation__responsive-container-close { right: 25px!important; top: 25px!important; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 82px; }
  .site-header .header-inner { min-height: 66px; }
  .site-header .wp-block-site-title { font-size: 18px; }
  .site-header .site-brand .wp-block-site-logo, .site-header .site-brand .wp-block-site-logo img { width: 31px; height: 31px; }
  .home-hero { padding: 72px 0 89px; }
  .hero-title { font-size: clamp(47px, 12.2vw, 65px)!important; line-height: 1.03; }
  .hero-description { font-size: 17px; }
  .hero-actions { display: block; margin-top: 28px; }
  .hero-actions .wp-block-button, .hero-actions .wp-block-button__link { width: 100%; }
  .hero-actions .wp-block-button { margin: 0 0 10px; }
  .demo-workspace { margin-top: -28px; margin-bottom: 60px; padding: 31px 18px 22px; }
  .demo-title { font-size: 28px; }
  .demo-card { padding: 18px; }
  .section-heading { font-size: 43px; }
  .format-card { min-height: 0; padding: 25px; }
  .format-number { margin-bottom: 32px; }
  .contact-section { padding: 85px 0 48px; }
  .contact-section h2 { font-size: 52px; }
  .contact-meta { align-items: flex-start!important; margin-top: 65px!important; }
  .interior-page { padding: 75px 0 85px; }
  .interior-page > h1 { font-size: 55px; }
  .interior-page > .page-lead { margin-bottom: 53px; font-size: 17px; }
  .solution-example, .solution-closer, .work-cta, .notes-cta, .about-cta { padding: 31px 24px; }
  .about-page-grid { margin-top: 65px; }
  .footer-main { align-items: flex-start!important; }
  .site-footer .wp-block-navigation { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
