/*!
Theme Name: Creeks Edge
Theme URI: https://creeksedge.bbq/
Author: Cereza Studios
Author URI: https://cerezastudios.com/
Description: Custom WordPress theme for Creeks Edge Catering & BBQ.
Version: 08.24.2026.01
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: creeksedge
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
# Design Tokens — Creeks Edge BBQ brand system
--------------------------------------------------------------*/
:root {
	/* Brand palette — Creeks Edge BBQ */
	--c-char:       #0c0907;  /* darkest bg */
	--c-char-2:     #13100d;  /* bg layer 2 */
	--c-char-3:     #1d1713;  /* bg layer 3 */
	--c-char-4:     #2a201a;  /* bg layer 4 */
	--c-ember:      #d7451e;  /* primary accent / CTAs */
	--c-ember-deep: #a52f11;  /* ember hover / pressed */
	--c-amber:      #e9a23a;  /* secondary accent / labels */
	--c-amber-deep: #b5781e;  /* amber hover / pressed */
	--c-bone:       #ebe2cf;  /* highlighted / heading text */
	--c-black:      #000000;
	--c-cream:        #f3ece0;  /* body text */
	--c-cream-muted:  #b9ac98;  /* muted text */
	--c-cream-low:    #7d7164;  /* low-contrast text */
	--c-rule:       #2a2018;  /* dividers */
	--c-char-deep:  #050403;  /* deepest bg (below --c-char) */

	/* Layout */
	--c-max:        1300px;             /* max content width */
	--c-gutter:     clamp(20px, 5vw, 80px);  /* section side padding */
	--c-header-h:   84px;               /* fixed header height */

	/* Legacy alias — kept for existing usages */
	--c-line:      var(--c-rule);

	/* Effects */
	--c-shadow:      rgba(0, 0, 0, 0.50);
	--c-shadow-soft: rgba(0, 0, 0, 0.25);
	--c-divider:     rgba(235, 226, 207, 0.10);
	--c-divider-2:   rgba(235, 226, 207, 0.25);

	/* Semantic aliases */
	--color-bg:          var(--c-char);
	--color-bg-dark:     var(--c-char);
	--color-text:        var(--c-cream);
	--color-text-invert: var(--c-bone);
	--color-accent:      var(--c-ember);
	--color-accent-2:    var(--c-amber);
	--color-link:        var(--c-amber);
	--color-link-hover:  var(--c-ember);

	/* Typography */
	--font-head:   "Alfa Slab One", Georgia, serif;
	--font-body:   "DM Sans", system-ui, sans-serif;
	--font-accent: "Staatliches", "Oswald", sans-serif;
	--font-mono:   monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;

	/* Font-size scale (px) */
	--fs-10:   0.625rem;
	--fs-12:   0.75rem;
	--fs-14:   0.875rem;
	--fs-15:   0.9375rem;
	--fs-16:   1rem;
	--fs-18:   1.125rem;
	--fs-20:   1.25rem;
	--fs-22:   1.375rem;
	--fs-24:   1.5rem;
	--fs-30:   1.875rem;
	--fs-32:   2rem;
	--fs-40:   2.5rem;
	--fs-48:   3rem;
	--fs-56:   3.5rem;
	--fs-62:   3.875rem;
	--fs-80:   5rem;
	--fs-120:  7.5rem;

	/* Layout */
	--maxw-wide:   1500px;
	--maxw:        1300px;
	--maxw-narrow: 780px;
	--radius:      100px;
	--shadow-card: 0 18px 16px rgba(0, 0, 0, 0.10);
}

/* --- Bootstrap 5 variable overrides ----------------------------------
   Map Bootstrap's --bs-* custom properties to the brand tokens so its
   components/utilities inherit the Creeks Edge palette. style.css is
   enqueued after bootstrap.min.css, so these :root values win.
   Note: in Bootstrap 5.2 a few component colors are compiled from Sass
   (not var-driven); the *-rgb pairs below cover the utility classes
   (.text-*, .bg-*, .border-*) that use rgba(var(--bs-*-rgb)). */
:root {
	--bs-body-font-family:  var(--font-body);
	--bs-body-bg:           var(--c-char);
	--bs-body-color:        var(--c-cream);
	--bs-body-color-rgb:    243, 236, 224;   /* --c-cream  #f3ece0 */
	--bs-emphasis-color:    var(--c-bone);
	--bs-secondary-color:   var(--c-cream-muted);
	--bs-tertiary-color:    var(--c-cream-low);
	--bs-border-color:      var(--c-rule);

	--bs-link-color:            var(--c-amber);
	--bs-link-hover-color:      var(--c-ember);
	--bs-link-color-rgb:        233, 162, 58;  /* --c-amber  #e9a23a */
	--bs-link-hover-color-rgb:  215, 69, 30;   /* --c-ember  #d7451e */

	--bs-primary:        var(--c-ember);
	--bs-primary-rgb:    215, 69, 30;    /* --c-ember      #d7451e */
	--bs-secondary:      var(--c-amber);
	--bs-secondary-rgb:  233, 162, 58;   /* --c-amber      #e9a23a */
	--bs-dark:           var(--c-char);
	--bs-dark-rgb:       12, 9, 7;       /* --c-char       #0c0907 */
	--bs-light:          var(--c-bone);
	--bs-light-rgb:      235, 226, 207;  /* --c-bone       #ebe2cf */
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Animations */
@view-transition {
  navigation: auto;
  types: bounce slide;
}
/* This one will be used! */ :active-view-transition-type(bounce) {
  &::view-transition-old(page) {
    /* Custom Animation */
  }
  &::view-transition-new(page) {
    /* Custom Animation */
  }
}
/* This one won't be used*/ :active-view-transition-type(slide-in) {
  &::view-transition-old(page) {
    /* Custom Animation */
  }
  &::view-transition-new(page) {
    /* Custom Animation */
  }
}
/* initial hidden state */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 25% cover 45%;
}
/* Sections
	 ========================================================================== */

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

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

/* 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: var(--font-mono);
	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: 800;
}

/**
 * 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: var(--font-mono);
	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;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body:not(.wp-admin),
.site button,
.site input,
.site select,
.site optgroup,
.site textarea {
	color: var(--c-black);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
}

/* Headings + body — homepage display styling (Alfa Slab One, fluid sizes),
   dark-theme colors. Homepage sections override via .section scoping. */
h1,  h2, .site h3, .site h4, .site h5, .site h6 {
    clear: both;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.05;
}
h1, .h1 {
    font-size: clamp(var(--fs-40), 6vw, var(--fs-62));
    line-height: .9;
    color: var(--c-ember);
    margin-bottom: 1rem;
}
h1.page-title, h1.entry-title {
    margin: 0 auto;
}
.h2, h2 {
    font-family: var(--font-head);
    font-size: clamp(var(--fs-32), 5.2vw, var(--fs-48));
    line-height: 1.1;
    /* A malformed "color: var(--c-ember));" was here and never applied.
       Removed to keep the rule valid; h2 colour is set per section. */
    letter-spacing: .05em;
    margin: 0 0 .5em;
}
.bone .h2 {
    color: var(--c-bone);
}
.h3, h3 {
    font-size: clamp(var(--fs-22), 2.4vw, var(--fs-30));
    line-height: 1.2;
    color: var(--c-bone);
    margin-bottom: 1rem;
}
.h4, h4 {
    font-size: var(--fs-18);
    line-height: 1.2;
    color: var(--c-amber);
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}
.h5, h5 {
    font-size: var(--fs-22);
    line-height: 1.4;
    color: var(--c-bone);
    font-weight: 300;
    margin: 1rem 0;
}
.h6, h6 {
    font-size: var(--fs-12);
    line-height: 1.2;
    color: var(--c-cream-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 1rem 0 0;
}
p {
    font-size: var(--fs-16);
    line-height: 1.6;
    margin-bottom: 1.25em;
    font-weight: 400;
}
@media only screen and (min-width: 48em) {
p {
    font-size: var(--fs-18);
}
}
p.intro {
    line-height: 1;
    padding-bottom: .5rem;
}
.no-margin {
	margin-bottom: 0;
}
.mark, mark {
    padding: 0;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: var(--c-char-2);
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: var(--font-mono);
}

abbr,
acronym {
	border-bottom: 1px dotted var(--c-cream-low);
	cursor: help;
}

mark,
ins {
	background: var(--c-bone);
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--c-char);
    position: relative;
}

hr, .wp-block-separator {
    border: none;
    border-top: 1px solid var(--c-divider);
    background-color: var(--c-cream-muted);
    opacity: 1;
    margin: 1.5rem 0;
}
ul,
ol {
	margin: 0;
    padding-left: 1rem;
}
ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 1.25em;
	margin-left: 1em;
    font-size: var(--fs-16);
    line-height: 1.6;
}
li {
    margin-bottom: .5em;
    font-size: var(--fs-16);
    line-height: 1.6;
}
@media only screen and (min-width: 48em) {
li > ul,
li > ol,
li {
    font-size: var(--fs-18);
}
}

li:last-child {
    margin-bottom: .5em;
}
@media only screen and (min-width: 49em) {
li:last-child {
    margin-bottom: 1.25em;
}
}
li::marker {
color: var(--c-ember);
}
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: 0;
}

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

/* Links
--------------------------------------------- */
a, a:visited {
    color: var(--c-char);
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: var(--c-ember);
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--c-black);
	border: 1px solid var(--c-line);
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--c-black);
}

select {
	border: 1px solid var(--c-char);
}

textarea {
	width: 100%;
}
label, p.logged-in-as {
    display: inline-block;
    font-size: var(--fs-14) !important;
}
.comment-form input#author, .comment-form input#email, .comment-form input#url {
    width: 100%;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header#masthead {
    background-color: var(--c-bone);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* --- Header CTA widget ------------------------------------------------
   The 'Top Bar' widget area now sits on the header row (in .site-top__right),
   right-aligned next to the primary menu. */
.top-bar__widget {
    display: flex;
    align-items: center;
}
@media screen and (min-width: 62em) {
header#masthead {
}
}

/* --- Shrinking sticky header ------------------------------------------
   sticky-header.js adds .header-shrink to <body> once scrolled past a
   small threshold; these rules compact the bar (smaller logo, tighter
   padding, drop shadow). Animatable props only, so it eases smoothly. */
.site-top {
    transition: padding 0.3s ease;
}
.custom-logo {
    height: auto;
    width: 460px;
    max-width: 100%;
    transition: width 0.3s ease;
}
body.header-shrink #masthead {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
/* Mobile: shrink the logo only — leave the site-top padding alone.
   (Desktop site-top padding shrink is handled in the 62em block below.) */
body.header-shrink .custom-logo {
    width: 100px;
}
body.header-shrink .logo_wrap {
    width: 110px;
    left: .5rem;
}
@media screen and (min-width: 62em) {
	body.header-shrink .custom-logo {
    width: 220px;
}
body.header-shrink .logo_wrap {
    width: 240px;
}
    body.header-shrink .site-top {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    body.header-shrink .custom-logo {
        width: 340px;
    }
    body.header-shrink .logo_wrap {
        width: 150px;
    }
}
/* Navigation
--------------------------------------------- */

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    flex-direction: column;
}
.primary-menu {
    max-width: 1200px;
    margin: auto;
    border-top: 1px solid var(--c-line);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 1rem;
}
.main-navigation {
    display: flex;
    flex-direction: row-reverse;
}
@media screen and (min-width: 62em) {
.main-navigation {
    display: flex;
    flex-direction: column;
}
}
.mobile-menu {
  display: block;
}
@media screen and (min-width: 62em) {
  .mobile.primary-menu, .mobile-menu {
    display: none;
  }
  .primary-navigation ul {
    display: flex;
    align-items: center;
  }
}
.mobile-menu {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100001;
}
ul#menu-top-menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}
ul#menu-top-menu li.menu-item {    
    width: auto;
    margin: 0 20px 0 0;
    border: none;
    list-style: none;
}
ul#menu-top-menu li.menu-item a {
    color: var(--c-cream-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: var(--fs-12);
}

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

.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;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 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;
}

.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;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* 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: var(--c-char-3);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--c-char);
	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;
}

/* Gtranslate */
.gtranslate_wrapper {
    border-left: solid 1px var(--c-ember-deep);
    padding-left: 0.5em !important;
}
.gglobe {
    padding: 0;
    height: 24px !important;
    width: 24px !important;
    background: var(--c-ember-deep);
    background-size: 17px 17px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1 !important;
}
/* Logo */
.logo_wrap {
    display: flex;
    justify-content: center;
    padding: 0;
    max-width: 100%;
    width: 125px;
    margin: 0;
    transition: width 0.3s ease;
    position: absolute;
    top: 0.5rem;
    left: .75rem;
}
@media screen and (min-width: 37.5em) {
.logo_wrap {
    width: 200px;
    top: 1rem;
    left: .5rem;
}
}
/* New Mobile Navigation */

.mobile-menu__checkbox {
  display: none;
}
.mobile-menu__button {
    background-color: var(--c-ember-deep);
    height: 38px;
    width: 36px;
    position: absolute;
    right: 1rem;
    top: 3rem;
    border-radius: 0;
    z-index: 2000;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
}
.menu-open .mobile-menu__button {
    position: fixed;
}
body.menu-open {
  overflow: hidden;
  height: 100vh;
}
/* 2. Menu open state (Fixed) */
.navi-toggle.is-open {
    position: fixed;
    /* Optional: change style when open, e.g., turn into 'X' */
}
.mobile-menu__background {
    height: 38px;
    width: 36px;
    border-radius: 0;
    position: absolute;
    right: 1rem;
    top: 3rem;
    background-image: radial-gradient(var(--c-char), var(--c-char-2));
    z-index: 1000;
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}
.mobile-menu__nav {
    height: calc(100vh - 100px);
    position: fixed;
    top: 100px;
    left: 0;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    width: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu__list {
    list-style: none;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0 0 120px;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__background {
  transform: scale(80);
    position: fixed;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__nav {
  opacity: 1;
  width: 100%;
  visibility: visible;
}
.mobile-menu__icon {
  position: relative;
    margin-top: 17px;
}
.mobile-menu__icon, .mobile-menu__icon::before, .mobile-menu__icon::after {
    width: 20px;
    height: 2px;
  background-color: var(--c-bone);
  display: inline-block;
}
.mobile-menu__icon::before, .mobile-menu__icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.2s;
}
.mobile-menu__icon::before {
  top: -6px;
}
.mobile-menu__icon::after {
  top:6px;
}
.mobile-menu__checkbox:checked + .mobile-menu__button .mobile-menu__icon {
  /* !important needed: the dark-restyle rule below paints all three lines
     bone with !important; this must win when open so only the X shows. */
  background-color: transparent !important;
}
.mobile-menu__checkbox:checked + .mobile-menu__button .mobile-menu__icon::before {
  top: 0;
  transform: rotate(135deg);
}
.mobile-menu__checkbox:checked + .mobile-menu__button .mobile-menu__icon::after {
  top: 0;
  transform: rotate(-135deg);
}
ul.navbar-nav li {
    padding: 10px 0;
}
ul.navbar-nav li  a {
    text-align: center;
    white-space: pre-wrap;
    font-family: var(--font-head);
    font-size: var(--fs-20);
    letter-spacing: 1px;
    color: var(--c-bone);
    font-weight: 500;
    text-decoration: none;
}
ul.navbar-nav li  a:hover, ul.navbar-nav li  a:active {
color: var(--c-ember);
}
/* Mobile menu: center the social links + translate (globe) row */
.mobile-menu__nav .wp-block-group {
    justify-content: center;
    width: 100%;
	padding: 1rem 2rem 1rem 1rem;
}
.mobile-menu__nav ul.wp-block-social-links {
    justify-content: center;
}
/* Site Top Bar */
.site-top {
    display: flex;
    justify-content: center;
    padding: 2.25rem 0 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
}
@media screen and (min-width: 62em) {
.site-top {
    justify-content: flex-end;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--c-shadow-soft);
}
}
.site-top p {
    font-size: var(--fs-14);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-char);
    margin-right: 15px;
}
.site-top p a {
    font-size: var(--fs-18);
    text-decoration: none;
    font-weight: 400;
}

/* Interior Featured Header */
.header-wrap {
    background-position: center center !important;
    background-size: cover !important;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}
@media screen and (min-width: 37em) {
.header-wrap {
    height: 300px;
    }
}

/* posts single*/
.breadcrumbs {
    color: var(--c-bone);
}
.home .breadcrumbs {display: none;}
nav.rank-math-breadcrumb {
    max-width: 800px;
    margin: auto;
    display: flex;
    padding: 10px 0;
    justify-content: flex-end;
    align-items: center;
}

nav.rank-math-breadcrumb p {
    color: var(--c-bone);
    font-size: var(--fs-12);
}
nav.rank-math-breadcrumb p a {
    color: var(--c-ember);
}
/* Comments */
.comments-area {
    margin: auto;
    display: flex;
    max-width: 1200px;
    justify-content: center;
    flex-direction: column;
    padding: 0 2rem 1rem;
}
.comment-respond {
    width: 100%;
}

/* Archive — category & tag labels */
.tags {
    margin-bottom: 1rem;
}
.tags a {
    margin: 0 5px 5px 0;
    background-color: var(--c-char-3);
    color: var(--c-char);
    display: inline-block;
    font-size: var(--fs-10);
    font-family: var(--font-head);
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 5px 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.tags a:hover {
    color: var(--c-ember);
}

/* Comments */
.comments-area {
    padding: 0 1rem 1rem;
}
@media only screen and (min-width: 62em) {
.comments-area {
    padding: 0 2rem 1rem;
}
}
.comments-box {
    flex-basis: 75%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
}
h2.comments-title {
    border-bottom: 1px solid var(--c-line);
    padding: 0 0 1rem 0;
    margin: 0 0 1rem 0;
}
ol.comment-list {
    margin: 0;
    padding: 0;
}
ol.comment-list .comment {
    border-bottom: 1px solid var(--c-line);
    margin: 0 0 1.5rem;
}
ol.comment-list ol.children .comment {
    border-bottom: 0 solid var(--c-line);
}
ol.comment-list ol.children {
    margin-left: .25rem;
    padding-left: 1rem;
}
.reply {
    margin-bottom: 2rem;
    font-size: var(--fs-14);
}
em.comment-awaiting-moderation {
    font-size: var(--fs-14);
}
time, p.comment-notes {
    font-size: var(--fs-14);
}
p.comment-form-author, p.comment-form-email, p.comment-form-url {
    display: inline-block;
    width: 100%;
}
@media only screen and (min-width: 622px) {
p.comment-form-author, p.comment-form-email {
    display: inline-block;
    width: 32.25%;
    margin-right: 1%;
}
p.comment-form-url {
    display: inline-block;
    width: 32%;
}
}

/* Sidebar */
.interior .wp-block-group__inner-container {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

/* Instagram */
#sb_instagram #sbi_images {
    margin: 0 auto;
    padding: 0 !important;
}


/* Footer */
footer p {
    font-size: var(--fs-14);
}
footer p a, footer a:visited {
    text-decoration: none;
    color: var(--c-bone);
}
footer p a:hover, footer a:active {
    text-decoration: underline;
        color: var(--c-ember);
}
/* Current-page link in the footer nav */
.site-footer a.is-current {
    color: var(--c-ember);
    font-weight: 600;
}

/*Homepage */
.shadow {
    box-shadow: 0px 0px 15px var(--c-shadow);
}
/* Projects */
.wp-block-post-terms {
    box-sizing: border-box;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.wp-block-post-terms a, .wp-block-post-terms a:visited {
    font-size: var(--fs-14);
    line-height: 1.2;
    color: var(--c-char);
    font-family: var(--font-head);
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 0 0.5rem;
    text-decoration: none;
}
.wp-block-post-terms a:hover, .wp-block-post-terms a:focus {
    color: var(--c-ember);
}

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

.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%;
}

.nav-next a, .nav-previous a , .nav-next a:visited, .nav-previous a:visited {
    color: var(--c-ember) !important;
}
.nav-next a:hover, .nav-previous a:hover , .nav-next a:focused, .nav-previous a:focused {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Creeks Edge — palette + typography
# Appended last so it overrides the Underscores starter styles.
--------------------------------------------------------------*/

/* --- Base typography ------------------------------------------------ */
body:not(.wp-admin),
.site button,
.site input,
.site select,
.site optgroup,
.site textarea {
	font-family: var(--font-body);
	color: var(--c-cream);
}

/* Lora italic for true blockquotes / pull-quotes (XD accent face) */
blockquote,
.wp-block-quote,
.is-style-large {
	font-family: var(--font-accent);
	font-style: italic;
	color: var(--c-char);
}

/* --- Links ---------------------------------------------------------- */
a, a:visited { color: var(--color-link); }
a:hover, a:focus, a:active { color: var(--color-link-hover); }

/* --- Buttons — one ember CTA look for every button ------------------
   The homepage hero CTA is the single button style site-wide. Targets the
   standard selectors only (WP block button, WP element button, native
   <button>, form submit inputs, and the top-bar widget link). */
.wp-block-button__link,
.wp-block-button__link:visited,
.wp-element-button,
.site button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.top-bar__widget a {
	display: inline-block;
	background: var(--c-ember-deep);
	color: var(--c-bone);
	font-family: var(--font-accent);
	font-size: 1.125rem;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.625rem 0.9375rem;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.wp-block-button__link:hover,
.wp-block-button__link:active,
.wp-element-button:hover,
.site button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.top-bar__widget a:hover,
.top-bar__widget a:focus {
	background: var(--c-bone);
	color: var(--c-rule);
}

/* Arrow icon after the label, following the text color. Scoped to the
   CTA block buttons so utility <button>s (search, form submit) stay clean.
   Nudges right on hover. */
.wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.5em;
	vertical-align: -0.05em;
	background-color: currentColor;
	-webkit-mask: url("assets/arrow-right.svg") no-repeat center / 0.875rem 0.875rem;
	        mask: url("assets/arrow-right.svg") no-repeat center / 0.875rem 0.875rem;
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.wp-block-button__link:hover::after,
.wp-block-button__link:active::after {
	transform: translateX(0.3em);
}

/* Desktop: larger buttons + arrow (mobile-first — base sizes are smaller). */
@media (min-width: 62em) {
	.wp-block-button__link,
	.wp-element-button,
	.site button,
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	.top-bar__widget a {
		font-size: 1.375rem;
		padding: 0.8125rem 1.5rem;
	}
	.wp-block-button__link::after {
		-webkit-mask-size: 1.0625rem 1.0625rem;
		        mask-size: 1.0625rem 1.0625rem;
	}
}

/* Cream (reversed) variant — pick "Cream" in the block Styles panel
   (is-style-cream) or add the is-cream class. Starts cream with brown
   text, reverses to the ember look on hover. */
.is-cream .wp-block-button__link,
.is-style-cream .wp-block-button__link,
.wp-block-button__link.is-cream {
	background: var(--c-bone);
	color: var(--c-rule);
}
.is-cream .wp-block-button__link:hover,
.is-cream .wp-block-button__link:active,
.is-style-cream .wp-block-button__link:hover,
.is-style-cream .wp-block-button__link:active,
.wp-block-button__link.is-cream:hover,
.wp-block-button__link.is-cream:active {
	background: var(--c-ember-deep);
	color: var(--c-bone);
}

/* --- Form fields ---------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	border: 0 solid var(--c-line);
	border-radius: var(--radius);
	padding: 0.7em 0.85em;
	font-family: var(--font-body);
}
input:focus, textarea:focus, select:focus {
	border-color: var(--c-ember);
	outline: none;
}

/*==============================================================
# Overlay search  (header .search-trigger -> #search-overlay)
# Toggle handled by js/search-overlay.js; markup in footer.php.
==============================================================*/
.site-top__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}
/* Header trigger (magnifier icon) */
.search-trigger {
    align-items: center;
    background: var(--c-ember-deep);
    border: 0;
    border-radius: 100px;
    padding: 2px;
    margin-left: 0.5rem;
    line-height: 0;
    color: var(--c-bone);
    cursor: pointer;
    transition: transform 0.3s ease-out;
    will-change: transform;
    width: 32px;
    height: 32px;
}
.search-trigger svg { width: 22px; height: 22px; fill: currentColor; }
.search-trigger:hover,
.search-trigger:focus { color: var(--c-bone); background:  var(--c-ember-deep);
    transform: scale(1.1); }

/* Full-screen overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(15, 26, 46, 0.96); /* var(--c-char) @ .96 */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; visibility: visible; }

.search-overlay__form {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: min(720px, 92vw);
	border-bottom: 2px solid var(--c-ember);
	transform: translateY(12px);
	transition: transform 0.3s ease;
}
.search-overlay.is-open .search-overlay__form { transform: translateY(0); }

.search-overlay .search-overlay__input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--c-bone) !important;
	font-family: var(--font-head);
	font-size: clamp(1.5rem, 4vw, 2.75rem);
	padding: 0.4em 0;
}
.search-overlay .search-overlay__input::placeholder { color: var(--c-cream-muted); opacity: 0.8; }
.search-overlay .search-overlay__input:focus { outline: none; }

.search-overlay__submit {
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	color: var(--c-ember);
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: var(--fs-16);
	cursor: pointer;
}
.search-overlay__submit:hover { color: var(--c-bone); background: transparent; }

.search-overlay__close {
	position: absolute;
	top: clamp(1rem, 4vw, 2.5rem);
	right: clamp(1rem, 4vw, 2.5rem);
	background: transparent;
	border: 0;
	color: var(--c-bone);
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
}
.search-overlay__close:hover { color: var(--c-ember); background: transparent; }

body.search-overlay-open { overflow: hidden; }

/* Mobile: social/translate widget lives in the hamburger menu, so hide its
   top-bar duplicate below the 62em (~991px) breakpoint. Search stays in the top bar. */
/* Header (mobile-first): the CTA sits in a full-width strip at the top with
   the inline menu hidden — the off-canvas hamburger handles navigation. The
   min-width: 62em block below restores the single inline desktop row. */
/* Search icon sits next to the hamburger button (top-right) */
.site-top .search-trigger {
    position: absolute;
    top: 10px;
    right: calc(1rem + 45px);
    z-index: 2000;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    justify-content: center;
}
/* Consultation CTA becomes a full-width bar at the very top */
.site-top {
    flex-wrap: wrap;
}
.site-top__right {
    order: -1;
    flex: 0 0 calc(100% - 7rem);
    width: calc(100% - 7rem);
    margin: 0;
    padding: 0.75rem;
    background: var(--c-char);
    justify-content: flex-end;
}
.site-top__right .main-navigation { display: none; }
/* Slightly smaller CTA button on the mobile strip */
.site-top__right .wp-block-button__link,
.site-top__right .wp-element-button,
.site-top__right .top-bar__widget a {
    font-size: 1.125rem;
    padding: 0.625rem 0.9375rem;
}
.site-top__right .wp-block-button__link::after {
    -webkit-mask-size: 0.875rem 0.875rem;
            mask-size: 0.875rem 0.875rem;
}
.site-top__right .wp-block-group { justify-content: flex-start; }
.site-top__right p {
    margin: 0;
    color: var(--c-bone);
    text-align: left !important;
    line-height: 1;
    font-size: var(--fs-12);
}
.site-top__right p a { color: var(--c-ember); }

/* Desktop (>= 62em): restore the single inline header row. */
@media screen and (min-width: 62em) {
    .site-top .search-trigger {
        position: static;
        width: auto;
        height: auto;
        margin-left: 0.5rem;
        border-radius: 100px;
    }
    .site-top { flex-wrap: nowrap; }
    .site-top__right {
        order: 0;
        flex: 0 1 auto;
        width: auto;
        padding: 0;
        background: none;
    }
    .site-top__right .main-navigation { display: flex; }
    .site-top__right .wp-block-button__link,
    .site-top__right .wp-element-button,
    .site-top__right .top-bar__widget a {
        font-size: 1.375rem;
        padding: 0.8125rem 1.5rem;
    }
    .site-top__right .wp-block-button__link::after {
        -webkit-mask-size: 1.0625rem 1.0625rem;
                mask-size: 1.0625rem 1.0625rem;
    }
}
/* FAQs*/
h3.rank-math-question {
    color: var(--c-ember);
}
.rank-math-answer p {
    color: var(--c-cream);
}
/* Hero: first cover block renders instantly — no AOS entrance animation,
   so above-the-fold content never waits on aos.js during first visits. */
.entry-content > .wp-block-cover:first-child [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Press / category excerpt cards (content-excerpt.php) */
.press-excerpt {
    padding: 2rem 1rem;
}

@media only screen and (min-width: 48em) {
.press-excerpt {
    padding: 3rem 2rem;
}
}
/* Semantic h2 that must look like an h3 (press cards, footer brand). */
h2.h3 {
	letter-spacing: normal;
}
.press-excerpt__text {
	color: var(--c-bone);
	margin: 0;
}

/* Press archive: 3 cards across, centered */
.press-grid.wp-block-columns {
	flex-wrap: wrap !important;
	justify-content: center;
	align-items: stretch;
	gap: 1.5rem !important;
}
/* Mobile-first: stacked below 62em, 3-across above it. */
.press-grid.wp-block-columns > .wp-block-column {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
@media only screen and (min-width: 62em) {
	.press-grid.wp-block-columns > .wp-block-column {
		flex: 0 1 calc((100% - 3.5rem) / 3) !important;
		max-width: calc((100% - 3.5rem) / 3) !important;
	}
}

/* Post navigation buttons styled like the Read More CTA */
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 1rem;
}
.posts-navigation .nav-links a,
.post-navigation .nav-links a {
	display: inline-flex;
	align-items: center;
	background: transparent;
	color: var(--c-ember);
	border: none;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-15);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 0;
	text-decoration: none;
	transition: color .25s ease, transform .25s ease;
}
.posts-navigation .nav-links a:hover,
.posts-navigation .nav-links a:focus,
.post-navigation .nav-links a:hover,
.post-navigation .nav-links a:focus {
	color: var(--c-cream-muted);
}
.posts-navigation .nav-links .nav-subtitle,
.post-navigation .nav-links .nav-subtitle {
	display: inline;
}
/* Next / newer = arrow after, pointing right */
.posts-navigation .nav-next a::after,
.post-navigation .nav-next a::after {
	content: "";
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.6em;
	background-color: currentColor;
	-webkit-mask: url("assets/arrow-right.svg") no-repeat center / 17px 17px;
	        mask: url("assets/arrow-right.svg") no-repeat center / 17px 17px;
	transition: transform .25s ease;
}
.posts-navigation .nav-next a:hover::after,
.post-navigation .nav-next a:hover::after {
	transform: translateX(0.3em);
}
/* Previous / older = arrow before, rotated to point left */
.posts-navigation .nav-previous a::before,
.post-navigation .nav-previous a::before {
	content: "";
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-right: 0.6em;
	background-color: currentColor;
	-webkit-mask: url("assets/arrow-right.svg") no-repeat center / 17px 17px;
	        mask: url("assets/arrow-right.svg") no-repeat center / 17px 17px;
	transform: rotate(180deg);
	transition: transform .25s ease;
}
.posts-navigation .nav-previous a:hover::before,
.post-navigation .nav-previous a:hover::before {
	transform: rotate(180deg) translateX(0.3em);
}

/* Search results / 404 search form — match the contact form style:
   square full-width input with the submit button underneath.
   (Header search overlay uses .search-overlay__* and is unaffected.) */
.search-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
}
.search-form label {
	display: block;
	width: 100%;
	margin: 0;
}
.search-form .search-field {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid var(--c-bone);
	border-radius: 0;
	background: var(--c-bone);
	color: var(--c-char);
	font-size: 1rem;
}
.search-form .search-submit {
	align-self: flex-start;
	margin: 0;
	border-radius: 100px;
}

/* Offset anchor targets below sticky header */
[id^="fn"],
[id^="ref"] {
    scroll-margin-top: 160px;
}


/*=======================================================================
  Creeks Edge — Homepage / Design System
  Built from Figma "Creeks Edge — Homepage Layout"
  Fonts: Alfa Slab One (display), Staatliches (labels), DM Sans (body)
=======================================================================*/

/* Design tokens consolidated into the main :root at the top of this file
   (--c-* / --font-* / --c-max/gutter/header-h). */

/* ----- Base ----- */
body.home,
body.page-template-front-page,
.creeksedge-home { background: var(--c-char); color: var(--c-bone); font-family: var(--font-body); }
.creeksedge-home *, .creeksedge-home *::before, .creeksedge-home *::after { box-sizing: border-box; }

.section { position: relative; width: 100%; overflow: hidden; }
/* .wrap is always applied to a .wp-block-group, so its width/gutters come from
   blocks.css, alongside .wp-block-cover__inner-container — one place for both. */

.eyebrow { font-family: var(--font-accent); color: var(--c-amber); text-transform: uppercase; letter-spacing: .06em; font-size: clamp(0.875rem, 1.3vw, 1.25rem); margin: 0 0 .35em; }


/* Buttons */
.link-arrow { font-family: var(--font-accent); color: var(--c-ember); text-decoration: none; font-size: 1.375rem; }
.link-arrow:hover { color: var(--c-amber); }

/* Fallback brand text (header.php shows this when no custom logo is set;
   final sizing comes from the .site-branding.logo .brand__text rule below). */
.brand__text { font-family: var(--font-head); color: var(--c-bone); font-size: 1.375rem; line-height: 1; }

/* ----- Hero ----- */
.hero {
    position: relative;
    background: var(--c-char);
    padding: 4rem 1rem 1rem;
}
@media only screen and (min-width: 32.5em) {
.hero { padding: 7rem 1rem 1rem; }
}
@media only screen and (min-width: 48em) {
.hero { padding: 9rem 2rem 2rem; }
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow { font-family: var(--font-accent); color: var(--c-amber); font-size: clamp(1rem, 1.6vw, 1.25rem); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.hero__title { font-family: var(--font-head); color: var(--c-bone); font-size: clamp(3.375rem, 8.2vw, 7.5rem); line-height: .98; margin: 0 0 .35em; }
.hero__title .accent { color: var(--c-ember); }
.hero__subtitle {
    font-family: var(--font-body);
    color: var(--c-bone);
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    margin: 0 0 14px !important;
    max-width: 742px;
}
.hero__tagline { font-family: var(--font-accent); color: var(--c-amber); font-size: clamp(1.5rem, 2.7vw, 2.4375rem); margin: 0 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.stats__row { display: flex; flex-wrap: wrap; gap: 30px; }
.stat__num { font-family: var(--font-head); color: var(--c-bone); font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1; display: inline-block; }
.stat__unit { font-family: var(--font-head); color: var(--c-amber); font-size: 1.25rem; margin-left: 6px; }
.stat__label { font-family: var(--font-accent); color: var(--c-cream-muted); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }

/* ----- Packages ----- */
.packages { background: var(--c-char); padding: 80px 0 90px; }
.section-head__intro { font-family: var(--font-body); color: var(--c-cream-muted); font-size: 1.125rem; line-height: 1.45; max-width: 568px; }
.pkg { position: relative; min-height: 334px; background: var(--c-char-3); border: 1px solid var(--c-rule); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.pkg__num { font-family: var(--font-head); color: var(--c-bone); font-size: 2.125rem; }
.pkg__body { position: relative; z-index: 2; padding: 0; margin: 0; }
.pkg__title { font-family: var(--font-head); color: var(--c-bone); font-size: clamp(1.75rem, 3vw, 2.375rem); margin: 0 0 6px; line-height: 1; }
.pkg__sub { font-family: var(--font-accent); color: var(--c-amber); font-size: 0.875rem; letter-spacing: .04em; margin: 0 0 14px; }
.pkg__price { font-family: var(--font-head); color: var(--c-bone); font-size: 1.125rem; }

/* ----- Events ----- */
.events { background: var(--c-bone); color: var(--c-rule); padding: 80px 0 90px; }
.events .h2 { color: var(--c-ember); margin-bottom: 30px; }
.event__day { font-family: var(--font-head); color: var(--c-ember); font-size: 3rem; line-height: .9; }
.event__month { font-family: var(--font-accent); color: var(--c-ember); font-size: 1.25rem; line-height: 1; }
.event__name { font-family: var(--font-head); color: var(--c-rule); font-size: 1.375rem; line-height: 1.1; margin: 0 0 4px; padding-top: 1rem; }

@media only screen and (min-width: 32.5em) {
.event__name { padding-top: 0; }
}
.event__loc { font-family: var(--font-body); font-weight: 500; color: var(--c-rule); font-size: 1rem; line-height: 1; }

.event__tag { font-family: var(--font-accent); color: var(--c-bone); background: var(--c-rule); font-size: 1.25rem; padding: 9px 22px; text-decoration: none; white-space: nowrap; transition: background .15s ease; grid-column: 1 / -1; justify-self: start; }
.event__tag:hover {
    background: var(--c-ember-deep);
    color: var(--c-bone);
}

/* ----- Testimonials ----- */
.testimonials { position: relative; background: var(--c-char-2); padding: 80px 0 90px; }
.testimonials .wrap { position: relative; z-index: 1; }
.tst { background: var(--c-char-3); border: 1px solid var(--c-rule); padding: 28px 30px 32px; position: relative; }
.tst__mark { font-family: var(--font-head); color: var(--c-ember); font-size: 5.625rem; line-height: .6; height: 46px; }
.tst__quote { font-family: var(--font-head); color: var(--c-bone); font-size: 1.5rem; line-height: 1.18; margin: 14px 0 22px; }
.tst__name { font-family: var(--font-accent); color: var(--c-amber); font-size: 1.25rem; letter-spacing: .04em; }
.tst__ctx { font-family: var(--font-body); color: var(--c-cream-muted); font-size: 0.875rem; margin-top: 4px; }

/* ----- Gallery / Straight off the grates ----- */
.gallery { background: var(--c-bone); color: var(--c-rule); padding: 80px 0 0; }
.gallery .section-head { margin-bottom: 32px; }
.gallery .h2 { color: var(--c-ember); }
.gallery .link-arrow { color: var(--c-rule); }
.gallery .link-arrow:hover { color: var(--c-ember); }

/* ----- Contact / Let's Feed 'Em ----- */
.card-dark { background: var(--c-char-3); border: 1px solid var(--c-rule); padding: 32px 34px; }
.contact__intro { font-family: var(--font-body); color: var(--c-cream-muted); font-size: 1.0625rem; line-height: 1.5; margin: 0 0 26px; max-width: 520px; }
.form { display: grid; grid-template-columns: 1fr; gap: 22px 28px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-accent); color: var(--c-amber); font-size: 1.25rem; letter-spacing: .03em; margin-bottom: 8px; }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(235,226,207,.3); color: var(--c-bone); font-family: var(--font-body); font-size: 1rem; padding: 6px 0 10px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-amber); }
.field textarea { resize: vertical; min-height: 54px; }
.form__submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.info dl { margin: 0; }
.info dt { font-family: var(--font-accent); color: var(--c-amber); font-size: 1.25rem; letter-spacing: .03em; margin-top: 22px; }
.info dt:first-child { margin-top: 0; }
.info dd { font-family: var(--font-head); color: var(--c-bone); font-size: 1.125rem; margin: 6px 0 0; line-height: 1.3; }
.info dd a { color: var(--c-bone); text-decoration: underline; text-underline-offset: 3px; }
.info dd a:hover { color: var(--c-amber); }
.social { display: flex; gap: 14px; margin-top: 10px; }
.social a { color: var(--c-bone); display: inline-flex; }
.social a:hover { color: var(--c-amber); }
.social svg { width: 23px; height: 23px; }

/* ----- Footer ----- */

/* ----- Responsive ----- */
@media (min-width: 561px) {
  .hero__cta { gap: 24px; }
  .stats__row { gap: clamp(40px, 8vw, 120px); }
}
@media (min-width: 881px) {
  .event__tag { grid-column: auto; justify-self: auto; }
  .form { grid-template-columns: 1fr 1fr; }
}
/* Contact & Gallery are native wp:columns / wp:gallery — their responsive
   column counts come from Gutenberg, so no breakpoint CSS is needed here. */

/*=======================================================================
  Creeks Edge — Gutenberg core-block adjustments
  Maps native block output (Cover, Group, Columns, Buttons, Gallery) to the
  Creeks Edge design. Paired with the patterns in inc/block-patterns.php.
=======================================================================*/

/* ----- Hero (Cover) ----- */
.hero.wp-block-cover { align-items: center; padding: calc(var(--c-header-h) + 40px) 0 60px; background: var(--c-char); }
.stats.wp-block-group { border-top: 1px solid rgba(235,226,207,.25); padding-top: 28px; margin-top: 8px; max-width: 900px; }
.stats__row.wp-block-group { display: flex; flex-wrap: wrap; gap: clamp(40px, 8vw, 120px); }
.stat.wp-block-group { min-width: 120px; }
.stat__num { font-family: var(--font-head); color: var(--c-bone); font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1; margin: 0; }
.stat__num .stat__unit { font-family: var(--font-head); color: var(--c-amber); font-size: 1.25rem; }
.stat__label { font-family: var(--font-accent); color: var(--c-cream-muted); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 0; }


/* ----- Package cards (Cover) ----- */
.pkg-grid.wp-block-group { display: grid; grid-template-columns: 1fr; gap: 2rem;  }
.pkg.wp-block-cover { min-height: 334px; border: 1px solid var(--c-rule); justify-content: space-between; padding: 2rem; }
.pkg .wp-block-cover__inner-container {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.pkg__foot.wp-block-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(235,226,207,.18);
    padding: 12px 0 0;
    margin-top: 14px;
}
.pkg__foot p { margin: 0; }
.link-arrow a { color: inherit; text-decoration: none; }

/* ----- Events ----- */
.event.wp-block-group { display: grid; grid-template-columns: 70px 1fr; align-items: start; gap: 24px; border-top: 1px solid rgba(42,32,24,.25); padding: 22px 0; }
@media (min-width: 32rem) {
.event.wp-block-group { align-items: end; gap: }
}
.event__date.wp-block-group { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0;}
.event__info.wp-block-group { display: flex; flex-direction: column; gap: 4px; padding: 0;}
.event__day, .event__month, .event__name, .event__loc { margin: 0; }

/* Group-block grids (no native grid) go multi-column on desktop. Placed
   after the mobile-first base rules above so this wins at >= 881px. */
@media (min-width: 881px) {
  .pkg-grid.wp-block-group { grid-template-columns: repeat(2, 1fr); }
  .event.wp-block-group { grid-template-columns: 90px 1fr auto; }
}
.event__tagwrap { margin: 0 0 1.5rem; }

/* ----- Testimonials (Columns) ----- */
.tst-grid.wp-block-columns { gap: 22px; margin-top: 40px; align-items: stretch; }
.tst.wp-block-column { background: var(--c-char-3); border: 1px solid var(--c-rule); padding: 28px 30px 32px; }
.tst p { margin: 0; }

/* ----- Gallery ----- */
/* Gallery uses the native wp:gallery block (columns:5) — it's responsive on
   its own, so no grid override here; just spacing. */
.gallery__grid.wp-block-gallery { gap: 4px; margin-top: 0; }
.gallery__hint { grid-column: 1 / -1; font-family: var(--font-accent); color: var(--c-rule); font-size: 1.125rem; padding: 24px 0; opacity: .6; margin: 0; }

/* ----- Contact (Columns) ----- */
.contact__grid.wp-block-columns { gap: 26px; margin-top: 40px; align-items: stretch; }
.contact__grid > .card-dark.wp-block-column { background: var(--c-char-3); border: 1px solid var(--c-rule); padding: 32px 34px; }
.contact__grid > .wp-block-column:first-child { flex-basis: 58%; flex-grow: 1.6; }
.info__dt { font-family: var(--font-accent); color: var(--c-amber); font-size: 1.25rem; letter-spacing: .03em; margin: 22px 0 0; }
.info .info__dt:first-of-type { margin-top: 0; }
.info__dd { font-family: var(--font-head); color: var(--c-bone); font-size: 1.125rem; margin: 6px 0 0; line-height: 1.3; }
.info__dd a { color: var(--c-bone); text-decoration: underline; text-underline-offset: 3px; }
.info__dd a:hover { color: var(--c-amber); }




/*=======================================================================
  Creeks Edge — Formidable Forms styling (contact section)
=======================================================================*/
.contact .frm_forms,
.contact .with_frm_style { max-width: 100%; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.contact .frm_form_fields > fieldset { border: 0; padding: 0; margin: 0; }
.contact .frm_form_field { margin: 0 0 18px !important; }
.contact .frm_primary_label,
.contact .frm_form_field > label {
  font-family: var(--font-accent) !important; color: var(--c-amber) !important;
  font-size: 1.25rem !important; letter-spacing: .03em; padding: 0 0 8px !important; display: block; font-weight: 400;
}
.contact .frm_required { color: var(--c-ember); }
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="number"],
.contact input[type="date"],
.contact input[type="tel"],
.contact textarea,
.contact select {
  width: 100% !important; background: transparent !important;
  border: 0 !important; border-bottom: 1px solid rgba(235,226,207,.3) !important; border-radius: 0 !important;
  color: var(--c-bone) !important; font-family: var(--font-body) !important; font-size: 1rem !important;
  padding: 6px 0 10px !important; box-shadow: none !important;
}
.contact input:focus,
.contact textarea:focus,
.contact select:focus { outline: none !important; border-bottom-color: var(--c-amber) !important; }
.contact textarea { min-height: 54px; resize: vertical; }
.contact ::placeholder { color: rgba(235,226,207,.4); }
.contact .frm_submit { margin: 8px 0 0 !important; text-align: right; clear: both; }

/* Submit button = the same ember CTA as the header "Book Us" button:
   ember-deep fill, bone label, 1.125rem accent face, 0.625rem/0.9375rem box, no radius,
   no shadow, bone-on-charcoal invert on hover/focus. */
.contact .frm_submit button,
.contact .frm_button_submit,
.contact .frm_submit input[type="submit"] {
  display: inline-block !important;
  width: auto !important;
  font-family: var(--font-accent) !important;
  font-size: 1.125rem !important;
  line-height: 1 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--c-ember-deep) !important;
  color: var(--c-bone) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.625rem 0.9375rem !important;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.contact .frm_submit button:hover,
.contact .frm_submit button:focus,
.contact .frm_button_submit:hover,
.contact .frm_button_submit:focus,
.contact .frm_submit input[type="submit"]:hover,
.contact .frm_submit input[type="submit"]:focus {
  background: var(--c-bone) !important;
  color: var(--c-rule) !important;
  filter: none;
}

/* Desktop: submit button scales with the header "Book Us" CTA at 62em.
   !important is needed to beat Formidable's own button styles. */
@media (min-width: 62em) {
  .contact .frm_submit button,
  .contact .frm_button_submit,
  .contact .frm_submit input[type="submit"] {
    font-size: 1.375rem !important;
    padding: 0.8125rem 1.5rem !important;
  }
}

/* Two-up fields on wider screens (Name/Email, Date/Guests) */
@media (min-width: 600px) {
  .contact .frm_form_field.frm_half { width: 48%; float: left; margin-right: 4% !important; }
  .contact .frm_form_field.frm_half + .frm_form_field.frm_half { margin-right: 0 !important; }
}


/* Hide the Formidable form title/legend in the contact section (section H2 covers it) */
.contact .frm_form_title,
.contact .frm_pro_form_title,
.contact .frm_form_fields > fieldset > legend { display: none !important; }


/*=======================================================================
  Creeks Edge — restyle of the fbesq header (dark palette, Staatliches)
=======================================================================*/
body #masthead, header#masthead { background: rgba(10,7,6,.94) !important; box-shadow: 0 0 10px rgba(0,0,0,.25); z-index: 1000; }
#masthead.is-stuck, #masthead.sticky, #masthead.scrolled { background: rgba(8,6,5,.97) !important; }

/* Top bar */
.site-top, .main-navigation, .primary-navigation {
    background: transparent !important;
  max-width: var(--c-max);
    margin: auto;
    position: relative;
}
.logo_wrap .brand__text,
.site-branding.logo .brand__text { font-family: var(--font-head); color: var(--c-bone); font-size: 1.625rem; line-height: 1; text-decoration: none; }
.site-top__right .search-trigger { color: var(--c-cream-muted); background: none; border: 0; cursor: pointer; }
.site-top__right .search-trigger:hover { color: var(--c-amber); }

/* Primary horizontal nav */
.primary-navigation ul { gap: 1rem; }
.primary-navigation a,
.primary-navigation .menu-item a {
  font-family: var(--font-accent) !important; color: var(--c-cream-muted) !important;
  text-transform: uppercase; letter-spacing: .04em; font-size: 1.125rem; font-weight: 400;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a { color: var(--c-bone) !important; }

/* Hover dropdowns */
.primary-navigation .sub-menu {
    background: rgba(5,4,3,.98);
    border: 0px solid var(--c-rule);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    padding: 6px 0;
}
.primary-navigation .sub-menu a,
.primary-navigation .sub-menu .menu-item a { color: var(--c-cream-muted) !important; }
.primary-navigation .sub-menu a:hover { color: var(--c-bone) !important; background: var(--c-char-3); }

/* Mobile off-canvas menu — same palette and rollovers as the desktop nav:
   near-black panel (matches the desktop dropdown), muted links, cream hover. */
.mobile-menu__background { background: rgba(5, 4, 3, .98) !important; }
.mobile-menu__nav .navbar-nav a,
.mobile-menu__list a { font-family: var(--font-accent); color: var(--c-cream-muted); text-transform: uppercase; letter-spacing: .04em; transition: color .15s ease; }
.mobile-menu__nav .navbar-nav a:hover,
.mobile-menu__nav .navbar-nav .current-menu-item > a,
.mobile-menu__list a:hover { color: var(--c-bone); }
.mobile-menu__icon,
.mobile-menu__icon::before,
.mobile-menu__icon::after { background-color: var(--c-bone) !important; }

/* Search overlay */
.search-overlay { background: rgba(5,4,3,.97); }
.search-overlay__input { color: var(--c-bone); border-bottom-color: var(--c-amber-deep); }
.search-overlay__submit { font-family: var(--font-accent); background: var(--c-ember); color: var(--c-bone); border: 0; }
.search-overlay__close { color: var(--c-bone); }


/* Menu colors (match Figma: muted default, cream hover, fire active) */
#masthead .primary-navigation a,
#masthead .primary-navigation .menu-item > a,
#masthead .mobile-menu__nav a { color: var(--c-cream-muted) !important; }
#masthead .primary-navigation a:hover,
#masthead .primary-navigation a:focus,
#masthead .mobile-menu__nav a:hover { color: var(--c-bone) !important; }
#masthead .primary-navigation .sub-menu a { color: var(--c-cream-muted) !important; }
#masthead .primary-navigation .sub-menu a:hover { color: var(--c-bone) !important; }


/*---------------------------------------------------------------
# Core block overrides - no pure white, inherit bone
---------------------------------------------------------------*/
.wp-block-cover,
.wp-block-cover-image {
	color: var(--c-bone);
	padding: 0;
}

:root :where(.wp-element-button, .wp-block-button__link) {
	color: var(--c-bone);
}

/*---------------------------------------------------------------
# Footer - align stacked columns left on small screens
---------------------------------------------------------------*/
@media (max-width: 781px) {
	footer .wp-block-columns > .wp-block-column p.has-text-align-right,
	.site-footer .wp-block-columns > .wp-block-column p.has-text-align-right {
		text-align: left;
	}
}


/*---------------------------------------------------------------
# Accessibility - WCAG 2.1 AA fixes
---------------------------------------------------------------*/

/* Extra accent shade. --c-ember is only 4.02:1 on the dark panels,
   which fails AA for normal-size text. This lifts it to 5.4:1. */
:root {
	--c-ember-light: #e8683f;
}

/* --- 2.4.7 Focus Visible --------------------------------------
   The theme set outline:none on a:focus and on input/select/
   textarea:focus, leaving keyboard users with no focus indicator.
   --c-ember clears 3:1 against both the charcoal and the bone
   backgrounds, so a single ring colour works site-wide. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--c-ember);
	outline-offset: 2px;
}

/* Fallback for engines without :focus-visible. */
a:focus,
input:focus,
select:focus,
textarea:focus {
	outline: 0 solid var(--c-ember);
	outline-offset: 2px;
}
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
	outline: none;
}

/* --- 2.1.1 Keyboard: off-canvas menu toggle -------------------
   The toggle is a checkbox that was display:none, so it could not
   be reached or operated from the keyboard at all. Hide it
   visually instead so it stays focusable and Space still works. */
.mobile-menu__checkbox {
	display: block;
	position: absolute;
	top: 3rem;
	right: 1rem;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.mobile-menu__checkbox:focus + .mobile-menu__button,
.mobile-menu__checkbox:focus-visible + .mobile-menu__button {
	outline: 3px solid var(--c-bone);
	outline-offset: 3px;
}

/* --- 2.1.1 Keyboard: dropdown menus --------------------------
   The desktop sub-menus only opened on :hover (or on a .focus class
   added by navigation.js, which the theme no longer ships), so no sub-menu item
   could be reached with a keyboard. :focus-within opens them on Tab. */
.primary-navigation ul li:focus-within > ul {
	left: 50% !important;
	right: auto !important;
	text-align: center !important;
	transform: translate(-50%, 0) !important;
	opacity: 1;
	visibility: visible;
	height: auto;
	padding: 0;
}
.primary-navigation ul ul li:focus-within > ul {
	left: 100% !important;
	top: 0 !important;
	transform: translateX(0) !important;
	opacity: 1;
	visibility: visible;
}

/* The off-canvas sub-list is only collapsed with max-height/opacity,
   so its links stay focusable - reveal it when focus moves inside. */
.mobile-menu__nav ul.dropdown-menu:focus-within {
	max-height: 2000px;
	opacity: 1;
}

/* --- 1.4.3 Contrast (minimum) --------------------------------- */

/* Arrow links on the dark panels: 4.02:1 -> 5.4:1 */
.link-arrow {
	color: var(--c-ember-light);
}

/* Accents sitting on the bone / cream sections. Amber on bone is
   only 1.68:1 and ember on bone 3.43:1; ember-deep is 5.41:1. */
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .eyebrow,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .event__month,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .link-arrow {
	color: var(--c-ember-deep);
}
/* --c-divider is a 10%-alpha bone, invisible on the cream sections. Give
   separators there a dark rule of matching weight instead. */
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) hr,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .wp-block-separator {
	border-top-color: rgba(42, 32, 24, .18);
}
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .link-arrow:hover,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) .link-arrow:focus,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) a:hover,
:where([style*="background-color:#ebe2cf"], [style*="background-color:#f3ece0"]) a:focus {
	color: var(--c-rule);
}

/* The skip link rendered --c-char text on a --c-char-3 panel (1.12:1),
   so it was effectively invisible once focused. */
.screen-reader-text:focus {
	color: var(--c-bone);
}

/* Gallery arrow link is already 12:1 on bone - keep as designed. */
.gallery .link-arrow {
	color: var(--c-rule);
}

/* --- 2.3.3 Animation from interactions ------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	[data-aos] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.has-parallax,
	.jarallax {
		background-attachment: scroll !important;
	}
}
