/*!
Theme Name: raucy
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: raucy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

raucy is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}



/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}



/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
	margin: 0 0 30px 0;
	background-color: var(--color-line-soft);
	padding: 20px;
}
blockquote p:first-child, blockquote p:last-child {
	margin: 0;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

body .bg-color-surface {
	background-color: var(--color-surface-cool);
}
/* Forms
--------------------------------------------- */
/* ----- Gravity Forms tweaks inside the wrapper ----- */
.contact-form-wrap .gform_wrapper {
	max-width: 100%;
}

.contact-form-wrap .gform_wrapper .gfield_label {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-ink, #0f172a);
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.contact-form-wrap .gform_wrapper .gfield_required {
	color: var(--color-pink-500, #ec4899);
	margin-left: 2px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea,
.contact-form-wrap .gform_wrapper input[type="text"],
.contact-form-wrap .gform_wrapper input[type="email"],
.contact-form-wrap .gform_wrapper input[type="tel"],
.contact-form-wrap .gform_wrapper input[type="url"],
.contact-form-wrap .gform_wrapper input[type="number"],
.contact-form-wrap .gform_wrapper select,
.contact-form-wrap .gform_wrapper textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid var(--color-line, #e2e8f0);
	border-radius: var(--radius-sm, 10px);
	background: #ffffff;
	color: var(--color-ink, #0f172a);
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus,
.contact-form-wrap .gform_wrapper input:focus,
.contact-form-wrap .gform_wrapper select:focus,
.contact-form-wrap .gform_wrapper textarea:focus {
	border-color: var(--color-cyan-400, #22d3ee);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
	outline: 0;
}

.contact-form-wrap .gform_wrapper textarea {
	min-height: 140px;
	min-block-size: unset !important;
	resize: unset;
}
.contact-form-wrap .gform-theme--foundation .gform_fields {
	gap: 14px !important;
}

input[type="submit"],
.contact-form-wrap .gform_footer .gform_button, .contact-form-wrap .gform_wrapper .gform_button {
	padding: 14px 28px;
	font-size: 15px !important;
	color: #ffffff;
	border: 0;
	border-radius: var(--radius-sm, 10px) !important;
	transition: 0.5s !important;
	font-family: inherit;
	background-color: var(--color-sky-blue) !important;
}
input[type="submit"]:hover,
.contact-form-wrap .gform_button:hover {
	background-color: var(--color-sky-blue-400) !important;
}.gform_required_legend {
	display: none;
}

.contact-form-wrap .gform_button:active {
	transform: translateY(1px);
}

.contact-form-wrap .gform_confirmation_message {
	padding: 18px 20px;
	background: rgba(63, 166, 90, 0.08);
	color: var(--color-green-700, #246635);
	border: 1px solid rgba(63, 166, 90, 0.25);
	border-radius: 12px;
	font-size: 15px;
}

.contact-form-wrap .validation_error, .contact-form-wrap .gfield_validation_message {
	color: #dc2626 !important;
	font-size: 10px !important;
	margin-top: 4px;
}

.section-padding{
  padding: var(--space-section) 0;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/



.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}



/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Raucy Design System
# Tokens, reset, typography, utilities, nav, footer, buttons.
#
# NOTE: zoom: 1.2 (body) and zoom: 0.85 (.nav) are intentional
# layout hacks from the original design. Do not "fix" them.
--------------------------------------------------------------*/

:root {
  /* Core palette */
  --color-navy: #071239;
  --color-sky-blue: #2D94D8;

  --color-navy-800: #0d1e57;
  --color-navy-700: #152b75;
  --color-navy-600: #2343a6;
  
  --color-sky-blue-400: #4BA5E3;
  --color-sky-blue-300: #7EC1EC;
  
  --color-cyan-400: #22d3ee;
  --color-teal-400: #2dd4bf;

  /* Accents */
  --color-pink-500: #ec4899;
  --color-magenta-500: #d946ef;
  --color-rose-400: #fb7185;

  /* Brand accents — preferred green + burnt gold */
  --color-green-500: #3fa65a;
  --color-green-600: #2f8a47;
  --color-green-700: #246635;
  --color-gold-500: #c89a2b;
  --color-gold-600: #a8801e;
  --color-gold-700: #7d5e13;

  /* Neutrals */
  --color-ink: #0f172a;
  --color-ink-muted: #475569;
  --color-ink-soft: #64748b;
  --color-line: #e2e8f0;
  --color-line-soft: #eef2f7;
  --color-surface: #ffffff;
  --color-surface-tint: #f8fafc;
  --color-surface-cool: #eff3fb;

  /* Background washes */
  --color-wash-hero: linear-gradient(135deg, #f4f6fb 0%, #eef2fb 40%, #e8f4fa 100%);
  --color-wash-results: linear-gradient(180deg, #eef2fb 0%, #f4f6fb 100%);
  --color-wash-cta: linear-gradient(135deg, var(--color-navy) 0%, #173b75 50%, var(--color-sky-blue) 100%);

  /* Text gradient for emphasized word */
  --color-accent-text: linear-gradient(90deg, var(--color-cyan-400) 0%, var(--color-sky-blue) 45%, var(--color-navy) 100%);

  /* Card accent bars */
  --color-bar-warm: linear-gradient(90deg, #ec4899 0%, #f472b6 50%, #fb7185 100%);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -8px rgba(15, 23, 42, 0.06);

  /* ─── Typography Scale (clamp: mobile → fluid → desktop) ─── */
  --font-h1: clamp(32px, 5.2vw, 64px);
  --font-h2: clamp(30px, 3.2vw, 40px);
  --font-h3: clamp(28px, 1.8vw, 36px);
  --font-h4: clamp(24px, 1.5vw, 32px);
  --font-h5: clamp(22px, 1.3vw, 28px);
  --font-h6: clamp(20px, 1.1vw, 24px);
  --font-body: clamp(15px, 1.1vw, 16px);
  --font-small: clamp(13px, 0.9vw, 14px);
  --font-lede: clamp(16px, 1.3vw, 18px);
  --font-eyebrow: 11px;
  --font-card-title: clamp(15px, 1.2vw, 16px);

  /* ─── Spacing Scale (clamp: mobile → fluid → desktop) ─── */
  --space-section: clamp(60px, 8vw, 110px);
  --space-section-sm: clamp(40px, 5vw, 56px);
  --space-hero: clamp(60px, 7vw, 90px);
  --space-intro-bottom: clamp(36px, 4vw, 56px);
  --space-container: clamp(20px, 3vw, 32px);

  /* ─── On-Dark Text Colors ─── */
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  zoom: 1.2;
}

h1, h2, h3, h4, h5 {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--color-navy);
	margin: 0 0 30px 0;
}

h1 {
  font-size: var(--font-h1);
}

h2 {
  font-size: var(--font-h2);
}

h3 {
  font-size: var(--font-h3);
}

h4 {
  font-size: var(--font-h4);
}
h5 {
  font-size: var(--font-h5);
}
h6 {
  font-size: var(--font-h6);
}

p,
ul,
ol {
  margin-bottom: 30px;
}
li {
	list-style-position: inside;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.5s;
}

/* ============ FLEX & LAYOUT UTILITIES ============ */
.d-flex {
  display: flex;
  flex-wrap: wrap;
}

.inline-flex {
  display: inline-flex;
}

.flex-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

/* Gap utilities */
.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.gap-32 {
  gap: 32px;
}

.gap-40 {
  gap: 40px;
}

.gap-72 {
  gap: 72px;
}

/* ============ FONT-SIZE UTILITY CLASSES ============ */
/* Use on any element to override its default size.                 */
/* Example: <h2 class="font-h3"> → renders as h2 tag, h3 font-size */
.font-h1 {
  font-size: var(--font-h1) !important;
}

.font-h2 {
  font-size: var(--font-h2) !important;
}

.font-h3 {
  font-size: var(--font-h3) !important;
}

.font-h4 {
  font-size: var(--font-h4) !important;
}

.font-h5 {
  font-size: var(--font-h5) !important;
}

.font-h6 {
  font-size: var(--font-h6) !important;
}

.font-body {
  font-size: var(--font-body) !important;
}

.font-lede {
  font-size: var(--font-lede) !important;
}

.font-sm {
  font-size: var(--font-small) !important;
}

.font-eyebrow {
  font-size: var(--font-eyebrow) !important;
}

.font-card-title {
  font-size: var(--font-card-title) !important;
}

/* ============ POSITION UTILITIES ============ */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-visible {
  overflow: visible;
}

/* Z-index scale */
.z-0 {
  z-index: 0;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Flex shrink */
.shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-container);
}

/* Section padding utilities (toggled by ACF section_remove_top/bottom_padding) */
.pt0 {
  padding-top: 0 !important;
}

.pb0 {
  padding-bottom: 0 !important;
}

/* Section padding — attach to <section> tags, replaces per-section padding */
.section-pad {
  padding: var(--space-section) 0;
}

.section-pad-sm {
  padding: var(--space-section-sm) 0;
}

/* Shared intro block used across services, results, recognition, press */
.section-intro {
  max-width: 680px;
  margin-bottom: var(--space-intro-bottom);
}

.section-intro p {
  font-size: 15px;
  color: var(--color-ink-muted);
  line-height: 1.7;
}

/* Card title — shared across service-card, award-card, press-card */
.card-title {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-card-title);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--color-ink);
  margin-bottom: 10px;
}

/* Read-more link with animated arrow gap */
.link-arrow {
  font-size: 13px;
  color: var(--color-sky-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 8px;
}

/* Text alignment utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}
.two-column-list {
	column-count: 2;
	margin: 0 0 30px 0;
	list-style-position: inside;
}
/* Shared eyebrow used across sections */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sky-blue);
  margin-bottom: 18px;
}

.section-eyebrow.magenta {
  color: var(--color-pink-500);
}

.section-eyebrow.gold {
  color: var(--color-gold-600);
}

/* ============ NAVIGATION ============ */
.nav {
  zoom: 0.85;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-inner {
  padding: 18px 32px;
  max-width: 1280px;
  margin: 0 auto;
}


.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* WordPress custom_logo wrapper */
.logo_wrap {
  gap: 10px;
}

.custom-logo-link {
	display: flex;
	height: 44px;
}

.custom-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links>li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-ink-muted);
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover {
  color: var(--color-navy-800);
}

/* Desktop Dropdowns */
.nav-links li {
  position: relative;
}

.nav-links ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-line-soft);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.nav-links li:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links ul.sub-menu li {
  width: 100%;
}

.nav-links ul.sub-menu a {
  padding: 8px 20px;
  display: block;
  font-size: 13.5px;
}

.nav-links ul.sub-menu a:hover {
  background: var(--color-surface-tint);
}

/* Nested Dropdowns (Level 3+) */
.nav-links ul.sub-menu ul.sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

.nav-links ul.sub-menu li:hover>ul.sub-menu {
  transform: translateX(0);
}

/* Chevrons for items with children */
.nav-links .menu-item-has-children>a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -2px;
  transition: transform 0.2s;
  transform-origin: center;
}

/* Rotate chevron on hover */
.nav-links .menu-item-has-children:hover>a::after {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-links ul.sub-menu .menu-item-has-children>a::after {
  transform: rotate(-45deg);
  margin-top: 0;
  margin-left: auto;
}

.nav-links ul.sub-menu .menu-item-has-children:hover>a::after {
  transform: rotate(-45deg);
  /* Keep it pointing right, no rotation needed for nested */
}

.nav-cta {
  gap: 10px;
}

/* ============ HAMBURGER ============ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ MOBILE DRAWER ============ */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer.is-open {
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 57, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .drawer-overlay {
  opacity: 1;
}

.drawer-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-line-soft);
}

.drawer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-right: -8px;
  transition: color 0.2s;
}

.drawer-close:hover {
  color: var(--color-ink);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li {
  margin-bottom: 4px;
  position: relative;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 12px 40px 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  transition: 0.5s;
}

.mobile-nav-links a:hover {
  color: var(--color-sky-blue);
}

/* Accordion Toggle */
.mobile-nav-links .submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  cursor: pointer;
  padding: 0;
}

.mobile-nav-links .submenu-toggle::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-left: auto;
}

.mobile-nav-links .is-open>.submenu-toggle::after {
  transform: rotate(-135deg);
}

.mobile-nav-links ul.sub-menu {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 0;
  display: none;
}

.mobile-nav-links ul.sub-menu a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-ink-muted);
}

.mobile-nav-links ul.sub-menu a:hover {
  color: var(--color-sky-blue);
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--color-line-soft);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.mobile-nav-links a:hover+.submenu-toggle,
.mobile-nav-links .submenu-toggle:hover {
  color: var(--color-sky-blue);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  line-height: normal;
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sky-blue) 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(45, 148, 216, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(45, 148, 216, 0.34);
}

.btn-ghost {
  background: #fff;
  color: var(--color-ink);
  border: 1px solid var(--color-line);
}

.btn-ghost:hover {
  border-color: var(--color-navy-600);
  color: var(--color-navy-800);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--color-cyan-400) 0%, var(--color-sky-blue-400) 100%);
  color: var(--color-navy);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ============ FOOTER ============ */
.footer {
  padding: 36px 0;
  background: #fff;
  border-top: 1px solid var(--color-line-soft);
}

.footer-inner {
  gap: 16px;
}

.footer-brand {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-ink-muted);
}

.footer-brand::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-pink-500);
}

.footer-copy,
.footer-tag {
  font-size: 12.5px;
  color: var(--color-ink-soft);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {

  .nav-links,
  .nav-cta {
    display: none !important;
    /* Hide desktop nav and CTA */
  }

  .hamburger {
    display: flex;
  }
  h1, h2, h3, h4, h5,p, ul, ol {
	margin: 0 0 24px 0;
}

}

@media (max-width: 768px) {
  .drawer-body {
    padding: 24px 20px;
  }

h1, h2, h3, h4, h5,p, ul, ol {
	margin: 0 0 20px 0;
}
}

@media (max-width: 600px) {
  .container {
    padding: 0 var(--space-container);
  }

  .nav-inner {
    padding: 14px 20px;
  }

  .brand-sub {
    display: none;
  }

  .drawer-panel {
    max-width: 100%;
  }
  h1, h2, h3, h4, h5,p, ul, ol {
	margin: 0 0 16px 0;
}
}