/* Force & Function — design system
   Brand color pulled from the existing site (forceandfunction.au). */

:root {
  color-scheme: light dark;
  --brand: #ff6900;
  --brand-dark: #d95700;
  --brand-light: #fff1e6;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --muted: #767676;
  --paper: #ffffff;
  --paper-alt: #f7f5f2;
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --border: #e7e3dd;
  --success: #1e7a3d;
  --success-bg: #e8f6ec;
  --error: #c0392b;
  --error-bg: #fbeae8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
  --shadow-sm: 0 2px 10px rgba(28, 28, 28, 0.06);
  --max: 1120px;
  --font-head: "Work Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-dark: #ff9552;
    --brand-light: rgba(255, 105, 0, 0.16);
    --ink: #f1efec;
    --ink-soft: #c7c2bb;
    --muted: #96918a;
    --paper: #15130f;
    --paper-alt: #1e1b16;
    --surface: #242019;
    --header-bg: rgba(21, 19, 15, 0.88);
    --border: #37322a;
    --success: #4fbf78;
    --success-bg: rgba(79, 191, 120, 0.14);
    --error: #e5776b;
    --error-bg: rgba(229, 119, 107, 0.14);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--paper-alt);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.75em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: #fff;
  color: #1c1c1c;
}
.btn-light:hover {
  background: #fff1e6;
  transform: translateY(-1px);
}
.btn-block { width: 100%; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta .btn-outline { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,105,0,0.14), transparent 45%),
    linear-gradient(180deg, var(--paper), var(--paper-alt));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 55%);
}
.hero-art-card {
  position: relative;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  color: #1c1c1c;
}
.hero-art-card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #1c1c1c; }
.hero-art-card span { color: #767676; font-size: 0.88rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
}

/* Strip / marquee */
.strip {
  background: #1c1c1c;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
}
.strip p {
  color: #fff;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.strip .dot { color: var(--brand); padding: 0 10px; }

/* Cards grid */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 10px;
}

/* Section header */
.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* About split */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
.portrait {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2b2b2b, #111);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow);
}
.portrait img { width: 45%; max-width: 220px; height: auto; opacity: 0.9; }
.portrait span { font-size: 0.85rem; letter-spacing: 0.02em; }

/* Quote */
.quote {
  background: #1c1c1c;
  color: #fff;
  border-radius: 20px;
  padding: 56px;
  position: relative;
}
.quote p {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 20px;
}
.quote cite {
  font-style: normal;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .quote { padding: 32px 24px; }
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { opacity: 0.95; margin-bottom: 0; max-width: 46ch; }

/* Pricing cards */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brand-dark);
}
.price-duration {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #1c1c1c;
  color: #d8d5d0;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer p, .site-footer a { color: #b9b6b1; }
.site-footer a:hover { color: var(--brand); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #918e89;
}
.hours-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; }
.hours-list span:first-child { color: #fff; font-weight: 600; }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--surface);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success { background: var(--success-bg); color: var(--success); }
.form-status.error { background: var(--error-bg); color: var(--error); }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

/* Breadcrumb / page hero (inner pages) */
.page-hero {
  padding: 64px 0 48px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 0.5em; }
.page-hero p.lede { font-size: 1.08rem; max-width: 60ch; }

/* Blog */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, var(--brand-light), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.blog-card-thumb svg { width: 40px; height: 40px; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { font-size: 0.8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { margin-bottom: 4px; }
.blog-card p { flex: 1; }

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: var(--ink-soft); font-size: 1.05rem; }
.article ul, .article ol { padding-left: 1.3em; }
.article .article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.article-disclaimer {
  margin-top: 48px;
  padding: 18px 22px;
  background: var(--paper-alt);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tag-pill {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .cta-banner { padding: 36px 24px; text-align: center; justify-content: center; }
}
