/* Found Ground Labs, company site. Mobile first, no external requests. Logo colours: dark earth, forest green, cream, gold. */
:root {
  --ink: #2a2119;
  --ink-soft: #5d5043;
  --forest: #2f3a2c;
  --forest-2: #3a4a36;
  --green: #2f5a34;
  --rust-text: #8f4a1d;
  --gold: #f0c36a;
  --gold-btn: #f0a63a;
  --cream: #fbefd2;
  --paper: #fdf9ef;
  --tint: #f4ecdb;
  --line: #e4d8bf;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.01em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-btn); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 210px; height: auto; }
.nav { display: none; gap: 26px; font-weight: 600; font-size: .97rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--rust-text); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 10px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1.02rem; text-decoration: none; line-height: 1.25;
  background: var(--gold-btn); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #f7b856; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px rgba(251,239,210,.7); }
.btn--ghost:hover { background: rgba(251,239,210,.12); color: #fff; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47,90,52,.3); }
.btn--green:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { margin: 0 12px; border-radius: 28px; overflow: hidden; color: var(--cream);
  background: radial-gradient(90% 70% at 85% 30%, rgba(240,195,106,.16) 0%, rgba(240,195,106,0) 60%), linear-gradient(160deg, var(--forest-2) 0%, var(--forest) 70%); }
.hero-inner { display: grid; gap: 30px; padding-top: 46px; padding-bottom: 50px; }
.eyebrow { font-weight: 700; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 7.4vw, 3.4rem); color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lede { font-size: 1.12rem; max-width: 36em; color: var(--cream); margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { display: none; }
.hero-logo img { width: 100%; max-width: 380px; }

/* Sections */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.kicker { font-weight: 800; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-text); margin-bottom: 8px; }
.section h2 { font-size: clamp(1.8rem, 5.5vw, 2.5rem); margin-bottom: 24px; }

/* Projects */
.project { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 8px 26px rgba(42,33,25,.06); }
.project h3 { font-size: 1.35rem; margin-bottom: 10px; }
.project p:last-child { margin-bottom: 0; }
.project--feature { display: grid; gap: 24px; margin-bottom: 20px; }
.project-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.project-head h3 { margin: 0; }
.project-icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 4px 12px rgba(0,0,0,.18); flex: none; }
.project-shot { margin: 0; }
.project-shot img { border-radius: 16px; width: 100%; }
.project-shot figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.project--stack { display: grid; gap: 18px; margin-bottom: 20px; }
.project--stack .project-copy p:last-child { margin-bottom: 0; }
.project-shot--small { max-width: 640px; }
.project-grid { display: grid; gap: 20px; }
.status { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .02em; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.status--soon { color: var(--green); background: #e5efdf; }
.status--working { color: #1f5a7a; background: #dcecf5; }
.status--testing { color: #8a5a00; background: #fbecc8; }
.status--ideas { color: #4a4f63; background: #e8e9f0; }
.working { font-family: var(--font); font-weight: 400; font-size: .95rem; color: var(--ink-soft); }

/* Values */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.values li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.values h3 { font-size: 1.22rem; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { text-align: center; background: var(--forest); color: var(--cream); }
.contact h2 { color: #fff; }
.contact p { color: var(--cream); margin-bottom: 22px; }
.contact .btn { word-break: break-all; }

/* Footer */
.site-footer { background: #232c21; color: var(--cream); font-size: .92rem; }
.site-footer .wrap { padding-top: 26px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-logo { width: 190px; height: auto; }
.footer-text p { margin: 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }

/* Privacy page */
.page { padding: 40px 0 64px; }
.page h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin-bottom: 18px; }
.page h2 { font-size: 1.35rem; margin: 28px 0 10px; }

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .brand img { width: 250px; }
  .nav { display: flex; }
  .hero { margin: 0 20px; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; align-items: center; padding-top: 70px; padding-bottom: 74px; }
  .hero-logo { display: flex; justify-content: center; }
  .project { padding: 28px; }
  .project--feature { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 32px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project--wide { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 84px 0; }
}
