/*!
Theme Name: Kempel Architects
Theme URI: http://clickfoundry.co/
Author URI: http://underscores.me/
Description: Description
Version: 4.0.00
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clickfoundrytemplate
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.

clickfoundryTemplate 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

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

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
:root {
  --dark-primary: #353535;
  --dark-link: #404040;
  --dark-secondary: #444; /* Define the variable */
  --mid-primary: #b9b9b9;
  --mid-secondary: #cfcfcf;
  --light-secondary: #fcfcfc;
  --dark-link-visited: #2f3061;
  --bs-gutter-x: 1.5rem;
  --highlight-background: #353535; /* Example: a yellow highlight background */
  --highlight-text-color: #fcfcfc; /* Example: black text on highlight */
}
::selection {
  background-color: var(--highlight-background);
  color: var(--highlight-text-color);
}
html {
  line-height: 1.25rem;
  font-size: 16px;
  letter-spacing: 0.05rem;
  -webkit-text-size-adjust: 100%;
  background-color: #fcfcfc;
  font-family:
    "avenir-next-lt-pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  max-width: 100vw !important;
  width: 100vw !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

.pb-5x {
  padding-bottom: 5rem;
}
.pb-2x {
  padding-bottom: 2rem;
}
.p-10x {
  padding: 10rem 0px;
}
.text-center {
  text-align: center;
}
.btn-pill {
  padding: 0.5rem 1rem;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-ghost {
  background: var(--light-secondary);
  color: #6c757d;
  border: 1px solid var(--mid-secondary);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--dark-link);
  color: var(--light-secondary);
  border-color: #343a40;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 58, 64, 0.2);
}
.container-xxl {
  max-width: 1600px;
}
/* Sections
	 ========================================================================== */

/**

 * Remove the margin in all browsers.
 */

/*LENIS STUFF*/

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/*LENIS STUFF*/

body {
  margin: 0;
  color: #444;
  overflow-x: hidden;
  overflow-y: scroll;
}
body.modal-toggled {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}
body:has(.media-lightbox[style*="display: block"]) {
  overflow: hidden !important;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
main.site-secondary {
  padding-top: calc(110px + 0.5rem);
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2.25rem;
  line-height: 2.75rem;
  margin: 0 0 2rem 0;
}
h2 {
  font-size: 1.75rem;
  line-height: 2.5rem;
  margin: 0 0 2rem 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25rem;
  margin: 0 0 1.5rem 0;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
p.lead {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 0 5%;
}
/* 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
	 ========================================================================== */

/**
 * 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;
}
.mob-center {
  text-align: left;
}
@media (max-width: 991px) {
  .mob-center {
    text-align: center;
  }
}

/* Forms
	 ========================================================================== */
.contact-form {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form-input {
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid var(--dark-secondary);
  padding: 0.5rem 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 0.5rem;
  outline: none;
}

.form-input::placeholder {
  color: #888;
  padding-left: 0.25rem;
}

.form-textarea {
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid var(--dark-secondary);
  padding: 0.5rem 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 0.5rem;
  outline: none;
  resize: vertical;
}

.form-textarea::placeholder {
  color: #888;
  padding-left: 0.5rem;
}

.form-submit {
  background-color: #555;
  color: var(--light-secondary);
  border: none;
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  box-shadow: none;
  float: right;
  clear: both;
}

.form-submit:hover {
  background-color: #333;
}

@media (max-width: 991px) {
  .form-submit {
    float: none;
    width: 100%;
  }
}

.wpcf7-form-control-wrap {
  display: block;
}

.contact-modal .wpcf7-response-output {
  margin: 1rem 0 !important;
  padding: 0.5rem 0 !important;
  border: none !important;
  background: none !important;
  text-align: center;
  font-size: 1rem;
  color: var(--dark-secondary);
}

/* Optional: Style it to match your design better */
.contact-modal .wpcf7 form.sent .wpcf7-response-output {
  color: #46b450; /* Green success color */
  font-weight: 500;
}
/* Handle validation error tips */
.contact-modal .wpcf7-not-valid-tip {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0.25rem 0 0.5rem 0 !important;
  padding: 0 !important;
  font-size: 0.875rem;
  color: #dc3232;
  word-wrap: break-word;
}

/* Ensure form control wrap containers don't expand */
.contact-modal .wpcf7-form-control-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Override any floating validation tip positioning */
.contact-modal .use-floating-validation-tip .wpcf7-not-valid-tip {
  position: static !important;
  width: 100% !important;
  top: auto !important;
  left: auto !important;
  border: none !important;
  background: transparent !important;
  padding: 0.25rem 0 !important;
}

/* Handle the error response output */
.contact-modal .wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ffb900 !important;
  margin: 1rem 0 !important;
  padding: 0.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.contact-form p {
  margin: 0;
}

.contact-form br {
  display: none;
}
.contact-button {
  position: fixed;
  top: 2rem;
  right: 56px;
  z-index: 1010;
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: -1000;
  background: rgba(255, 255, 255, 0);
  transition:
    ease,
    z-index 0s linear 0.3s,
    background-color 0.3s ease; /* ADD background-color transition */
  display: flex;
  justify-content: flex-end; /* Align panel to the right */
  max-width: 100vw !important;
  width: 100vw !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

.contact-modal.toggled {
  z-index: 1011;
  transition: background-color 0.3s ease; /* ADD background-color transition */
  background-color: rgba(
    255,
    255,
    255,
    0.2
  ); /* Now this fades in instead of appearing instantly */
}
.contact-modal .frost {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-modal.toggled .frost {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  backdrop-filter: none;
  mask: none;
  -webkit-mask: none;
  opacity: 0.7;
}

/*** LAYERED BLUR ***/
.contact-modal.toggled > .frost:nth-of-type(1) {
  backdrop-filter: blur(1px);
  /*** mask: linear-gradient(transparent, #000 0%, #000 10%, transparent 40%);
  -webkit-mask: linear-gradient(transparent, #000 0%, #000 10%, transparent 40%);***/
}

.contact-modal.toggled > .frost:nth-of-type(2) {
  backdrop-filter: blur(2px);
  /*** mask: linear-gradient(transparent 1%, #000 10%, #000 40%, transparent 50%);
  -webkit-mask: linear-gradient(transparent 1%, #000 10%, #000 40%, transparent 50%);***/
}

.contact-modal.toggled > .frost:nth-of-type(3) {
  backdrop-filter: blur(4px);
  /*** mask: linear-gradient(transparent 5%, #000 12%, #000 50%, transparent 60%);
  -webkit-mask: linear-gradient(transparent 5%, #000 12%, #000 50%, transparent 60%);***/
}

.contact-modal.toggled > .frost:nth-of-type(4) {
  backdrop-filter: blur(8px);
  /*** mask: linear-gradient(transparent 10%, #000 14%, #000 60%, transparent 70%);
  -webkit-mask: linear-gradient(transparent 10%, #000 14%, #000 60%, transparent 70%);***/
}

.contact-modal.toggled > .frost:nth-of-type(5) {
  backdrop-filter: blur(12px);
  /***  mask: linear-gradient(transparent 12%, #000 20%, #000 80%, transparent 90%);
  -webkit-mask: linear-gradient(transparent 12%, #000 20%, #000 80%, transparent 90%);***/
}

.contact-modal.toggled > .frost:nth-of-type(6) {
  backdrop-filter: blur(16px);
  /*** mask: linear-gradient(transparent 15%, #000 80%);
  -webkit-mask: linear-gradient(transparent 15%, #000 80%);***/
}

.contact-modal.toggled > .frost:nth-of-type(7) {
  backdrop-filter: blur(16px);
  /*** mask: linear-gradient(transparent 20%, #000);
  -webkit-mask: linear-gradient(transparent 20%, #000);***/
}

/* Form panel that slides in from the right */
.modal-contact-form {
  width: 80%;
  max-width: 500px;
  height: 100%;
  background: var(--light-primary, #ffffff); /* Add your background color */
  transform: translateX(100%); /* Start off-screen to the right */
  transition: transform 0.3s ease;
  padding: 2rem;
  position: relative;
  display: block;
  align-content: center;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); /* Left shadow */
  overflow-y: auto; /* Allow scrolling if content is long */
  z-index: 101;
}

/* When toggled, slide the panel in */
.contact-modal.toggled .modal-contact-form {
  transform: translateX(0);
}

/* Update container positioning */
.contact-modal .container-xxl {
  position: absolute; /* Changed from relative */
  top: 0;
  right: 0;
  z-index: 1001;
  padding: 0; /* Remove padding since panel handles it */
  width: auto;
}
.contact-modal .top-section-exit {
  position: absolute;
  top: 2rem;
  right: 2rem;
  opacity: 0;
  z-index: -1200;
  transition: all 0.3s ease-in;
}
.contact-modal.toggled .top-section-exit {
  z-index: 1002; /* Higher than panel */
  opacity: 1;
}

.con-burger {
  background: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  display: grid;
  width: 24px;
  height: 24px;
}

.con-burger span {
  width: 24px;
  height: 2px;
  margin: 3px 0;
  background-color: var(--dark-secondary);
  transition:
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  transform-origin: center;
}

.con-burger span:nth-child(3) {
  transform: scaleX(0.5);
}

/* When toggled */
.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(1) {
  transform: rotate(-45deg) translateY(5px);
}

.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(3) {
  opacity: 0;
}

.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(2) {
  transform: rotate(45deg) translateY(-5px);
}

.modal-contact-form .center-form {
  margin: auto;
}
/**
 * 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"] {
  appearance: button;
  -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"] {
  appearance: textfield;
  -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,
button,
input,
select,
optgroup,
textarea {
  font-family:
    "avenir-next-lt-pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "avenir-next-lt-pro";
  font-weight: 500;
}

p {
  font-family: "avenir-next-lt-pro", "Segoe UI", Tahoma, Verdana, sans-serif;
  margin-bottom: 1rem;
}

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

blockquote.wp-block-quote {
  margin: 3.5rem 0px;
  border-left: 4px solid black;
  padding: 1.5rem;
}

blockquote > figure.wp-block-pullquote {
  margin: 0px;
  padding: 0px;
  font-size: 1.25rem;
}
blockquote p {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin: 0 0 1.5rem 0;
  font-style: italic;
}
.wp-element-caption {
  font-style: italic;
}
cite {
  font-style: normal;
  font-weight: 500;
}
address {
  margin: 0 0 1.5em;
}

pre {
  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 1em 1em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 500;
}

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: 0px;
}

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

/* Links
--------------------------------------------- */
a {
  color: var(--dark-link);
  opacity: 0.7;
  background-color: transparent;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

a:visited {
  color: var(--dark-link);
}

a:hover,
a:focus,
a:active {
  color: var(--dark-link);
  opacity: 1;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: none;
}
a.port-item-cf {
  opacity: 1;
}
a.portfolio-link {
  opacity: 1;
}
/* Footer
--------------------------------------------- */
.site-footer {
  padding: 25px 0px;
  background-color: var(--dark-secondary);
  color: var(--light-secondary);
  margin-top: 80px;
}
.site-footer a {
  color: var(--light-secondary) !important;
}
/* Branded info image styling */
.branded-info img {
  padding-right: 2rem;
}

/* CK tagline styling */
.ck-tagline {
  display: block;
  max-width: 420px;
  font-size: clamp(0.65rem, 2.15vw, 1.25rem) !important;
  letter-spacing: clamp(0.05rem, 0.23vw, 0.2rem);
  line-height: 1.5;
  margin: 1rem 0;
  font-weight: 300;
  overflow: hidden;
}

.ck-tagline span:first-child {
  margin-right: clamp(0.5rem, 0.5vw, 1rem);
}

.ck-tagline span:nth-child(2) {
  margin: 0 clamp(0.5rem, 0.5vw, 1rem);
}

.ck-tagline span:last-child {
  margin-left: clamp(0.5rem, 0.5vw, 1rem);
}

/* Tablet and smaller screens */
@media (max-width: 768px) {
  .ck-tagline {
    max-width: 100%; /* allow full width on smaller screens */
    font-size: clamp(
      1rem,
      3.5vw,
      1.8rem
    ) !important; /* larger text for tablets */
    letter-spacing: clamp(0.1rem, 0.4vw, 0.25rem);
  }

  .ck-tagline span:first-child {
    margin-right: clamp(0.7rem, 1vw, 1.2rem);
  }

  .ck-tagline span:nth-child(2) {
    margin: 0 clamp(0.7rem, 1vw, 1.2rem);
  }

  .ck-tagline span:last-child {
    margin-left: clamp(0.7rem, 1vw, 1.2rem);
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .ck-tagline {
    font-size: clamp(
      0.9rem,
      4vw,
      1.5rem
    ) !important; /* adjust for mobile if needed */
    letter-spacing: clamp(0.08rem, 0.35vw, 0.2rem);
  }
}

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

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul li > ul {
  left: auto;
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.main-navigation ul li.focus > ul {
  left: auto;
  display: block;
  opacity: 100%;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation li {
  position: relative;
  padding: 10px;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.main-navigation.toggled ul {
  display: block;
}
body.modal-toggled {
  overflow-y: hidden;
}
button.menu-toggle {
  justify-self: end;
  padding: 5px;
  background-color: transparent;
  border: none;
  position: relative;
  z-index: 10001 !important;
}
.hburger {
  display: grid;
  width: 24px;
  height: 24px;
}
.hburger > span {
  background-color: var(--dark-secondary) !important;
}
.hburger > span {
  width: 24px;
  height: 2px;
  margin-top: 3px;
  margin-bottom: 3px;
  background-color: var(--dark-secondary);
  will-change: transform, opacity;
  -webkit-transition:
    opacity 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  transition:
    opacity 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  -o-transition:
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  transition:
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  transition:
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  -webkit-transform-origin: center right;
  -ms-transform-origin: center right;
  transform-origin: center right;
}
.hburger > span:nth-child(3) {
  -webkit-transform: scaleX(0.5);
  -ms-transform: scaleX(0.5);
  transform: scaleX(0.5);
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(1) {
  -webkit-transform: rotate(-45deg) translateX(0.5px);
  -ms-transform: rotate(-45deg) translateX(0.5px);
  transform: rotate(-45deg) translateX(0.5px);
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(2) {
  opacity: 0;
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(3) {
  -webkit-transform: rotate(45deg) translateX(0.5px);
  -ms-transform: rotate(45deg) translateX(0.5px);
  transform: rotate(45deg) translateX(0.5px);
}
.mobile-mod {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: -1000;
  opacity: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 255, 0.2);
  -webkit-transition:
    opacity 0.3s ease,
    z-index 0s linear 0.3s;
  transition:
    opacity 0.3s ease,
    z-index 0s linear 0.3s;
  display: flex;
  will-change: opacity, z-index;
}

.mobile-mod.toggled {
  opacity: 1;
  z-index: 999;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.2);
}

.mobile-mod > .menu-panel {
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--dark-secondary);
  will-change: transform;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* When toggled, bring in the menu panel */
.mobile-mod.toggled .menu-panel {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.mobile-mod a {
  opacity: 0;
  transition-delay: 0.4s;
  transition-duration: 0.4s;
  transition-property: opacity;
  transition-timing-function: ease;
}
.mobile-mod.toggled a {
  color: var(--light-secondary);
  text-decoration: none;
  opacity: 1;
}
.mobile-mod .menu-panel ul {
  flex: 1; /* Grows to fill available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0px;
  margin-right: auto;
  margin-left: 0px;
}
.mobile-mod .menu-panel ul li {
  list-style-type: none;
}
.menu-panel .company-info {
  flex-shrink: 0; /* Don't shrink */
  /* This will naturally sit at the bottom */
}

.menu-panel .company-info .footer-links li a {
  font-weight: 500;
  font-size: 1rem;
}

.mobile-mod.toggled .menu-panel ul {
  align-content: center;
}
.mobile-mod.toggled .menu-panel ul li {
  margin-bottom: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu {
  margin-top: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li a {
  opacity: 0.75;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li a:hover {
  opacity: 1;
}
.mobile-mod.toggled .company-info {
  align-content: end;
}
.menu-panel li {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.site-main {
  margin-top: 0rem;
}
aside#secondary {
  margin-top: 2rem;
}

.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%;
}
/*portfolio items*/
.portfolio-item {
  margin: 2.5rem 0px 0px 0px;
}
a.port-item-cf {
  text-decoration: none;
}
.row.port-items .card-project:first-of-type {
  margin: 0 !important;
}
.col-12.cf-0.img-padding {
  padding-right: 0px;
}
.col-lg-6.cf-2.img-padding {
  padding-right: 0px;
  padding-left: calc(var(--bs-gutter-x) * 1);
}

h3.card-title {
  font-weight: 500;
  margin-bottom: 0px;
}

@media (max-width: 991px) {
  .col-12.cf-0.img-padding,
  .col-lg-6.cf-2.img-padding,
  .col-lg-6.cf-1.img-padding {
    padding-right: 0px;
    padding-left: 0px;
  }
  .col-12.cf-0.img-padding.portfolio-item > a > .port-card > h3.card-title,
  .col-12.cf-2.img-padding.portfolio-item > a > .port-card > h3.card-title,
  .col-12.cf-1.img-padding.portfolio-item > a > .port-card > h3.card-title {
    padding-left: 1rem;
  }
}
@media (max-width: 768px) {
  .col-12.cf-0.img-padding > a.port-item-cf > .card-project > h3,
  .col-12.cf-1.img-padding > a.port-item-cf > .card-project > h3,
  .col-12.cf-2.img-padding > a.port-item-cf > .card-project > h3 {
    padding-left: 1rem;
  }
}
.port-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill and crop */
  display: block;
}
a.portfolio-link {
  text-decoration: none;
}
.headers-bpt {
  padding: 0.5rem 0.5rem 0.5rem 0px;
}

.headers-bpt .core-ans ul {
  list-style: none; /* remove bullets */
  margin: 0; /* remove default margin */
  padding: 0; /* remove default padding */
}

.headers-bpt .core-ans ul li {
  margin: 0; /* reset li margin */
  padding: 0; /* reset li padding */
}

/* New button styles - minimal additions */
.build-label {
  cursor: pointer;
  display: flex;
  user-select: none;
  justify-content: space-between;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
  align-self: center;
}

.core-ans {
  overflow: hidden;
  height: 0px;
}
.port-card {
  display: flex;
  width: 100%;
  margin-top: 1rem;
  align-items: anchor-center;
}
.port-card > h2.card-title {
  margin: 0.75rem 0;
  line-height: 1.5rem;
}

.port-card > .port-sub {
  font-weight: 500;
}
/*awards*/
.award-block {
  display: flex;
  margin: 2rem 0px;
  justify-self: center;
}
.award-block > img {
  width: 150px;
  height: fit-content;
  margin: 0.5rem 0;
}
.award-info {
  display: block;
  margin-left: 1rem;
}
.award-info > h3 {
  margin: 0.5rem 0;
  line-height: 1.25rem;
}

.press-block {
  display: flex;
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.press-block > img {
  width: 150px;
  height: fit-content;
  margin-bottom: auto;
  margin-top: auto;
}
.press-info {
  margin-left: 1rem;
  display: block;
}
.press-info > h3 {
  margin: 0.5rem 0;
  line-height: 1.25rem;
}
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

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

img.custom-logo {
  height: 60px;
  width: auto;
  max-width: 450px;
}

/* Make sure logo link wraps around logo image. */
a.custom-logo-link {
  display: inline-block;
  opacity: 1;
}
/* Hide mobile logo on desktop */
.mobile-logo,
.mobile-logo-link {
  display: none;
}

/* Show mobile logo and hide desktop logo on mobile */
@media (max-width: 768px) {
  .mobile-logo {
    display: block;
    max-width: 100%;
    height: auto;
  }
  a.mobile-logo-link {
    position: fixed;
    display: block;
    opacity: 1;
    top: 16px;
    left: 12px;
    z-index: 1010;
  }
  /* Hide the regular logo on mobile (adjust selector as needed) */
  .site-logo,
  .custom-logo {
    display: none;
  }
}
/* 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;
}

.row {
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.bg-row.header-ck {
  min-height: 100vh !important;
  display: flex;
  align-items: center; /* vertical center */
  margin-bottom: 0;
}
.bg-row.header-ck.scope {
  min-height: 75vh !important;
  display: flex;
  align-items: center; /* vertical center */
  margin-bottom: 0;
}

main {
  min-height: 100vh;
}
#kempel-content {
  width: 100%;
  overflow-x: hidden;
}
.ck-marg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
/* Desktop Navigation Styles - Vertical Left Menu */
@media (min-width: 768px) {
  .site-branding {
    position: fixed;
    top: 2rem;
    left: 56px;
    z-index: 1001;
  }

  /* Navigation container positioning - Fixed to viewport */
  #site-navigation {
    position: fixed;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: auto;
    transition: top 0.75s ease;
  }
  #site-navigation.studio-active {
    top: calc(50% - 25px);
  }
  .row {
    margin-left: calc((var(--bs-gutter-x) * -0.5) + 215px);
  }
  /* Site branding - also fixed positioning */

  /* Header adjustments - remove full height since menu is now fixed */
  #masthead {
    position: relative;
    height: auto;
  }

  /* Navigation menu styling */
  #primary-menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Menu items */
  #primary-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Menu links */
  #primary-menu li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: 0.15rem;
    font-weight: 500;
    padding: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  #primary-menu li a:hover {
    opacity: 1;
  }
  /* Menu link hover/active states */

  /* Current page/active menu item - Simplified for Barba */
  #primary-menu li.current-menu-item a,
  #primary-menu li.current-menu-ancestor a,
  #primary-menu li.current_page_item a {
    color: var(--dark-secondary);
    opacity: 1;
  }

  #primary-menu li.current-menu-item > ul.sub-menu li a,
  #primary-menu li.current_page_item > ul.sub-menu li a {
    color: var(--dark-secondary);
    transition: opacity 0.4s ease;
  }
  #primary-menu li.current-menu-parent a {
    color: var(--dark-secondary);
    opacity: 1;
  }
  /* Sub-menu handling (if you have dropdowns) */
  #primary-menu li.menu-item-has-children > a:after {
    content: "";
  }
  #site-navigation #primary-menu .sub-menu {
    display: none;
  }
  #site-navigation.studio-active #primary-menu .sub-menu {
    display: block;
  }

  #primary-menu .sub-menu {
    background: none;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  #primary-menu .sub-menu li a {
    font-size: 1rem;
    color: var(--dark-secondary);
    opacity: 0.7;
    transition: opacity 0.4s ease;
  }
  #primary-menu .sub-menu li a:hover {
    opacity: 1;
  }

  #primary-menu li.current-menu-item > ul.sub-menu li a,
  #primary-menu li.current_page_item > ul.sub-menu li a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li a,
  #primary-menu li.current-menu-parent > ul.sub-menu li a {
    color: var(--dark-secondary);
    transition: opacity 0.4s ease;
  }

  /* Current submenu item - override the default */
  #primary-menu li.current-menu-item > ul.sub-menu li.current-menu-item a,
  #primary-menu li.current_page_item > ul.sub-menu li.current_page_item a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li.current-menu-item a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li.current_page_item a {
    color: var(--dark-secondary);
    opacity: 1;
  }
}

/* Alternative styling - Minimal version */
@media (min-width: 768px) {
  /* If you prefer a cleaner look without borders */
  .minimal-nav #primary-menu li a {
    border-left: none;
    padding-left: 0;
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .minimal-nav #primary-menu li a:hover {
    transform: none;
    color: var(--dark-secondary);
    opacity: 1;
  }
}

/* Adjustments for very large screens */
@media (min-width: 1400px) {
  .site-branding {
    left: 56px;
  }

  #site-navigation {
    left: 56px;
  }

  #primary-menu li a {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .row {
    margin-left: calc((var(--bs-gutter-x) * -0.5) + 237px);
  }
}
.cta-links {
  gap: 1rem;
  display: flex;
  justify-content: center;
  justify-self: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
}
.cta-links a {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin: 0 0 1.5rem 0;
  text-decoration: none;
}
li.info-item a {
  text-decoration: none;
} /* Base link styles */
a > .card-project > h3 span,
a > .card-project div h3 span,
a > .port-card h3 span,
#primary-menu li a span,
.profile-links li a,
.portfolio-link h2 span,
.footer-links li a span {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  overflow: hidden;
}
/* Base link styles */
a > .card-project > h3 span,
a > .card-project div h3 span,
a > .port-card h3 span,
#primary-menu li a span,
.profile-links li a,
.portfolio-link h2 span,
.footer-links li a span {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  overflow: hidden;
}

/* The BEFORE line - slides in on hover */
a .card-project h3 span::before,
a .card-project div h3 span::before,
a .port-card h3 span::before,
#primary-menu li a span::before,
.profile-links li a::before,
.portfolio-link h2 span.title::before,
.footer-links li a span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: translateX(-100%);
  z-index: 2;
}

/* The AFTER line - slides out on mouse leave */
a .card-project h3 span::after,
a .card-project div h3 span::after,
a .port-card h3 span::after,
#primary-menu li a span::after,
.profile-links li a::after,
.portfolio-link h2 span.title::after,
.footer-links li a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: translateX(0);
  opacity: 0;
  z-index: 1;
}

/* Exception: no underline for location */
a .card-project h3 span.location::before,
a .card-project h3 span.location::after {
  content: none;
}

/* Mouse IN: Before slides in from left */
a .card-project h3 span.slide-in::before,
a .card-project div h3 span.slide-in::before,
a .port-card h3 span.slide-in::before,
#primary-menu li a span.slide-in::before,
.profile-links li a.slide-in::before,
.portfolio-link h2 span.title.slide-in::before,
.footer-links li a span.slide-in::before {
  animation: slideIn 0.3s linear forwards;
}

/* Mouse OUT: After slides out to right */
a .card-project h3 span.slide-out::after,
a .card-project div h3 span.slide-out::after,
a .port-card h3 span.slide-out::after,
#primary-menu li a span.slide-out::after,
.profile-links li a.slide-out::after,
.portfolio-link h2 span.title.slide-out::after,
.footer-links li a span.slide-out::after {
  animation: slideOut 0.3s linear forwards;
}

/* Keyframes */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 1;
  }
}
.card-project.homepage {
  margin-bottom: 2.5rem 0; /* Vertical spacing above and below */
  padding-top: 2.5rem 0;
}

.card-project > h3 {
  margin: 1rem 0px 2px 0px;
  font-weight: 500;
}
.card-project {
  position: relative;
  overflow: hidden;
}
.card-project picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* keeps 4:3 ratio */
  overflow: hidden;
}

.card-project img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop/scale while filling the container */
  display: block;
  transition: transform 0.4s ease;
}
a:hover .card-project img {
  transform: scale(1); /* zooms in while staying cropped */
}

.img-padding {
  margin-top: 1.75rem;
  padding-bottom: 1.75rem;
}

/* Mobile Header - Fixed positioning */
@media (max-width: 767.98px) {
  #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
  }
  main.site-secondary {
    padding-top: 10rem !important;
  }
  /* Header container adjustments */
  #masthead .container-xxl {
    padding: 0.75rem 1rem;
  }
  .site-branding > a > img {
    max-height: 65px;
    width: auto;
  }
  .img-padding {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .portfolio-padding {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (max-width: 991px) {
  .img-padding {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
  .portfolio-padding {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
}
/*==FOOTER SECTION ==*/
img.footer-logo {
  width: calc(50% - 1rem);
  height: auto;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}
h3.footer {
  margin-bottom: 0.75rem;
}
@media (max-width: 991px) {
  img.footer-logo {
    width: 100%;
  }
}
ul.footer-links {
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
}

ul.footer-links > li.linklist a {
  color: #fcfcfc !important;
  font-weight: 500;
  text-decoration: none !important;
}
.site-footer p.lead {
  margin-top: 0px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0px;
}

.info-item img.icon {
  width: 20px;
  height: 20px;
  fill: var(--light-secondary); /* if inline SVG, otherwise use filter */
  filter: brightness(0) invert(1); /* makes external svg appear white */
  padding-right: 0px;
  vertical-align: top;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 1rem 0px;
  display: flex;
  gap: 1rem;
}

.social-icons li {
  display: inline-block;
}

.social-icons svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons svg:hover .icon-2 {
  fill: var(--light-secondary);
}
.social-icons svg:hover .icon-1 {
  fill: var(--dark-primary);
}

.icon-1 {
  fill: var(--light-secondary);
}

.icon-2 {
  fill: none;
  stroke: var(--light-secondary);
  stroke-miterlimit: 10;
  stroke-width: 4px;
}

.swiper-button-wrapper.ex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.swiper-content-wrap {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  z-index: 1;
}

.swiper-container {
  overflow: hidden !important;
  width: 100%;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  width: 100%;
  flex-shrink: 0;
}
.swiper-pagination {
  justify-content: center;
}
.swiper-pagination-bullet:not(:first-child).swiper-pagination-bullet-active {
  position: relative;
}
/*Video*/
.jkVid-bg {
  position: relative;
  display: block;
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  object-fit: cover;
}
.jkVid-bg-2 {
  position: relative;
  display: block;
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  object-fit: cover;
  display: none;
}
.top-half-visual {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
  top: 0px;
  z-index: -1;
}

.top-half {
  height: 100vh;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none; /* Allows clicks to pass through */
}
@media (max-width: 767.98px) {
  .top-half {
    height: 75vh;
    margin-top: 0px;
    margin-bottom: auto;
  }
  .video-overlay {
    height: 75vh;
  }
  .jkVid-bg {
    display: none;
  }
  .jkVid-bg-2 {
    display: block;
  }
  .bg-row.header-ck {
    min-height: 75vh !important;
    display: flex;
    align-items: center; /* vertical center */
    margin-bottom: 0rem;
  }
}

.wp-block-custom-enhanced-video {
  display: flow-root; /* creates a block formatting context */
}
.wp-block-image {
  display: flow-root; /* creates a block formatting context */
}
.wp-block-custom-enhanced-video {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.wp-block-image {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
/*hover studio project on homepage*/
.hover-studio {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto;
}

.hover-studio > img.studio-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  z-index: 3;
}

.hover-studio > img.studio-image.off {
  opacity: 0;
  z-index: 2;
}

/* Hover state - fade out top image to reveal bottom */
.hover-studio:hover > img.studio-image:not(.off) {
  opacity: 0;
}

.hover-studio:hover > img.studio-image.off {
  opacity: 1;
}

/* buttons */
.profile-links {
  list-style: none; /* remove default list bullets */
  padding: 0; /* space between list items */
  margin-top: 2rem;
  margin-left: 0px;
}

.profile-links li {
  margin-bottom: 1rem; /* reset li margins (gap handles spacing) */
}
.profile-links.revamped li {
  margin-bottom: 0.25rem; /* reduced spacing for revamped */
}

.profile-links .button {
  display: inline-block;
  font-size: 1rem; /* 1rem text */
  font-weight: 500;
  padding: 0.25rem 1.5rem; /* minimal padding */
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 1rem;
  background: #f9f9f9;
  color: #333;
  transition: background 0.2s ease;
}

.profile-links .button:hover {
  background: #eee;
}

/* Tab styling */
ul.nav.nav-tabs {
  list-style: none;
  padding-left: 0px;
  margin-left: 0px;
}
ul.nav-tabs > li.nav-item {
  margin-bottom: 0.5rem;
}
/* Select all nav-links that are not active */
.nav-link:not(.active) {
  color: #666; /* example style */
  opacity: 0.7;
  cursor: pointer;
  margin-left: 1rem;
}
.nav-link {
  padding: 0.5rem 0px;
}
.nav-link.active {
  color: #000;
  opacity: 1;
}
/* Optional: on hover */
.nav-link:not(.active):hover {
  color: #000;
  opacity: 1;
}
.nav-tabs .nav-item a {
  text-decoration: none;
}
.tab-content {
  margin-top: 0rem;
}
.tab-content h4,
.tab-content p {
  margin: 0px;
  padding-left: 1rem;
}
.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.tab-pane.active {
  display: block;
}
.tab-row-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.tab-row-content img.team-pic {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tab-pane.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
  opacity: 1;
}

.tab-pane.active.show {
  opacity: 1;
}
@media (max-width: 991px) {
  .tab-content h4,
  .tab-content p {
    margin: 0px;
    padding-top: 1rem;
    padding-left: 0rem;
  }
}
/*Accordion Styling*?
	        /* Bootstrap 5 Accordion Styles - Core Components */

.accordion {
  --bs-accordion-transition:
    color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 0.375rem;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0.75rem;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1.25rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: #86b7fe;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0.75rem;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--light-secondary);
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
  font-size: 1rem;
  text-align: left;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  border-bottom: 1px solid var(--dark-secondary);
}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-active-icon);
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-left: auto;
  content: "";
  background-image: var(--bs-accordion-btn-icon);
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:hover {
  z-index: 2;
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: transparent;
  border: 0;
}

.accordion-item:first-of-type {
  border: 0;
}

.accordion-item .show .accordion-body {
  border-width: 1px 0px;
  border-style: solid;
  border-color: var(--dark-link);
}
.accordion-item:first-of-type .show .accordion-body {
  border-bottom: 1px solid var(--dark-link);
  border-width: 1px 0px;
}
.accordion-item:last-of-type .show .accordion-body {
  border-width: 0px;
}
.accordion-item:first-of-type .accordion-button {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:not(:first-of-type) {
  border-top: 0;
}

.accordion-item:last-of-type {
  border: 0;
}
.accordion-item:last-of-type .accordion-button {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:last-of-type .accordion-collapse {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-body {
  padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
}

/* Collapse functionality styles */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/*--MODAL STYLES-lightbox--*/

/* Media Lightbox Styles */
.media-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  overflow: hidden; /* ⚠️ CRITICAL - prevents body scroll bleed */
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
  transform: scale(0);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
  width: 100%;
  height: 100%;
  overflow-y: auto !important; /* ⚠️ CRITICAL - must scroll */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* ⚠️ CRITICAL - stops scroll propagation */
  padding: 60px;
}

.lightbox-image-container {
  margin-bottom: 40px;
  text-align: center;
}

.lightbox-image-container:last-child {
  margin-bottom: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: white;
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.4;
}

/* Clickable images cursor */
.entry-content img:not([data-lightbox-ignore]) {
  cursor: pointer;
}

/* Smooth scrolling for lightbox content */
.lightbox-content {
  scroll-behavior: smooth;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    padding: 40px 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-image {
    max-height: 70vh;
    margin-bottom: 15px;
  }

  .lightbox-image-container {
    margin-bottom: 30px;
  }

  .lightbox-caption {
    font-size: 14px;
  }
}

/* Sticky Header - Mobile Only */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sticky-button {
  display: none;
}

/* Tablet/Desktop - 768px and up */
@media screen and (min-width: 768px) {
  /* Remove sticky from header */
  .sticky-header {
    position: relative;
    top: auto;
  }

  /* Show and make button sticky */
  .sticky-button {
    position: fixed;
    top: 32px;
    right: 56px;
    z-index: 1010;
  }
}

.award-card-1 {
  background: var(--light-secondary);
  border: 0.0625rem solid var(--mid-secondary);
  transition: transform 0.2s ease;
}

.award-card-1:hover {
  transform: translateY(-0.125rem);
}

.award-card-1 .image {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.award-card-1 .title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark-primary);
}

.award-card-1 .category {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  color: var(--dark-secondary);
}

.award-card-1 .nomination {
  font-size: 1rem;
  color: var(--dark-secondary);
}

.award-card-1 .home-link {
  text-decoration: none;
  font-weight: 700;
}

.award-card-1 .home-text {
  text-decoration: none;
  font-weight: 700;
}

.award-card-1 > .info {
  display: flex;
  justify-content: space-between !important;
  padding: 1.25rem 1.25rem 0rem 1.25rem;
}

.award-card-1 .logo {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
}

.award-card-1 .featured-home {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  color: var(--dark-primary);
  font-size: 1rem;
  opacity: 0.7;
}

.award-card-1 .logo img {
  border: 1px solid var(--mid-secondary);
}

.press-card-1 {
  background: var(--light-secondary);
  border: 0.0625rem solid var(--mid-secondary);
  transition: transform 0.2s ease;
}

.press-card-1:hover {
  transform: translateY(-0.125rem);
}

.press-card-1 .image {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.press-card-1 .title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  color: var(--dark-primary);
}

.press-card-1 .publication {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  color: var(--dark-secondary);
}

.press-card-1 .description {
  font-size: 1rem;
  color: var(--dark-secondary);
}

.press-card-1 .read-link {
  text-decoration: none;
  color: var(--dark-primary);
  font-weight: 700;
  font-size: 1rem;
}

.press-card-1 a.home-link {
  text-decoration: none;
  color: var(--dark-primary);
  font-weight: 700;
  font-size: 1rem;
}

.press-card-1 .home-text {
  font-size: 1rem;
  color: var(--dark-primary);
  font-weight: 700;
}

.press-block {
  background: white;
  border: 1px solid #eee;
  transition: transform 0.2s ease;
  padding: 20px;
}

.press-block:hover {
  transform: translateY(-2px);
}

.press-block .press-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0px;
}

.press-block .press-image {
  width: 125px;
  height: 125px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 5px;
}

.press-block .press-content {
  flex-grow: 1;
  min-width: 0;
}

.press-block .press-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.press-block .press-title a {
  text-decoration: none;
  color: #000;
}

.press-block .press-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.press-block .press-publication {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.press-block .press-date {
  font-size: 11px;
  color: #ccc;
}

.press-block .press-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.press-block .press-link-article {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-block .press-link-article:hover {
  opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
  .press-block .press-info {
    flex-direction: column;
    gap: 15px;
  }

  .press-block .press-image {
    width: 100%;
    height: auto;
    max-width: 80px;
  }
}

.award-block {
  background: white;
  border: 1px solid #eee;
  transition: transform 0.2s ease;
  padding: 20px;
}

.award-block:hover {
  transform: translateY(-2px);
}

.award-block .award-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0px;
}

.award-block img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 5px;
}

.award-block .award-content {
  flex-grow: 1;
  min-width: 0;
}

.award-block h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: #000;
}

.award-block .award-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.award-block .award-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.award-block .award-prize {
  font-size: 11px;
  color: #ccc;
}

.award-block .award-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
  .award-block .award-info {
    flex-direction: column;
    gap: 15px;
  }

  .award-block img {
    width: 100%;
    height: auto;
    max-width: 80px;
  }
}

/* Custom Cursor Styles */
*,
*::before,
*::after {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  width: 18px;
  height: 18px;
  opacity: 1;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    opacity 0.2s ease;
  will-change: transform;
}

.custom-cursor.is-hidden {
  opacity: 0;
}

.cursor-circle {
  width: 100%;
  height: 100%;
  border: 1px solid white;
  border-radius: 50%;
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    border-radius 0.2s ease;
  box-shadow: 0 0 0 1px black;
}

.cursor-text {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

/* Link hover state */
.custom-cursor.is-link {
  width: 27px;
  height: 27px;
}

.custom-cursor.is-link .cursor-circle {
  background-color: white;
}

/* Swiper hover state */
.custom-cursor.is-swiper {
  width: 18px;
  height: 18px;
}

.custom-cursor.is-swiper .cursor-circle {
  border-radius: 0;
  background-color: white;
}

.custom-cursor.is-swiper .cursor-text {
  opacity: 1;
}
.custom-cursor.is-dragging .cursor-text {
  opacity: 0;
}
.wp-block-columns.is-layout-flex {
  column-gap: 2em;
  row-gap: 0rem;
}
.testimonial-card-1 {
  position: relative;
}
.testimonial-card-1 svg {
  position: absolute;
  top: -5px;
  left: 0;
  height: 100px;
  width: auto;
  fill: #bcbcbb;
  opacity: 0.1;
}
/* Button slide effect */
.btn-pill.btn-ghost.slide span {
  position: relative;
  display: inline-block;
  z-index: 3;
}

.btn-pill.btn-ghost.slide {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* Creates stacking context */
}

/* The BEFORE background - slides in on hover */
.btn-pill.btn-ghost.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-link);
  transform: translateX(-100%);
  z-index: 1;
}

/* The AFTER background - slides out on mouse leave */
.btn-pill.btn-ghost.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-link);
  transform: translateX(0);
  opacity: 0;
  z-index: 1;
}

/* Mouse IN: Before slides in from left */
.btn-pill.btn-ghost.slide.btn-slide-in::before {
  animation: btnSlideIn 0.3s ease-out forwards;
}

/* Mouse OUT: After slides out to right */
.btn-pill.btn-ghost.slide.btn-slide-out::after {
  animation: btnSlideOut 0.3s ease-out forwards;
}

/* Keep text color white when animated */
.btn-pill.btn-ghost.slide.btn-slide-in span,
.btn-pill.btn-ghost.slide.btn-slide-out span {
  color: var(--light-secondary);
}

/* Keyframes */
@keyframes btnSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes btnSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 1;
  }
}
.full-div {
  height: 100dvh;
  margin-top: 4rem;
  text-align: left;
}
#site-navigation .below-studio-nav {
  margin-top: 0px !important;
}
#site-navigation.studio-active .below-studio-nav {
  margin-top: 95px !important;
}
.single-image-mode .wp-block-column.is-layout-flow.align-bottom {
  display: flex;
  align-items: flex-end;
}

.single-image-mode .wp-block-column.is-layout-flow.align-top {
  display: flex;
  align-items: flex-start;
}
.single-image-mode
  .wp-block-column.is-layout-flow.align-bottom
  .caption-content {
  padding-bottom: 2.5rem;
}
.single-image-mode .caption-content {
  width: 100%;
  font-style: italic;
  color: #666;
}

/* Core column structure */
.wp-block-column {
  flex-basis: 0;
  flex-grow: 1;
  min-width: 0; /* Prevents overflow issues */
}

/* Layout flow (default WordPress block flow) */
.wp-block-column.is-layout-flow {
  display: block;
}

/* Vertical centering with my-auto */
.wp-block-column.my-auto {
  align-self: center; /* Centers within flex parent */
  margin-top: auto;
  margin-bottom: auto;
}

/* Parent container styles (your columns wrapper) */
.wp-block-columns.is-layout-flex {
  display: flex;
  gap: 2em; /* Adjust spacing between columns */
  align-items: stretch; /* Default stretches columns to equal height */
}

/* Image figure styling within columns */
.wp-block-column figure.wp-block-image {
  margin: 0;
}

.wp-block-column figure.wp-block-image img {
  height: auto;
  max-width: 100%;
  width: 100%;
  display: block;
}

/* Caption styling */
.wp-block-column figcaption.wp-element-caption {
  margin-top: 0.5em;
  font-size: 0.875em;
  font-style: italic;
  color: #666;
}

.new-imgstyle {
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: block;
  text-align-last: center;
  margin-bottom: calc(150px - 2rem);
}
.new-imgstyle img {
  height: 90dvh;
  width: auto;
  margin: 0 auto;
}
.wp-block-kempel-two-column-images {
  margin-bottom: calc(150px - 2rem);
}
.wp-block-kempel-two-column-images figure {
  height: 100%;
}
.wp-block-kempel-two-column-images figure img {
  height: 100% !important;
  object-fit: cover;
}

.wp-block-image.size-full {
  margin-bottom: calc(150px - 2rem);
}
.wp-block-kempel-slider-block img {
  height: 90dvh;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
}
.wp-block-kempel-slider-block .swiper-slide {
  text-align-last: center;
}
/* Desktop: hide per-figure captions, show stacked block */
.kempel-two-col-offset .kempel-caption--mobile {
  display: none;
}

/* Short column becomes a flex column so the caption stack can fill leftover height */
.kempel-two-col-offset .kempel-col--short {
  display: flex;
  flex-direction: column;
}

/* Figure sits at its natural height, doesn't grow */
.kempel-two-col-offset .kempel-col--short figure {
  flex: 0 0 auto;
}

/* Caption stack grows into whatever vertical space remains after the image */
.kempel-two-col-offset .kempel-caption-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-bottom: 2.5rem;
}

/*--------------------------------------------------------------
# Kempel Custom Blocks — image height bound utility
----------------------------------------------------------------*/

.kempel-img-bound img {
  max-height: 95vh !important;
  width: auto;
  object-fit: cover;
  display: block;
}
.kempel-single-image--wide .kempel-img-bound img {
  width: 100%;
}
/*--------------------------------------------------------------
# Kempel Custom Blocks — image-with-caption column widths
----------------------------------------------------------------*/

/* Image column → 60%, caption column → 40% on desktop */
.wp-block-kempel-image-with-caption {
  justify-content: space-between;
}
.single-image-mode .wp-block-column.my-auto {
  flex: 0 0 60%;
}

.single-image-mode .wp-block-column.align-top,
.single-image-mode .wp-block-column.align-bottom {
  flex: 0 0 calc(40% - 2em);
  max-width: 400px; /* 2em accounts for column gap */
}

/*--------------------------------------------------------------
# Kempel Custom Blocks — debug borders
   Level 1 → --dark-primary   (#353535)  outer block wrappers
   Level 2 → --dark-secondary (#444)     columns / section divs
   Level 3 → --mid-primary    (#b9b9b9)  figures / content areas
   Level 4 → --mid-secondary  (#cfcfcf)  innermost captions
----------------------------------------------------------------*/

/* ── kempel/image-with-caption ─────────────────────────────── */

/* L1 — outer block wrapper */
.single-image-mode {
  border: none;
}

/* L2 — caption column (alignment variant) */
.single-image-mode .align-top,
.single-image-mode .align-bottom {
  border: none;
}

/* L3 — richtext caption content */
.single-image-mode .caption-content {
  position: relative;
  margin: 100px 0;
}

/* ── kempel/single-image-centered ──────────────────────────── */

/* L1 — outer block wrapper */
.kempel-single-image {
  position: relative;
}

/* L1 modifiers — orientation variants inherit the same level */
.kempel-single-image--wide,
.kempel-single-image--portrait {
  position: relative;
}

/* L2 — figure inside the wrapper */
.kempel-single-image figure {
  position: relative;
}

/* L3 — figcaption inside the figure */
.kempel-single-image figcaption {
  position: relative;
  max-width: 600px;
}
.kempel-single-image--portrait figcaption {
  margin: 0 auto;
  text-align: center;
}
.kempel-single-image--portrait figure img {
  margin: 0 auto;
}

/* ── kempel/two-column-offset-two ──────────────────────────── */

/* L1 — outer grid wrapper */
.kempel-two-col-offset-two {
  display: grid;
  column-gap: var(--wp--style--block-gap, 2em);
  row-gap: 0rem;
}

/* Equal layout */
.kempel-two-col-offset-two--equal {
  grid-template-columns: 1fr 1fr;
}

/* Offset layout: tall side gets 60% */
.kempel-two-col-offset-two--offset.kempel-two-col-offset-two--tall-left {
  grid-template-columns: 60fr 40fr;
}
.kempel-two-col-offset-two--offset.kempel-two-col-offset-two--tall-right {
  grid-template-columns: 40fr 60fr;
}

/* Tall column spans both grid rows */
.kempel-two-col-offset-two--tall-left .kempel-col2--tall {
  grid-column: 1;
  grid-row: 1 / 3;
}
.kempel-two-col-offset-two--tall-left .kempel-col2--short {
  grid-column: 2;
  grid-row: 1;
}
.kempel-two-col-offset-two .kempel-col2--text {
  max-width: 330px;
  margin: 0 auto;
  margin-bottom: 100px;
}
.kempel-two-col-offset-two--tall-left .kempel-col2--text {
  grid-column: 2;
  grid-row: 2;
}

.kempel-two-col-offset-two--tall-right .kempel-col2--tall {
  grid-column: 2;
  grid-row: 1 / 3;
}
.kempel-two-col-offset-two--tall-right .kempel-col2--short {
  grid-column: 1;
  grid-row: 1;
}
.kempel-two-col-offset-two--tall-right .kempel-col2--text {
  grid-column: 1;
  grid-row: 2;
}

/* Image cursor */
.kempel-two-col-offset-two .wp-image {
  cursor: pointer;
}

/* ── kempel/two-column-offset ───────────────────────────────── */

/* L1 — outer block wrapper */
.kempel-two-col-offset {
  position: relative;
}

/* L1 modifiers — layout mode variants */
.kempel-two-col-offset--equal,
.kempel-two-col-offset--offset {
  position: relative;
}

/* L1 modifiers — tall-side variants */
.kempel-two-col-offset--tall-left,
.kempel-two-col-offset--tall-right {
  position: relative;
}

/* L2 — individual columns */
.kempel-col--tall,
.kempel-col--short {
  position: relative;
}

/* L3 — mobile figcaption (inside figure, inside column) */
.kempel-caption--mobile {
  position: relative;
}

/* L3 — desktop caption stack container (sibling of figure, inside short column) */
.kempel-caption-stack {
  position: relative;
}

/* L4 — individual captions inside the stack */
.kempel-caption-stack__short,
.kempel-caption-stack__tall {
  position: relative;
}

/*--------------------------------------------------------------
# Kempel two-column-offset — layout styles (moved from inline)
----------------------------------------------------------------*/

/* Image cursor (was inline on <img>) */
.kempel-two-col-offset .wp-image {
  cursor: pointer;
}

/* Equal layout — both columns share space evenly */
.kempel-two-col-offset--equal .kempel-col--tall,
.kempel-two-col-offset--equal .kempel-col--short {
  flex: 1 1 0%;
}

/* Offset layout — tall gets 60%, short gets 40% via flex-grow ratio */
.kempel-two-col-offset--offset .kempel-col--tall {
  flex: 3 1 0%;
}

.kempel-two-col-offset--offset .kempel-col--short {
  flex: 2 1 0%;
}

/* Responsive: Stack on mobile */
@media (max-width: 991px) {
  .wp-block-image {
    padding-bottom: 0px;
  }
  .wp-block-columns.is-layout-flex {
    flex-direction: column;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  /* image-with-caption: image always above caption regardless of imageSide setting */
  .single-image-mode .wp-block-column.my-auto {
    order: 1;
  }

  .single-image-mode .wp-block-column.align-top,
  .single-image-mode .wp-block-column.align-bottom {
    order: 2;
    max-width: 100%;
  }
  .single-image-mode .caption-content {
    margin: 0px 0px 2.5rem 0px;
  }
  .kempel-two-col-offset .kempel-caption--mobile {
    display: block;
  }
  .kempel-two-col-offset .kempel-caption-stack {
    display: none;
  }

  /* two-column-offset-two: switch to flex column, rich text in the middle */
  .kempel-two-col-offset-two {
    display: flex;
    flex-direction: column;
    row-gap: var(--wp--style--block-gap, 2em);
  }
  .kempel-two-col-offset-two .kempel-col2--tall {
    order: 1;
  }
  .kempel-two-col-offset-two .kempel-col2--text {
    order: 2;
    margin-bottom: 0px;
    margin-top: 2.5rem;
  }
  .kempel-two-col-offset-two .kempel-col2--short {
    order: 3;
  }
  .kempel-single-image--portrait figcaption {
    margin: 0 auto;
    text-align: left;
  }
}
.text-block-narrow {
  max-width: 400px;
}
.branding-row {
  position: relative;
}
.green-badge {
  position: absolute;
  display: block;
  top: 3rem;
  right: 0.75rem;
}
.green-badge img {
  width: clamp(75px, 8vw, 100px);
  height: auto;
}
.green-badge-mobile {
  display: none;
}
@media (max-width: 768px) {
  .green-badge {
    display: none;
  }
  .green-badge-mobile {
    display: block;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .green-badge-mobile img {
    width: clamp(75px, 25vw, 100px);
    height: auto;
  }
}

/* Building Contributors */
.col-12.col-lg-4:has(> .contributors-bpt) {
  display: flex;
  flex-direction: column;
}
.contributors-bpt {
  padding-top: 2rem;
  margin-top: auto;
}
.contributor-item {
  margin-bottom: 1rem;
  font-size: 14px;
  opacity: 0.8;
}
.contributor-item:last-child {
  margin-bottom: 0;
}
.contributor-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contributor-name {
  display: block;
}
.contributor-name p {
  margin: 0;
}
.testimonials-masonry {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 992px) {
  .testimonials-masonry {
    column-count: 2;
  }
}

.testimonials-masonry .testimonial-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
}

.press-card-1 .testimonial-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8e6e1;
}
