/*
Theme Name: Assured Equity
Theme URI: https://assured-equity.com
Description: Bespoke Genesis child theme for Assured Equity. Forked from the agency starter; the design lives in partials/ and assets/css/assuredequity.css.
Author: Agency
Author URI: https://example.com
Template: genesis
Version: 1.1.1
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assuredequity
Tags: business, one-column, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   HOW THIS THEME IS ORGANISED

   You edit:
     partials/*.php            the markup for each part of the page
     assets/css/assuredequity.css    the design
     assets/js/main.js         behaviour
     section 1 of this file    the design tokens

   You generally don't edit:
     functions.php             plumbing — Theme Options, Genesis wiring, CPT
     section 2 of this file    the Genesis wrapper reset

   Anything tagged [genesis-fix:*] is a workaround for a known Genesis bug.
   See wp-themes/README.md before changing one.
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   The single source of truth for the palette and type stack. EDIT THESE.

   Appearance > Theme Options overrides --color-primary / --color-secondary /
   --color-text / --color-accent with an inline block printed in wp_head, so
   the values here are the defaults a fresh install starts from.

   Add tokens beyond the shared four wherever the design genuinely needs them
   (mfin3 keeps --color-dark and --color-white, for instance). The shared four
   are a floor, not a ceiling.
   ========================================================================== */

:root {
  /* The shared four - Appearance > Theme Options overrides these. */
  --color-primary: #0D0E20;   /* navy: dark sections, header, footer, headings on light */
  --color-secondary: #3D566D; /* slate */
  --color-text: #1B2238;      /* ink: body copy on light */
  --color-accent: #EBC871;    /* gold: the brand square, rules, pre-headline marks */

  /* Beyond the shared four. */
  --color-paper: #FAF9F8;
  --color-sand: #EFE7DA;
  --color-white: #FFFFFF;
  --color-gold-ink: #7A5C10;  /* gold darkened to pass AA as small text on paper/sand */
  --color-cast: #173F6B;      /* the blue wash over the footer photograph */

  --font-heading: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 4vw, 64px);

  /* Shared cap for section containers. Deliberate exceptions, each noted where
     it is declared in assets/css/assuredequity.css: the homepage hero, the
     focus-area panels (1700px), "Who We Serve" and the footer run wider. */
  --container-max: 1500px;
}

/* ==========================================================================
   2. Genesis wrapper reset

   Genesis nests every page inside .site-container > .site-inner >
   .content-sidebar-wrap > main.content > article.entry > .entry-content.
   Full-bleed section wrappers have to run edge to edge, so every one of those
   Genesis wrappers is zeroed out here.

   This is the single most common cause of a mystery top/bottom margin on a
   Genesis child theme — DO NOT DELETE THIS BLOCK.
   ========================================================================== */

.site-container,
.site-inner,
.content-sidebar-wrap,
main.content,
.content,
.entry,
.entry-content {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  background: none;
  border: 0;
}

.site-container::before,
.site-container::after,
.site-inner::before,
.site-inner::after,
.content-sidebar-wrap::before,
.content-sidebar-wrap::after,
.content::before,
.content::after,
.entry::before,
.entry::after {
  content: none;
}

/* Genesis prints a skip-links list at the top of the document. Keep it
   keyboard-reachable but out of the layout. */
.genesis-skip-link {
  margin: 0;
  padding: 0;
  list-style: none;
}

.genesis-skip-link li {
  height: 0;
  width: 0;
  list-style: none;
}

.genesis-skip-link a {
  position: absolute;
  left: -9999px;
  display: block;
  padding: 15px 23px 14px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 14px;
  z-index: 1000;
}

.genesis-skip-link a:focus {
  left: 0;
  top: 0;
  outline: 2px solid var(--color-primary);
}

/* The rest of the design lives in assets/css/assuredequity.css. */
