@charset "UTF-8";
/* SpringSites — styles
   Colours and type live in :root so the identity can be adjusted in one place. */

:root {
  --cream: #f6f1e6;
  --cream-deep: #ede5d3;
  --paper: #fffcf5;
  --ink: #1d231d;
  --ink-soft: #4a524a;
  --green: #2b5537;
  --green-dark: #1f4029;
  --green-light: #b9cfae;
  --green-tint: #e3eadb;
  --line: #d6cbb3;
  --line-dark: rgb(246 241 230 / 0.18);
  --warn-bg: #fbf0d9;
  --warn-line: #c99a45;
  --error: #9b2c1f;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, Cambria, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 8vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h1 { font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--green-light); }

[hidden] { display: none !important; }

/* Sections focused from the mobile menu: no outline around the whole section. */
section[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.small { font-size: 0.95rem; }
.muted { color: var(--ink-soft); }
.accent { color: var(--green); }


/* ---------- Preview banner ---------- */
.preview-banner {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 241 230 / 0.95);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { backdrop-filter: blur(6px); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--green); }
.wordmark:hover { color: var(--ink); }

.logo-link { display: inline-flex; align-items: center; padding: 0.25rem 0; border-radius: 6px; }
.logo { display: block; width: 160px; height: auto; }
@media (max-width: 22rem) { .logo { width: 136px; } }

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--green-tint); color: var(--green-dark); }

.nav-toggle { display: none; }

@media (max-width: 47.99rem) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.1rem; height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgb(29 35 29 / 0.35);
  }
  .site-nav ul { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; }
  .site-nav a { padding: 0.85rem 0.75rem; font-size: 1.1rem; }

  .js .site-nav:not(.is-open) { display: none; }

  /* Without JavaScript: no toggle, links shown in a row under the wordmark. */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; gap: 0.25rem; }
  html:not(.js) .site-nav { position: static; box-shadow: none; border: 0; background: none; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
  html:not(.js) .site-nav a { padding: 0.4rem 0.6rem; font-size: 1rem; }
  html:not(.js) .site-nav li:first-child a { padding-left: 0; }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--green);
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--green); }
.btn-secondary:hover { background: var(--green-tint); color: var(--green-dark); }
.btn-block { width: 100%; }
@media (max-width: 30rem) {
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-space); }
.section-alt { background: var(--cream-deep); }
.section-dark { background: var(--ink); color: var(--cream); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 44rem; }
.section-head h2 { margin-bottom: 0; }
.section-intro { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }

/* Small label with a short rule in front: the one recurring detail. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
}
.section-dark .eyebrow { color: var(--green-light); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5.5rem); }

.hero-grid { display: grid; gap: 3rem; }
@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: end;
  }
}

.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.25rem); margin-bottom: 0; }
.hero h1 { max-width: 16ch; }

.lede {
  max-width: 34rem;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

.hero-facts dl {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.hero-facts dl > div {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-facts dd {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
}
.hero-facts [data-price] { font-weight: 700; color: var(--green-dark); }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .hero-facts dl { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; }
}

/* ---------- Case study: compact, screenshot beside the project details ---------- */
.section-work { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-work .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }

.case-study { display: grid; gap: 1.5rem; }
.case-study + .case-study {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 60rem) {
  .case-study {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
  }
}

.case-study-shot {
  display: block;
  max-width: 560px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #111611;
  box-shadow: 0 20px 40px -28px rgb(0 0 0 / 0.8);
}
.case-study-shot { position: relative; }
.case-study-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; }
.case-study-shot:focus-visible { outline: 3px solid var(--green-light); outline-offset: 4px; }

/* "View website ↗" label: shown on hover and keyboard focus; always shown on touch screens. */
.shot-label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.6);
  opacity: 0;
  pointer-events: none;
}
.shot-arrow { display: inline-block; margin-left: 0.15rem; }
.case-study-shot:hover .shot-label,
.case-study-shot:focus-visible .shot-label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .shot-label { opacity: 1; }
}

/* Subtle lift: only with a precise pointer that can hover, and only when motion is welcome. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case-study-shot { transition: transform 250ms ease, box-shadow 250ms ease; }
  .shot-label { transition: opacity 250ms ease; }
  .case-study-shot:hover,
  .case-study-shot:focus-visible {
    transform: translateY(-4px) scale(1.02) rotate(-1deg);
    box-shadow: 0 30px 56px -26px rgb(0 0 0 / 0.9);
  }
}

.case-study-body { max-width: 34rem; }
.case-study-name {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}
.case-study-name span { color: var(--green-light); }
.case-study-type {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #d9d3c4;
  margin-bottom: 1rem;
}
.case-study-body > p:not(.case-study-type):not(.case-study-credit):not(.case-study-link) { color: #e4dfd3; }
.case-study-credit { font-size: 0.9rem; color: #c9c3b4; margin-top: 0.75rem; }

.case-study-link { margin: 1.5rem 0 0; }
.btn-on-dark { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-on-dark:hover { background: var(--green-light); border-color: var(--green-light); color: var(--ink); }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) {
  .packages { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.package {
  background: var(--paper);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 18px 40px -30px rgb(31 64 41 / 0.55);
}
.package h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.price {
  font-family: var(--serif);
  font-size: clamp(3rem, 2.4rem + 3vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-dark);
  margin: 0;
}
.price-unit { color: var(--ink-soft); margin: 0.35rem 0 0; }
.package-summary { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.package-example-label {
  margin: 1rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.package-example {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.package-example li { padding: 0.15rem 0 0.15rem 1rem; position: relative; }
.package-example li::before {
  content: "";
  position: absolute;
  left: 0.1rem; top: calc(0.15rem + 0.75em);
  width: 0.4rem; height: 2px;
  background: var(--green);
}
ol.package-example { counter-reset: page; }
ol.package-example li { counter-increment: page; padding-left: 1.5rem; }
ol.package-example li::before {
  content: counter(page);
  width: auto; height: auto; top: 0.15rem;
  background: none;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--green);
}
.package-feature {
  position: relative;
  margin: 0.5rem 0 0;
  padding-left: 1.75rem;
  font-weight: 650;
  color: var(--green-dark);
}
.package-feature::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 0.45em;
  width: 0.85rem; height: 0.45rem;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.package-details {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
@media (min-width: 48rem) {
  .package-details { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
}
.package-details > div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.package-details h3 { font-size: 1.2rem; }
.package-details p { color: var(--ink-soft); max-width: 34rem; }
.package-details strong { color: var(--ink); font-weight: 650; }
.package-details .checklist { margin: 0.75rem 0 1rem; }

/* Optional extras: deliberately quieter than the packages. */
.extras {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 252 245 / 0.55);
}
.extras h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.extras-list { margin: 0 0 1rem; }
.extras-list > div {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .extras-list > div { grid-template-columns: minmax(14rem, 1fr) 2fr; align-items: baseline; }
}
.extras-list dt { font-weight: 650; }
.extras-list dd { margin: 0; }
.extras-price { font-weight: 650; color: var(--green-dark); margin-right: 0.6rem; }
.extras-note { display: inline-block; font-size: 0.93rem; color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 0.45em;
  width: 0.85rem; height: 0.45rem;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- FAQ (native details/summary: keyboard and screen reader friendly) ---------- */
.faq { margin-top: clamp(3rem, 6vw, 4rem); max-width: 46rem; }
.faq-title { font-size: 1.35rem; margin-bottom: 0.75rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.25rem 1rem 0;
  font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--green-dark); }
.faq details > :not(summary) { color: var(--ink-soft); margin: 0 0 1rem; }
.faq details > .checklist { color: var(--ink); }

/* ---------- Steps: a numbered timeline ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.3rem 0 1.75rem 3.5rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.75rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--line);
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); max-width: 22rem; }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps li { padding: 3.25rem 0 0; }
  .steps li:not(:last-child)::after {
    left: 2.75rem; right: -1.25rem;
    top: calc(1.125rem - 1px);
    bottom: auto;
    width: auto; height: 2px;
  }
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
}
.contact-intro p:not(.eyebrow) { color: var(--ink-soft); max-width: 30rem; margin-top: 1rem; }

.contact-side { display: grid; gap: 1.5rem; }
.about { border-top: 2px solid var(--green); padding-top: 1.1rem; }
.about h3 { font-size: 1.2rem; }
.about p { color: var(--ink-soft); }

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}
.contact-panel h3 { font-size: 1.2rem; }
.contact-panel .checklist { margin: 1rem 0 1.5rem; }
.contact-actions { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 30rem) {
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
}
.site-footer .wordmark { color: var(--cream); }
.site-footer .wordmark span { color: var(--green-light); }
.wordmark-small { font-size: 1.4rem; margin-bottom: 0.3rem; }
.footer-contact { margin-top: 0.5rem; }
.footer-contact a { color: var(--cream); }
.footer-contact a:hover { color: var(--green-light); }
.footer-contact span { margin: 0 0.4rem; color: #c9c3b4; }
.footer-nav { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { color: var(--cream); font-weight: 550; }
.footer-nav a:hover { color: var(--green-light); }
