/*
Theme Name: Manker County Connections
Theme URI: https://mankercounties.com
Author: 201 Creative
Author URI: https://201creative.com
Description: Custom one-page theme for Manker County Connections.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: manker-county
*/

:root{
  --bg:#faf8f4;
  --surface:#f2ede6;
  --surface-2:#ece7df;
  --line:rgba(28,28,30,.12);
  --ink:#1c1c1e;
  --ink-2:#4a4a52;
  --muted:#66646d;
  --navy:#202838;
  --blue:#2870b8;
  --blue-2:#3a8fd8;
  --blue-soft:#e4eef9;
  --dark:#1c1c1e;
  --radius:28px;
  --radius-sm:16px;
  --maxw:1180px;
  --font:Inter,-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:Lora,Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 var(--font);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.15}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:0;background:var(--dark);color:#fff;padding:8px 12px}
.skip:focus{left:8px;top:8px;z-index:100}

/* buttons */
.btn{border:0;cursor:pointer;font-family:var(--font);display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:999px;font-weight:800;font-size:16px;letter-spacing:-.01em;transition:transform .15s,background .15s,box-shadow .15s;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-dark{background:var(--dark);color:#fff}
.btn-dark:hover{background:#000}
.btn-light{background:var(--surface);color:var(--dark);border:.75px solid var(--line)}
.btn-light:hover{background:var(--surface-2)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:#1f5f9f}
.btn-sm{height:40px;padding:0 18px;font-size:15px}

/* eyebrow */
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--blue-soft);color:var(--blue);border-radius:999px;padding:6px 14px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,248,244,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent}
.site-header.is-stuck{border-bottom-color:var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:84px;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.02em;color:var(--navy)}
.brand img{height:46px;width:auto}
.brand .brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand .brand-text b{font-size:18px;letter-spacing:.04em}
.brand .brand-text span{font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--muted)}
.nav{display:flex;align-items:center;gap:28px}
.nav a{font-weight:700;font-size:15px;color:var(--ink)}
.nav a:hover{color:var(--blue)}
.nav .btn{margin-left:8px}
.nav a.btn-dark{color:#fff}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;transition:.2s}

/* hero */
.hero{padding:56px 0 64px}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(44px,6.2vw,84px);font-weight:900;letter-spacing:-.045em;line-height:.98;color:#101014;margin:22px 0 22px}
.hero h1 em{font-style:normal;color:var(--blue)}
.hero .lead{font-size:clamp(19px,2vw,24px);color:var(--muted);max-width:560px;margin-bottom:28px;line-height:1.4}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-media{position:relative}
.hero-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius);box-shadow:0 30px 60px -30px rgba(32,40,56,.45)}
.hero-media .tag{position:absolute;left:18px;bottom:18px;background:rgba(250,248,244,.95);border-radius:14px;padding:10px 14px;font-size:14px;font-weight:700;color:var(--navy);box-shadow:0 10px 30px -10px rgba(0,0,0,.3)}
.hero-media .tag small{display:block;font-weight:600;color:var(--muted);font-size:12px}

/* states strip */
.strip{background:var(--surface);padding:28px 0}
.strip .wrap{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.strip .label{font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.strip ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px}
.strip li{font-family:var(--serif);font-size:18px;color:var(--ink-2);padding:4px 12px;border-radius:999px;background:var(--bg)}
.strip li.primary{color:var(--blue);font-weight:700}

/* sections */
.section{padding:88px 0}
.section-alt{background:var(--surface)}
.section-head{max-width:720px;margin-bottom:44px}
.section-head h2{font-family:var(--serif);font-size:clamp(30px,3.6vw,42px);font-weight:600;letter-spacing:-.01em;margin:14px 0 14px}
.section-head p{font-size:19px;color:var(--muted);margin:0}

/* cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--surface);border-radius:var(--radius-sm);padding:30px 28px;display:flex;flex-direction:column;gap:12px;border:1px solid transparent}
.section-alt .card{background:var(--bg)}
.card .num{font-family:var(--serif);font-size:15px;color:var(--blue);font-weight:700;letter-spacing:.06em}
.card h3{font-size:21px;font-weight:800;letter-spacing:-.02em}
.card p{color:var(--ink-2);margin:0;font-size:16.5px}
.card .icon{width:44px;height:44px;border-radius:12px;background:var(--blue-soft);display:grid;place-items:center;color:var(--blue)}
.card .icon svg{width:22px;height:22px}

/* meet jim */
.about .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.about-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius)}
.about h2{font-family:var(--serif);font-size:clamp(30px,3.6vw,42px);font-weight:600;margin:14px 0 18px;letter-spacing:-.01em}
.about p{color:var(--ink-2);font-size:17px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.chips li{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:700;color:var(--navy)}
.section-alt .chips li{background:var(--bg)}
.about .fine{font-size:13px;color:var(--muted);margin-top:6px}
.about h4{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:24px 0 10px}
.spec{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.spec li{font-size:15.5px;color:var(--ink-2);padding-left:18px;position:relative}
.spec li::before{content:"";position:absolute;left:0;top:11px;width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* process */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step}
.note{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.note div{background:var(--surface);border-radius:var(--radius-sm);padding:22px 24px;font-size:16px;color:var(--ink-2)}
.section-alt .note div{background:var(--bg)}
.note b{display:block;color:var(--ink);margin-bottom:4px;font-size:15px}

/* gallery */
.gallery{display:grid;grid-template-columns:2fr 1fr;gap:16px;height:480px}
.gallery figure{margin:0;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface);height:100%}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.gallery figure:hover img{transform:scale(1.03)}
.gallery .wide{grid-column:span 2}

/* endorsements */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.quote{background:var(--bg);border-radius:var(--radius-sm);padding:30px 28px}
.quote p{font-family:var(--serif);font-size:18px;color:var(--ink);margin:0 0 18px}
.quote cite{font-style:normal;font-size:14px;color:var(--muted);font-weight:700}
.quote cite span{display:block;font-weight:500}

/* contact */
.contact .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
.contact h2{font-family:var(--serif);font-size:clamp(30px,3.6vw,42px);font-weight:600;margin:14px 0 14px}
.contact .side p{color:var(--muted);font-size:18px}
.contact .side ul{margin-top:22px;display:grid;gap:10px}
.contact .side li{display:flex;gap:10px;align-items:flex-start;font-size:16px;color:var(--ink-2)}
.contact .side li svg{flex:none;width:20px;height:20px;color:var(--blue);margin-top:3px}
.form{background:var(--surface);border-radius:var(--radius);padding:34px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-size:13px;font-weight:800;letter-spacing:.04em;color:var(--navy)}
.field input,.field textarea{font:inherit;font-size:16px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);width:100%}
.field input:focus,.field textarea:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:transparent}
.field textarea{min-height:140px;resize:vertical}
.hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.form .fine{font-size:13px;color:var(--muted);margin:12px 0 0}
.alert{border-radius:12px;padding:14px 16px;font-weight:600;margin-bottom:18px;font-size:15px}
.alert-ok{background:#e6f4ea;color:#1e6b3a}
.alert-err{background:#fdecec;color:#a12626}

/* cta band */
.cta{background:var(--navy);color:#fff;padding:72px 0}
.cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.cta h2{font-family:var(--serif);font-size:clamp(28px,3.4vw,40px);font-weight:600}
.cta p{color:rgba(255,255,255,.7);margin:8px 0 0;font-size:18px}
.cta .btn-dark{background:#fff;color:var(--navy)}
.cta .btn-dark:hover{background:var(--bg)}

/* footer */
.site-footer{background:var(--dark);color:rgba(255,255,255,.6);padding:56px 0 28px;font-size:14px}
.site-footer .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.footer-logo{display:inline-block;background:var(--bg);border-radius:14px;padding:12px 16px;margin-bottom:14px}
.footer-logo img{height:64px;width:auto}
.site-footer h4{color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
.site-footer li{margin-bottom:8px}
.site-footer a:hover{color:#fff}
.site-footer .bottom{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12);padding-top:20px;margin-top:12px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}

/* generic page */
.page-wrap{max-width:760px;margin:0 auto;padding:72px 24px}
.page-wrap h1{font-size:clamp(34px,5vw,56px);font-weight:900;letter-spacing:-.04em;margin-bottom:24px}
.page-wrap .entry{font-size:17px;color:var(--ink-2)}

/* responsive */
@media (max-width:980px){
  .hero .wrap,.about .wrap,.contact .wrap{grid-template-columns:1fr;gap:36px}
  .hero-media{order:-1;max-width:520px}
  .hero-media img{aspect-ratio:4/4}
  .cards,.steps,.quotes{grid-template-columns:1fr 1fr}
  .site-footer .wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .site-header .wrap{height:72px}
  .brand img{height:46px}
  .nav-toggle{display:block}
  .nav{position:absolute;left:0;right:0;top:72px;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px 24px 20px;gap:0;display:none}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line)}
  .nav a.btn{margin:14px 0 0;border:0}
  .hero{padding:32px 0 48px}
  .section{padding:64px 0}
  .cards,.steps,.quotes,.note,.spec,.form .row,.gallery{grid-template-columns:1fr}
  .gallery{height:auto}
  .gallery figure{aspect-ratio:4/3}
  .gallery .wide{grid-column:auto}
  .form{padding:24px}
  .site-footer .wrap{grid-template-columns:1fr}
}
