/* ==========================================================================
   WCAS base: font, colors, reset, typography, buttons, forms, WordPress blocks.
   Header, footer, homepage and inner pages have their own files.
   ========================================================================== */

/* Inter Tight (the WCAS brand font), loaded from Google's font servers */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(https://fonts.gstatic.com/s/intertight/v9/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(https://fonts.gstatic.com/s/intertight/v9/NGSwv5HMAFg6IuGlBNMjxLsH8ag.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #223051; --navy-2: #31436e; --gold: #eec432; --gold-deep: #dbae12;
  --mist: #e8ebf1; --haze: #c8cfde; --slate: #535b6e; --ink: #223051; --white: #fff;
  --w: 1320px;                              /* page width */
  --w-text: 760px;                          /* reading width */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --r-card: 24px; --r-tile: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; overflow-x: clip; background: #fff; color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; font-size-adjust: .56; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; height: auto; }
iframe, embed, object { max-width: 100%; }
img { border: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
button { font: inherit; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--haze); margin: 2rem 0; }

/* ---- Accessibility helpers ---- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---- Headings ---- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-weight: 500; line-height: 1.1; letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.625rem, 1rem + 2vw, 2.75rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.1875rem, 1rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

/* ---- Buttons: pills with an arrow ---- */
.button, .wp-block-button__link, .gform_button, input[type="submit"], button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; min-height: 52px; padding: 14px 30px;
  border: 0; border-radius: 999px; box-shadow: none; background: var(--gold); color: var(--navy);
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .45s var(--ease), background-color .25s ease, color .25s ease;
}
.button:hover, .wp-block-button__link:hover, .gform_button:hover, input[type="submit"]:hover, button[type="submit"]:hover,
.button:focus-visible { background: var(--gold-deep); color: var(--navy); transform: translateY(-2px); }
.button:active, .gform_button:active, input[type="submit"]:active, button[type="submit"]:active { transform: scale(.97); }
.button .arrow { display: inline-block; transition: transform .45s var(--ease); }
.button:hover .arrow, .button:focus-visible .arrow { transform: translate(3px, -3px); }
.button-secondary { background: var(--navy); color: #fff; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--navy-2); color: #fff; }
.button-glass { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.button-glass:hover, .button-glass:focus-visible { background: rgba(255, 255, 255, .28); color: #fff; }
@media (max-width: 600px) { .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .button, .button .arrow { transition: none; } .button:hover { transform: none; } }

/* ---- Forms (includes Gravity Forms) ---- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="password"],
select, textarea {
  width: 100%; max-width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--haze); border-radius: 14px; background: #fff; color: var(--navy);
  font: inherit; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; border-radius: 18px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(238, 196, 50, .55); }
label, .gfield_label { display: block; margin: 0 0 6px; font-size: .95rem; font-weight: 600; color: var(--navy); }
.gform_wrapper .gfield { margin-bottom: 18px; }
.gform_wrapper .gfield_required { color: var(--slate); font-weight: 400; }
.gform_wrapper .gform_footer { margin-top: 8px; padding: 0; }
.gform_wrapper .validation_error, .gform_wrapper .gfield_validation_message { color: #a3261f; font-weight: 500; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea { border-color: #a3261f; }
.gform_confirmation_message { padding: 20px 24px; border-radius: var(--r-tile); background: var(--mist); font-weight: 500; }

/* ---- Search form ---- */
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 0 0 2rem; }
.search-form input[type="search"] { flex: 1; }
.search-form .button { flex: none; }

/* ---- WordPress block alignments and common blocks ---- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, figcaption { font-size: .9rem; color: var(--slate); }
figure { margin: 0 0 1.5rem; }
.wp-block-image img, .entry-content img { border-radius: var(--r-tile); }
.wp-block-table table, .entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-table th, .wp-block-table td, .entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--haze); text-align: left; }
.wp-block-table th, .entry-content th { background: var(--mist); font-weight: 600; }
.wp-block-table, .entry-content .table-wrap { overflow-x: auto; }
blockquote, .wp-block-quote { margin: 1.5rem 0; padding: 4px 0 4px 1.25rem; border-left: 4px solid var(--navy); font-size: 1.15rem; }

/* ---- Pagination ---- */
.pagination, .page-numbers { list-style: none; }
.nav-links, .page-numbers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 2.5rem 0 0; }
.page-numbers li { list-style: none; }
a.page-numbers, span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--mist); color: var(--navy); font-weight: 600; text-decoration: none; }
span.page-numbers.current, a.page-numbers:hover { background: var(--navy); color: #fff; }

/* reCAPTCHA: hide the floating badge on every page. The required Google notice is shown inside the quote form instead. */
.grecaptcha-badge { visibility: hidden !important; }
.wcas-recaptcha-note { flex-basis: 100%; margin: 14px 0 0; color: var(--slate); font-size: .75rem; font-weight: 400; line-height: 1.5; }
.wcas-recaptcha-note a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }

/* Cursors: the live site carries a "not-allowed" (blocked) cursor rule from outside this theme (Additional CSS or a plugin),
   which showed up on footer links and form fields. Set the normal cursors explicitly in the footer, the page content and the forms. */
.site-footer, .site-footer *, .entry-content, .entry-content *, .wcas-stick, .wcas-stick * { cursor: default !important; }
.site-footer a[href], .entry-content a[href], .wcas-stick a[href], .foot-social a, .entry-content button:not(:disabled), .entry-content label, .entry-content select, .entry-content summary,
.entry-content input[type="submit"]:not(:disabled), .entry-content input[type="button"]:not(:disabled), .entry-content input[type="checkbox"], .entry-content input[type="radio"], .gform_button:not(:disabled) { cursor: pointer !important; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="url"], .entry-content input[type="number"], .entry-content input[type="search"], .entry-content textarea,
#gform_wrapper_1 input[type="text"], #gform_wrapper_1 input[type="email"], #gform_wrapper_1 input[type="tel"], #gform_wrapper_1 textarea { cursor: text !important; }
.entry-content :disabled, .entry-content [aria-disabled="true"] { cursor: default !important; }
