/* Baltibe Creative — site styles
   Brand colours from the Baltibe brand kit. Fonts are close Google Fonts
   matches to the Canva kit — swap the two families below if the kit names differ. */

:root {
  --teal: #005a5d;      /* primary: buttons, links, dark sections */
  --mint: #4ad3ba;      /* accent: on dark backgrounds and decoration only */
  --lilac: #b8a3c4;     /* secondary: highlight blocks, never small text */
  --cream: #f6f7eb;     /* page background */
  --ink: #1f1f1f;       /* body text */
  --ink-soft: #4a4d4a;
  --line: #dfe1d3;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 16px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--mint); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 65ch; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 46ch; }
.eyebrow { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.dark .eyebrow { color: var(--mint); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--teal); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; align-items: center; padding: 8px 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.nav .btn { padding: 9px 18px; font-size: 0.95rem; }
.nav .btn:hover { color: var(--cream); text-decoration: none; }
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 10px; padding-bottom: 6px; }
  .nav { width: 100%; justify-content: space-between; gap: 6px 14px; }
  .nav a { font-size: 0.95rem; }
  .nav .btn { display: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: var(--cream); font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--teal); transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.dark .btn { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.dark .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.8rem; }

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.hero { padding-top: clamp(48px, 8vw, 104px); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--teal); }
.dark { background: var(--teal); color: var(--cream); }
.dark a:not(.btn) { color: var(--mint); }
.dark .lede, .dark p { color: #e3ece6; }
.tint { background: #ecedde; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card-lilac { background: var(--lilac); border-color: var(--lilac); }
.dark .card { background: rgba(255,255,255,0.06); border-color: rgba(246,247,235,0.18); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--mint); line-height: 1; }

.stat { font-family: var(--serif); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 0.3em; }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (max-width: 819px) { .photo { aspect-ratio: 1 / 1; max-width: 220px; } }
@media (min-width: 820px) { .founder { grid-template-columns: 300px 1fr; gap: 56px; } }
.photo { aspect-ratio: 4 / 5; max-width: 300px; width: 100%; border-radius: var(--radius); background: var(--lilac); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--ink); font-size: 0.95rem; }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; font-weight: 500; }

/* Case study */
.snapshot { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 2rem 0 3rem; }
@media (min-width: 760px) { .snapshot { grid-template-columns: repeat(4, 1fr); } }
.snapshot div { background: var(--white); padding: 18px 20px; }
.snapshot dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 4px; }
.snapshot dd { margin: 0; font-weight: 600; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

/* Engagement list */
.offer { border-top: 1px solid var(--line); padding: 36px 0; display: grid; gap: 12px 48px; }
@media (min-width: 820px) { .offer { grid-template-columns: 1fr 1.4fr; } }
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.98rem; }
.offer dt { font-weight: 600; }
.offer dd { margin: 0; }

/* Contact */
.contact-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact-box .big { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; word-break: break-word; }

/* CTA band */
.cta-band h2 { max-width: 20ch; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd2c6; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: var(--cream); }
.site-footer .logo span { color: var(--mint); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { border-top: 1px solid #3a3a3a; margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: #a9ad9f; }

/* Placeholders: visible on purpose so nothing ships unfinished.
   Search the files for "NEEDS" to find every one. */
.needs { background: #fff3a8; color: #1f1f1f; font-family: var(--sans); font-size: 0.85em; font-weight: 600; font-style: normal; padding: 1px 6px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; letter-spacing: 0; }
.draft-note { background: #fff3a8; color: var(--ink); padding: 10px var(--gutter); font-size: 0.85rem; text-align: center; }

/* v2 additions */
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.steps li::before { color: var(--teal); }
.dark .steps li::before { color: var(--mint); }
.offer { scroll-margin-top: 24px; }
.offer .sub { font-size: 1.1rem; color: var(--ink-soft); margin-top: 0.4rem; }
.offer h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 1.6rem 0 0.6rem; }
.offer ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.offer li { margin-bottom: 0.3em; }
.contact-box ul { padding-left: 1.2em; }

/* Founder photo */
picture { display: block; }
img.photo { padding: 0; width: 100%; height: auto; object-fit: cover; object-position: center 35%; background: var(--lilac); }
.nav a.btn, .nav a.btn:hover { color: var(--cream); text-decoration: none; }

/* Client reviews */
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; font-weight: 500; position: relative; padding-top: 28px; }
.review blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -2px; font-size: 3.6rem; line-height: 1; color: var(--teal); }
.review figcaption { font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 14px; }
.review figcaption span { color: var(--ink-soft); }

/* Industries strip */
.industries { margin-top: 2.5rem; }
.industries h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.9rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; }
.chips li.chip-market { background: transparent; border-color: var(--teal); color: var(--teal); }

/* Project cards (Work page) */
.case h3 { font-size: 1.25rem; }
.case .eyebrow { margin-bottom: 0.6rem; font-size: 0.75rem; }
.case-lilac .eyebrow, .card-lilac .eyebrow { color: var(--ink); }
.case .did { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 1rem 0 0.4rem; }
.case ul { padding-left: 1.1em; margin: 0; font-size: 0.97rem; }
.case li { margin-bottom: 0.25em; }
.card h3:only-child { margin: 0; }
