/*
Theme Name: Geek Free
Theme URI: https://geekfree.uk
Author: Geek Free
Description: A plain-English technology advice theme for small businesses.
Version: 1.0.0
Text Domain: geek-free
*/

:root {
  --ink: #172733;
  --midnight: #0f1c25;
  --blue: #176c88;
  --mint: #d9f1e7;
  --cream: #f8f4ed;
  --paper: #fffdfa;
  --coral: #ef765f;
  --gold: #f2bc63;
  --muted: #5d6970;
  --line: #d7ddd9;
  --shadow: 0 18px 45px rgba(23, 39, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 12px 16px; top: 10px; left: 10px; background: #fff; z-index: 1000; }

.gf-announcement { background: var(--midnight); color: #f8f4ed; padding: 9px 5vw; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.gf-header { max-width: 1200px; margin: 0 auto; padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.gf-logo { color: var(--midnight); font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 700; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.gf-logo-mark { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 7px; border-radius: 50% 50% 50% 10%; background: var(--coral); color: #fff; font: 700 17px/1 system-ui, sans-serif; vertical-align: 2px; transform: rotate(-10deg); }
.gf-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 750; }
.gf-nav a { text-decoration: none; }
.gf-nav a:hover { color: var(--blue); }
.gf-nav .gf-nav-cta { padding: 10px 15px; border: 1px solid var(--ink); border-radius: 999px; }
.gf-nav .gf-nav-cta:hover { color: var(--paper); background: var(--ink); }

.gf-main { overflow: hidden; }
.gf-hero { position: relative; max-width: 1200px; min-height: 560px; margin: 0 auto 74px; padding: 95px 8.5% 84px; border-radius: 4px; background: var(--mint); }
.gf-hero-copy { position: relative; z-index: 1; max-width: 690px; }
.gf-kicker { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.gf-hero h1, .gf-section-heading { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.gf-hero h1 { max-width: 680px; margin: 0; font-size: clamp(51px, 7.1vw, 88px); }
.gf-hero h1 em { color: var(--blue); font-style: normal; }
.gf-hero p { max-width: 570px; margin: 25px 0 0; font-size: 20px; }
.gf-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 33px; }
.gf-button { display: inline-block; padding: 13px 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.gf-button:hover { transform: translateY(-2px); background: var(--blue); }
.gf-button-quiet { background: transparent; color: var(--ink); }
.gf-button-quiet:hover { background: var(--paper); color: var(--ink); }
.gf-scribble { position: absolute; right: 9%; bottom: 13%; width: min(33vw, 350px); height: min(33vw, 350px); border: 22px solid var(--gold); border-radius: 45% 55% 54% 46% / 52% 43% 57% 48%; transform: rotate(-13deg); opacity: .92; }
.gf-scribble::before, .gf-scribble::after { position: absolute; content: ""; border-radius: 50%; }
.gf-scribble::before { top: 40px; left: 42px; width: 42px; height: 42px; background: var(--coral); box-shadow: 143px 128px 0 var(--blue); }
.gf-scribble::after { right: 28px; bottom: 45px; width: 88px; height: 25px; border-top: 8px solid var(--ink); transform: rotate(-24deg); }

.gf-section { max-width: 1120px; margin: 0 auto; padding: 0 32px 88px; }
.gf-section-intro { display: grid; grid-template-columns: .84fr 1.16fr; gap: 60px; align-items: end; }
.gf-section-heading { margin: 0; font-size: clamp(40px, 5vw, 65px); }
.gf-section-lead { max-width: 570px; margin: 0; color: var(--muted); font-size: 20px; }
.gf-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.gf-card { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); box-shadow: 0 3px 0 rgba(23,39,51,.02); }
.gf-card-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--blue); font-size: 14px; font-weight: 850; }
.gf-card h3 { margin: 40px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; letter-spacing: -.045em; line-height: 1.05; }
.gf-card p { margin: 0; color: var(--muted); font-size: 15px; }
.gf-principles { padding: 76px 0; background: var(--midnight); color: #fff; }
.gf-principles-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.gf-principles .gf-kicker { color: var(--gold); }
.gf-principles .gf-section-heading { color: #fff; }
.gf-principles-copy { color: #d6e2e5; }
.gf-tick-list { margin: 28px 0 0; padding: 0; list-style: none; }
.gf-tick-list li { margin: 16px 0; padding-left: 32px; position: relative; font-weight: 650; }
.gf-tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 21px; font-weight: 900; }
.gf-note { padding: 35px; border: 1px solid rgba(255,255,255,.20); border-radius: 4px; background: rgba(255,255,255,.06); }
.gf-note p { margin: 0; font: 31px/1.16 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.gf-note span { display: block; margin-top: 17px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-blog-head { display: flex; gap: 24px; align-items: end; justify-content: space-between; }
.gf-blog-head a { color: var(--blue); font-size: 15px; font-weight: 800; }
.gf-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 31px; }
.gf-post { min-height: 190px; padding: 25px; border-top: 5px solid var(--gold); background: var(--paper); text-decoration: none; }
.gf-post:nth-child(2) { border-color: var(--coral); }
.gf-post:nth-child(3) { border-color: var(--blue); }
.gf-post-meta { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-post h3 { margin: 20px 0 0; font: 27px/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.gf-empty { grid-column: 1 / -1; padding: 34px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.gf-help { max-width: 1120px; margin: 0 auto 92px; padding: 0 32px; }
.gf-help-box { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 44px 48px; background: var(--coral); color: #fff; border-radius: 4px; }
.gf-help-box h2 { margin: 0; font: 46px/1 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.gf-help-box p { max-width: 630px; margin: 12px 0 0; }
.gf-help-box .gf-button { background: #fff; border-color: #fff; color: var(--midnight); white-space: nowrap; }
.gf-help-box .gf-button:hover { color: #fff; background: var(--midnight); border-color: var(--midnight); }
.gf-footer { padding: 45px 5vw; background: var(--paper); border-top: 1px solid var(--line); }
.gf-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.gf-footer p { max-width: 390px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.gf-footer small { color: var(--muted); }

.gf-content { max-width: 840px; margin: 0 auto; padding: 75px 32px; }
.gf-content h1 { font: 62px/1 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.gf-content h2 { margin-top: 42px; font: 38px/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.05em; }
.gf-content a { color: var(--blue); }
.gf-article { margin-bottom: 35px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.gf-article h2 { margin: 10px 0; }
.gf-article h2 a { color: var(--ink); text-decoration: none; }

@media (max-width: 780px) {
  .gf-header { padding: 18px 20px; }
  .gf-nav { gap: 14px; font-size: 13px; }
  .gf-nav a:not(.gf-nav-cta) { display: none; }
  .gf-hero { min-height: 620px; margin-bottom: 56px; padding: 70px 27px 250px; }
  .gf-scribble { right: 10%; bottom: 4%; width: 230px; height: 230px; }
  .gf-section { padding: 0 23px 62px; }
  .gf-section-intro, .gf-principles-inner { grid-template-columns: 1fr; gap: 25px; }
  .gf-paths, .gf-posts { grid-template-columns: 1fr; }
  .gf-card { min-height: 0; }
  .gf-card h3 { margin-top: 25px; }
  .gf-principles { padding: 59px 0; }
  .gf-principles-inner { padding: 0 23px; }
  .gf-blog-head { align-items: start; flex-direction: column; gap: 12px; }
  .gf-help { margin-bottom: 62px; padding: 0 23px; }
  .gf-help-box { grid-template-columns: 1fr; padding: 34px 28px; }
  .gf-help-box h2 { font-size: 39px; }
  .gf-footer-inner { align-items: start; flex-direction: column; }
}
