/* Shoebox Accounting Group
   Exact port of the original Enterprise Pro "shoebox" child theme (v2.1.1),
   values measured from the archived live site (Wayback 11 Aug 2025) rendered
   in a browser — enterprise-pro-red scheme.

   Measured spec:
   - accent #eb008b on links / site-title / nav current+hover / buttons
   - primary nav: #333 bar, white uppercase Lato 700 16px, 20px 24px padding
   - dropdown: #333 panels, border #222, white uppercase 700 14px, 16px 24px,
     min-width 300px, pink on hover
   - page: .site-inner #f5f5f5 + hairline top, 40px top pad
   - article: white .entry panel, 1px #ececec border, 0 1px #ececec shadow, 40px pad
   - title band: .entry-header #333, -40px bleed, 15px 30px pad;
     .entry-title Montserrat 500 27px #fff uppercase
   - home lede: p.primary Lato 300 30px/36px #666 centered
   - footer: white, hairline top, widget titles 16px underlined; creds centered 12px

   A11y note: raw #eb008b link text is 4.28:1 (below WCAG AA 4.5:1) — inherited
   from the original by design. See README. */

:root {
  --pink: #eb008b;
  --ink: #333;
  --body: #666;
  --muted: #aaa;
  --line: #ececec;
  --line-2: #e5e5e5;
  --panel: #f5f5f5;
  --white: #fff;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.625;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: 27px; font-weight: 500; }
h2 { font-size: 22px; font-weight: 600; margin-top: 1.4em; }
h3 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 24px; }

a { color: var(--pink); text-decoration: none; }
a:hover, a:focus { color: var(--ink); text-decoration: none; }

img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------------------------------------------------------- header */
.site-header { background: var(--white); min-height: 150px; }
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 17px 0;
}
.brand { display: flex; align-items: center; gap: 20px; }
.brand:hover { text-decoration: none; }
.logo { display: block; width: 155px; height: 92px; }
.brand-text { display: flex; flex-direction: column; }

.site-title {
  font-family: 'Lato', sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--pink);
  padding-top: 10px;
}
.site-description {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------------------------------------------------------- buttons */
.button {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 22px 15px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: all .1s ease-in-out;
}
.button:hover, .button:focus {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.header-cta .button { min-width: 200px; }

/* ---------------------------------------------------------- primary nav bar */
.nav-primary { background: var(--ink); }

.genesis-nav-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.nav-item { position: relative; }

.genesis-nav-menu a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  padding: 20px 24px;
}
.genesis-nav-menu > .nav-item:first-child > a { padding-left: 0; }
.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu a.current { color: var(--pink); text-decoration: none; }

/* no caret on parent items — matches original */

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--ink);
  border: 1px solid #222;
  border-top: 1px solid var(--line);
  min-width: 300px;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
  display: none;
}
.nav-item:hover > .sub-menu,
.nav-item:focus-within > .sub-menu { display: block; }

.sub-menu a {
  background: var(--ink);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 24px;
  border-top: 1px solid #222;
}
.sub-menu a:hover, .sub-menu a:focus { color: var(--pink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 18px 0;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: #fff; position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

/* ---------------------------------------------------------- page shell */
.site-inner {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 40px 0 10px;
}

/* all original pages were full-width-content — no sidebar */
.alignright { float: right; margin: 0 0 12px 24px; }
.entry-content::after { content: ""; display: table; clear: both; }

/* white article panel with dark title band (Genesis .entry / .entry-header) */
.entry {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px var(--line);
  padding: 40px;
  margin-bottom: 40px;
}
.entry-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  margin: -40px -40px 40px;
  padding: 15px 30px;
}
.entry-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

/* home lede — original <p class="primary"> */
.primary {
  font-size: 30px;
  line-height: 36px;
  font-weight: 300;
  color: var(--body);
  text-align: center;
}

/* ---------------------------------------------------------- services hub tiles */
.one-half-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.564102564102564%;
  row-gap: 24px;
  margin: 0 0 24px;
}
.content-block {
  background: var(--panel);
  padding: 25px;
  border: 1px solid var(--line-2);
  display: block;
  width: 48.717948717948715%;
  text-align: center;
}
a.content-block { color: var(--ink); }
.hover-box:hover, .hover-box:focus {
  background: var(--white);
  border-color: var(--ink);
  text-decoration: none;
}
.content-block h3 { margin: 0; }

/* content lists — original: plain disc bullets, 40px indent, 26px after */
.entry-content ul { margin: 0 0 26px 40px; padding: 0; }
.entry-content ul > li { list-style-type: disc; }

/* ---------------------------------------------------------- contact */
/* original: two one-half columns — Office Address + map | form */
.contact-grid > .contact-details,
.contact-grid > .contact-form { width: 48.717948717948715%; }
.contact-details h3:first-child,
.contact-form h3:first-child { margin-top: 0; }
.contact-form label {
  display: block; color: var(--ink); font-size: .92rem; font-weight: 700; margin-bottom: 6px;
}
.req { color: var(--pink); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  width: 100%; max-width: 480px;
  padding: 11px 13px; border: 1px solid #ccc; border-radius: 3px;
  background: #fff; color: var(--ink); font-family: inherit; font-size: 1rem;
}
.contact-form textarea { max-width: 100%; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink); outline: none;
  box-shadow: 0 0 0 3px rgba(235,0,139,.22);
}
.contact-form .button { padding: 14px 28px; font-weight: 700; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------- footer */
.footer-widgets {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px;
  padding-bottom: 28px;
}
.widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  margin: 0 0 20px;
  padding: 0 0 20px;
}
.footer-col p { line-height: 1.7; }
.footer-col a { color: var(--pink); }
.footer-col a:hover { color: var(--ink); }

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 40px 0;
  text-align: center;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--pink); }

/* footer secondary nav — original: uppercase, light weight, #333, pink hover */
.nav-secondary { margin-bottom: 14px; }
.menu-secondary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.menu-secondary a {
  display: block;
  color: var(--ink);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  padding: 6px 14px;
}
.menu-secondary a:hover, .menu-secondary a:focus { color: var(--pink); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1023px) {
  .alignright { float: none; display: block; margin: 0 auto 24px; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header { min-height: 0; }
  .header-wrap { justify-content: center; text-align: center; }
  .brand { flex-direction: column; text-align: center; gap: 10px; }
  .primary { font-size: 24px; line-height: 30px; }
  .entry { padding: 24px; }
  .entry-header { margin: -24px -24px 24px; }
  .content-block { width: 100%; }
  .contact-grid > .contact-details,
  .contact-grid > .contact-form { width: 100%; }

  .nav-toggle { display: flex; }
  .genesis-nav-menu { display: none; flex-direction: column; padding-bottom: 8px; }
  .genesis-nav-menu.is-open { display: flex; }
  .genesis-nav-menu a,
  .genesis-nav-menu > .nav-item:first-child > a { padding: 14px 0; }
  .sub-menu {
    display: block; position: static; border: 0; background: transparent;
    min-width: 0; padding: 0 0 0 18px;
  }
  .sub-menu a { padding: 10px 0; border-top: 0; background: transparent; color: #cfcfcf; }
}

@media print {
  .nav-primary, .header-cta, .contact-form { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
  .entry { border: 0; box-shadow: none; padding: 0; }
  .entry-header { background: none; margin: 0 0 12pt; padding: 0; }
  .entry-title { color: #000; }
}
