/* ============================================================
   Konbini Strategy — site stylesheet
   Extracted from the original per-page inline <style> blocks and
   merged into one file during the Eleventy conversion.
   Source of truth for shared rules: about.html (the design-system reference).
   ============================================================ */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --konbini-green: #1B3D2E;
      --forest-ink: #0F1F1A;
      --pine: #1F3D2E;
      --leaf: #557A5E;
      --sage: #A9C1B3;
      --off-white: #F5F6F2;
      --near-black: #111715;
      --muted: #7a9080;
      --border: #dde0db;
      --max: 1080px;
      --serif: "Instrument Serif", Georgia, serif;
      --sans: "DM Sans", system-ui, sans-serif;
    }

    html { font-size: 16px; scroll-behavior: smooth; }
    body { font-family: var(--sans); color: var(--near-black); background: var(--off-white); -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration: none; }

    /* NAV */
    nav {
      display: flex; align-items: center;
      height: 64px; border-bottom: 1px solid var(--border);
      position: sticky; top: 0; background: var(--off-white); z-index: 100;
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%; max-width: 1320px; margin: 0 auto;
      padding: 0 56px;
    }
    .nav-logo img { height: 32px; width: auto; display: block; }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { font-size: 0.875rem; color: var(--muted); font-weight: 400; transition: color 0.15s; }
    .nav-links a:hover { color: var(--near-black); }
    .nav-cta {
      background: var(--konbini-green) !important; color: #fff !important;
      padding: 8px 18px !important; border-radius: 3px;
      font-weight: 500 !important; transition: opacity 0.15s !important;
    }
    .nav-cta:hover { opacity: 0.82 !important; }
    .hamburger {
      display: none; flex-direction: column; justify-content: center;
      align-items: center; gap: 6px; cursor: pointer; padding: 4px;
      background: none; border: none; height: 32px; width: 32px;
    }
    .hamburger span {
      display: block; width: 22px; height: 2px;
      background: var(--near-black); border-radius: 0;
      margin: 0; padding: 0; flex-shrink: 0;
    }

    /* HERO */
    .hero-outer {
      border-bottom: 1px solid var(--border);
      background: var(--off-white);
    }
    .hero {
      display: grid; grid-template-columns: 1fr 1fr;
      min-height: 460px;
      max-width: 1320px;
      margin: 0 auto;
      padding-right: 56px;
    }
    .hero-content { padding: 80px 48px 80px 56px; display: flex; flex-direction: column; justify-content: center; }
    .hero-eyebrow {
      font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 28px;
    }
    .hero-headline {
      font-family: var(--serif);
      font-size: clamp(2.4rem, 4.2vw, 3.6rem);
      line-height: 1.1; color: var(--near-black);
      margin-bottom: 22px; font-weight: 400; letter-spacing: -0.01em;
      min-height: 1.1em;
    }
    .typed-text { display: inline; }
    .cursor {
      display: inline-block; width: 3px; height: 0.75em;
      background: var(--konbini-green); margin-left: 4px;
      transform: translateY(0.05em);
      animation: blink 1s step-end infinite;
    }
    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }
    .hero-sub {
      font-size: 1rem; color: var(--leaf); line-height: 1.55;
      margin-bottom: 36px; max-width: 460px; font-weight: 300;
    }
    .btn-primary {
      display: inline-block; background: var(--konbini-green); color: #fff;
      padding: 12px 24px; border-radius: 3px; font-size: 0.875rem;
      font-weight: 500; font-family: var(--sans); transition: opacity 0.15s;
      align-self: flex-start; cursor: pointer; border: none;
    }
    .btn-primary:hover { opacity: 0.82; }
    .hero-image { position: relative; overflow: hidden; }
    .hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .hero-image::before {
      content: ""; position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(to right, var(--off-white) 0%, rgba(245,246,242,0.4) 25%, rgba(245,246,242,0) 55%);
    }

    /* SECTIONS */
    .section-wrapper { border-bottom: 1px solid var(--border); }
    .section { padding: 72px 56px; max-width: 1320px; margin: 0 auto; width: 100%; }
    .section-label { font-size: 1.15rem; font-weight: 500; color: var(--near-black); margin-bottom: 48px; letter-spacing: -0.01em; }

    /* WHAT I DO */
    .services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
    .service-item {}
    .service-icon {
      width: 30px; height: 30px; margin-bottom: 16px; color: var(--konbini-green);
    }
    .service-icon svg {
      width: 100%; height: 100%; stroke: currentColor; fill: none;
      stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    }
    .service-title { font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--near-black); }
    .service-desc { font-size: 0.8rem; color: var(--leaf); line-height: 1.6; font-weight: 300; }

    /* WHO I WORK WITH */
    .clients-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
    .client-item {}
    .client-icon { width: 30px; height: 30px; margin-bottom: 16px; color: var(--konbini-green); }
    .client-icon svg {
      width: 100%; height: 100%; stroke: currentColor; fill: none;
      stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    }
    .client-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 10px; color: var(--near-black); }
    .client-desc { font-size: 0.82rem; color: var(--leaf); line-height: 1.65; font-weight: 300; }

    /* BLOG */
    .blog-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
    .view-all { font-size: 0.8rem; color: var(--muted); transition: color 0.15s; }
    .view-all:hover { color: var(--near-black); }
    .blog-list { display: flex; flex-direction: column; }
    .blog-post {
      display: grid; grid-template-columns: 1fr auto; align-items: center;
      padding: 22px 0; border-top: 1px solid var(--border); gap: 32px;
      transition: opacity 0.15s;
    }
    .blog-post:last-child { border-bottom: 1px solid var(--border); }
    .blog-post:hover { opacity: 0.6; }
    .blog-post-title { font-size: 0.9rem; font-weight: 500; color: var(--near-black); margin-bottom: 4px; }
    .blog-post-desc { font-size: 0.8rem; color: var(--leaf); font-weight: 300; }
    .blog-post-meta { font-size: 0.74rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
    .dot { width: 2px; height: 2px; background: var(--muted); border-radius: 50%; display: inline-block; }
    .blog-tag { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

    /* FOOTER */
    footer { background: var(--forest-ink); color: #fff; padding: 60px 0 48px; }
    .footer-inner {
      max-width: 1320px; margin: 0 auto;
      padding: 0 56px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 32px;
    }
    .footer-inner > div {
      flex: 0 1 auto;
    }
    .footer-inner > div:last-child {
      text-align: right;
    }
    .footer-inner > div:last-child .footer-links {
      align-items: flex-end;
    }
    .footer-inner > div:last-child .social-link {
      margin-left: auto;
    }
    .footer-logo img {
      height: 28px; width: auto; display: block; margin-bottom: 14px;
    }
    .footer-copy { font-size: 0.74rem; color: rgba(255,255,255,0.45); line-height: 1.8; font-weight: 300; }
    .footer-col-title {
      font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em;
      text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
    .footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.75); transition: color 0.15s; font-weight: 300; }
    .footer-links a:hover { color: #fff; }
    .footer-contact { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 20px; font-weight: 300; }
    .social-link {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.18);
      border-radius: 3px; transition: border-color 0.15s;
    }
    .social-link:hover { border-color: rgba(255,255,255,0.5); }
    .social-link svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.75); }

    /* MOBILE MENU */
    .mobile-menu {
      display: none; position: fixed; top: 64px; left: 0; right: 0;
      background: var(--off-white); border-bottom: 1px solid var(--border);
      padding: 28px 24px; flex-direction: column; gap: 22px; z-index: 99;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-size: 0.95rem; color: var(--muted); }
    .mobile-menu .btn-primary { align-self: flex-start; color: #fff !important; }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    }
    @media (max-width: 768px) {
      .hero { grid-template-columns: 1fr; min-height: auto; padding-right: 0; }
      .hero-image { height: 260px; order: -1; }
      .hero-image::before {
        background: linear-gradient(to bottom, rgba(245,246,242,0) 0%, rgba(245,246,242,0.5) 75%, var(--off-white) 100%);
      }
      .hero-content { padding: 48px 24px; }
      .hero-headline { font-size: clamp(2rem, 8vw, 2.6rem); }
      nav { padding: 0; }
      .nav-inner { padding: 0 24px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .section { padding: 52px 24px; }
      .services-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
      .clients-grid { grid-template-columns: 1fr; gap: 36px; }
      .blog-post { grid-template-columns: 1fr; gap: 6px; }
      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
        padding: 0 24px;
      }
      .footer-inner > div:last-child {
        text-align: left;
      }
      .footer-inner > div:last-child .footer-links {
        align-items: flex-start;
      }
      .footer-inner > div:last-child .social-link {
        margin-left: 0;
      }
      footer { padding: 48px 0 36px; }
    }
    @media (max-width: 480px) {
      .services-grid { grid-template-columns: 1fr; }
    }
  

    /* About-page additions — built on the same tokens as home.html */
    .nav-links a.active, .mobile-menu a.active { color: var(--near-black); font-weight: 500; }

    .hero-headline.static { min-height: 0; }
    .hero-sub.long { max-width: 520px; }

    .section-title {
      font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em;
      font-size: 1.15rem; line-height: 1.3;
      color: var(--near-black); margin-bottom: 32px;
    }
    .prose { max-width: 680px; }
    .prose p {
      font-size: 1.02rem; line-height: 1.7; color: var(--near-black);
      font-weight: 300; margin-bottom: 1.1em;
    }
    .prose p:last-child { margin-bottom: 0; }
    .prose .lede { color: var(--leaf); }

    /* Reusable left-rail layout: heading on left, content on right (desktop) */
    .section.split {
      display: grid; grid-template-columns: 220px 1fr; gap: 48px;
      align-items: start;
    }
    .section.split .section-title { margin-bottom: 0; }
    .hiw-body { width: 100%; }

    /* Narrative type: near-black lede + smaller leaf body */
    .prose.narrative { max-width: none; }
    .prose.narrative .lede {
      font-size: 1.08rem; line-height: 1.55; color: var(--near-black);
      font-weight: 400; margin-bottom: 1.3em; letter-spacing: -0.005em;
    }
    .prose.narrative p {
      font-size: 0.92rem; line-height: 1.8; color: var(--leaf);
      font-weight: 300; margin-bottom: 1.25em;
    }

    .text-link {
      display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
      font-size: 0.9rem; font-weight: 500; color: var(--konbini-green);
      border-bottom: 1px solid var(--sage); padding-bottom: 2px;
      transition: border-color 0.15s, opacity 0.15s;
    }
    .text-link:hover { border-color: var(--konbini-green); opacity: 0.85; }
    .text-link .arrow { transition: transform 0.15s; }
    .text-link:hover .arrow { transform: translateX(3px); }

    /* About Frank — photo floated into the bio text (newspaper style) */
    .bio-figure {
      float: right; width: 300px; margin: 6px 0 24px 44px;
    }
    .bio-photo {
      width: 100%; border-radius: 4px; display: block;
      border: 1px solid var(--border);
    }
    .bio-photo-caption {
      font-size: 0.74rem; color: var(--muted); margin-top: 12px;
      letter-spacing: 0.02em; line-height: 1.4;
    }

    /* Centered sections (Services, Start the conversation) */
    .section.center .section-title,
    .section.center .prose {
      max-width: 660px; margin-left: auto; margin-right: auto;
    }

    /* Values: Craft / Standards / Honesty / Discipline */
    .values-intro { max-width: none; margin-bottom: 56px; }
    /* Lead line of a values-intro, sized/weighted to match the section ledes */
    .prose.values-intro .lede {
      font-size: 1.08rem; line-height: 1.55; color: var(--near-black);
      font-weight: 400; margin-bottom: 1.3em; letter-spacing: -0.005em;
    }
    .values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
    .value { border-top: 2px solid var(--konbini-green); padding-top: 20px; }
    .value-name {
      font-family: var(--sans); font-size: 1rem; font-weight: 500;
      color: var(--near-black); margin-bottom: 12px; letter-spacing: -0.01em;
    }
    .value p {
      font-size: 0.92rem; line-height: 1.7; color: var(--leaf); font-weight: 300;
      margin-bottom: 1em;
    }
    .value p:last-child { margin-bottom: 0; }

    @media (max-width: 768px) {
      .bio-figure { float: none; width: 100%; max-width: 280px; margin: 0 0 20px; }
      .values-list { grid-template-columns: 1fr; gap: 40px; }
      .section.split { grid-template-columns: 1fr; gap: 24px; }
      .section.center .section-title,
      .section.center .prose { max-width: 100%; }
    }
  

    /* Services-page additions */
    .statement-lead {
      font-family: var(--sans); font-size: clamp(1.35rem, 2.1vw, 1.7rem);
      line-height: 1.4; font-weight: 400; letter-spacing: -0.015em;
      color: var(--near-black); max-width: 940px; margin-bottom: 20px;
    }
    .statement-kicker {
      font-size: 1.02rem; line-height: 1.6; font-weight: 300;
      color: var(--leaf); max-width: 940px;
    }
    @media (max-width: 768px) {
      .statement-lead { font-size: clamp(1.2rem, 5vw, 1.5rem); }
    }
  
  /* Study Tours — rotating photo (crossfade) */
    .tour-carousel {
      position: relative; width: 100%; aspect-ratio: 4 / 3;
      border-radius: 4px; overflow: hidden; border: 1px solid var(--border);
      background: var(--sage);
    }
    .tour-carousel img {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; opacity: 0; transition: opacity 1000ms ease-in-out; z-index: 1;
    }
    .tour-carousel img.is-active { opacity: 1; z-index: 2; }
    .tour-carousel img.is-prev   { opacity: 1; z-index: 1; }
    @media (prefers-reduced-motion: reduce) {
      .tour-carousel img { transition: none; }
    }
/* Contact form */
    .contact-form { max-width: none; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
    .form-field { display: flex; flex-direction: column; margin-bottom: 20px; }
    .form-field.full { grid-column: 1 / -1; }
    .form-field label {
      font-size: 0.8rem; font-weight: 500; color: var(--near-black);
      margin-bottom: 8px; letter-spacing: -0.005em;
    }
    .form-field label .req { color: var(--leaf); font-weight: 400; }
    .form-field input,
    .form-field textarea {
      font-family: var(--sans); font-size: 0.92rem; font-weight: 300;
      color: var(--near-black); background: #fff;
      border: 1px solid var(--border); border-radius: 3px;
      padding: 11px 13px; width: 100%;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .form-field input:focus,
    .form-field textarea:focus {
      outline: none; border-color: var(--konbini-green);
      box-shadow: 0 0 0 2px rgba(27,61,46,0.08);
    }
    .form-field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
    /* Honeypot — hidden from humans, catches bots */
    .hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
    .form-submit { margin-top: 8px; }
    .form-note {
      font-size: 0.82rem; color: var(--leaf); line-height: 1.7;
      font-weight: 300; margin-top: 26px;
    }
    .form-note a {
      color: var(--konbini-green); border-bottom: 1px solid var(--sage);
      padding-bottom: 1px; transition: border-color 0.15s;
    }
    .form-note a:hover { border-color: var(--konbini-green); }
    .form-thanks {
      display: none; border-top: 2px solid var(--konbini-green);
      padding-top: 22px; max-width: 480px;
    }
    .form-thanks.show { display: block; }
    .form-thanks h3 {
      font-family: var(--sans); font-size: 1.08rem; font-weight: 500;
      color: var(--near-black); margin-bottom: 10px; letter-spacing: -0.01em;
    }
    .form-thanks p { font-size: 0.92rem; color: var(--leaf); font-weight: 300; line-height: 1.7; }

    /* Lets-talk form: mobile. The hero on this page has no CTA button, so its
       bottom padding is trimmed on mobile. Scoped with .page-lets-talk so the
       override does not leak to other pages now that all CSS is in one file. */
    @media (max-width: 768px) {
      .page-lets-talk .hero-content { padding: 48px 24px 16px; }
      .form-row { grid-template-columns: 1fr; gap: 0; }
    }

    /* Blog index — minimal Bear Blog list, built on the same tokens */
    .blog-hero { border-bottom: 1px solid var(--border); background: var(--off-white); }
    .blog-hero .section { padding-top: 72px; padding-bottom: 44px; }
    .blog-hero .hero-eyebrow {
      font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
    }
    .blog-hero h1 {
      font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
      font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1;
      color: var(--near-black); margin-bottom: 18px;
    }
    .blog-hero .blog-hero-sub {
      font-size: 1rem; color: var(--leaf); font-weight: 300;
      line-height: 1.6; max-width: 540px;
    }

    /* Full index list: a touch more prominence than the homepage teaser rows */
    .blog-index .blog-list { max-width: none; }
    .blog-index { padding-top: 44px; }
    .blog-index .blog-post:first-child { border-top: none; padding-top: 0; }
    .blog-index .blog-post { padding: 26px 0; align-items: baseline; }
    .blog-index .blog-post-title { font-size: 1.05rem; margin-bottom: 6px; }
    .blog-index .blog-post:hover .blog-post-title { color: var(--konbini-green); }
    .blog-index .blog-post-desc { font-size: 0.86rem; line-height: 1.55; max-width: 640px; }
    .blog-index .blog-post-meta { font-size: 0.78rem; }
    @media (max-width: 768px) {
      .blog-index .blog-post { padding: 20px 0; }
    }

    /* ---- Blog post pages (new in the Eleventy build; no original page to match,
       built on the existing tokens and the .prose narrative styles) ---- */
    /* ---- Blog post pages: one centered reading column, sized for long-form ---- */
    .post-wrap {
      max-width: 740px;
      margin: 0 auto;
      padding: 64px 24px 88px;
    }
    .post-meta {
      font-size: 0.78rem; color: var(--muted); margin-bottom: 18px;
      display: flex; align-items: center; gap: 8px; letter-spacing: 0.02em;
    }
    .post-title {
      font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
      font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12;
      color: var(--near-black); margin-bottom: 32px;
    }
    /* Featured image at the top of a post (also used as the social preview) */
    .post-feature { margin: 0 0 44px; }
    .post-feature picture { display: block; }
    .post-feature img { width: 100%; height: auto; display: block; border-radius: 6px; }

    /* Long-form body: larger, higher-contrast text for comfortable reading */
    .post-body { max-width: none; }
    .prose.narrative.post-body p {
      font-size: 1.2rem; line-height: 1.7; color: var(--near-black);
      font-weight: 400; margin-bottom: 1.45em;
    }
    /* Keep uploaded images inside the content column and scale them responsively */
    .post-body picture { display: block; }
    .post-body img {
      max-width: 100%; height: auto; display: block;
      margin: 1.9em 0; border-radius: 4px;
    }
    /* Bold text in prose: the body weight is light, so make strong clearly heavier */
    .prose strong, .prose b { font-weight: 700; }
    .post-body h2 {
      font-family: var(--sans); font-size: 1.7rem; font-weight: 500;
      letter-spacing: -0.015em; color: var(--near-black);
      margin: 2em 0 0.5em;
    }
    .post-body h3 {
      font-family: var(--sans); font-size: 1.32rem; font-weight: 500;
      color: var(--near-black); margin: 1.7em 0 0.5em;
    }
    .post-body ul, .post-body ol { margin: 0 0 1.4em 1.3em; }
    .post-body li { font-size: 1.2rem; line-height: 1.65; color: var(--near-black); font-weight: 400; margin-bottom: 0.5em; }
    .post-body blockquote {
      border-left: 2px solid var(--konbini-green); padding-left: 22px;
      margin: 1.5em 0; color: var(--near-black); font-style: italic;
    }
    .post-body a { color: var(--konbini-green); border-bottom: 1px solid var(--sage); padding-bottom: 1px; }
    .post-body a:hover { border-color: var(--konbini-green); }
    .post-back { display: inline-flex; margin-top: 56px; }
    @media (max-width: 768px) {
      .post-wrap { padding: 44px 24px 64px; }
    }
