/* Self-hosted fonts (latin subset, variable) — see fonts/ */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/BricolageGrotesque-normal-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/BricolageGrotesque-normal-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/BricolageGrotesque-normal-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Dandelion Development — site stylesheet (2026 refresh)
   Palette: espresso #613A15 (brand) · seed gold #C08A2E · ivory #FBF7F1
   Type:    Bricolage Grotesque (display) · Instrument Sans (body)
   ========================================================================== */

:root {
  --ivory: #FBF7F1;
  --white: #FFFFFF;
  --espresso: #613A15;
  --espresso-deep: #4A2C0F;
  --espresso-band: #55330F;
  --gold: #C08A2E;          /* decorative: icons, rules, seed motif (3:1 on white) */
  --gold-link: #875C0F;     /* text: links, eyebrows (5.5:1 on ivory, AA) */
  --gold-on-dark: #D9A64B;  /* text on espresso bands (5.1:1, AA) */
  --ink: #2C2013;
  --taupe: #7C6A56;
  --taupe-on-dark: #D9C9B4;
  --line: #E9DFD0;
  --line-soft: #F1EAE0;
  --shadow: 0 1px 2px rgba(44, 32, 19, .05), 0 10px 28px rgba(44, 32, 19, .08);
  --radius: 14px;
  --font-display: "Bricolage Grotesque", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--gold-link); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-link);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}
.btn-primary:hover { background: var(--espresso-deep); border-color: var(--espresso-deep); }

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border-color: #C9B698;
}
.btn-ghost:hover { border-color: var(--espresso); }

/* On espresso bands */
.btn-light {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}
.btn-light:hover { background: #fff; color: var(--espresso-deep); }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--espresso); }

.site-nav a.active {
  color: var(--espresso);
  border-bottom-color: var(--gold);
}

.site-nav .nav-cta {
  background: var(--espresso);
  color: var(--ivory);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
}
.site-nav .nav-cta:hover { background: var(--espresso-deep); color: var(--ivory); }
.site-nav .nav-cta.active { border: none; color: var(--ivory); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open .bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open .bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 767px) {
  .menu-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .site-nav a.active { border-bottom-color: var(--line-soft); }

  .site-nav .nav-cta {
    margin-top: 16px;
    text-align: center;
  }
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.on-white { background: var(--white); }

.on-espresso {
  background: var(--espresso-band);
  color: var(--ivory);
}
.on-espresso h1, .on-espresso h2, .on-espresso h3 { color: var(--ivory); }
.on-espresso p { color: var(--taupe-on-dark); }
.on-espresso .eyebrow { color: var(--gold-on-dark); }

.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--taupe); margin-bottom: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

.hero h1 { max-width: 17ch; }

.hero .lede {
  color: var(--taupe);
  font-size: 1.15rem;
  max-width: 54ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-seeds {
  position: absolute;
  right: -30px;
  top: 10px;
  width: min(340px, 34vw);
  opacity: .55;
  pointer-events: none;
}
.hero-seeds line, .hero-seeds circle { stroke: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .hero-seeds .drift { animation: drift 7s ease-in-out infinite alternate; }
  .hero-seeds .drift-late { animation-delay: 2.5s; }
  @keyframes drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-10px, 8px); }
  }
}

/* Compact hero for inner pages */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lede { color: var(--taupe); font-size: 1.12rem; max-width: 60ch; margin-bottom: 0; }

/* ---------- client logo strip ---------- */

.logo-strip {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 44px;
}

.logo-strip .strip-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--taupe);
}

.logo-strip img {
  height: 30px;
  width: auto;
  filter: grayscale(1) opacity(.6);
  transition: filter .15s ease;
}
.logo-strip img:hover { filter: grayscale(0) opacity(1); }

/* ---------- split section (heading | text) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 32px 64px;
  align-items: start;
}

.split .split-body { font-size: 1.12rem; max-width: 60ch; }
.split .split-body p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.card .card-icon {
  width: 38px;
  height: 38px;
  stroke: var(--gold);
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--taupe); font-size: .96rem; margin: 0; }

/* Linked cards (case studies) */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

a.card .card-cta {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--espresso);
}

/* ---------- testimonial ---------- */

.quote-block {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
  padding: 0 12px;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.quote-block blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.quote-block cite {
  font-style: normal;
  font-size: .9rem;
  color: var(--taupe);
}

/* ---------- technology band ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px 24px;
  align-items: center;
  justify-items: center;
  margin-top: 48px;
}

.tech-grid img {
  max-height: 58px;
  width: auto;
  max-width: 170px;
  opacity: .92;
}

/* ---------- contact band ---------- */

.contact-band { text-align: center; }

.contact-band h2 { margin-bottom: 12px; }

.contact-band p {
  max-width: 46ch;
  margin: 0 auto 28px;
}

.contact-band .email-line {
  margin: 22px auto 0;
  font-size: .98rem;
}

.on-espresso .email-line a { color: var(--taupe-on-dark); }

/* ---------- case study article ---------- */

.article { max-width: 720px; margin: 0 auto; }

.article .lede {
  font-size: 1.18rem;
  color: var(--taupe);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 0 0 48px;
}

.article h2 {
  font-size: 1.45rem;
  margin: 48px 0 16px;
  padding-top: 8px;
}

.article h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
  border-radius: 2px;
}

.article ul { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--gold); }

.article figure { margin: 40px 0; }
.article figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

.article .pull-quote {
  margin: 48px 0;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article .pull-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--espresso);
}

.article-nav {
  max-width: 720px;
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.article-nav a { font-weight: 600; text-decoration: none; color: var(--espresso); }
.article-nav a:hover { color: var(--gold-link); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--espresso-deep);
  color: var(--taupe-on-dark);
  padding: 56px 0 40px;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.site-footer img { height: 56px; width: auto; }

.site-footer h3 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer nav a {
  display: block;
  color: var(--taupe-on-dark);
  text-decoration: none;
  padding: 4px 0;
}
.site-footer nav a:hover { color: var(--ivory); }

.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address a { color: var(--taupe-on-dark); }
.site-footer address a:hover { color: var(--ivory); }

.footer-legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 241, .15);
  font-size: .84rem;
  color: rgba(217, 201, 180, .75);
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-seeds { display: none; }
}
