/*
Theme Name: Lumen Bookkeeping
Theme URI: https://lumenbookkeeping.ca
Author: Lumen Bookkeeping
Description: A polished, accessible theme for a Kamloops bookkeeping firm.
Version: 1.0.0
Text Domain: lumen-bookkeeping
*/

:root {
  --navy: #09205a;
  --navy-2: #0d2d70;
  --ink: #17233c;
  --muted: #68738a;
  --cream: #f7f8fb;
  --white: #ffffff;
  --orange: #ef9f49;
  --sage: #6f897d;
  --line: #e7eaf1;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(9, 32, 90, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
body, button, input, textarea, select { font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-kicker { color: var(--sage); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 1.12rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; transition: .2s ease; cursor: pointer; }
.button:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: var(--white); }
.button-light { background: var(--white); border-color: var(--white); color: var(--navy); }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(9,32,90,.08); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 250px; height: 70px; object-fit: contain; object-position: left center; }
.main-navigation ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: var(--ink); font-size: .95rem; font-weight: 750; }
.main-navigation a:hover { color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); }

.hero { overflow: hidden; position: relative; min-height: 660px; background: linear-gradient(135deg, #f8f9fc 0%, #eff3f7 100%); }
.hero:after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px; border: 1px solid rgba(239,159,73,.38); border-radius: 50%; box-shadow: 0 0 0 70px rgba(239,159,73,.035), 0 0 0 140px rgba(239,159,73,.025); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 50px; min-height: 660px; }
.hero-copy { max-width: 760px; padding: 75px 0; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy p { max-width: 620px; margin: 24px 0 34px; color: var(--muted); font-size: 1.24rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { justify-self: end; width: min(410px, 100%); padding: 38px; border-radius: 24px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.hero-card .metric { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-card .metric:last-child { border: 0; }
.metric-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(239,159,73,.16); color: #ffc27d; font-weight: 900; }
.metric strong { display: block; color: var(--white); font-size: 1.05rem; }
.metric span { display: block; color: #cfd6e8; font-size: .88rem; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.trust-inner strong { color: var(--navy); }
.trust-items { display: flex; gap: 28px; color: var(--muted); font-size: .9rem; font-weight: 700; }

.services { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 310px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-number { color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin-top: 52px; }
.service-card p { color: var(--muted); }
.text-link { display: inline-flex; margin-top: 8px; font-weight: 800; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.about-mark { min-height: 430px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg, var(--navy), #183d83); color: var(--white); overflow: hidden; }
.about-mark img { width: 78%; filter: brightness(0) invert(1); opacity: .95; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.check-list { margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { margin: 10px 0; padding-left: 28px; position: relative; }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

.team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { border-radius: var(--radius); background: var(--white); overflow: hidden; border: 1px solid var(--line); }
.team-photo { height: 270px; display: grid; place-items: center; background: linear-gradient(145deg, #edf1f5, #dde4eb); color: var(--navy); font-family: Georgia, serif; font-size: 4.5rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 26px; }
.team-info p { color: var(--sage); font-weight: 800; font-size: .86rem; }
.team-info span { color: var(--muted); }

.cta { padding: 76px 0; background: var(--navy); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { max-width: 720px; margin: 0; color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); }

.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; }
.contact-details { display: grid; gap: 20px; margin-top: 30px; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail strong { display: block; color: var(--navy); }
.contact-detail a, .contact-detail span { color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 38px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: .86rem; font-weight: 800; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: var(--white); color: var(--ink); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 3px solid rgba(239,159,73,.24); border-color: var(--orange); }
.honeypot { position: absolute !important; left: -10000px !important; }

.site-footer { padding: 70px 0 24px; background: #061947; color: #d5daf0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 50px; }
.footer-logo { width: 210px; height: 58px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer a { color: #d5daf0; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9da8c8; font-size: .84rem; }

.page-header { padding: 72px 0; background: var(--cream); }
.page-header h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.entry-content { max-width: 780px; margin: 70px auto; }
.entry-content p, .entry-content li { color: var(--muted); }

.notice { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; background: #eaf7ef; color: #1f6340; }

@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .brand img { width: 210px; height: 58px; }
  .nav-toggle { display: block; }
  .main-navigation { display: none; position: absolute; left: 20px; right: 20px; top: 78px; padding: 16px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-navigation a { display: block; padding: 12px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-card { justify-self: start; margin-bottom: 60px; }
  .service-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .hero { min-height: auto; }
  .hero-copy { padding: 58px 0 38px; }
  .hero-copy p { font-size: 1.06rem; }
  .hero-card { margin-bottom: 44px; padding: 24px; }
  .service-grid, .team-grid { grid-template-columns: 1fr; }
  .trust-items { flex-direction: column; gap: 6px; }
  .about-grid { gap: 38px; }
  .about-mark { min-height: 300px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .contact-form .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
