/* Soroban — light theme: forest green #1f5138 + off-white, monospace headings (matches logo) */
:root {
  --bg: #f6f6f2;
  --bg-alt: #eeeee8;
  --surface: #ffffff;
  --surface-2: #f0f0ea;
  --line: #dcdcd2;
  --text: #1a1a1a;
  --muted: #5f6360;
  --brand: #1f5138;
  --brand-dark: #163c29;
  --brand-ink: #ffffff;
  --ok: #1f7a4d;
  --err: #c0392b;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(26, 40, 33, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name { font-family: 'Space Mono', 'Courier New', monospace; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: 6px; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, iframe { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: .74rem; margin-bottom: .5rem; font-family: 'Space Mono', monospace; }
.eyebrow.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: var(--brand-ink);
  font-weight: 700; padding: 12px 22px; border-radius: 8px; border: 0;
  cursor: pointer; transition: transform .12s ease, background .2s ease;
  font-size: 1rem; text-align: center; font-family: 'Space Mono', monospace; letter-spacing: .5px;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; background: rgba(246, 246, 242, .88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; }
.brand-name { font-size: 1.4rem; letter-spacing: 3px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; text-align: center; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(31,81,56,.10), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(31,81,56,.06), transparent 55%),
    repeating-linear-gradient(135deg, rgba(31,81,56,.022) 0 2px, transparent 2px 26px),
    var(--bg); }
.hero-deco { position: absolute; inset: 0; pointer-events: none; color: var(--brand); }
.hero-deco svg { position: absolute; stroke: currentColor; }
.deco-abacus { width: clamp(220px, 30vw, 360px); height: auto; top: -6%; right: -5%; opacity: .07; }
.deco-chart { width: clamp(170px, 22vw, 280px); height: auto; bottom: -8%; left: -4%; opacity: .06; transform: rotate(-6deg); }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 22px; }
.hero-logo { width: clamp(160px, 32vw, 230px); height: auto; margin-bottom: 18px; }
.hero h1 { margin-bottom: .15em; }
.hero-tagline { font-family: 'Space Mono', monospace; color: var(--brand); font-size: 1.1rem; letter-spacing: 1px; margin-bottom: .9rem; }
.hero-rule { display: block; width: 64px; height: 4px; background: var(--brand); border-radius: 3px; margin: 0 auto 1.2rem; }
.hero .lede { font-size: 1.12rem; max-width: 600px; margin: 0 auto 1.6rem; color: #333; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 26px 0 0; justify-content: center; }
.hero-badges li { display: flex; align-items: center; gap: 9px; color: #2a2f2c; font-size: .95rem; font-weight: 500; }
.hero-badges svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }

/* Cards / services */
.grid { display: grid; gap: 22px; }
.services { grid-template-columns: repeat(3, 1fr); margin: 38px 0 26px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.card-icon { margin-bottom: 16px; }
.icon-chip { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 15px;
  background: rgba(31, 81, 56, .09); border: 1px solid rgba(31, 81, 56, .20); color: var(--brand);
  transition: background .2s ease, color .2s ease, transform .2s ease; }
.icon-chip svg { width: 28px; height: 28px; }
.icon-chip.icon-emoji { font-size: 1.6rem; }
.card:hover .icon-chip { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

/* About */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #fff; background: var(--brand); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.about-aside { display: grid; gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 18px 20px; }
.stat-num { display: block; font-family: 'Space Mono', monospace; font-size: 1.4rem; color: var(--brand); font-weight: 700; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* Hours */
.hours-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 500; }
.hours-table td { color: var(--muted); text-align: right; }
.hours-table .closed { color: var(--err); }
.hours-disclaimer { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.contact-quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-line { display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px; }
.contact-label { color: var(--brand); font-weight: 700; min-width: 56px; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-family: 'Space Mono', monospace; }

/* Contact / form */
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; margin-top: 36px; gap: 40px; }
.contact-intro h3 { font-size: 1.4rem; }
.contact-email-big { margin-top: 22px; font-family: 'Space Mono', monospace; font-size: 1.1rem; }
.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.enquiry h3 { margin-bottom: .3em; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 11px 13px; font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 81, 56, .15);
}
.field textarea { resize: vertical; }
.field input.invalid, .field textarea.invalid { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 500; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Footer */
.site-footer { background: #11261c; color: #d9e0db; border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .muted { color: #9fb0a6; }
.site-footer strong { color: #fff; font-family: 'Space Mono', monospace; letter-spacing: 2px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner > div:first-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-inner .brand-logo { background: #fff; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #9fb0a6; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.copyright { width: 100%; color: #8a9991; font-size: .85rem; margin: 8px 0 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 6px 0; }
  .nav-links .btn { text-align: center; margin-top: 6px; }
  .split, .contact-grid, .services { grid-template-columns: 1fr; }
  .services { gap: 16px; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  h1 { letter-spacing: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
